Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/usb/gadget/function/
Du_ether.c51 struct eth_dev { struct
141 struct eth_dev *dev = netdev_priv(net); in ueth_change_mtu()
160 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo()
179 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent()
192 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
266 struct eth_dev *dev = ep->driver_data; in rx_complete()
394 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigned n) in alloc_requests()
413 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill()
438 struct eth_dev *dev = container_of(work, struct eth_dev, work); in eth_work()
452 struct eth_dev *dev = ep->driver_data; in tx_complete()
[all …]
Du_ether.h45 struct eth_dev;
62 struct eth_dev *ioport;
96 struct eth_dev *gether_setup_name(struct usb_gadget *g,
113 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
253 void gether_cleanup(struct eth_dev *dev);