Home
last modified time | relevance | path

Searched refs:eth_dev (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/cisco/
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/cisco/
H A 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()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Du_ether.c55 struct eth_dev { struct
111 struct eth_dev *dev = netdev_priv(net); in eth_get_drvinfo()
130 static void defer_kevent(struct eth_dev *dev, int flag) in defer_kevent()
143 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit()
224 struct eth_dev *dev = ep->driver_data; in rx_complete()
352 static int alloc_requests(struct eth_dev *dev, struct gether *link, unsigned n) in alloc_requests()
371 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill()
395 struct eth_dev *dev = container_of(work, struct eth_dev, work); in eth_work()
409 struct eth_dev *de in tx_complete()
[all...]
H A Du_ether.h39 struct eth_dev;
56 struct eth_dev *ioport;
91 struct eth_dev *gether_setup_name(struct usb_gadget *g,
106 * Returns a eth_dev pointer on success, or an ERR_PTR on failure
108 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
260 void gether_cleanup(struct eth_dev *dev);
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/atmel/
H A Datmel_cs.c69 struct net_device *eth_dev; member
150 ((struct local_info *)link->priv)->eth_dev = in atmel_config()
157 if (!((struct local_info *)link->priv)->eth_dev) in atmel_config()
170 struct net_device *dev = ((struct local_info *)link->priv)->eth_dev; in atmel_release()
176 ((struct local_info *)link->priv)->eth_dev = NULL; in atmel_release()
185 netif_device_detach(local->eth_dev); in atmel_suspend()
194 atmel_open(local->eth_dev); in atmel_resume()
195 netif_device_attach(local->eth_dev); in atmel_resume()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Du_ether.c54 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 *de in tx_complete()
[all...]
H A Du_ether.h39 struct eth_dev;
56 struct eth_dev *ioport;
90 struct eth_dev *gether_setup_name(struct usb_gadget *g,
105 * Returns a eth_dev pointer on success, or an ERR_PTR on failure
107 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup()
247 void gether_cleanup(struct eth_dev *dev);
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dmac.c37 struct platform_device *eth_dev; member
320 priv->eth_dev = dpaa_eth_add_device(fman_id, mac_dev); in mac_probe()
321 if (IS_ERR(priv->eth_dev)) { in mac_probe()
322 err = PTR_ERR(priv->eth_dev); in mac_probe()
325 priv->eth_dev = NULL; in mac_probe()
339 platform_device_unregister(mac_dev->priv->eth_dev); in mac_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A 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()

Completed in 7 milliseconds