Home
last modified time | relevance | path

Searched refs:ofnode_read_u32_index (Results 1 – 11 of 11) sorted by relevance

/u-boot/drivers/usb/host/
A Dehci-mxs.c174 ret = ofnode_read_u32_index(phy_node, "clocks", 0, &phandle); in ehci_usb_ofdata_to_platdata()
178 ret = ofnode_read_u32_index(phy_node, "clocks", 1, &clk_id); in ehci_usb_ofdata_to_platdata()
/u-boot/drivers/clk/ti/
A Dclk.c86 ret = ofnode_read_u32_index(dev_ofnode(dev), "reg", index, &val); in clk_ti_get_reg_addr()
/u-boot/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c255 ret = ofnode_read_u32_index(dev_ofnode(dev), "reg", 0, &reg); in rockchip_usb2phy_probe()
263 if (ofnode_read_u32_index(dev_ofnode(dev), "reg", 1, &reg)) { in rockchip_usb2phy_probe()
/u-boot/test/dm/
A Dofnode.c919 ut_assertok(ofnode_read_u32_index(node, "brightness-levels", 0, &val)); in dm_test_ofnode_u32()
921 ut_assertok(ofnode_read_u32_index(node, "brightness-levels", 1, &val)); in dm_test_ofnode_u32()
923 ut_assertok(ofnode_read_u32_index(node, "brightness-levels", 8, &val)); in dm_test_ofnode_u32()
926 ofnode_read_u32_index(node, "brightness-levels", 9, &val)); in dm_test_ofnode_u32()
927 ut_asserteq(-EINVAL, ofnode_read_u32_index(node, "missing", 0, &val)); in dm_test_ofnode_u32()
/u-boot/drivers/misc/
A Dgsc.c321 if (!ofnode_read_u32_index(node, "gw,voltage-divider-ohms", 0, &r[0]) && in gsc_hwmon()
322 !ofnode_read_u32_index(node, "gw,voltage-divider-ohms", 1, &r[1]) && in gsc_hwmon()
/u-boot/drivers/core/
A Dofnode.c280 return ofnode_read_u32_index(node, propname, 0, outp); in ofnode_read_u32()
286 ofnode_read_u32_index(node, propname, 0, &def); in ofnode_read_u32_default()
291 int ofnode_read_u32_index(ofnode node, const char *propname, int index, in ofnode_read_u32_index() function
326 ofnode_read_u32_index(node, propname, index, &def); in ofnode_read_u32_index_default()
A Dread.c51 return ofnode_read_u32_index(dev_ofnode(dev), propname, index, outp); in dev_read_u32_index()
/u-boot/drivers/pci/
A Dpcie_apple.c263 ret = ofnode_read_u32_index(np, "reg", 0, &idx); in apple_pcie_setup_port()
/u-boot/include/dm/
A Dofnode.h424 int ofnode_read_u32_index(ofnode node, const char *propname, int index,
A Dread.h869 return ofnode_read_u32_index(dev_ofnode(dev), propname, index, outp); in dev_read_u32_index()
/u-boot/drivers/mtd/nand/raw/
A Dsunxi_nand.c1640 ret = ofnode_read_u32_index(np, "reg", i, &tmp); in sunxi_nand_chip_init()
1660 if (!ofnode_read_u32_index(np, "allwinner,rb", i, &tmp) && in sunxi_nand_chip_init()

Completed in 123 milliseconds