Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/video/fbdev/mbx/
Dmbxfb.c63 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/
Dcppc_acpi.c966 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument
971 struct cpc_reg *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 = &reg_res->cpc_entry.reg; in cpc_write()
1021 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
/Linux-v5.4/drivers/remoteproc/
Dqcom_q6v5_mss.c203 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/
Dfsl_pq_mdio.c377 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/
Dsh_veu.c1106 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()
Dsh_vou.c1222 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/
Dcontrolfb.c673 struct resource fb_res, reg_res; in control_of_init() local
681 of_pci_address_to_resource(dp, 1, &reg_res)) { in control_of_init()
695 p->control_regs_phys = reg_res.start; in control_of_init()
696 p->control_regs_size = resource_size(&reg_res); in control_of_init()