Lines Matching refs:usbnet
29 struct usbnet { struct
133 int (*bind)(struct usbnet *, struct usb_interface *);
136 void (*unbind)(struct usbnet *, struct usb_interface *);
139 int (*reset)(struct usbnet *);
142 int (*stop)(struct usbnet *);
145 int (*check_connect)(struct usbnet *);
148 int (*manage_power)(struct usbnet *, int);
151 void (*status)(struct usbnet *, struct urb *);
154 int (*link_reset)(struct usbnet *);
157 int (*rx_fixup)(struct usbnet *dev, struct sk_buff *skb);
160 struct sk_buff *(*tx_fixup)(struct usbnet *dev,
164 void (*recover)(struct usbnet *dev);
169 int (*early_init)(struct usbnet *dev);
172 void (*indication)(struct usbnet *dev, void *ind, int indlen);
175 void (*set_rx_mode)(struct usbnet *dev);
195 extern void usbnet_device_suggests_idle(struct usbnet *dev);
197 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
199 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
201 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
203 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype,
205 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype,
220 extern void usbnet_cdc_update_filter(struct usbnet *dev);
221 extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
222 extern int usbnet_ether_cdc_bind(struct usbnet *dev, struct usb_interface *intf);
223 extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);
224 extern void usbnet_cdc_unbind(struct usbnet *, struct usb_interface *);
225 extern void usbnet_cdc_status(struct usbnet *, struct urb *);
244 struct usbnet *dev;
270 extern int usbnet_get_endpoints(struct usbnet *, struct usb_interface *);
271 extern int usbnet_get_ethernet_addr(struct usbnet *, int);
272 extern void usbnet_defer_kevent(struct usbnet *, int);
273 extern void usbnet_skb_return(struct usbnet *, struct sk_buff *);
274 extern void usbnet_unlink_rx_urbs(struct usbnet *);
276 extern void usbnet_pause_rx(struct usbnet *);
277 extern void usbnet_resume_rx(struct usbnet *);
278 extern void usbnet_purge_paused_rxq(struct usbnet *);
291 extern int usbnet_manage_power(struct usbnet *, int);
292 extern void usbnet_link_change(struct usbnet *, bool, bool);
294 extern int usbnet_status_start(struct usbnet *dev, gfp_t mem_flags);
295 extern void usbnet_status_stop(struct usbnet *dev);
297 extern void usbnet_update_max_qlen(struct usbnet *dev);