Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/pci/
H A Dpcie_ecam_generic.c107 struct fdt_resource reg_res; in pci_generic_ecam_ofdata_to_platdata() local
112 0, &reg_res); in pci_generic_ecam_ofdata_to_platdata()
118 pcie->cfg_base = map_physmem(reg_res.start, in pci_generic_ecam_ofdata_to_platdata()
119 fdt_resource_size(&reg_res), in pci_generic_ecam_ofdata_to_platdata()
H A Dpcie_xilinx.c143 struct fdt_resource reg_res; in pcie_xilinx_ofdata_to_platdata() local
148 0, &reg_res); in pcie_xilinx_ofdata_to_platdata()
154 pcie->cfg_base = map_physmem(reg_res.start, in pcie_xilinx_ofdata_to_platdata()
155 fdt_resource_size(&reg_res), in pcie_xilinx_ofdata_to_platdata()
H A Dpcie_intel_fpga.c381 struct fdt_resource reg_res; in pcie_intel_fpga_ofdata_to_platdata() local
388 "Cra", &reg_res); in pcie_intel_fpga_ofdata_to_platdata()
394 pcie->cra_base = map_physmem(reg_res.start, in pcie_intel_fpga_ofdata_to_platdata()
395 fdt_resource_size(&reg_res), in pcie_intel_fpga_ofdata_to_platdata()
399 "Hip", &reg_res); in pcie_intel_fpga_ofdata_to_platdata()
405 pcie->hip_base = map_physmem(reg_res.start, in pcie_intel_fpga_ofdata_to_platdata()
406 fdt_resource_size(&reg_res), in pcie_intel_fpga_ofdata_to_platdata()
/openbmc/linux/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
/openbmc/linux/drivers/acpi/
H A Dcppc_acpi.c1001 static int cpc_read(int cpu, struct cpc_register_resource *reg_res, u64 *val) in cpc_read() argument
1006 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_read()
1008 if (reg_res->type == ACPI_TYPE_INTEGER) { in cpc_read()
1009 *val = reg_res->cpc_entry.int_value; in cpc_read()
1040 vaddr = reg_res->sys_mem_vaddr; in cpc_read()
1077 static int cpc_write(int cpu, struct cpc_register_resource *reg_res, u64 val) in cpc_write() argument
1084 struct cpc_reg *reg = &reg_res->cpc_entry.reg; in cpc_write()
1112 vaddr = reg_res->sys_mem_vaddr; in cpc_write()
/openbmc/u-boot/drivers/mmc/
H A Drenesas-sdhi.c484 struct fdt_resource reg_res; in renesas_sdhi_probe() local
492 "reg", 0, &reg_res); in renesas_sdhi_probe()
499 if (fdt_resource_size(&reg_res) == 0x100) in renesas_sdhi_probe()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfsl_pq_mdio.c378 void __iomem *reg_map, struct resource *reg_res) in set_tbipa() argument
397 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
/openbmc/linux/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()
/openbmc/linux/drivers/remoteproc/
H A Dqcom_q6v5_mss.c261 const struct qcom_mss_reg_res *reg_res) in q6v5_regulator_init() argument
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()