Searched refs:reg_res (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/pcmcia/ |
D | bcm63xx_pcmcia.c | 359 skt->reg_res = res; in bcm63xx_drv_pcmcia_probe() 433 if (skt->reg_res) in bcm63xx_drv_pcmcia_probe() 434 release_mem_region(skt->reg_res->start, regmem_size); in bcm63xx_drv_pcmcia_probe() 448 res = skt->reg_res; in bcm63xx_drv_pcmcia_remove()
|
D | bcm63xx_pcmcia.h | 32 struct resource *reg_res; member
|
/Linux-v4.19/drivers/video/fbdev/mbx/ |
D | mbxfb.c | 63 struct resource *reg_res; member 917 mfbi->reg_res = platform_get_resource(dev, IORESOURCE_MEM, 1); in mbxfb_probe() 919 if (!mfbi->fb_res || !mfbi->reg_res) { in mbxfb_probe() 934 mfbi->reg_req = request_mem_region(mfbi->reg_res->start, in mbxfb_probe() 935 res_size(mfbi->reg_res), dev->name); in mbxfb_probe() 941 mfbi->reg_phys_addr = mfbi->reg_res->start; in mbxfb_probe() 1002 release_mem_region(mfbi->reg_res->start, res_size(mfbi->reg_res)); in mbxfb_probe()
|
/Linux-v4.19/drivers/acpi/ |
D | cppc_acpi.c | 968 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument 973 struct cpc_reg *reg = ®_res->cpc_entry.reg; in cpc_read() 975 if (reg_res->type == ACPI_TYPE_INTEGER) { in cpc_read() 976 *val = reg_res->cpc_entry.int_value; in cpc_read() 984 vaddr = reg_res->sys_mem_vaddr; in cpc_read() 1013 static int cpc_write(int cpu, struct cpc_register_resource *reg_res, u64 val) in cpc_write() argument 1018 struct cpc_reg *reg = ®_res->cpc_entry.reg; in cpc_write() 1023 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
|
/Linux-v4.19/drivers/remoteproc/ |
D | qcom_q6v5_pil.c | 197 const struct qcom_mss_reg_res *reg_res) in q6v5_regulator_init() argument 202 if (!reg_res) in q6v5_regulator_init() 205 for (i = 0; reg_res[i].supply; i++) { in q6v5_regulator_init() 206 regs[i].reg = devm_regulator_get(dev, reg_res[i].supply); in q6v5_regulator_init() 211 reg_res[i].supply); in q6v5_regulator_init() 215 regs[i].uV = reg_res[i].uV; in q6v5_regulator_init() 216 regs[i].uA = reg_res[i].uA; in q6v5_regulator_init()
|
/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 382 void __iomem *reg_map, struct resource *reg_res) in set_tbipa() argument 401 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
|
/Linux-v4.19/drivers/media/platform/ |
D | sh_veu.c | 1111 struct resource *reg_res; in sh_veu_probe() local 1115 reg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sh_veu_probe() 1118 if (!reg_res || irq <= 0) { in sh_veu_probe() 1127 veu->is_2h = resource_size(reg_res) == 0x22c; in sh_veu_probe() 1129 veu->base = devm_ioremap_resource(&pdev->dev, reg_res); in sh_veu_probe()
|
D | sh_vou.c | 1231 struct resource *reg_res; in sh_vou_probe() local 1236 reg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sh_vou_probe() 1239 if (!vou_pdata || !reg_res || irq <= 0) { in sh_vou_probe() 1272 vou_dev->base = devm_ioremap_resource(&pdev->dev, reg_res); in sh_vou_probe()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | controlfb.c | 687 struct resource fb_res, reg_res; in control_of_init() local 695 of_pci_address_to_resource(dp, 1, ®_res)) { in control_of_init() 709 p->control_regs_phys = reg_res.start; in control_of_init() 710 p->control_regs_size = resource_size(®_res); in control_of_init()
|