/linux-4.4.14/drivers/isdn/hysdn/ |
D | hysdn_net.c | 37 struct net_local { struct 88 flush_tx_buffers(struct net_local *nl) in flush_tx_buffers() 110 flush_tx_buffers((struct net_local *) dev); in net_close() 122 struct net_local *lp = (struct net_local *) dev; in net_send_packet() 160 struct net_local *lp = card->netif; in hysdn_tx_netack() 186 struct net_local *lp = card->netif; in hysdn_rx_netpkt() 220 struct net_local *lp = card->netif; in hysdn_tx_netget() 251 struct net_local *lp; in hysdn_net_create() 259 dev = alloc_etherdev(sizeof(struct net_local)); in hysdn_net_create() 269 spin_lock_init(&((struct net_local *) dev)->lock); in hysdn_net_create() [all …]
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 207 struct net_local { struct 232 ((struct net_local *)netdev_priv(dev))->pardev->port; in enable_parport_interrupts() argument 242 ((struct net_local *)netdev_priv(dev))->pardev->port; in disable_parport_interrupts() 250 ((struct net_local *)netdev_priv(dev))->pardev->port; in write_data() 258 ((struct net_local *)netdev_priv(dev))->pardev->port; in read_status() 290 struct net_local *nl = netdev_priv(dev); in plip_init_netdev() 323 struct net_local *nl = in plip_kick_bh() 324 container_of(work, struct net_local, deferred.work); in plip_kick_bh() 331 static int plip_none(struct net_device *, struct net_local *, 333 static int plip_receive_packet(struct net_device *, struct net_local *, [all …]
|
/linux-4.4.14/drivers/net/ethernet/synopsys/ |
D | dwc_eth_qos.c | 585 struct net_local { struct 655 static void dwceqos_read_mmc_counters(struct net_local *lp, u32 rx_mask, argument 658 static void dwceqos_set_umac_addr(struct net_local *lp, unsigned char *addr, 662 static void dwceqos_tx_poll_demand(struct net_local *lp); 664 static void dwceqos_set_rx_flowcontrol(struct net_local *lp, bool enable); 665 static void dwceqos_set_tx_flowcontrol(struct net_local *lp, bool enable); 667 static void dwceqos_reset_state(struct net_local *lp); 674 static void dwceqos_reset_state(struct net_local *lp) in dwceqos_reset_state() 685 static void print_descriptor(struct net_local *lp, int index, int tx) in print_descriptor() 700 static void print_status(struct net_local *lp) in print_status() [all …]
|
/linux-4.4.14/drivers/net/wan/ |
D | sbni.c | 72 struct net_local { struct 186 #define NET_LOCAL_LOCK(dev) (((struct net_local *)netdev_priv(dev))->lock) 230 dev = alloc_netdev(sizeof(struct net_local), "sbni", in sbni_probe() 350 struct net_local *nl; in sbni_probe1() 388 memset( nl, 0, sizeof(struct net_local) ); in sbni_probe1() 450 struct net_local *nl = netdev_priv(p); in sbni_start_xmit() 472 struct net_local *nl = netdev_priv(dev); in sbni_start_xmit() 506 struct net_local *nl = netdev_priv(dev); in sbni_interrupt() 534 struct net_local *nl = netdev_priv(dev); in handle_channel() 592 struct net_local *nl = netdev_priv(dev); in recv_frame() [all …]
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 121 struct net_local { struct 156 static void xemaclite_enable_interrupts(struct net_local *drvdata) in xemaclite_enable_interrupts() argument 179 static void xemaclite_disable_interrupts(struct net_local *drvdata) in xemaclite_disable_interrupts() 312 static int xemaclite_send_data(struct net_local *drvdata, u8 *data, in xemaclite_send_data() 374 static u16 xemaclite_recv_data(struct net_local *drvdata, u8 *data) in xemaclite_recv_data() 457 static void xemaclite_update_address(struct net_local *drvdata, in xemaclite_update_address() 493 struct net_local *lp = netdev_priv(dev); in xemaclite_set_mac_address() 512 struct net_local *lp = netdev_priv(dev); in xemaclite_tx_timeout() 556 struct net_local *lp = netdev_priv(dev); in xemaclite_tx_handler() 583 struct net_local *lp = netdev_priv(dev); in xemaclite_rx_handler() [all …]
|
/linux-4.4.14/drivers/net/cris/ |
D | eth_v10.c | 60 struct net_local { struct 200 static void e100_hardware_send_packet(struct net_local* np, char *buf, int length); 288 struct net_local* np; in etrax_ethernet_init() 299 dev = alloc_etherdev(sizeof(struct net_local)); in etrax_ethernet_init() 423 struct net_local *np = netdev_priv(dev); in e100_set_mac_address() 641 struct net_local *np = netdev_priv(dev); in generic_check_speed() 655 struct net_local *np = netdev_priv(dev); in tdk_check_speed() 666 struct net_local *np = netdev_priv(dev); in broadcom_check_speed() 677 struct net_local *np = netdev_priv(dev); in intel_check_speed() 688 struct net_local *np = netdev_priv(dev); in e100_check_speed() [all …]
|
/linux-4.4.14/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 134 struct net_local { struct 195 static void readwords(struct net_local *lp, int portno, void *buf, int length) in readwords() 208 static void writewords(struct net_local *lp, int portno, void *buf, int length) in writewords() 224 struct net_local *lp = netdev_priv(dev); in readreg() 233 struct net_local *lp = netdev_priv(dev); in writereg() 337 struct net_local *lp = netdev_priv(dev); in get_dma_channel() 358 struct net_local *lp = netdev_priv(dev); in write_dma() 370 struct net_local *lp = netdev_priv(dev); in set_dma_cfg() 390 struct net_local *lp = netdev_priv(dev); in dma_bufcfg() 401 struct net_local *lp = netdev_priv(dev); in dma_busctl() [all …]
|
D | mac89x0.c | 111 struct net_local { struct 184 struct net_local *lp; in mac89x0_probe() 195 dev = alloc_etherdev(sizeof(struct net_local)); in mac89x0_probe() 327 struct net_local *lp = netdev_priv(dev); in net_open() 373 struct net_local *lp = netdev_priv(dev); in net_send_packet() 415 struct net_local *lp; in net_interrupt() 566 struct net_local *lp = netdev_priv(dev); in set_multicast_list()
|
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | atp.c | 169 struct net_local { struct 256 struct net_local *lp; in atp_probe1() 305 dev = alloc_etherdev(sizeof(struct net_local)); in atp_probe1() 430 struct net_local *lp = netdev_priv(dev); in net_open() 456 struct net_local *lp = netdev_priv(dev); in hardware_init() 555 struct net_local *lp = netdev_priv(dev); in atp_send_packet() 596 struct net_local *lp; in atp_interrupt() 718 struct net_local *lp = netdev_priv(dev); in atp_timed_checker() 732 struct net_local *lp = netdev_priv(atp_timed_dev); in atp_timed_checker() 754 struct net_local *lp = netdev_priv(dev); in net_rx() [all …]
|