Lines Matching refs:usbnet
26 struct usbnet { struct
122 int (*bind)(struct usbnet *, struct usb_interface *);
125 void (*unbind)(struct usbnet *, struct usb_interface *);
128 int (*reset)(struct usbnet *);
131 int (*stop)(struct usbnet *);
134 int (*check_connect)(struct usbnet *);
137 int (*manage_power)(struct usbnet *, int);
140 void (*status)(struct usbnet *, struct urb *);
143 int (*link_reset)(struct usbnet *);
146 int (*rx_fixup)(struct usbnet *dev, struct sk_buff *skb);
149 struct sk_buff *(*tx_fixup)(struct usbnet *dev,
153 void (*recover)(struct usbnet *dev);
158 int (*early_init)(struct usbnet *dev);
161 void (*indication)(struct usbnet *dev, void *ind, int indlen);
164 void (*set_rx_mode)(struct usbnet *dev);
181 extern void usbnet_device_suggests_idle(struct usbnet *dev);
183 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
185 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
187 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
189 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
191 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype,
206 extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
207 extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);
208 extern void usbnet_cdc_unbind(struct usbnet *, struct usb_interface *);
209 extern void usbnet_cdc_status(struct usbnet *, struct urb *);
228 struct usbnet *dev;
254 extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *);
255 extern int usbnet_get_ethernet_addr(struct usbnet *, int);
256 extern void usbnet_defer_kevent(struct usbnet *, int);
257 extern void usbnet_skb_return(struct usbnet *, struct sk_buff *);
258 extern void usbnet_unlink_rx_urbs(struct usbnet *);
260 extern void usbnet_pause_rx(struct usbnet *);
261 extern void usbnet_resume_rx(struct usbnet *);
262 extern void usbnet_purge_paused_rxq(struct usbnet *);
274 extern int usbnet_manage_power(struct usbnet *, int);
275 extern void usbnet_link_change(struct usbnet *, bool, bool);
277 extern int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags);
278 extern void usbnet_status_stop(struct usbnet *dev);
280 extern void usbnet_update_max_qlen(struct usbnet *dev);