Home
last modified time | relevance | path

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

/u-boot/board/freescale/common/
A Dsgmii_riser.c46 int phy_node; in fsl_sgmii_riser_fdt_fixup() local
70 phy_node = fdt_subnode_offset(fdt, mdio_node, sgmii_phy); in fsl_sgmii_riser_fdt_fixup()
71 if (phy_node > 0) { in fsl_sgmii_riser_fdt_fixup()
73 ph = fdt_create_phandle(fdt, phy_node); in fsl_sgmii_riser_fdt_fixup()
102 if (phy_node < 0) { in fsl_sgmii_riser_fdt_fixup()
113 phy_node = fdt_node_offset_by_phandle(fdt, in fsl_sgmii_riser_fdt_fixup()
119 fdt_setprop_cell(fdt, phy_node, "reg", in fsl_sgmii_riser_fdt_fixup()
/u-boot/drivers/net/
A Deth-phy-uclass.c19 ofnode mdio_node, phy_node; in eth_phy_binds_nodes() local
30 ofnode_for_each_subnode(phy_node, mdio_node) { in eth_phy_binds_nodes()
31 node_name = ofnode_get_name(phy_node); in eth_phy_binds_nodes()
37 node_name, phy_node, NULL); in eth_phy_binds_nodes()
A Dhigmacv300.c566 ofnode phy_node; in higmac_of_to_plat() local
578 phy_node = dev_read_subnode(dev, "phy"); in higmac_of_to_plat()
579 if (!ofnode_valid(phy_node)) { in higmac_of_to_plat()
583 priv->phyaddr = ofnode_read_u32_default(phy_node, "reg", 0); in higmac_of_to_plat()
A Dbcmgenet.c692 struct ofnode_phandle_args phy_node; in bcmgenet_eth_of_to_plat() local
709 &phy_node); in bcmgenet_eth_of_to_plat()
711 ofnode_read_s32(phy_node.node, "reg", &priv->phyaddr); in bcmgenet_eth_of_to_plat()
712 ofnode_read_s32(phy_node.node, "max-speed", &pdata->max_speed); in bcmgenet_eth_of_to_plat()
A Dmvpp2.c4720 int phy_node; in phy_info_parse() local
4726 phy_node = fdtdec_lookup_phandle(gd->fdt_blob, port_node, "phy"); in phy_info_parse()
4728 if (phy_node > 0) { in phy_info_parse()
4730 phyaddr = fdtdec_get_int(gd->fdt_blob, phy_node, "reg", 0); in phy_info_parse()
4735 parent = fdt_parent_offset(gd->fdt_blob, phy_node); in phy_info_parse()
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dfdt.c37 int phy_node; in ft_fixup_enet_phy_connect_type() local
72 phy_node = fdt_path_offset(fdt, phy_path); in ft_fixup_enet_phy_connect_type()
73 if (phy_node < 0) in ft_fixup_enet_phy_connect_type()
76 ph = fdt_create_phandle(fdt, phy_node); in ft_fixup_enet_phy_connect_type()
/u-boot/arch/arm/mach-rockchip/
A Dboard.c96 ofnode phy_node; in board_usb_init() local
108 phy_node = ofnode_get_parent(node); in board_usb_init()
114 otg_data.phy_of_node = phy_node; in board_usb_init()
/u-boot/drivers/net/ti/
A Dam65-cpsw-nuss.c128 ofnode phy_node; member
589 if (ofnode_valid(priv->phy_node)) in am65_cpsw_phy_init()
590 phydev->node = priv->phy_node; in am65_cpsw_phy_init()
635 priv->phy_node = out_args.node; in am65_cpsw_ofdata_parse_phy()
637 ret = ofnode_read_u32(priv->phy_node, "reg", &priv->phy_addr); in am65_cpsw_ofdata_parse_phy()

Completed in 37 milliseconds