Home
last modified time | relevance | path

Searched refs:reg_res (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/
H A Dcppc_acpi.c939 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument
944 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_read()
946 if (reg_res->type == ACPI_TYPE_INTEGER) { in cpc_read()
947 *val = reg_res->cpc_entry.int_value; in cpc_read()
955 vaddr = reg_res->sys_mem_vaddr; in cpc_read()
984 static int cpc_write(int cpu, struct cpc_register_resource *reg_res, u64 val) in cpc_write() argument
989 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_write()
994 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
/kernel/linux/linux-5.10/drivers/pcmcia/
H A 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()
H A Dbcm63xx_pcmcia.h32 struct resource *reg_res; member
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Dbcm63xx_pcmcia.c360 skt->reg_res = res; in bcm63xx_drv_pcmcia_probe()
434 if (skt->reg_res) in bcm63xx_drv_pcmcia_probe()
435 release_mem_region(skt->reg_res->start, regmem_size); in bcm63xx_drv_pcmcia_probe()
449 res = skt->reg_res; in bcm63xx_drv_pcmcia_remove()
H A Dbcm63xx_pcmcia.h32 struct resource *reg_res; member
/kernel/linux/linux-6.6/drivers/acpi/
H A Dcppc_acpi.c980 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument
984 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_read()
986 if (reg_res->type == ACPI_TYPE_INTEGER) { in cpc_read()
987 *val = reg_res->cpc_entry.int_value; in cpc_read()
1011 vaddr = reg_res->sys_mem_vaddr; in cpc_read()
1040 static int cpc_write(int cpu, struct cpc_register_resource *reg_res, u64 val) in cpc_write() argument
1045 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_write()
1063 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dfsl_pq_mdio.c377 void __iomem *reg_map, struct resource *reg_res) in set_tbipa()
396 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
375 set_tbipa(const u32 tbipa_val, struct platform_device *pdev, uint32_t __iomem * (*get_tbipa)(void __iomem *), void __iomem *reg_map, struct resource *reg_res) set_tbipa() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Dfsl_pq_mdio.c378 void __iomem *reg_map, struct resource *reg_res) in set_tbipa()
397 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
376 set_tbipa(const u32 tbipa_val, struct platform_device *pdev, uint32_t __iomem * (*get_tbipa)(void __iomem *), void __iomem *reg_map, struct resource *reg_res) set_tbipa() argument
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dqcom_q6v5_mss.c225 const struct qcom_mss_reg_res *reg_res) in q6v5_regulator_init()
230 if (!reg_res) in q6v5_regulator_init()
233 for (i = 0; reg_res[i].supply; i++) { in q6v5_regulator_init()
234 regs[i].reg = devm_regulator_get(dev, reg_res[i].supply); in q6v5_regulator_init()
239 reg_res[i].supply); in q6v5_regulator_init()
243 regs[i].uV = reg_res[i].uV; in q6v5_regulator_init()
244 regs[i].uA = reg_res[i].uA; in q6v5_regulator_init()
224 q6v5_regulator_init(struct device *dev, struct reg_info *regs, const struct qcom_mss_reg_res *reg_res) q6v5_regulator_init() argument
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dqcom_q6v5_mss.c261 const struct qcom_mss_reg_res *reg_res) in q6v5_regulator_init()
266 if (!reg_res) in q6v5_regulator_init()
269 for (i = 0; reg_res[i].supply; i++) { in q6v5_regulator_init()
270 regs[i].reg = devm_regulator_get(dev, reg_res[i].supply); in q6v5_regulator_init()
275 reg_res[i].supply); in q6v5_regulator_init()
279 regs[i].uV = reg_res[i].uV; in q6v5_regulator_init()
280 regs[i].uA = reg_res[i].uA; in q6v5_regulator_init()
260 q6v5_regulator_init(struct device *dev, struct reg_info *regs, const struct qcom_mss_reg_res *reg_res) q6v5_regulator_init() argument
/kernel/linux/linux-5.10/drivers/media/platform/
H A Dsh_vou.c1226 struct resource *reg_res; in sh_vou_probe() local
1231 reg_res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in sh_vou_probe()
1234 if (!vou_pdata || !reg_res || irq <= 0) { in sh_vou_probe()
1267 vou_dev->base = devm_ioremap_resource(&pdev->dev, reg_res); in sh_vou_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dcontrolfb.c946 struct resource fb_res, reg_res; in control_of_init() local
954 of_pci_address_to_resource(dp, 1, &reg_res)) { in control_of_init()
968 p->control_regs_phys = reg_res.start; in control_of_init()
969 p->control_regs_size = resource_size(&reg_res); in control_of_init()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dcontrolfb.c936 struct resource fb_res, reg_res; in control_of_init() local
944 of_pci_address_to_resource(dp, 1, &reg_res)) { in control_of_init()
958 p->control_regs_phys = reg_res.start; in control_of_init()
959 p->control_regs_size = resource_size(&reg_res); in control_of_init()

Completed in 19 milliseconds