Lines Matching defs:ndev
24 ax88796c_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info)
30 static u32 ax88796c_get_msglevel(struct net_device *ndev)
32 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
37 static void ax88796c_set_msglevel(struct net_device *ndev, u32 level)
39 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
45 ax88796c_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause)
47 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
57 ax88796c_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause)
59 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
91 static int ax88796c_get_regs_len(struct net_device *ndev)
97 ax88796c_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *_p)
99 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
103 memset(p, 0, ax88796c_get_regs_len(ndev));
122 ax88796c_get_strings(struct net_device *ndev, u32 stringset, u8 *data)
133 ax88796c_get_sset_count(struct net_device *ndev, int stringset)
148 static int ax88796c_set_priv_flags(struct net_device *ndev, u32 flags)
150 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
156 if (netif_running(ndev))
164 static u32 ax88796c_get_priv_flags(struct net_device *ndev)
166 struct ax88796c_device *ax_local = to_ax88796c_device(ndev);
232 int ax88796c_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd)
236 ret = phy_mii_ioctl(ndev->phydev, ifr, cmd);