Home
last modified time | relevance | path

Searched refs:phy_node (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/board/freescale/common/
H A Dsgmii_riser.c45 int phy_node; in fsl_sgmii_riser_fdt_fixup() local
69 phy_node = fdt_subnode_offset(fdt, mdio_node, sgmii_phy); in fsl_sgmii_riser_fdt_fixup()
70 if (phy_node > 0) { in fsl_sgmii_riser_fdt_fixup()
72 ph = fdt_create_phandle(fdt, phy_node); in fsl_sgmii_riser_fdt_fixup()
101 if (phy_node < 0) { in fsl_sgmii_riser_fdt_fixup()
112 phy_node = fdt_node_offset_by_phandle(fdt, in fsl_sgmii_riser_fdt_fixup()
118 fdt_setprop_cell(fdt, phy_node, "reg", in fsl_sgmii_riser_fdt_fixup()
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Drv1108-board.c24 int node, phy_node; in board_usb_init() local
54 phy_node = fdt_parent_offset(blob, node); in board_usb_init()
55 if (phy_node <= 0) { in board_usb_init()
60 rv1108_otg_data.phy_of_node = phy_node; in board_usb_init()
H A Drk3288-board.c209 int node, phy_node; in board_usb_init() local
241 phy_node = fdt_parent_offset(blob, node); in board_usb_init()
242 if (phy_node <= 0) { in board_usb_init()
247 rk3288_otg_data.phy_of_node = phy_node; in board_usb_init()
/openbmc/u-boot/drivers/net/mdio/
H A Dmdio-uclass.c25 int mdio_device_get_from_phy(ofnode phy_node, struct udevice **devp) in mdio_device_get_from_phy() argument
29 mdio_node = ofnode_get_parent(phy_node); in mdio_device_get_from_phy()
33 int mdio_mii_bus_get_from_phy(ofnode phy_node, struct mii_dev **busp) in mdio_mii_bus_get_from_phy() argument
38 ret = mdio_device_get_from_phy(phy_node, &mdio_dev); in mdio_mii_bus_get_from_phy()
/openbmc/u-boot/include/net/
H A Dmdio.h29 int mdio_device_get_from_phy(ofnode phy_node, struct udevice **devp);
38 int mdio_mii_bus_get_from_phy(ofnode phy_node, struct mii_dev **busp);
/openbmc/u-boot/arch/arm/cpu/armv7/ls102xa/
H A Dfdt.c29 int phy_node; in ft_fixup_enet_phy_connect_type() local
55 phy_node = fdt_path_offset(fdt, phy_path); in ft_fixup_enet_phy_connect_type()
56 if (phy_node < 0) in ft_fixup_enet_phy_connect_type()
59 ph = fdt_create_phandle(fdt, phy_node); in ft_fixup_enet_phy_connect_type()
/openbmc/u-boot/drivers/net/
H A Dmvpp2.c976 int phy_node; member
4569 if (port->phy_node) { in mvpp2_open()
4707 int phy_node; in phy_info_parse() local
4718 phy_node = fdtdec_lookup_phandle(gd->fdt_blob, port_node, "phy"); in phy_info_parse()
4720 if (phy_node > 0) { in phy_info_parse()
4724 phyaddr = fdtdec_get_int(gd->fdt_blob, phy_node, "reg", 0); in phy_info_parse()
4730 phy_ofnode = ofnode_get_parent(offset_to_ofnode(phy_node)); in phy_info_parse()
4739 phy_node = 0; in phy_info_parse()
4777 port->phy_node = phy_node; in phy_info_parse()
5469 if(port->phy_node) in mvpp2_probe()