Home
last modified time | relevance | path

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

/drivers/net/wireless/cisco/
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()
122 ((struct local_info *)link->priv)->eth_dev = in airo_config()
125 if (!((struct local_info *)link->priv)->eth_dev) in airo_config()
145 netif_device_detach(local->eth_dev); in airo_suspend()
155 reset_airo_card(local->eth_dev); in airo_resume()
156 netif_device_attach(local->eth_dev); in airo_resume()
/drivers/usb/gadget/function/
Du_ether.c54 struct eth_dev { struct
146 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo()
165 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent()
178 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
259 struct eth_dev *dev = ep->driver_data; in rx_complete()
387 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigned n) in alloc_requests()
406 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill()
430 struct eth_dev *dev = container_of(work, struct eth_dev, work); in eth_work()
444 struct eth_dev *dev = ep->driver_data; in tx_complete()
478 struct eth_dev *dev = netdev_priv(net); in eth_start_xmit()
[all …]
Du_ether.h39 struct eth_dev;
56 struct eth_dev *ioport;
90 struct eth_dev *gether_setup_name(struct usb_gadget *g,
107 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
259 void gether_cleanup(struct eth_dev *dev);
/drivers/net/wireless/atmel/
Datmel_cs.c70 struct net_device *eth_dev; member
151 ((struct local_info *)link->priv)->eth_dev = in atmel_config()
158 if (!((struct local_info *)link->priv)->eth_dev) in atmel_config()
171 struct net_device *dev = ((struct local_info *)link->priv)->eth_dev; in atmel_release()
177 ((struct local_info *)link->priv)->eth_dev = NULL; in atmel_release()
186 netif_device_detach(local->eth_dev); in atmel_suspend()
195 atmel_open(local->eth_dev); in atmel_resume()
196 netif_device_attach(local->eth_dev); in atmel_resume()
/drivers/net/ethernet/freescale/fman/
Dmac.c64 struct platform_device *eth_dev; member
870 priv->eth_dev = dpaa_eth_add_device(fman_id, mac_dev); in mac_probe()
871 if (IS_ERR(priv->eth_dev)) { in mac_probe()
874 priv->eth_dev = NULL; in mac_probe()
891 platform_device_unregister(mac_dev->priv->eth_dev); in mac_remove()