/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-hibvt.c | 194 struct resource *res; in hibvt_pwm_probe() local 217 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in hibvt_pwm_probe() 218 pwm_chip->base = devm_ioremap_resource(&pdev->dev, res); in hibvt_pwm_probe()
|
H A D | pwm-mediatek.c | 211 struct resource *res; in pwm_mediatek_probe() local 221 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pwm_mediatek_probe() 222 pc->regs = devm_ioremap_resource(&pdev->dev, res); in pwm_mediatek_probe()
|
H A D | pwm-sifive.c | 242 struct resource *res; in pwm_sifive_probe() local 260 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pwm_sifive_probe() 261 ddata->regs = devm_ioremap_resource(dev, res); in pwm_sifive_probe()
|
H A D | pwm-zx.c | 199 struct resource *res; in zx_pwm_probe() local 207 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in zx_pwm_probe() 208 zpc->base = devm_ioremap_resource(&pdev->dev, res); in zx_pwm_probe()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | st_rc.c | 226 struct resource *res; in st_rc_probe() local 269 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in st_rc_probe() 271 rc_dev->base = devm_ioremap_resource(dev, res); in st_rc_probe()
|
H A D | sunxi-cir.c | 157 struct resource *res; in sunxi_ir_probe() local 220 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sunxi_ir_probe() 221 ir->base = devm_ioremap_resource(dev, res); in sunxi_ir_probe()
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun4i-csi/ |
H A D | sun4i_csi.c | 157 struct resource *res; in sun4i_csi_probe() local 209 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sun4i_csi_probe() 210 csi->regs = devm_ioremap_resource(&pdev->dev, res); in sun4i_csi_probe()
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-rcar-gen2.c | 190 window_addr = entry->res->start; in rcar_pci_setup() 191 window_pci = entry->res->start - entry->offset; in rcar_pci_setup() 192 window_size = resource_size(entry->res); in rcar_pci_setup()
|
/kernel/linux/linux-5.10/drivers/phy/amlogic/ |
H A D | phy-meson-g12a-usb2.c | 295 struct resource *res; in phy_meson_g12a_usb2_probe() local 308 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in phy_meson_g12a_usb2_probe() 309 base = devm_ioremap_resource(dev, res); in phy_meson_g12a_usb2_probe()
|
/kernel/linux/linux-5.10/drivers/phy/allwinner/ |
H A D | phy-sun6i-mipi-dphy.c | 256 struct resource *res; in sun6i_dphy_probe() local 263 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sun6i_dphy_probe() 264 regs = devm_ioremap_resource(&pdev->dev, res); in sun6i_dphy_probe()
|
/kernel/linux/linux-5.10/drivers/power/reset/ |
H A D | at91-sama5d2_shdwc.c | 302 struct resource *res; in at91_shdwc_probe() local 320 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in at91_shdwc_probe() 321 at91_shdwc->shdwc_base = devm_ioremap_resource(&pdev->dev, res); in at91_shdwc_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun8i_tcon_top.c | 131 struct resource *res; in sun8i_tcon_top_bind() local 161 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sun8i_tcon_top_bind() 162 regs = devm_ioremap_resource(dev, res); in sun8i_tcon_top_bind()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_drv.c | 54 struct resource *res; in vc4_ioremap_regs() local 57 res = platform_get_resource(dev, IORESOURCE_MEM, index); in vc4_ioremap_regs() 58 map = devm_ioremap_resource(&dev->dev, res); in vc4_ioremap_regs()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_param_shading.c | 255 input_height = binary->in_frame_info.res.height; in prepare_shading_table() 256 input_width = binary->in_frame_info.res.width; in prepare_shading_table() 267 right_padding = (binary->internal_frame_info.res.width - in prepare_shading_table()
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | stm32-timers.c | 222 struct resource *res; in stm32_timers_probe() local 230 mmio = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in stm32_timers_probe() 235 ddata->dma.phys_base = res->start; in stm32_timers_probe()
|
H A D | ti_am335x_tscadc.c | 118 struct resource *res; in ti_tscadc_probe() local 204 tscadc->tscadc_base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in ti_tscadc_probe() 208 tscadc->tscadc_phys_base = res->start; in ti_tscadc_probe()
|
/kernel/linux/linux-6.6/drivers/net/can/softing/ |
H A D | softing_cs.c | 233 struct resource res[2]; in softingcs_probe() member 264 dev->pdev.resource = dev->res; in softingcs_probe() 265 dev->pdev.num_resources = ARRAY_SIZE(dev->res); in softingcs_probe()
|
/kernel/linux/linux-6.6/drivers/net/can/sja1000/ |
H A D | ems_pci.c | 194 unsigned char res; in ems_pci_check_chan() local 202 res = priv->read_reg(priv, SJA1000_CDR); in ems_pci_check_chan() 204 if (res == CDR_PELICAN) in ems_pci_check_chan()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_repr.c | 31 int res; in ice_repr_get_phys_port_name() local 37 res = snprintf(buf, len, "pf%dvfr%d", ice_repr_get_sw_port_id(repr), in ice_repr_get_phys_port_name() 39 if (res <= 0) in ice_repr_get_phys_port_name()
|
/kernel/linux/linux-6.6/fs/ |
H A D | nsfs.c | 222 int res = -ENOENT; in ns_get_name() local 227 res = snprintf(buf, size, "%s:[%u]", name, ns->inum); in ns_get_name() 230 return res; in ns_get_name()
|
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | attributes.c | 58 int res = hfsplus_asc2uni(sb, in hfsplus_attr_build_key() local 61 if (res) in hfsplus_attr_build_key() 62 return res; in hfsplus_attr_build_key()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | bcm_kona_wdt.c | 112 int ctl, cur, ctl_sec, cur_sec, res; in bcm_kona_show() local 115 res = (ctl_val & SECWDOG_RES_MASK) >> SECWDOG_CLKS_SHIFT; in bcm_kona_show() 124 res, wdt->resolution, in bcm_kona_show()
|
H A D | exar_wdt.c | 258 struct resource *res; in exar_wdt_probe() local 261 res = platform_get_resource(pdev, IORESOURCE_IO, 0); in exar_wdt_probe() 262 if (!res) in exar_wdt_probe()
|
/kernel/linux/linux-6.6/include/linux/mlx4/ |
H A D | qp.h | 499 u16 res; in folded_qp() local 501 res = ((q & 0xff) ^ ((q & 0xff0000) >> 16)) | (q & 0xff00); in folded_qp() 502 return res; in folded_qp()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_param_shading.c | 262 input_height = binary->in_frame_info.res.height; in prepare_shading_table() 263 input_width = binary->in_frame_info.res.width; in prepare_shading_table() 273 right_padding = (binary->internal_frame_info.res.width - in prepare_shading_table()
|