Lines Matching refs:usbnet
28 static int sr_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_read_cmd()
41 static int sr_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd()
55 sr_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd_async()
62 static int sr_rx_fixup(struct usbnet *dev, struct sk_buff *skb) in sr_rx_fixup()
110 static struct sk_buff *sr_tx_fixup(struct usbnet *dev, struct sk_buff *skb, in sr_tx_fixup()
150 static void sr_status(struct usbnet *dev, struct urb *urb) in sr_status()
168 static inline int sr_set_sw_mii(struct usbnet *dev) in sr_set_sw_mii()
178 static inline int sr_set_hw_mii(struct usbnet *dev) in sr_set_hw_mii()
188 static inline int sr_get_phy_addr(struct usbnet *dev) in sr_get_phy_addr()
208 static int sr_sw_reset(struct usbnet *dev, u8 flags) in sr_sw_reset()
220 static u16 sr_read_rx_ctl(struct usbnet *dev) in sr_read_rx_ctl()
237 static int sr_write_rx_ctl(struct usbnet *dev, u16 mode) in sr_write_rx_ctl()
251 static u16 sr_read_medium_status(struct usbnet *dev) in sr_read_medium_status()
266 static int sr_write_medium_mode(struct usbnet *dev, u16 mode) in sr_write_medium_mode()
279 static int sr_write_gpio(struct usbnet *dev, u16 value, int sleep) in sr_write_gpio()
297 struct usbnet *dev = netdev_priv(net); in sr_set_multicast()
337 struct usbnet *dev = netdev_priv(net); in sr_mdio_read()
356 struct usbnet *dev = netdev_priv(net); in sr_mdio_write()
370 static u32 sr_get_phyid(struct usbnet *dev) in sr_get_phyid()
401 struct usbnet *dev = netdev_priv(net); in sr_get_wol()
420 struct usbnet *dev = netdev_priv(net); in sr_set_wol()
440 struct usbnet *dev = netdev_priv(net); in sr_get_eeprom_len()
449 struct usbnet *dev = netdev_priv(net); in sr_get_eeprom()
483 struct usbnet *dev = netdev_priv(net); in sr_get_link()
490 struct usbnet *dev = netdev_priv(net); in sr_ioctl()
497 struct usbnet *dev = netdev_priv(net); in sr_set_mac_address()
534 static int sr9800_link_reset(struct usbnet *dev) in sr9800_link_reset()
558 static int sr9800_set_default_mode(struct usbnet *dev) in sr9800_set_default_mode()
598 static int sr9800_reset(struct usbnet *dev) in sr9800_reset()
691 static int sr9800_phy_powerup(struct usbnet *dev) in sr9800_phy_powerup()
729 static int sr9800_bind(struct usbnet *dev, struct usb_interface *intf) in sr9800_bind()