Home
last modified time | relevance | path

Searched defs:ndev (Results 1 – 25 of 144) sorted by relevance

123456

/drivers/ntb/
Dntb_hw.c106 int ntb_register_event_callback(struct ntb_device *ndev, in ntb_register_event_callback()
123 void ntb_unregister_event_callback(struct ntb_device *ndev) in ntb_unregister_event_callback()
140 int ntb_register_db_callback(struct ntb_device *ndev, unsigned int idx, in ntb_register_db_callback()
169 void ntb_unregister_db_callback(struct ntb_device *ndev, unsigned int idx) in ntb_unregister_db_callback()
194 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_find_transport() local
209 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_register_transport() local
225 void ntb_unregister_transport(struct ntb_device *ndev) in ntb_unregister_transport()
251 int ntb_write_local_spad(struct ntb_device *ndev, unsigned int idx, u32 val) in ntb_write_local_spad()
275 int ntb_read_local_spad(struct ntb_device *ndev, unsigned int idx, u32 *val) in ntb_read_local_spad()
300 int ntb_write_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 val) in ntb_write_remote_spad()
[all …]
/drivers/net/ethernet/renesas/
Dsh_eth.c319 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
347 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
357 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
395 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
405 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
448 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
458 static void sh_eth_set_rate(struct net_device *ndev) in sh_eth_set_rate()
500 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
523 static int sh_eth_reset(struct net_device *ndev) in sh_eth_reset()
558 static void sh_eth_set_duplex_giga(struct net_device *ndev) in sh_eth_set_duplex_giga()
[all …]
/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c152 static void axienet_dma_bd_release(struct net_device *ndev) in axienet_dma_bd_release()
189 static int axienet_dma_bd_init(struct net_device *ndev) in axienet_dma_bd_init()
298 static void axienet_set_mac_address(struct net_device *ndev, void *address) in axienet_set_mac_address()
331 static int netdev_set_mac_address(struct net_device *ndev, void *p) in netdev_set_mac_address()
349 static void axienet_set_multicast_list(struct net_device *ndev) in axienet_set_multicast_list()
419 static void axienet_setoptions(struct net_device *ndev, u32 options) in axienet_setoptions()
467 static void axienet_device_reset(struct net_device *ndev) in axienet_device_reset()
520 static void axienet_adjust_link(struct net_device *ndev) in axienet_adjust_link()
580 static void axienet_start_xmit_done(struct net_device *ndev) in axienet_start_xmit_done()
652 static int axienet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in axienet_start_xmit()
[all …]
Dll_temac_main.c202 static void temac_dma_bd_release(struct net_device *ndev) in temac_dma_bd_release()
234 static int temac_dma_bd_init(struct net_device *ndev) in temac_dma_bd_init()
311 static void temac_do_set_mac_address(struct net_device *ndev) in temac_do_set_mac_address()
330 static int temac_init_mac_address(struct net_device *ndev, void *address) in temac_init_mac_address()
339 static int temac_set_mac_address(struct net_device *ndev, void *p) in temac_set_mac_address()
350 static void temac_set_multicast_list(struct net_device *ndev) in temac_set_multicast_list()
481 static u32 temac_setoptions(struct net_device *ndev, u32 options) in temac_setoptions()
502 static void temac_device_reset(struct net_device *ndev) in temac_device_reset()
585 void temac_adjust_link(struct net_device *ndev) in temac_adjust_link()
614 static void temac_start_xmit_done(struct net_device *ndev) in temac_start_xmit_done()
[all …]
/drivers/staging/cxt1e1/
Dlinux.c263 struct net_device *ndev = dev_instance; in c4_linux_interrupt() local
273 struct net_device *ndev = dev_instance; in c4_ebus_interrupt() local
281 void_open (struct net_device * ndev) in void_open()
289 chan_open (struct net_device * ndev) in chan_open()
309 chan_close (struct net_device * ndev) in chan_close()
330 chan_attach_noop (struct net_device * ndev, unsigned short foo_1, unsigned short foo_2) in chan_attach_noop()
338 chan_get_stats (struct net_device * ndev) in chan_get_stats()
391 get_ci_by_dev (struct net_device * ndev) in get_ci_by_dev()
398 c4_linux_xmit (struct sk_buff * skb, struct net_device * ndev) in c4_linux_xmit()
420 create_chan (struct net_device * ndev, ci_t * ci, in create_chan()
[all …]
/drivers/net/ethernet/freescale/
Dfec_main.c253 fec_enet_clear_csum(struct sk_buff *skb, struct net_device *ndev) in fec_enet_clear_csum()
268 fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in fec_enet_start_xmit()
439 fec_restart(struct net_device *ndev, int duplex) in fec_restart()
631 fec_stop(struct net_device *ndev) in fec_stop()
661 fec_timeout(struct net_device *ndev) in fec_timeout()
686 fec_enet_tx(struct net_device *ndev) in fec_enet_tx()
792 fec_enet_rx(struct net_device *ndev, int budget) in fec_enet_rx()
950 struct net_device *ndev = dev_id; in fec_enet_interrupt() local
981 struct net_device *ndev = napi->dev; in fec_enet_rx_napi() local
995 static void fec_get_mac(struct net_device *ndev) in fec_get_mac()
[all …]
/drivers/net/
Dntb_netdev.c64 struct net_device *ndev; member
75 struct net_device *ndev = data; in ntb_netdev_event_handler() local
91 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() local
131 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() local
150 struct net_device *ndev) in ntb_netdev_start_xmit()
169 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open()
200 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close()
214 static int ntb_netdev_change_mtu(struct net_device *ndev, int new_mtu) in ntb_netdev_change_mtu()
277 static void ntb_get_drvinfo(struct net_device *ndev, in ntb_get_drvinfo()
318 struct net_device *ndev; in ntb_netdev_probe() local
[all …]
Drionet.c72 struct net_device *ndev; member
91 static int rionet_rx_clean(struct net_device *ndev) in rionet_rx_clean()
125 static void rionet_rx_fill(struct net_device *ndev, int end) in rionet_rx_fill()
144 static int rionet_queue_tx_msg(struct sk_buff *skb, struct net_device *ndev, in rionet_queue_tx_msg()
168 static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in rionet_start_xmit()
221 struct net_device *ndev = dev_id; in rionet_dbell_event() local
254 struct net_device *ndev = dev_id; in rionet_inb_msg_event() local
269 struct net_device *ndev = dev_id; in rionet_outb_msg_event() local
294 static int rionet_open(struct net_device *ndev) in rionet_open()
356 static int rionet_close(struct net_device *ndev) in rionet_close()
[all …]
/drivers/net/ethernet/wiznet/
Dw5300.c99 struct net_device *ndev; member
236 struct net_device *ndev = priv->ndev; in w5300_write_macaddr() local
295 static void w5300_get_drvinfo(struct net_device *ndev, in w5300_get_drvinfo()
304 static u32 w5300_get_link(struct net_device *ndev) in w5300_get_link()
314 static u32 w5300_get_msglevel(struct net_device *ndev) in w5300_get_msglevel()
321 static void w5300_set_msglevel(struct net_device *ndev, u32 value) in w5300_set_msglevel()
328 static int w5300_get_regs_len(struct net_device *ndev) in w5300_get_regs_len()
333 static void w5300_get_regs(struct net_device *ndev, in w5300_get_regs()
357 static void w5300_tx_timeout(struct net_device *ndev) in w5300_tx_timeout()
369 static int w5300_start_tx(struct sk_buff *skb, struct net_device *ndev) in w5300_start_tx()
[all …]
Dw5100.c103 struct net_device *ndev; member
325 struct net_device *ndev = priv->ndev; in w5100_write_macaddr() local
376 static void w5100_get_drvinfo(struct net_device *ndev, in w5100_get_drvinfo()
385 static u32 w5100_get_link(struct net_device *ndev) in w5100_get_link()
395 static u32 w5100_get_msglevel(struct net_device *ndev) in w5100_get_msglevel()
402 static void w5100_set_msglevel(struct net_device *ndev, u32 value) in w5100_set_msglevel()
409 static int w5100_get_regs_len(struct net_device *ndev) in w5100_get_regs_len()
414 static void w5100_get_regs(struct net_device *ndev, in w5100_get_regs()
428 static void w5100_tx_timeout(struct net_device *ndev) in w5100_tx_timeout()
440 static int w5100_start_tx(struct sk_buff *skb, struct net_device *ndev) in w5100_start_tx()
[all …]
/drivers/net/wireless/prism54/
Disl_ioctl.c216 prism54_get_wireless_stats(struct net_device *ndev) in prism54_get_wireless_stats()
242 prism54_commit(struct net_device *ndev, struct iw_request_info *info, in prism54_commit()
258 prism54_get_name(struct net_device *ndev, struct iw_request_info *info, in prism54_get_name()
289 prism54_set_freq(struct net_device *ndev, struct iw_request_info *info, in prism54_set_freq()
309 prism54_get_freq(struct net_device *ndev, struct iw_request_info *info, in prism54_get_freq()
326 prism54_set_mode(struct net_device *ndev, struct iw_request_info *info, in prism54_set_mode()
370 prism54_get_mode(struct net_device *ndev, struct iw_request_info *info, in prism54_get_mode()
388 prism54_set_sens(struct net_device *ndev, struct iw_request_info *info, in prism54_set_sens()
401 prism54_get_sens(struct net_device *ndev, struct iw_request_info *info, in prism54_get_sens()
418 prism54_get_range(struct net_device *ndev, struct iw_request_info *info, in prism54_get_range()
[all …]
Dislpci_hotplug.c98 struct net_device *ndev; in prism54_probe() local
221 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_remove() local
264 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_suspend() local
287 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_resume() local
/drivers/net/ethernet/micrel/
Dks8695net.c160 struct net_device *ndev; member
252 struct net_device *ndev = ksp->ndev; in ks8695_update_mac() local
333 struct net_device *ndev) in ks8695_init_partial_multicast()
374 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_tx_irq() local
436 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_rx_irq() local
461 struct net_device *ndev = ksp->ndev; in ks8695_rx() local
594 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_link_irq() local
732 irq_handler_t handler, struct net_device *ndev) in ks8695_setup_irq()
838 ks8695_get_msglevel(struct net_device *ndev) in ks8695_get_msglevel()
851 ks8695_set_msglevel(struct net_device *ndev, u32 value) in ks8695_set_msglevel()
[all …]
/drivers/net/wireless/ath/wil6210/
Dnetdev.c21 static int wil_open(struct net_device *ndev) in wil_open()
28 static int wil_stop(struct net_device *ndev) in wil_stop()
45 struct net_device *ndev; in wil_if_alloc() local
99 struct net_device *ndev = wil_to_ndev(wil); in wil_if_free() local
110 struct net_device *ndev = wil_to_ndev(wil); in wil_if_add() local
126 struct net_device *ndev = wil_to_ndev(wil); in wil_if_remove() local
Dcfg80211.c108 struct net_device *ndev, in wil_cfg80211_get_station()
145 struct net_device *ndev, in wil_cfg80211_change_iface()
229 struct net_device *ndev, in wil_cfg80211_connect()
340 struct net_device *ndev, in wil_cfg80211_disconnect()
363 struct net_device *ndev, in wil_cfg80211_add_key()
379 struct net_device *ndev, in wil_cfg80211_del_key()
394 struct net_device *ndev, in wil_cfg80211_set_default_key()
402 struct net_device *ndev, in wil_cfg80211_start_ap()
463 struct net_device *ndev) in wil_cfg80211_stop_ap()
/drivers/net/irda/
Dvlsi_ir.c180 static void vlsi_proc_ndev(struct seq_file *seq, struct net_device *ndev) in vlsi_proc_ndev()
349 struct net_device *ndev = seq->private; in vlsi_seq_show() local
546 struct net_device *ndev = (struct net_device *)pci_get_drvdata(r->pdev); in vlsi_process_rx() local
639 static void vlsi_rx_interrupt(struct net_device *ndev) in vlsi_rx_interrupt()
690 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_rx() local
859 struct net_device *ndev) in vlsi_hard_start_xmit()
1065 static void vlsi_tx_interrupt(struct net_device *ndev) in vlsi_tx_interrupt()
1127 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_tx() local
1266 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_init_chip() local
1320 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_start_hw() local
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c74 struct net_device *ndev; in _brcmf_set_multicast_list() local
157 static int brcmf_netdev_set_mac_address(struct net_device *ndev, void *addr) in brcmf_netdev_set_mac_address()
167 static void brcmf_netdev_set_multicast_list(struct net_device *ndev) in brcmf_netdev_set_multicast_list()
175 struct net_device *ndev) in brcmf_netdev_start_xmit()
395 static struct net_device_stats *brcmf_netdev_get_stats(struct net_device *ndev) in brcmf_netdev_get_stats()
426 static void brcmf_ethtool_get_drvinfo(struct net_device *ndev, in brcmf_ethtool_get_drvinfo()
544 static int brcmf_netdev_ioctl_entry(struct net_device *ndev, struct ifreq *ifr, in brcmf_netdev_ioctl_entry()
561 static int brcmf_netdev_stop(struct net_device *ndev) in brcmf_netdev_stop()
575 static int brcmf_netdev_open(struct net_device *ndev) in brcmf_netdev_open()
623 struct net_device *ndev; in brcmf_net_attach() local
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c358 ql_get_ethtool_stats(struct net_device *ndev, in ql_get_ethtool_stats()
375 static int ql_get_settings(struct net_device *ndev, in ql_get_settings()
401 static void ql_get_drvinfo(struct net_device *ndev, in ql_get_drvinfo()
424 static void ql_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ql_get_wol()
437 static int ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ql_set_wol()
457 static int ql_set_phys_id(struct net_device *ndev, in ql_set_phys_id()
565 static void ql_self_test(struct net_device *ndev, in ql_self_test()
595 static int ql_get_regs_len(struct net_device *ndev) in ql_get_regs_len()
605 static void ql_get_regs(struct net_device *ndev, in ql_get_regs()
641 static int ql_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *c) in ql_set_coalesce()
[all …]
/drivers/net/hyperv/
Dnetvsc.c39 struct net_device *ndev = hv_get_drvdata(device); in alloc_net_device() local
88 struct net_device *ndev = net_device->ndev; in netvsc_destroy_recv_buf() local
160 struct net_device *ndev; in netvsc_init_recv_buf() local
320 struct net_device *ndev; in netvsc_connect_vsp() local
445 struct net_device *ndev; in netvsc_send_completion() local
502 struct net_device *ndev; in netvsc_send() local
573 struct net_device *ndev; in netvsc_send_recv_completion() local
620 struct net_device *ndev; in netvsc_receive_completion() local
676 struct net_device *ndev; in netvsc_receive() local
811 struct net_device *ndev; in netvsc_channel_cb() local
[all …]
/drivers/net/ethernet/
Dnetx-eth.c106 static void netx_eth_set_multicast_list(struct net_device *ndev) in netx_eth_set_multicast_list()
112 netx_eth_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) in netx_eth_hard_start_xmit()
140 static void netx_eth_receive(struct net_device *ndev) in netx_eth_receive()
175 struct net_device *ndev = dev_id; in netx_eth_interrupt() local
208 static int netx_eth_open(struct net_device *ndev) in netx_eth_open()
239 static int netx_eth_close(struct net_device *ndev) in netx_eth_close()
253 static void netx_eth_timeout(struct net_device *ndev) in netx_eth_timeout()
275 netx_eth_phy_read(struct net_device *ndev, int phy_id, int reg) in netx_eth_phy_read()
290 netx_eth_phy_write(struct net_device *ndev, int phy_id, int reg, int value) in netx_eth_phy_write()
313 static int netx_eth_enable(struct net_device *ndev) in netx_eth_enable()
[all …]
/drivers/staging/netlogic/
Dxlr_net.c155 struct net_device *ndev; in xlr_net_fmn_handler() local
190 static int xlr_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in xlr_get_settings()
200 static int xlr_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in xlr_set_settings()
216 static int xlr_net_fill_rx_ring(struct net_device *ndev) in xlr_net_fill_rx_ring()
232 static int xlr_net_open(struct net_device *ndev) in xlr_net_open()
253 static int xlr_net_stop(struct net_device *ndev) in xlr_net_stop()
282 struct net_device *ndev = (struct net_device *) dev; in xlr_wakeup_queue() local
291 struct net_device *ndev) in xlr_net_start_xmit()
307 static u16 xlr_net_select_queue(struct net_device *ndev, struct sk_buff *skb) in xlr_net_select_queue()
312 static void xlr_hw_set_mac_addr(struct net_device *ndev) in xlr_hw_set_mac_addr()
[all …]
/drivers/net/ethernet/ibm/emac/
Dcore.c437 static inline u32 emac_iff2rmr(struct net_device *ndev) in emac_iff2rmr()
562 struct net_device *ndev = dev->ndev; in emac_configure() local
765 static void emac_tx_timeout(struct net_device *ndev) in emac_tx_timeout()
917 static int emac_mdio_read(struct net_device *ndev, int id, int reg) in emac_mdio_read()
929 static void emac_mdio_write(struct net_device *ndev, int id, int reg, int val) in emac_mdio_write()
973 static void emac_set_multicast_list(struct net_device *ndev) in emac_set_multicast_list()
1072 static int emac_change_mtu(struct net_device *ndev, int new_mtu) in emac_change_mtu()
1165 static int emac_open(struct net_device *ndev) in emac_open()
1324 static int emac_close(struct net_device *ndev) in emac_close()
1369 struct net_device *ndev = dev->ndev; in emac_xmit_finish() local
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c167 struct net_device *ndev = platform_get_drvdata(pdev); in stmmac_pltfr_remove() local
182 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_suspend() local
189 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_resume() local
198 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_freeze() local
211 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_restore() local
Dstmmac_mdio.c65 struct net_device *ndev = bus->priv; in stmmac_mdio_read() local
100 struct net_device *ndev = bus->priv; in stmmac_mdio_write() local
131 struct net_device *ndev = bus->priv; in stmmac_mdio_reset() local
154 int stmmac_mdio_register(struct net_device *ndev) in stmmac_mdio_register()
259 int stmmac_mdio_unregister(struct net_device *ndev) in stmmac_mdio_unregister()
/drivers/net/ethernet/natsemi/
Dns83820.c430 struct net_device *ndev; member
472 static inline void kick_rx(struct net_device *ndev) in kick_rx()
554 static inline int rx_refill(struct net_device *ndev, gfp_t gfp) in rx_refill()
592 static void rx_refill_atomic(struct net_device *ndev) in rx_refill_atomic()
601 struct net_device *ndev = dev->ndev; in queue_refill() local
613 static void phy_intr(struct net_device *ndev) in phy_intr()
720 static int ns83820_setup_rx(struct net_device *ndev) in ns83820_setup_rx()
810 static void ns83820_rx_kick(struct net_device *ndev) in ns83820_rx_kick()
831 static void rx_irq(struct net_device *ndev)
943 struct net_device *ndev = (void *)_dev; local
[all …]

123456