Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/cisco/
Dairo_cs.c59 struct net_device *eth_dev; member
84 if (((struct local_info *)link->priv)->eth_dev) { in airo_detach()
85 stop_airo_card(((struct local_info *)link->priv)->eth_dev, in airo_detach()
88 ((struct local_info *)link->priv)->eth_dev = NULL; in airo_detach()
121 ((struct local_info *)link->priv)->eth_dev = in airo_config()
124 if (!((struct local_info *)link->priv)->eth_dev) in airo_config()
144 netif_device_detach(local->eth_dev); in airo_suspend()
154 reset_airo_card(local->eth_dev); in airo_resume()
155 netif_device_attach(local->eth_dev); in airo_resume()
/Linux-v6.1/drivers/net/wireless/atmel/
Datmel_cs.c69 struct net_device *eth_dev; member
141 ((struct local_info *)link->priv)->eth_dev = in atmel_config()
148 if (!((struct local_info *)link->priv)->eth_dev) in atmel_config()
161 struct net_device *dev = ((struct local_info *)link->priv)->eth_dev; in atmel_release()
167 ((struct local_info *)link->priv)->eth_dev = NULL; in atmel_release()
176 netif_device_detach(local->eth_dev); in atmel_suspend()
185 atmel_open(local->eth_dev); in atmel_resume()
186 netif_device_attach(local->eth_dev); in atmel_resume()
/Linux-v6.1/drivers/usb/gadget/function/
Du_ether.c53 struct eth_dev { struct
145 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo()
164 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent()
177 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
258 struct eth_dev *dev = ep->driver_data; in rx_complete()
386 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigned n) in alloc_requests()
405 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill()
429 struct eth_dev *dev = container_of(work, struct eth_dev, work); in eth_work()
443 struct eth_dev *dev = ep->driver_data; in tx_complete()
477 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);
/Linux-v6.1/drivers/net/ethernet/freescale/fman/
Dmac.c35 struct platform_device *eth_dev; member
476 priv->eth_dev = dpaa_eth_add_device(fman_id, mac_dev); in mac_probe()
477 if (IS_ERR(priv->eth_dev)) { in mac_probe()
480 priv->eth_dev = NULL; in mac_probe()
494 platform_device_unregister(mac_dev->priv->eth_dev); in mac_remove()