Lines Matching refs:usbnet
19 struct usbnet { struct
86 static inline bool usbnet_going_away(struct usbnet *ubn) in usbnet_going_away() argument
91 static inline void usbnet_mark_going_away(struct usbnet *ubn) in usbnet_mark_going_away()
134 int (*bind)(struct usbnet *, struct usb_interface *);
137 void (*unbind)(struct usbnet *, struct usb_interface *);
140 int (*reset)(struct usbnet *);
143 int (*stop)(struct usbnet *);
146 int (*check_connect)(struct usbnet *);
149 int (*manage_power)(struct usbnet *, int);
152 void (*status)(struct usbnet *, struct urb *);
155 int (*link_reset)(struct usbnet *);
158 int (*rx_fixup)(struct usbnet *dev, struct sk_buff *skb);
161 struct sk_buff *(*tx_fixup)(struct usbnet *dev,
165 void (*recover)(struct usbnet *dev);
170 int (*early_init)(struct usbnet *dev);
173 void (*indication)(struct usbnet *dev, void *ind, int indlen);
176 void (*set_rx_mode)(struct usbnet *dev);
193 extern void usbnet_device_suggests_idle(struct usbnet *dev);
195 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
197 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
199 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
201 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
203 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype,
218 extern void usbnet_cdc_update_filter(struct usbnet *dev);
219 extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
220 extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf);
221 extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);
222 extern void usbnet_cdc_unbind(struct usbnet *, struct usb_interface *);
223 extern void usbnet_cdc_status(struct usbnet *, struct urb *);
224 extern int usbnet_cdc_zte_rx_fixup(struct usbnet *dev, struct sk_buff *skb);
243 struct usbnet *dev;
269 extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *);
270 extern int usbnet_get_ethernet_addr(struct usbnet *, int);
271 extern void usbnet_defer_kevent(struct usbnet *, int);
272 extern void usbnet_skb_return(struct usbnet *, struct sk_buff *);
273 extern void usbnet_unlink_rx_urbs(struct usbnet *);
275 extern void usbnet_pause_rx(struct usbnet *);
276 extern void usbnet_resume_rx(struct usbnet *);
277 extern void usbnet_purge_paused_rxq(struct usbnet *);
292 extern int usbnet_manage_power(struct usbnet *, int);
293 extern void usbnet_link_change(struct usbnet *, bool, bool);
295 extern int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags);
296 extern void usbnet_status_stop(struct usbnet *dev);
298 extern void usbnet_update_max_qlen(struct usbnet *dev);