Searched refs:phydev (Results 251 - 260 of 260) sorted by path

<<11

/linux-master/net/dsa/
H A Dport.c1609 struct phy_device *phydev,
1621 ds->ops->phylink_mac_link_up(ds, dp->index, mode, interface, phydev,
1608 dsa_port_phylink_mac_link_up(struct phylink_config *config, struct phy_device *phydev, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Duser.c383 err = dsa_port_enable_rt(dp, dev->phydev);
1232 if (!dev->phydev || !dp->pl)
1252 if (!dev->phydev || !dp->pl)
2567 user_dev->phydev = mdiobus_get_phy(ds->user_mii_bus, addr);
2568 if (!user_dev->phydev) {
2573 user_dev->phydev->dev_flags |= flags;
2575 return phylink_connect_phy(dp->pl, user_dev->phydev);
/linux-master/net/ethtool/
H A Dcabletest.c19 static int ethnl_cable_test_started(struct phy_device *phydev, u8 cmd) argument
35 err = ethnl_fill_reply_header(skb, phydev->attached_dev,
47 return ethnl_multicast(skb, phydev->attached_dev);
51 phydev_err(phydev, "%s: Error %pe\n", __func__, ERR_PTR(err));
72 if (!dev->phydev) {
88 ret = ops->start_cable_test(dev->phydev, info->extack);
93 ethnl_cable_test_started(dev->phydev,
103 int ethnl_cable_test_alloc(struct phy_device *phydev, u8 cmd) argument
110 phydev->skb = genlmsg_new(SZ_16K, GFP_KERNEL);
111 if (!phydev
146 ethnl_cable_test_free(struct phy_device *phydev) argument
153 ethnl_cable_test_finished(struct phy_device *phydev) argument
163 ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result) argument
186 ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) argument
360 ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV) argument
385 ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV) argument
406 ethnl_cable_test_step(struct phy_device *phydev, u32 first, u32 last, u32 step) argument
[all...]
H A Dcommon.c635 struct phy_device *phydev = dev->phydev; local
640 if (phy_has_tsinfo(phydev))
641 return phy_ts_info(phydev, info);
H A Dioctl.c177 if (sset == ETH_SS_PHY_STATS && dev->phydev &&
180 return phy_ops->get_sset_count(dev->phydev);
207 else if (stringset == ETH_SS_PHY_STATS && dev->phydev &&
210 phy_ops->get_strings(dev->phydev, data);
2196 static int ethtool_get_phy_stats_phydev(struct phy_device *phydev, argument
2206 n_stats = phy_ops->get_sset_count(phydev);
2213 return phy_ops->get_stats(phydev, stats, *data);
2240 struct phy_device *phydev = dev->phydev; local
2248 if (phydev)
2463 struct phy_device *phydev = dev->phydev; local
2500 struct phy_device *phydev = dev->phydev; local
2743 struct phy_device *phydev = dev->phydev; local
2782 struct phy_device *phydev = dev->phydev; local
[all...]
H A Dlinkstate.c31 struct phy_device *phydev = dev->phydev; local
34 if (!phydev)
37 mutex_lock(&phydev->lock);
38 if (!phydev->drv || !phydev->drv->get_sqi)
41 ret = phydev->drv->get_sqi(phydev);
42 mutex_unlock(&phydev->lock);
49 struct phy_device *phydev local
[all...]
H A Dplca.c64 if (!dev->phydev) {
83 ret = ops->get_plca_cfg(dev->phydev, &data->plca_cfg);
152 if (!dev->phydev)
171 ret = ops->set_plca_cfg(dev->phydev, &plca_cfg, info->extack);
207 if (!dev->phydev) {
226 ret = ops->get_plca_status(dev->phydev, &data->plca_st);
H A Dpse-pd.c38 struct phy_device *phydev = dev->phydev; local
40 if (!phydev) {
45 if (!phydev->psec) {
52 return pse_ethtool_get_status(phydev->psec, extack, &data->status);
140 struct phy_device *phydev; local
142 phydev = dev->phydev;
143 if (!phydev) {
148 if (!phydev
177 struct phy_device *phydev; local
[all...]
H A Dstrset.c243 if (id == ETH_SS_PHY_STATS && dev->phydev &&
246 ret = phy_ops->get_sset_count(dev->phydev);
261 if (id == ETH_SS_PHY_STATS && dev->phydev &&
264 phy_ops->get_strings(dev->phydev, strings);
/linux-master/net/xfrm/
H A Dxfrm_interface_core.c765 struct net_device *phydev = __dev_get_by_index(xi->net, xi->p.link); local
776 if (phydev) {
777 dev->needed_headroom = phydev->needed_headroom;
778 dev->needed_tailroom = phydev->needed_tailroom;
781 eth_hw_addr_inherit(dev, phydev);
783 memcpy(dev->broadcast, phydev->broadcast,

Completed in 275 milliseconds

<<11