Home
last modified time | relevance | path

Searched refs:eth_dev (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/wireless/
Dairo_cs.c60 struct net_device *eth_dev; member
85 if (((struct local_info *)link->priv)->eth_dev) { in airo_detach()
86 stop_airo_card(((struct local_info *)link->priv)->eth_dev, in airo_detach()
89 ((struct local_info *)link->priv)->eth_dev = NULL; in airo_detach()
125 ((struct local_info *)link->priv)->eth_dev = in airo_config()
128 if (!((struct local_info *)link->priv)->eth_dev) in airo_config()
148 netif_device_detach(local->eth_dev); in airo_suspend()
158 reset_airo_card(local->eth_dev); in airo_resume()
159 netif_device_attach(local->eth_dev); in airo_resume()
Datmel_cs.c70 struct net_device *eth_dev; member
144 ((struct local_info *)link->priv)->eth_dev = in atmel_config()
151 if (!((struct local_info *)link->priv)->eth_dev) in atmel_config()
164 struct net_device *dev = ((struct local_info *)link->priv)->eth_dev; in atmel_release()
170 ((struct local_info *)link->priv)->eth_dev = NULL; in atmel_release()
179 netif_device_detach(local->eth_dev); in atmel_suspend()
188 atmel_open(local->eth_dev); in atmel_resume()
189 netif_device_attach(local->eth_dev); in atmel_resume()
/linux-4.4.14/drivers/usb/gadget/function/
Du_ether.c56 struct eth_dev { struct
146 struct eth_dev *dev = netdev_priv(net); in ueth_change_mtu()
165 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo()
184 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent()
197 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
271 struct eth_dev *dev = ep->driver_data; in rx_complete()
399 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigned n) in alloc_requests()
418 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill()
443 struct eth_dev *dev = container_of(work, struct eth_dev, work); in eth_work()
457 struct eth_dev *dev = ep->driver_data; in tx_complete()
[all …]
Du_ether.h43 struct eth_dev;
60 struct eth_dev *ioport;
94 struct eth_dev *gether_setup_name(struct usb_gadget *g,
111 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
251 void gether_cleanup(struct eth_dev *dev);