Lines Matching refs:usbnet
19 struct usbnet { struct
119 int (*bind)(struct usbnet *, struct usb_interface *);
122 void (*unbind)(struct usbnet *, struct usb_interface *);
125 int (*reset)(struct usbnet *);
128 int (*stop)(struct usbnet *);
131 int (*check_connect)(struct usbnet *);
134 int (*manage_power)(struct usbnet *, int);
137 void (*status)(struct usbnet *, struct urb *);
140 int (*link_reset)(struct usbnet *);
143 int (*rx_fixup)(struct usbnet *dev, struct sk_buff *skb);
146 struct sk_buff *(*tx_fixup)(struct usbnet *dev,
150 void (*recover)(struct usbnet *dev);
155 int (*early_init)(struct usbnet *dev);
158 void (*indication)(struct usbnet *dev, void *ind, int indlen);
161 void (*set_rx_mode)(struct usbnet *dev);
178 extern void usbnet_device_suggests_idle(struct usbnet *dev);
180 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
182 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
184 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
186 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
188 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype,
203 extern void usbnet_cdc_update_filter(struct usbnet *dev);
204 extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
205 extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf);
206 extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);
207 extern void usbnet_cdc_unbind(struct usbnet *, struct usb_interface *);
208 extern void usbnet_cdc_status(struct usbnet *, struct urb *);
209 extern int usbnet_cdc_zte_rx_fixup(struct usbnet *dev, struct sk_buff *skb);
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 *);
277 extern int usbnet_manage_power(struct usbnet *, int);
278 extern void usbnet_link_change(struct usbnet *, bool, bool);
280 extern int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags);
281 extern void usbnet_status_stop(struct usbnet *dev);
283 extern void usbnet_update_max_qlen(struct usbnet *dev);