Lines Matching defs:netdev
123 /* Discard any incomplete Ethernet frame in the netdev buffer */
147 * appending bad data to the end of the current netdev socket buffer.
148 * Also avoid unnecessarily discarding a good current netdev socket
202 /* Sometimes may fail to get a netdev socket buffer but
418 void asix_adjust_link(struct net_device *netdev)
420 struct phy_device *phydev = netdev->phydev;
421 struct usbnet *dev = netdev_priv(netdev);
497 static int __asix_mdio_read(struct net_device *netdev, int phy_id, int loc,
500 struct usbnet *dev = netdev_priv(netdev);
527 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc)
529 return __asix_mdio_read(netdev, phy_id, loc, false);
532 static int __asix_mdio_write(struct net_device *netdev, int phy_id, int loc,
535 struct usbnet *dev = netdev_priv(netdev);
560 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val)
562 __asix_mdio_write(netdev, phy_id, loc, val, false);
580 int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc)
582 return __asix_mdio_read(netdev, phy_id, loc, true);
586 asix_mdio_write_nopm(struct net_device *netdev, int phy_id, int loc, int val)
588 __asix_mdio_write(netdev, phy_id, loc, val, true);