Home
last modified time | relevance | path

Searched refs:of_property_read_reg (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
H A Dof_address.h76 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
112 static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg() function
/linux/drivers/irqchip/
H A Dirq-bcm2712-mip.c220 ret = of_property_read_reg(np, 1, &mip->msg_addr, &size); in mip_parse_dt()
/linux/drivers/cpufreq/
H A Dpmac32-cpufreq.c384 if (of_property_read_reg(np, 0, &offset, NULL) < 0) in read_gpio()
/linux/drivers/of/
H A Daddress.c735 * of_property_read_reg - Retrieve the specified "reg" entry index without translating
744 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg() function
755 EXPORT_SYMBOL(of_property_read_reg);
H A Dunittest.c1402 ret = of_property_read_reg(np, 0, &addr, &size); in of_unittest_reg()
1403 unittest(!ret, "of_property_read_reg(%pOF) returned error %d\n", in of_unittest_reg()
1405 unittest(addr == 0x1000, "of_property_read_reg(%pOF) untranslated address (%llx) incorrect\n", in of_unittest_reg()
/linux/drivers/ata/
H A Dpata_octeon_cf.c835 rv = of_property_read_reg(node, 0, &reg, NULL); in octeon_cf_probe()
882 rv = of_property_read_reg(node, 1, &reg, NULL); in octeon_cf_probe()
H A Dsata_svw.c325 if (of_property_read_reg(np, 0, &reg, NULL)) in k2_sata_show_info()
/linux/drivers/macintosh/
H A Dsmu.c515 if (of_property_read_reg(smu->db_node, 0, &data, NULL)) { in smu_init()
534 if (of_property_read_reg(smu->msg_node, 0, &data, NULL)) { in smu_init()
/linux/drivers/remoteproc/
H A Dxlnx_r5_remoteproc.c1023 ret = of_property_read_reg(sram_np, i, &abs_addr, &size); in zynqmp_r5_get_sram_banks()
1111 ret = of_property_read_reg(np, j, &abs_addr, &size); in zynqmp_r5_get_tcm_node_from_dt()
/linux/drivers/fsi/
H A Dfsi-core.c406 if (of_property_read_reg(np, 0, &paddr, &psize)) in fsi_device_node_matches()
634 if (of_property_read_reg(np, 0, &addr, NULL)) in fsi_slave_node_matches()
/linux/drivers/i2c/busses/
H A Di2c-mpc.c317 of_property_read_reg(node, 0, &addr, NULL); in mpc_i2c_setup_512x()
/linux/arch/powerpc/sysdev/
H A Dfsl_rmu.c1086 if (of_property_read_reg(node, 0, &msg_start, NULL)) { in fsl_rio_setup_rmu()
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c1198 of_property_read_reg(np, index, &reg_addr, NULL); in dw_pcie_parent_bus_offset()
/linux/sound/soc/codecs/
H A Dpcm6240.c2101 if (of_property_read_reg(np, i, &addr, NULL)) in pcmdevice_i2c_probe()
H A Dtas2781-i2c.c1883 if (of_property_read_reg(np, i, &addr, NULL)) in tasdevice_parse_dt()