Searched refs:ofnode_read_u32_index (Results 1 – 11 of 11) sorted by relevance
/u-boot/drivers/usb/host/ |
A D | ehci-mxs.c | 174 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 D | clk.c | 86 ret = ofnode_read_u32_index(dev_ofnode(dev), "reg", index, &val); in clk_ti_get_reg_addr()
|
/u-boot/drivers/phy/rockchip/ |
A D | phy-rockchip-inno-usb2.c | 255 ret = ofnode_read_u32_index(dev_ofnode(dev), "reg", 0, ®); in rockchip_usb2phy_probe() 263 if (ofnode_read_u32_index(dev_ofnode(dev), "reg", 1, ®)) { in rockchip_usb2phy_probe()
|
/u-boot/test/dm/ |
A D | ofnode.c | 919 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 D | gsc.c | 321 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 D | ofnode.c | 280 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 D | read.c | 51 return ofnode_read_u32_index(dev_ofnode(dev), propname, index, outp); in dev_read_u32_index()
|
/u-boot/drivers/pci/ |
A D | pcie_apple.c | 263 ret = ofnode_read_u32_index(np, "reg", 0, &idx); in apple_pcie_setup_port()
|
/u-boot/include/dm/ |
A D | ofnode.h | 424 int ofnode_read_u32_index(ofnode node, const char *propname, int index,
|
A D | read.h | 869 return ofnode_read_u32_index(dev_ofnode(dev), propname, index, outp); in dev_read_u32_index()
|
/u-boot/drivers/mtd/nand/raw/ |
A D | sunxi_nand.c | 1640 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