Searched refs:phandle_args (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/drivers/bootcount/ |
H A D | rtc.c | 52 struct ofnode_phandle_args phandle_args; in bootcount_rtc_probe() local 56 if (dev_read_phandle_with_args(dev, "rtc", NULL, 0, 0, &phandle_args)) { in bootcount_rtc_probe() 61 if (uclass_get_device_by_ofnode(UCLASS_RTC, phandle_args.node, &rtc)) { in bootcount_rtc_probe()
|
/openbmc/u-boot/drivers/video/ |
H A D | ihs_video_out.c | 234 struct ofnode_phandle_args phandle_args; in ihs_video_out_probe() local 293 &phandle_args); in ihs_video_out_probe() 300 res = uclass_get_device_by_ofnode(UCLASS_CLK, phandle_args.node, in ihs_video_out_probe() 309 &phandle_args); in ihs_video_out_probe() 316 res = uclass_get_device_by_ofnode(UCLASS_DISPLAY, phandle_args.node, in ihs_video_out_probe()
|
/openbmc/u-boot/drivers/net/ |
H A D | tsec.c | 800 struct ofnode_phandle_args phandle_args; in tsec_probe() local 809 &phandle_args)) { in tsec_probe() 813 int reg = ofnode_read_u32_default(phandle_args.node, "reg", 0); in tsec_probe() 818 parent = ofnode_get_parent(phandle_args.node); in tsec_probe() 829 &phandle_args)) { in tsec_probe() 832 int reg = ofnode_read_u32_default(phandle_args.node, "reg", in tsec_probe()
|
H A D | zynq_gem.c | 766 struct ofnode_phandle_args phandle_args; in zynq_gem_ofdata_to_platdata() local 775 &phandle_args)) { in zynq_gem_ofdata_to_platdata() 777 priv->phyaddr = ofnode_read_u32_default(phandle_args.node, in zynq_gem_ofdata_to_platdata() 779 priv->phy_of_node = phandle_args.node; in zynq_gem_ofdata_to_platdata() 780 priv->max_speed = ofnode_read_u32_default(phandle_args.node, in zynq_gem_ofdata_to_platdata()
|
H A D | ravb.c | 469 struct ofnode_phandle_args phandle_args; in ravb_probe() local 481 ret = dev_read_phandle_with_args(dev, "phy-handle", NULL, 0, 0, &phandle_args); in ravb_probe() 483 gpio_request_by_name_nodev(phandle_args.node, "reset-gpios", 0, in ravb_probe()
|
H A D | sh_eth.c | 813 struct ofnode_phandle_args phandle_args; in sh_ether_probe() local 823 ret = dev_read_phandle_with_args(udev, "phy-handle", NULL, 0, 0, &phandle_args); in sh_ether_probe() 825 gpio_request_by_name_nodev(phandle_args.node, "reset-gpios", 0, in sh_ether_probe()
|
H A D | fec_mxc.c | 1269 struct ofnode_phandle_args phandle_args; in device_get_phy_addr() local 1273 &phandle_args)) { in device_get_phy_addr() 1278 reg = ofnode_read_u32_default(phandle_args.node, "reg", 0); in device_get_phy_addr()
|