Home
last modified time | relevance | path

Searched refs:netdevice (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/i825xx/
Dsni_82596.c74 struct net_device *netdevice; in sni_82596_probe() local
97 netdevice = alloc_etherdev(sizeof(struct i596_private)); in sni_82596_probe()
98 if (!netdevice) in sni_82596_probe()
101 SET_NETDEV_DEV(netdevice, &dev->dev); in sni_82596_probe()
102 platform_set_drvdata (dev, netdevice); in sni_82596_probe()
104 netdevice->base_addr = res->start; in sni_82596_probe()
105 netdevice->irq = platform_get_irq(dev, 0); in sni_82596_probe()
112 netdevice->dev_addr[0] = readb(eth_addr + 0x0b); in sni_82596_probe()
113 netdevice->dev_addr[1] = readb(eth_addr + 0x0a); in sni_82596_probe()
114 netdevice->dev_addr[2] = readb(eth_addr + 0x09); in sni_82596_probe()
[all …]
Dlasi_82596.c147 struct net_device *netdevice; in lan_init_chip() local
161 netdevice = alloc_etherdev(sizeof(struct i596_private)); in lan_init_chip()
162 if (!netdevice) in lan_init_chip()
164 SET_NETDEV_DEV(netdevice, &dev->dev); in lan_init_chip()
165 parisc_set_drvdata (dev, netdevice); in lan_init_chip()
167 netdevice->base_addr = dev->hpa.start; in lan_init_chip()
168 netdevice->irq = dev->irq; in lan_init_chip()
170 if (pdc_lan_station_id(netdevice->dev_addr, netdevice->base_addr)) { in lan_init_chip()
172 netdevice->dev_addr[i] = gsc_readb(LAN_PROM_ADDR + i); in lan_init_chip()
178 lp = netdev_priv(netdevice); in lan_init_chip()
[all …]
/drivers/net/wan/
Dz85230.c420 chan->netdevice->stats.tx_fifo_errors++; in z8530_status()
429 if (chan->netdevice) in z8530_status()
430 netif_carrier_on(chan->netdevice); in z8530_status()
435 if (chan->netdevice) in z8530_status()
436 netif_carrier_off(chan->netdevice); in z8530_status()
536 if (chan->netdevice) in z8530_dma_status()
537 netif_carrier_on(chan->netdevice); in z8530_dma_status()
542 if (chan->netdevice) in z8530_dma_status()
543 netif_carrier_off(chan->netdevice); in z8530_dma_status()
1332 c->netdevice->stats.tx_dropped++; in z8530_tx_begin()
[all …]
Dsealevel.c57 skb->protocol = hdlc_type_trans(skb, c->netdevice); in sealevel_input()
59 skb->dev = c->netdevice; in sealevel_input()
169 sv->chan->netdevice = dev; in slvl_setup()
278 unregister_hdlc_device(b->dev[0].chan->netdevice); in slvl_init()
279 free_netdev(b->dev[0].chan->netdevice); in slvl_init()
300 struct net_device *d = b->dev[u].chan->netdevice; in slvl_shutdown()
Dhostess_sv11.c62 skb->protocol = hdlc_type_trans(skb, c->netdevice); in hostess_input()
64 skb->dev = c->netdevice; in hostess_input()
256 sv->chanA.netdevice = netdev = alloc_hdlcdev(sv); in sv11_init()
293 unregister_hdlc_device(dev->chanA.netdevice); in sv11_shutdown()
302 free_netdev(dev->chanA.netdevice); in sv11_shutdown()
Dz85230.h328 struct net_device *netdevice; /* Network layer device */ member
/drivers/net/ethernet/mellanox/mlx5/core/
DKconfig47 Enables ethernet netdevice arfs support and ntuple filtering.
224 device can support RDMA, netdevice and vdpa device.
233 port is managed through devlink. A subfunction supports RDMA, netdevice