Lines Matching defs:dev
26 static int sr_read(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_read()
37 static int sr_write(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write()
48 static int sr_read_reg(struct usbnet *dev, u8 reg, u8 *value) in sr_read_reg()
53 static int sr_write_reg(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg()
59 static void sr_write_async(struct usbnet *dev, u8 reg, u16 length, void *data) in sr_write_async()
65 static void sr_write_reg_async(struct usbnet *dev, u8 reg, u8 value) in sr_write_reg_async()
71 static int wait_phy_eeprom_ready(struct usbnet *dev, int phy) in wait_phy_eeprom_ready()
94 static int sr_share_read_word(struct usbnet *dev, int phy, u8 reg, in sr_share_read_word()
119 static int sr_share_write_word(struct usbnet *dev, int phy, u8 reg, in sr_share_write_word()
145 static int sr_read_eeprom_word(struct usbnet *dev, u8 offset, void *value) in sr_read_eeprom_word()
158 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_eeprom() local
178 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_read() local
210 struct usbnet *dev = netdev_priv(netdev); in sr_mdio_write() local
226 struct usbnet *dev = netdev_priv(netdev); in sr9700_get_link() local
240 struct usbnet *dev = netdev_priv(netdev); in sr9700_ioctl() local
259 struct usbnet *dev = netdev_priv(netdev); in sr9700_set_multicast() local
290 struct usbnet *dev = netdev_priv(netdev); in sr9700_set_mac_address() local
317 static int sr9700_bind(struct usbnet *dev, struct usb_interface *intf) in sr9700_bind()
377 static int sr9700_rx_fixup(struct usbnet *dev, struct sk_buff *skb) in sr9700_rx_fixup()
441 static struct sk_buff *sr9700_tx_fixup(struct usbnet *dev, struct sk_buff *skb, in sr9700_tx_fixup()
483 static void sr9700_status(struct usbnet *dev, struct urb *urb) in sr9700_status()
511 static int sr9700_link_reset(struct usbnet *dev) in sr9700_link_reset()