Searched refs:pdn (Results 1 – 4 of 4) sorted by relevance
| /net/ethtool/ |
| A D | phy.c | 77 struct phy_device_node *pdn; in phy_prepare_data() local 86 pdn = xa_load(&topo->phys, phydev->phyindex); in phy_prepare_data() 87 if (!pdn) in phy_prepare_data() 93 rep_data->upstream_type = pdn->upstream_type; in phy_prepare_data() 95 if (pdn->upstream_type == PHY_UPSTREAM_PHY) { in phy_prepare_data() 96 struct phy_device *upstream = pdn->upstream.phydev; in phy_prepare_data() 100 if (pdn->parent_sfp_bus) in phy_prepare_data() 101 rep_data->upstream_sfp_name = kstrdup(sfp_get_name(pdn->parent_sfp_bus), in phy_prepare_data()
|
| A D | tsinfo.c | 433 struct phy_device_node *pdn; in ethnl_tsinfo_dump_one_net_topo() local 454 xa_for_each_start(&dev->link_topo->phys, ctx->pos_phyindex, pdn, in ethnl_tsinfo_dump_one_net_topo() 456 if (phy_has_tsinfo(pdn->phy)) { in ethnl_tsinfo_dump_one_net_topo() 458 pdn->phy, cb); in ethnl_tsinfo_dump_one_net_topo()
|
| A D | common.c | 937 struct phy_device_node *pdn; in ethtool_phy_get_ts_info_by_phc() local 940 xa_for_each(&dev->link_topo->phys, phy_index, pdn) { in ethtool_phy_get_ts_info_by_phc() 941 if (!phy_has_tsinfo(pdn->phy)) in ethtool_phy_get_ts_info_by_phc() 945 err = phy_ts_info(pdn->phy, info); in ethtool_phy_get_ts_info_by_phc() 950 return pdn->phy; in ethtool_phy_get_ts_info_by_phc()
|
| A D | netlink.c | 759 struct phy_device_node *pdn; in ethnl_perphy_dump_one_dev() local 765 xa_for_each_start(&dev->link_topo->phys, ctx->pos_phyindex, pdn, in ethnl_perphy_dump_one_dev()
|
Completed in 15 milliseconds