/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo_cs.c | 59 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()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_ether.c | 55 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 *dev = ep->driver_data; in tx_complete() 457 struct eth_dev *dev = netdev_priv(net); in eth_start_xmit() [all …]
|
H A D | u_ether.h | 39 struct eth_dev; 56 struct eth_dev *ioport; 91 struct eth_dev *gether_setup_name(struct usb_gadget *g, 108 static inline struct eth_dev *gether_setup(struct usb_gadget *g, in gether_setup() 260 void gether_cleanup(struct eth_dev *dev);
|
/openbmc/linux/drivers/net/wireless/atmel/ |
H A D | atmel_cs.c | 69 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()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ether.c | 99 struct eth_dev { struct 141 struct eth_dev ethdev; argument 156 static inline int is_cdc(struct eth_dev *dev) in is_cdc() 168 static inline int rndis_active(struct eth_dev *dev) in rndis_active() 923 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags); 924 static int alloc_requests(struct eth_dev *dev, unsigned n, gfp_t gfp_flags); 927 set_ether_config(struct eth_dev *dev, gfp_t gfp_flags) in set_ether_config() 1004 static void eth_reset_config(struct eth_dev *dev) in eth_reset_config() 1044 static int eth_set_config(struct eth_dev *dev, unsigned number, in eth_set_config() 1126 struct eth_dev *dev = ep->driver_data; in eth_status_complete() [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | mac.c | 37 struct platform_device *eth_dev; member 348 priv->eth_dev = dpaa_eth_add_device(fman_id, mac_dev); in mac_probe() 349 if (IS_ERR(priv->eth_dev)) { in mac_probe() 350 err = PTR_ERR(priv->eth_dev); in mac_probe() 353 priv->eth_dev = NULL; in mac_probe() 378 platform_device_unregister(mac_dev->priv->eth_dev); in mac_remove()
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | mc.c | 169 const char *propname, struct eth_device *eth_dev, in mc_fixup_mac_addr() argument 181 enetaddr_32[i] = cpu_to_fdt32(eth_dev->enetaddr[i]); in mc_fixup_mac_addr() 187 val = eth_dev->enetaddr; in mc_fixup_mac_addr() 195 if (!eth_env_get_enetaddr_by_index("eth", eth_dev->index, in mc_fixup_mac_addr() 245 struct eth_device *eth_dev) in mc_fixup_dpl_mac_addr() argument 259 err = mc_fixup_mac_addr(blob, dpmacoff, "mac_addr", eth_dev, in mc_fixup_dpl_mac_addr() 280 return mc_fixup_mac_addr(blob, dpnioff, "mac_addr", eth_dev, in mc_fixup_dpl_mac_addr() 319 struct eth_device *eth_dev) in mc_fixup_dpc_mac_addr() argument 355 return mc_fixup_mac_addr(blob, noff, "port_mac_address", eth_dev, in mc_fixup_dpc_mac_addr() 363 struct eth_device *eth_dev; in mc_fixup_mac_addrs() local [all …]
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | usb_ether.c | 205 if (&usb_eth[i].eth_dev == dev) in is_eth_dev_on_usb_host() 226 eth = &usb_eth[usb_max_eth_dev].eth_dev; in probe_valid_drivers() 264 eth_unregister(&usb_eth[i].eth_dev); in usb_host_eth_scan()
|
/openbmc/u-boot/drivers/net/ |
H A D | ep93xx_eth.c | 28 #define GET_PRIV(eth_dev) ((struct ep93xx_priv *)(eth_dev)->priv) argument 29 #define GET_REGS(eth_dev) (GET_PRIV(eth_dev)->regs) argument
|
/openbmc/u-boot/include/ |
H A D | usb_ether.h | 20 struct eth_device eth_dev; /* used with eth_register */
|