Searched refs:reg_res (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/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-v5.4/drivers/video/fbdev/mbx/ |
| D | mbxfb.c | 63 struct resource *reg_res; member 915 mfbi->reg_res = platform_get_resource(dev, IORESOURCE_MEM, 1); in mbxfb_probe() 917 if (!mfbi->fb_res || !mfbi->reg_res) { in mbxfb_probe() 932 mfbi->reg_req = request_mem_region(mfbi->reg_res->start, in mbxfb_probe() 933 res_size(mfbi->reg_res), dev->name); in mbxfb_probe() 939 mfbi->reg_phys_addr = mfbi->reg_res->start; in mbxfb_probe() 1000 release_mem_region(mfbi->reg_res->start, res_size(mfbi->reg_res)); in mbxfb_probe()
|
| /Linux-v5.4/drivers/acpi/ |
| D | cppc_acpi.c | 966 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument 971 struct cpc_reg *reg = ®_res->cpc_entry.reg; in cpc_read() 973 if (reg_res->type == ACPI_TYPE_INTEGER) { in cpc_read() 974 *val = reg_res->cpc_entry.int_value; in cpc_read() 982 vaddr = reg_res->sys_mem_vaddr; in cpc_read() 1011 static int cpc_write(int cpu, struct cpc_register_resource *reg_res, u64 val) in cpc_write() argument 1016 struct cpc_reg *reg = ®_res->cpc_entry.reg; in cpc_write() 1021 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
|
| /Linux-v5.4/drivers/remoteproc/ |
| D | qcom_q6v5_mss.c | 203 const struct qcom_mss_reg_res *reg_res) in q6v5_regulator_init() argument 208 if (!reg_res) in q6v5_regulator_init() 211 for (i = 0; reg_res[i].supply; i++) { in q6v5_regulator_init() 212 regs[i].reg = devm_regulator_get(dev, reg_res[i].supply); in q6v5_regulator_init() 217 reg_res[i].supply); in q6v5_regulator_init() 221 regs[i].uV = reg_res[i].uV; in q6v5_regulator_init() 222 regs[i].uA = reg_res[i].uA; in q6v5_regulator_init()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | fsl_pq_mdio.c | 377 void __iomem *reg_map, struct resource *reg_res) in set_tbipa() argument 396 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
|
| /Linux-v5.4/drivers/media/platform/ |
| D | sh_veu.c | 1106 struct resource *reg_res; in sh_veu_probe() local 1110 reg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sh_veu_probe() 1113 if (!reg_res || irq <= 0) { in sh_veu_probe() 1122 veu->is_2h = resource_size(reg_res) == 0x22c; in sh_veu_probe() 1124 veu->base = devm_ioremap_resource(&pdev->dev, reg_res); in sh_veu_probe()
|
| D | sh_vou.c | 1222 struct resource *reg_res; in sh_vou_probe() local 1227 reg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sh_vou_probe() 1230 if (!vou_pdata || !reg_res || irq <= 0) { in sh_vou_probe() 1263 vou_dev->base = devm_ioremap_resource(&pdev->dev, reg_res); in sh_vou_probe()
|
| /Linux-v5.4/drivers/video/fbdev/ |
| D | controlfb.c | 673 struct resource fb_res, reg_res; in control_of_init() local 681 of_pci_address_to_resource(dp, 1, ®_res)) { in control_of_init() 695 p->control_regs_phys = reg_res.start; in control_of_init() 696 p->control_regs_size = resource_size(®_res); in control_of_init()
|