Lines Matching refs:usbnet

215 struct usbnet {  struct
263 int (*bind)(struct usbnet *, struct usb_device *); argument
266 int (*reset)(struct usbnet *);
269 int (*check_connect)(struct usbnet *);
272 int (*rx_fixup)(struct usbnet *dev, struct sk_buff *skb);
275 struct sk_buff *(*tx_fixup)(struct usbnet *dev,
298 struct usbnet *dev;
320 static int always_connected (struct usbnet *dev) in always_connected()
329 get_endpoints (struct usbnet *dev, struct usb_interface *intf) in get_endpoints()
383 #define devdbg(usbnet, fmt, arg...) \ argument
384 printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name , ## arg)
386 #define devdbg(usbnet, fmt, arg...) do {} while(0) argument
389 #define devinfo(usbnet, fmt, arg...) \ argument
390 do { if ((usbnet)->msg_level >= 1) \
391 printk(KERN_INFO "%s: " fmt "\n" , (usbnet)->net.name , ## arg); \
446 static int ax8817x_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in ax8817x_read_cmd()
461 static int ax8817x_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in ax8817x_write_cmd()
488 static void ax8817x_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in ax8817x_write_cmd_async()
523 struct usbnet *dev = (struct usbnet *) net->priv; in ax8817x_set_multicast()
569 struct usbnet *dev = netdev->priv; in ax8817x_mdio_read()
582 struct usbnet *dev = netdev->priv; in ax8817x_mdio_write()
591 static int ax8817x_bind(struct usbnet *dev, struct usb_device *intf) in ax8817x_bind()
820 static inline int gl_control_write (struct usbnet *dev, u8 request, u16 value) in gl_control_write()
864 static int gl_interrupt_read (struct usbnet *dev) in gl_interrupt_read()
882 static int genelink_check_connect (struct usbnet *dev) in genelink_check_connect()
907 static int genelink_init (struct usbnet *dev) in genelink_init()
940 static int genelink_free (struct usbnet *dev) in genelink_free()
965 static int genelink_rx_fixup (struct usbnet *dev, struct sk_buff *skb) in genelink_rx_fixup()
1042 genelink_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) in genelink_tx_fixup()
1172 nc_vendor_read (struct usbnet *dev, u8 req, u8 regnum, u16 *retval_ptr) in nc_vendor_read()
1189 nc_register_read (struct usbnet *dev, u8 regnum, u16 *retval_ptr) in nc_register_read()
1196 nc_vendor_write (struct usbnet *dev, u8 req, u8 regnum, u16 value) in nc_vendor_write()
1208 nc_register_write (struct usbnet *dev, u8 regnum, u16 value) in nc_register_write()
1215 static void nc_dump_registers (struct usbnet *dev)
1267 static inline void nc_dump_usbctl (struct usbnet *dev, u16 usbctl) in nc_dump_usbctl()
1312 static inline void nc_dump_status (struct usbnet *dev, u16 status) in nc_dump_status()
1350 static inline void nc_dump_ttl (struct usbnet *dev, u16 ttl) in nc_dump_ttl()
1365 static int net1080_reset (struct usbnet *dev) in net1080_reset()
1417 static int net1080_check_connect (struct usbnet *dev) in net1080_check_connect()
1437 static int net1080_rx_fixup (struct usbnet *dev, struct sk_buff *skb) in net1080_rx_fixup()
1503 net1080_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) in net1080_tx_fixup()
1571 pl_vendor_req (struct usbnet *dev, u8 req, u8 val, u8 index) in pl_vendor_req()
1583 pl_clear_QuickLink_features (struct usbnet *dev, int val) in pl_clear_QuickLink_features()
1589 pl_set_QuickLink_features (struct usbnet *dev, int val) in pl_set_QuickLink_features()
1596 static int pl_reset (struct usbnet *dev) in pl_reset()
1665 zaurus_tx_fixup (struct usbnet *dev, struct sk_buff *skb, int flags) in zaurus_tx_fixup()
1726 struct usbnet *dev = (struct usbnet *) net->priv; in usbnet_change_mtu()
1752 return &((struct usbnet *) net->priv)->stats; in usbnet_get_stats()
1759 static void defer_bh (struct usbnet *dev, struct sk_buff *skb) in defer_bh()
1779 static void defer_kevent (struct usbnet *dev, int work) in defer_kevent()
1793 static void rx_submit (struct usbnet *dev, struct urb *urb, int flags) in rx_submit()
1867 static inline void rx_process (struct usbnet *dev, struct sk_buff *skb) in rx_process()
1904 struct usbnet *dev = entry->dev; in rx_complete()
2009 struct usbnet *dev = (struct usbnet *) net->priv; in usbnet_stop()
2051 struct usbnet *dev = (struct usbnet *) net->priv; in usbnet_open()
2095 struct usbnet *dev = net->priv; in usbnet_get_drvinfo()
2106 struct usbnet *dev = net->priv; in usbnet_get_link()
2118 struct usbnet *dev = net->priv; in usbnet_get_msglevel()
2125 struct usbnet *dev = net->priv; in usbnet_set_msglevel()
2134 struct usbnet *dev = (struct usbnet *)net->priv; in usbnet_ioctl()
2156 struct usbnet *dev = data; in kevent()
2209 struct usbnet *dev = entry->dev; in tx_complete()
2222 struct usbnet *dev = (struct usbnet *) net->priv; in usbnet_tx_timeout()
2234 struct usbnet *dev = (struct usbnet *) net->priv; in usbnet_start_xmit()
2345 struct usbnet *dev = (struct usbnet *) param; in usbnet_bh()
2418 struct usbnet *dev = (struct usbnet *) ptr; in usbnet_disconnect()
2447 struct usbnet *dev; in usbnet_probe()