Home
last modified time | relevance | path

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

1234567

/drivers/ntb/
Dntb_hw.c108 static int is_ntb_xeon(struct ntb_device *ndev) in is_ntb_xeon()
131 static int is_ntb_atom(struct ntb_device *ndev) in is_ntb_atom()
143 static void ntb_set_errata_flags(struct ntb_device *ndev) in ntb_set_errata_flags()
177 int ntb_register_event_callback(struct ntb_device *ndev, in ntb_register_event_callback()
195 void ntb_unregister_event_callback(struct ntb_device *ndev) in ntb_unregister_event_callback()
209 struct ntb_device *ndev = db_cb->ndev; in ntb_irq_work() local
231 int ntb_register_db_callback(struct ntb_device *ndev, unsigned int idx, in ntb_register_db_callback()
264 void ntb_unregister_db_callback(struct ntb_device *ndev, unsigned int idx) in ntb_unregister_db_callback()
291 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_find_transport() local
306 struct ntb_device *ndev = pci_get_drvdata(pdev); in ntb_register_transport() local
[all …]
/drivers/net/ethernet/moxa/
Dmoxart_ether.c31 static inline void moxart_emac_write(struct net_device *ndev, in moxart_emac_write()
39 static void moxart_update_mac_address(struct net_device *ndev) in moxart_update_mac_address()
50 static int moxart_set_mac_address(struct net_device *ndev, void *addr) in moxart_set_mac_address()
63 static void moxart_mac_free_memory(struct net_device *ndev) in moxart_mac_free_memory()
84 static void moxart_mac_reset(struct net_device *ndev) in moxart_mac_reset()
97 static void moxart_mac_enable(struct net_device *ndev) in moxart_mac_enable()
112 static void moxart_mac_setup_desc_ring(struct net_device *ndev) in moxart_mac_setup_desc_ring()
158 static int moxart_mac_open(struct net_device *ndev) in moxart_mac_open()
180 static int moxart_mac_stop(struct net_device *ndev) in moxart_mac_stop()
202 struct net_device *ndev = priv->ndev; in moxart_rx_poll() local
[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()
296 static void axienet_set_mac_address(struct net_device *ndev, void *address) in axienet_set_mac_address()
329 static int netdev_set_mac_address(struct net_device *ndev, void *p) in netdev_set_mac_address()
347 static void axienet_set_multicast_list(struct net_device *ndev) in axienet_set_multicast_list()
417 static void axienet_setoptions(struct net_device *ndev, u32 options) in axienet_setoptions()
465 static void axienet_device_reset(struct net_device *ndev) in axienet_device_reset()
518 static void axienet_adjust_link(struct net_device *ndev) in axienet_adjust_link()
578 static void axienet_start_xmit_done(struct net_device *ndev) in axienet_start_xmit_done()
651 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()
317 static void temac_do_set_mac_address(struct net_device *ndev) in temac_do_set_mac_address()
336 static int temac_init_mac_address(struct net_device *ndev, void *address) in temac_init_mac_address()
345 static int temac_set_mac_address(struct net_device *ndev, void *p) in temac_set_mac_address()
356 static void temac_set_multicast_list(struct net_device *ndev) in temac_set_multicast_list()
487 static u32 temac_setoptions(struct net_device *ndev, u32 options) in temac_setoptions()
508 static void temac_device_reset(struct net_device *ndev) in temac_device_reset()
591 void temac_adjust_link(struct net_device *ndev) in temac_adjust_link()
620 static void temac_start_xmit_done(struct net_device *ndev) in temac_start_xmit_done()
[all …]
/drivers/net/ethernet/renesas/
Dsh_eth.c408 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
433 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
444 static void sh_eth_set_rate_r8a777x(struct net_device *ndev) in sh_eth_set_rate_r8a777x()
506 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
546 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
589 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
611 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
661 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
670 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether()
746 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
[all …]
/drivers/net/ethernet/arc/
Demac_main.c48 static void arc_emac_adjust_link(struct net_device *ndev) in arc_emac_adjust_link()
93 static int arc_emac_get_settings(struct net_device *ndev, in arc_emac_get_settings()
112 static int arc_emac_set_settings(struct net_device *ndev, in arc_emac_set_settings()
131 static void arc_emac_get_drvinfo(struct net_device *ndev, in arc_emac_get_drvinfo()
153 static void arc_emac_tx_clean(struct net_device *ndev) in arc_emac_tx_clean()
216 static int arc_emac_rx(struct net_device *ndev, int budget) in arc_emac_rx()
310 struct net_device *ndev = napi->dev; in arc_emac_poll() local
337 struct net_device *ndev = dev_instance; in arc_emac_intr() local
403 static int arc_emac_open(struct net_device *ndev) in arc_emac_open()
488 static void arc_emac_set_rx_mode(struct net_device *ndev) in arc_emac_set_rx_mode()
[all …]
/drivers/net/ethernet/freescale/
Dfec_main.c311 static void fec_dump(struct net_device *ndev) in fec_dump()
342 fec_enet_clear_csum(struct sk_buff *skb, struct net_device *ndev) in fec_enet_clear_csum()
361 struct net_device *ndev) in fec_enet_txq_submit_frag_skb()
450 struct sk_buff *skb, struct net_device *ndev) in fec_enet_txq_submit_skb()
571 struct net_device *ndev, in fec_enet_txq_put_data_tso()
634 struct sk_buff *skb, struct net_device *ndev, in fec_enet_txq_put_hdr_tso()
691 struct net_device *ndev) in fec_enet_txq_submit_tso()
779 fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in fec_enet_start_xmit()
863 static void fec_enet_active_rxring(struct net_device *ndev) in fec_enet_active_rxring()
872 static void fec_enet_enable_ring(struct net_device *ndev) in fec_enet_enable_ring()
[all …]
/drivers/net/
Dntb_netdev.c64 struct net_device *ndev; member
75 struct net_device *ndev = data; in ntb_netdev_event_handler() local
99 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() local
139 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() local
158 struct net_device *ndev) in ntb_netdev_start_xmit()
177 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open()
210 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close()
224 static int ntb_netdev_change_mtu(struct net_device *ndev, int new_mtu) in ntb_netdev_change_mtu()
287 static void ntb_get_drvinfo(struct net_device *ndev, in ntb_get_drvinfo()
327 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()
232 struct net_device *ndev = dev_id; in rionet_dbell_event() local
265 struct net_device *ndev = dev_id; in rionet_inb_msg_event() local
280 struct net_device *ndev = dev_id; in rionet_outb_msg_event() local
305 static int rionet_open(struct net_device *ndev) in rionet_open()
367 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 …]
/drivers/net/wireless/ath/wil6210/
Dnetdev.c22 static int wil_open(struct net_device *ndev) in wil_open()
31 static int wil_stop(struct net_device *ndev) in wil_stop()
40 static int wil_change_mtu(struct net_device *ndev, int new_mtu) in wil_change_mtu()
55 static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in wil_do_ioctl()
127 struct net_device *ndev; in wil_if_alloc() local
192 struct net_device *ndev = wil_to_ndev(wil); in wil_if_free() local
209 struct net_device *ndev = wil_to_ndev(wil); in wil_if_add() local
227 struct net_device *ndev = wil_to_ndev(wil); in wil_if_remove() local
Dethtool.c24 static int wil_ethtoolops_begin(struct net_device *ndev) in wil_ethtoolops_begin()
35 static void wil_ethtoolops_complete(struct net_device *ndev) in wil_ethtoolops_complete()
44 static int wil_ethtoolops_get_coalesce(struct net_device *ndev, in wil_ethtoolops_get_coalesce()
61 static int wil_ethtoolops_set_coalesce(struct net_device *ndev, in wil_ethtoolops_set_coalesce()
100 void wil_set_ethtoolops(struct net_device *ndev) in wil_set_ethtoolops()
/drivers/net/ethernet/micrel/
Dks8695net.c159 struct net_device *ndev; member
251 struct net_device *ndev = ksp->ndev; in ks8695_update_mac() local
332 struct net_device *ndev) in ks8695_init_partial_multicast()
373 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_tx_irq() local
435 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_rx_irq() local
460 struct net_device *ndev = ksp->ndev; in ks8695_rx() local
593 struct net_device *ndev = (struct net_device *)dev_id; in ks8695_link_irq() local
731 irq_handler_t handler, struct net_device *ndev) in ks8695_setup_irq()
837 ks8695_get_msglevel(struct net_device *ndev) in ks8695_get_msglevel()
850 ks8695_set_msglevel(struct net_device *ndev, u32 value) in ks8695_set_msglevel()
[all …]
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c45 static void xgene_get_drvinfo(struct net_device *ndev, in xgene_get_drvinfo()
57 static int xgene_get_settings(struct net_device *ndev, struct ethtool_cmd *cmd) in xgene_get_settings()
89 static int xgene_set_settings(struct net_device *ndev, struct ethtool_cmd *cmd) in xgene_set_settings()
104 static void xgene_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in xgene_get_strings()
118 static int xgene_get_sset_count(struct net_device *ndev, int sset) in xgene_get_sset_count()
126 static void xgene_get_ethtool_stats(struct net_device *ndev, in xgene_get_ethtool_stats()
147 void xgene_enet_set_ethtool_ops(struct net_device *ndev) in xgene_enet_set_ethtool_ops()
Dxgene_enet_main.c47 struct net_device *ndev; in xgene_enet_refill_bufpool() local
255 struct net_device *ndev) in xgene_enet_start_xmit()
298 struct net_device *ndev; in xgene_enet_rx_frame() local
414 static void xgene_enet_timeout(struct net_device *ndev) in xgene_enet_timeout()
421 static int xgene_enet_register_irq(struct net_device *ndev) in xgene_enet_register_irq()
437 static void xgene_enet_free_irq(struct net_device *ndev) in xgene_enet_free_irq()
447 static int xgene_enet_open(struct net_device *ndev) in xgene_enet_open()
471 static int xgene_enet_close(struct net_device *ndev) in xgene_enet_close()
592 struct net_device *ndev, u32 ring_num, in xgene_enet_create_desc_ring()
636 static int xgene_enet_create_desc_rings(struct net_device *ndev) in xgene_enet_create_desc_rings()
[all …]
/drivers/net/irda/
Dvlsi_ir.c178 static void vlsi_proc_ndev(struct seq_file *seq, struct net_device *ndev) in vlsi_proc_ndev()
343 struct net_device *ndev = seq->private; in vlsi_seq_show() local
540 struct net_device *ndev = pci_get_drvdata(r->pdev); in vlsi_process_rx() local
633 static void vlsi_rx_interrupt(struct net_device *ndev) in vlsi_rx_interrupt()
684 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_rx() local
853 struct net_device *ndev) in vlsi_hard_start_xmit()
1059 static void vlsi_tx_interrupt(struct net_device *ndev) in vlsi_tx_interrupt()
1121 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_tx() local
1260 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_init_chip() local
1314 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_start_hw() local
[all …]
/drivers/net/can/
Dxilinx_can.c224 static int set_reset_mode(struct net_device *ndev) in set_reset_mode()
250 static int xcan_set_bittiming(struct net_device *ndev) in xcan_set_bittiming()
300 static int xcan_chip_start(struct net_device *ndev) in xcan_chip_start()
356 static int xcan_do_set_mode(struct net_device *ndev, enum can_mode mode) in xcan_do_set_mode()
388 static int xcan_start_xmit(struct sk_buff *skb, struct net_device *ndev) in xcan_start_xmit()
473 static int xcan_rx(struct net_device *ndev) in xcan_rx()
539 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt()
681 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt()
706 struct net_device *ndev = napi->dev; in xcan_rx_poll() local
743 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt()
[all …]
/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c361 ql_get_ethtool_stats(struct net_device *ndev, in ql_get_ethtool_stats()
378 static int ql_get_settings(struct net_device *ndev, in ql_get_settings()
404 static void ql_get_drvinfo(struct net_device *ndev, in ql_get_drvinfo()
427 static void ql_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ql_get_wol()
440 static int ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in ql_set_wol()
460 static int ql_set_phys_id(struct net_device *ndev, in ql_set_phys_id()
568 static void ql_self_test(struct net_device *ndev, in ql_self_test()
598 static int ql_get_regs_len(struct net_device *ndev) in ql_get_regs_len()
608 static void ql_get_regs(struct net_device *ndev, in ql_get_regs()
644 static int ql_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *c) in ql_set_coalesce()
[all …]
/drivers/nfc/st21nfcb/
Dst21nfcb.c30 static int st21nfcb_nci_open(struct nci_dev *ndev) in st21nfcb_nci_open()
45 static int st21nfcb_nci_close(struct nci_dev *ndev) in st21nfcb_nci_close()
57 static int st21nfcb_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in st21nfcb_nci_send()
69 static __u32 st21nfcb_nci_get_rfprotocol(struct nci_dev *ndev, in st21nfcb_nci_get_rfprotocol()
123 void st21nfcb_nci_remove(struct nci_dev *ndev) in st21nfcb_nci_remove()
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c89 struct net_device *ndev; in _brcmf_set_multicast_list() local
172 static int brcmf_netdev_set_mac_address(struct net_device *ndev, void *addr) in brcmf_netdev_set_mac_address()
182 static void brcmf_netdev_set_multicast_list(struct net_device *ndev) in brcmf_netdev_set_multicast_list()
190 struct net_device *ndev) in brcmf_netdev_start_xmit()
583 static struct net_device_stats *brcmf_netdev_get_stats(struct net_device *ndev) in brcmf_netdev_get_stats()
592 static void brcmf_ethtool_get_drvinfo(struct net_device *ndev, in brcmf_ethtool_get_drvinfo()
609 static int brcmf_netdev_stop(struct net_device *ndev) in brcmf_netdev_stop()
623 static int brcmf_netdev_open(struct net_device *ndev) in brcmf_netdev_open()
669 struct net_device *ndev; in brcmf_net_attach() local
712 static int brcmf_net_p2p_open(struct net_device *ndev) in brcmf_net_p2p_open()
[all …]
/drivers/net/ethernet/
Dnetx-eth.c105 static void netx_eth_set_multicast_list(struct net_device *ndev) in netx_eth_set_multicast_list()
111 netx_eth_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) in netx_eth_hard_start_xmit()
139 static void netx_eth_receive(struct net_device *ndev) in netx_eth_receive()
174 struct net_device *ndev = dev_id; in netx_eth_interrupt() local
207 static int netx_eth_open(struct net_device *ndev) in netx_eth_open()
238 static int netx_eth_close(struct net_device *ndev) in netx_eth_close()
252 static void netx_eth_timeout(struct net_device *ndev) in netx_eth_timeout()
274 netx_eth_phy_read(struct net_device *ndev, int phy_id, int reg) in netx_eth_phy_read()
289 netx_eth_phy_write(struct net_device *ndev, int phy_id, int reg, int value) in netx_eth_phy_write()
312 static int netx_eth_enable(struct net_device *ndev) in netx_eth_enable()
[all …]
/drivers/nfc/nfcmrvl/
Dmain.c27 static int nfcmrvl_nci_open(struct nci_dev *ndev) in nfcmrvl_nci_open()
43 static int nfcmrvl_nci_close(struct nci_dev *ndev) in nfcmrvl_nci_close()
55 static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nfcmrvl_nci_send()
69 static int nfcmrvl_nci_setup(struct nci_dev *ndev) in nfcmrvl_nci_setup()
139 struct nci_dev *ndev = priv->ndev; in nfcmrvl_nci_unregister_dev() local
/drivers/staging/netlogic/
Dxlr_net.c130 struct net_device *ndev; in xlr_net_fmn_handler() local
171 static int xlr_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in xlr_get_settings()
181 static int xlr_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in xlr_set_settings()
199 static int xlr_net_fill_rx_ring(struct net_device *ndev) in xlr_net_fill_rx_ring()
217 static int xlr_net_open(struct net_device *ndev) in xlr_net_open()
239 static int xlr_net_stop(struct net_device *ndev) in xlr_net_stop()
269 struct net_device *ndev = (struct net_device *) dev; in xlr_wakeup_queue() local
278 struct net_device *ndev) in xlr_net_start_xmit()
294 static u16 xlr_net_select_queue(struct net_device *ndev, struct sk_buff *skb, in xlr_net_select_queue()
301 static void xlr_hw_set_mac_addr(struct net_device *ndev) in xlr_hw_set_mac_addr()
[all …]

1234567