Home
last modified time | relevance | path

Searched refs:reg_res (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/pcmcia/
Dbcm63xx_pcmcia.c359 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()
Dbcm63xx_pcmcia.h32 struct resource *reg_res; member
/Linux-v4.19/drivers/video/fbdev/mbx/
Dmbxfb.c63 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/
Dcppc_acpi.c968 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument
973 struct cpc_reg *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 = &reg_res->cpc_entry.reg; in cpc_write()
1023 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
/Linux-v4.19/drivers/remoteproc/
Dqcom_q6v5_pil.c197 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/
Dfsl_pq_mdio.c382 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/
Dsh_veu.c1111 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()
Dsh_vou.c1231 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/
Dcontrolfb.c687 struct resource fb_res, reg_res; in control_of_init() local
695 of_pci_address_to_resource(dp, 1, &reg_res)) { in control_of_init()
709 p->control_regs_phys = reg_res.start; in control_of_init()
710 p->control_regs_size = resource_size(&reg_res); in control_of_init()