Home
last modified time | relevance | path

Searched defs:ndev (Results 1 – 200 of 204) sorted by relevance

12

/linux-4.1.27/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 …]
Dntb_hw.h110 struct ntb_device *ndev; member
174 static inline unsigned char ntb_max_cbs(struct ntb_device *ndev) in ntb_max_cbs()
187 static inline unsigned char ntb_max_mw(struct ntb_device *ndev) in ntb_max_mw()
200 static inline bool ntb_hw_link_status(struct ntb_device *ndev) in ntb_hw_link_status()
213 static inline struct pci_dev *ntb_query_pdev(struct ntb_device *ndev) in ntb_query_pdev()
227 static inline struct dentry *ntb_query_debugfs(struct ntb_device *ndev) in ntb_query_debugfs()
Dntb_transport.c98 struct ntb_device *ndev; member
170 struct ntb_device *ndev; member
203 #define QP_TO_MW(ndev, qp) ((qp) % ntb_max_mw(ndev)) argument
684 struct ntb_device *ndev = nt->ndev; in ntb_transport_link_work() local
996 struct ntb_device *ndev = nt->ndev; in ntb_transport_free() local
/linux-4.1.27/net/nfc/nci/
Dcore.c53 struct nci_conn_info *nci_get_conn_info_by_conn_id(struct nci_dev *ndev, in nci_get_conn_info_by_conn_id()
68 void nci_req_complete(struct nci_dev *ndev, int result) in nci_req_complete()
77 static void nci_req_cancel(struct nci_dev *ndev, int err) in nci_req_cancel()
87 static int __nci_request(struct nci_dev *ndev, in __nci_request()
88 void (*req)(struct nci_dev *ndev, unsigned long opt), in __nci_request()
130 inline int nci_request(struct nci_dev *ndev, in nci_request()
131 void (*req)(struct nci_dev *ndev, in nci_request()
148 static void nci_reset_req(struct nci_dev *ndev, unsigned long opt) in nci_reset_req()
156 static void nci_init_req(struct nci_dev *ndev, unsigned long opt) in nci_init_req()
161 static void nci_init_complete_req(struct nci_dev *ndev, unsigned long opt) in nci_init_complete_req()
[all …]
Dntf.c42 static void nci_core_conn_credits_ntf_packet(struct nci_dev *ndev, in nci_core_conn_credits_ntf_packet()
77 static void nci_core_generic_error_ntf_packet(struct nci_dev *ndev, in nci_core_generic_error_ntf_packet()
91 static void nci_core_conn_intf_error_ntf_packet(struct nci_dev *ndev, in nci_core_conn_intf_error_ntf_packet()
105 static __u8 *nci_extract_rf_params_nfca_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfca_passive_poll()
132 static __u8 *nci_extract_rf_params_nfcb_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcb_passive_poll()
146 static __u8 *nci_extract_rf_params_nfcf_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_poll()
162 static __u8 *nci_extract_rf_params_nfcv_passive_poll(struct nci_dev *ndev, in nci_extract_rf_params_nfcv_passive_poll()
173 static __u8 *nci_extract_rf_params_nfcf_passive_listen(struct nci_dev *ndev, in nci_extract_rf_params_nfcf_passive_listen()
185 static __u32 nci_get_prop_rf_protocol(struct nci_dev *ndev, __u8 rf_protocol) in nci_get_prop_rf_protocol()
192 static int nci_add_new_protocol(struct nci_dev *ndev, in nci_add_new_protocol()
[all …]
Drsp.c40 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_reset_rsp_packet()
55 static void nci_core_init_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_core_init_rsp_packet()
121 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet()
131 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet()
141 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rf_disc_rsp_packet()
171 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet()
183 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet()
199 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet()
216 static void nci_nfcee_mode_set_rsp_packet(struct nci_dev *ndev, in nci_nfcee_mode_set_rsp_packet()
225 static void nci_core_conn_create_rsp_packet(struct nci_dev *ndev, in nci_core_conn_create_rsp_packet()
[all …]
Ddata.c38 void nci_data_exchange_complete(struct nci_dev *ndev, struct sk_buff *skb, in nci_data_exchange_complete()
76 static inline void nci_push_data_hdr(struct nci_dev *ndev, in nci_push_data_hdr()
93 static int nci_queue_tx_data_frags(struct nci_dev *ndev, in nci_queue_tx_data_frags()
167 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb) in nci_send_data()
209 static void nci_add_rx_data_frag(struct nci_dev *ndev, in nci_add_rx_data_frag()
266 void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rx_data_packet()
Dhci.c130 static void nci_hci_reset_pipes_per_host(struct nci_dev *ndev, u8 host) in nci_hci_reset_pipes_per_host()
150 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data()
209 static void nci_hci_send_data_req(struct nci_dev *ndev, unsigned long opt) in nci_hci_send_data_req()
217 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event()
231 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd()
270 static void nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in nci_hci_event_received()
277 static void nci_hci_cmd_received(struct nci_dev *ndev, u8 pipe, in nci_hci_cmd_received()
352 static void nci_hci_resp_received(struct nci_dev *ndev, u8 pipe, in nci_hci_resp_received()
373 static void nci_hci_hcp_message_rx(struct nci_dev *ndev, u8 pipe, in nci_hci_hcp_message_rx()
420 struct nci_dev *ndev = (struct nci_dev *)context; in nci_hci_data_received_cb() local
[all …]
Dspi.c135 struct nci_dev *ndev) in nci_spi_allocate_spi()
/linux-4.1.27/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 …]
Dmoxart_ether.h299 struct net_device *ndev; member
/linux-4.1.27/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()
233 static int temac_dma_bd_init(struct net_device *ndev) in temac_dma_bd_init()
316 static void temac_do_set_mac_address(struct net_device *ndev) in temac_do_set_mac_address()
335 static int temac_init_mac_address(struct net_device *ndev, void *address) in temac_init_mac_address()
344 static int temac_set_mac_address(struct net_device *ndev, void *p) in temac_set_mac_address()
355 static void temac_set_multicast_list(struct net_device *ndev) in temac_set_multicast_list()
486 static u32 temac_setoptions(struct net_device *ndev, u32 options) in temac_setoptions()
507 static void temac_device_reset(struct net_device *ndev) in temac_device_reset()
590 void temac_adjust_link(struct net_device *ndev) in temac_adjust_link()
619 static void temac_start_xmit_done(struct net_device *ndev) in temac_start_xmit_done()
[all …]
Dxilinx_emaclite.c123 struct net_device *ndev; member
877 static void xemaclite_adjust_link(struct net_device *ndev) in xemaclite_adjust_link()
1039 static void xemaclite_remove_ndev(struct net_device *ndev) in xemaclite_remove_ndev()
1088 struct net_device *ndev = NULL; in xemaclite_of_probe() local
1190 struct net_device *ndev = platform_get_drvdata(of_dev); in xemaclite_of_remove() local
1214 xemaclite_poll_controller(struct net_device *ndev) in xemaclite_poll_controller()
Dll_temac.h331 struct net_device *ndev; member
Dxilinx_axienet.h414 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/renesas/
Dsh_eth.c417 static void sh_eth_select_mii(struct net_device *ndev) in sh_eth_select_mii()
442 static void sh_eth_set_duplex(struct net_device *ndev) in sh_eth_set_duplex()
453 static void sh_eth_set_rate_r8a777x(struct net_device *ndev) in sh_eth_set_rate_r8a777x()
518 static void sh_eth_set_rate_sh7724(struct net_device *ndev) in sh_eth_set_rate_sh7724()
558 static void sh_eth_set_rate_sh7757(struct net_device *ndev) in sh_eth_set_rate_sh7757()
602 static void sh_eth_chip_reset_giga(struct net_device *ndev) in sh_eth_chip_reset_giga()
624 static void sh_eth_set_rate_giga(struct net_device *ndev) in sh_eth_set_rate_giga()
674 static void sh_eth_chip_reset(struct net_device *ndev) in sh_eth_chip_reset()
683 static void sh_eth_set_rate_gether(struct net_device *ndev) in sh_eth_set_rate_gether()
759 static void sh_eth_chip_reset_r8a7740(struct net_device *ndev) in sh_eth_chip_reset_r8a7740()
[all …]
Dsh_eth.h551 static inline void sh_eth_write(struct net_device *ndev, u32 data, in sh_eth_write()
563 static inline u32 sh_eth_read(struct net_device *ndev, int enum_index) in sh_eth_read()
/linux-4.1.27/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 …]
Demac_arc.c32 struct net_device *ndev; in emac_arc_probe() local
69 struct net_device *ndev = platform_get_drvdata(pdev); in emac_arc_remove() local
Demac_rockchip.c91 struct net_device *ndev; in emac_rockchip_probe() local
201 struct net_device *ndev = platform_get_drvdata(pdev); in emac_rockchip_remove() local
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dnetdev.c21 static int wil_open(struct net_device *ndev) in wil_open()
30 static int wil_stop(struct net_device *ndev) in wil_stop()
39 static int wil_change_mtu(struct net_device *ndev, int new_mtu) in wil_change_mtu()
54 static int wil_do_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in wil_do_ioctl()
132 struct net_device *ndev; in wil_if_alloc() local
197 struct net_device *ndev = wil_to_ndev(wil); in wil_if_free() local
214 struct net_device *ndev = wil_to_ndev(wil); in wil_if_add() local
230 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()
72 static int wil_ethtoolops_set_coalesce(struct net_device *ndev, in wil_ethtoolops_set_coalesce()
114 void wil_set_ethtoolops(struct net_device *ndev) in wil_set_ethtoolops()
Ddebug.c22 struct net_device *ndev = wil_to_ndev(wil); in wil_err() local
38 struct net_device *ndev = wil_to_ndev(wil); in wil_err_ratelimited() local
54 struct net_device *ndev = wil_to_ndev(wil); in wil_info() local
Dcfg80211.c175 struct net_device *ndev, in wil_cfg80211_get_station()
230 struct net_device *ndev, in wil_cfg80211_change_iface()
380 struct net_device *ndev, in wil_cfg80211_connect()
504 struct net_device *ndev, in wil_cfg80211_disconnect()
565 struct net_device *ndev, in wil_cfg80211_add_key()
581 struct net_device *ndev, in wil_cfg80211_del_key()
596 struct net_device *ndev, in wil_cfg80211_set_default_key()
679 struct net_device *ndev, in wil_cfg80211_change_beacon()
718 struct net_device *ndev, in wil_cfg80211_start_ap()
803 struct net_device *ndev) in wil_cfg80211_stop_ap()
[all …]
Dmain.c141 struct net_device *ndev = wil_to_ndev(wil); in wil_disconnect_cid() local
188 struct net_device *ndev = wil_to_ndev(wil); in _wil6210_disconnect() local
399 struct net_device *ndev = wil_to_ndev(wil); in wil_connect_worker() local
633 struct net_device *ndev = wil_to_ndev(wil); in wil_get_bl_info() local
781 struct net_device *ndev = wil_to_ndev(wil); in __wil_up() local
Dtxrx.c372 struct net_device *ndev = wil_to_ndev(wil); in wil_vring_reap_rx() local
493 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_refill() local
519 void wil_netif_rx_any(struct sk_buff *skb, struct net_device *ndev) in wil_netif_rx_any()
607 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_handle() local
1256 netdev_tx_t wil_start_xmit(struct sk_buff *skb, struct net_device *ndev) in wil_start_xmit()
1346 struct net_device *ndev = wil_to_ndev(wil); in wil_tx_complete() local
Drx_reorder.c47 struct net_device *ndev = wil_to_ndev(wil); in wil_release_reorder_frame() local
96 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_reorder() local
Dwmi.c386 struct net_device *ndev = wil_to_ndev(wil); in wmi_evt_connect() local
499 struct net_device *ndev = wil_to_ndev(wil); in wmi_evt_eapol_rx() local
581 struct net_device *ndev = wil_to_ndev(wil); in wmi_evt_linkdown() local
1075 struct net_device *ndev = wil_to_ndev(wil); in wmi_rx_chain_add() local
Ddebugfs.c555 struct net_device *ndev = wil_to_ndev(wil); in wil_write_file_reset() local
997 struct net_device *ndev = wil_to_ndev(wil); in wil_write_file_ssid() local
1147 struct net_device *ndev = wil_to_ndev(wil); in wil_info_debugfs_show() local
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_main.c316 static void fec_dump(struct net_device *ndev) in fec_dump()
347 fec_enet_clear_csum(struct sk_buff *skb, struct net_device *ndev) in fec_enet_clear_csum()
366 struct net_device *ndev) in fec_enet_txq_submit_frag_skb()
453 struct sk_buff *skb, struct net_device *ndev) in fec_enet_txq_submit_skb()
572 struct net_device *ndev, in fec_enet_txq_put_data_tso()
633 struct sk_buff *skb, struct net_device *ndev, in fec_enet_txq_put_hdr_tso()
688 struct net_device *ndev) in fec_enet_txq_submit_tso()
774 fec_enet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in fec_enet_start_xmit()
858 static void fec_enet_active_rxring(struct net_device *ndev) in fec_enet_active_rxring()
867 static void fec_enet_enable_ring(struct net_device *ndev) in fec_enet_enable_ring()
[all …]
Dfec_ptp.c261 void fec_ptp_start_cyclecounter(struct net_device *ndev) in fec_ptp_start_cyclecounter()
476 int fec_ptp_set(struct net_device *ndev, struct ifreq *ifr) in fec_ptp_set()
523 int fec_ptp_get(struct net_device *ndev, struct ifreq *ifr) in fec_ptp_get()
570 struct net_device *ndev = platform_get_drvdata(pdev); in fec_ptp_init() local
Dfec_mpc52xx.c55 struct net_device *ndev; member
841 struct net_device *ndev; in mpc52xx_fec_probe() local
1010 struct net_device *ndev; in mpc52xx_fec_remove() local
Dgianfar.c172 static int gfar_init_bds(struct net_device *ndev) in gfar_init_bds()
239 static int gfar_alloc_skb_resources(struct net_device *ndev) in gfar_alloc_skb_resources()
1530 struct net_device *ndev = priv->ndev; in gfar_suspend() local
1582 struct net_device *ndev = priv->ndev; in gfar_resume() local
1623 struct net_device *ndev = priv->ndev; in gfar_restore() local
2112 int startup_gfar(struct net_device *ndev) in startup_gfar()
2558 void reset_gfar(struct net_device *ndev) in reset_gfar()
Ducc_geth.c3559 struct net_device *ndev = platform_get_drvdata(ofdev); in ucc_geth_suspend() local
3587 struct net_device *ndev = platform_get_drvdata(ofdev); in ucc_geth_resume() local
Ducc_geth.h1159 struct net_device *ndev; member
/linux-4.1.27/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.c51 struct net_device *ndev; in xgene_enet_refill_bufpool() local
259 struct net_device *ndev) in xgene_enet_start_xmit()
302 struct net_device *ndev; in xgene_enet_rx_frame() local
420 static void xgene_enet_timeout(struct net_device *ndev) in xgene_enet_timeout()
427 static int xgene_enet_register_irq(struct net_device *ndev) in xgene_enet_register_irq()
453 static void xgene_enet_free_irq(struct net_device *ndev) in xgene_enet_free_irq()
494 static int xgene_enet_open(struct net_device *ndev) in xgene_enet_open()
518 static int xgene_enet_close(struct net_device *ndev) in xgene_enet_close()
641 struct net_device *ndev, u32 ring_num, in xgene_enet_create_desc_ring()
685 static int xgene_enet_create_desc_rings(struct net_device *ndev) in xgene_enet_create_desc_rings()
[all …]
Dxgene_enet_hw.c420 struct net_device *ndev = pdata->ndev; in xgene_enet_ecc_init() local
640 static void xgene_enet_adjust_link(struct net_device *ndev) in xgene_enet_adjust_link()
661 static int xgene_enet_phy_connect(struct net_device *ndev) in xgene_enet_phy_connect()
699 struct net_device *ndev = pdata->ndev; in xgene_mdiobus_register() local
752 struct net_device *ndev = pdata->ndev; in xgene_enet_mdio_config() local
Dxgene_enet_sgmac.c125 struct net_device *ndev = p->ndev; in xgene_enet_ecc_init() local
353 struct net_device *ndev = p->ndev; in xgene_enet_link_state() local
Dxgene_enet_xgmac.c143 struct net_device *ndev = pdata->ndev; in xgene_enet_ecc_init() local
296 struct net_device *ndev = pdata->ndev; in xgene_enet_link_state() local
Dxgene_enet_main.h62 struct net_device *ndev; member
110 struct net_device *ndev; member
179 static inline struct device *ndev_to_dev(struct net_device *ndev) in ndev_to_dev()
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/nfc/st21nfcb/
Dst21nfcb_se.c123 static u8 st21nfcb_se_get_bwi(struct nci_dev *ndev) in st21nfcb_se_get_bwi()
142 static void st21nfcb_se_get_atr(struct nci_dev *ndev) in st21nfcb_se_get_atr()
162 int st21nfcb_hci_load_session(struct nci_dev *ndev) in st21nfcb_hci_load_session()
256 static void st21nfcb_hci_admin_event_received(struct nci_dev *ndev, in st21nfcb_hci_admin_event_received()
278 static int st21nfcb_hci_apdu_reader_event_received(struct nci_dev *ndev, in st21nfcb_hci_apdu_reader_event_received()
309 static int st21nfcb_hci_connectivity_event_received(struct nci_dev *ndev, in st21nfcb_hci_connectivity_event_received()
358 void st21nfcb_hci_event_received(struct nci_dev *ndev, u8 pipe, in st21nfcb_hci_event_received()
380 void st21nfcb_hci_cmd_received(struct nci_dev *ndev, u8 pipe, u8 cmd, in st21nfcb_hci_cmd_received()
410 static int st21nfcb_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st21nfcb_nci_control_se()
469 int st21nfcb_nci_disable_se(struct nci_dev *ndev, u32 se_idx) in st21nfcb_nci_disable_se()
[all …]
Dst21nfcb.c31 static int st21nfcb_nci_open(struct nci_dev *ndev) in st21nfcb_nci_open()
46 static int st21nfcb_nci_close(struct nci_dev *ndev) in st21nfcb_nci_close()
58 static int st21nfcb_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in st21nfcb_nci_send()
70 static __u32 st21nfcb_nci_get_rfprotocol(struct nci_dev *ndev, in st21nfcb_nci_get_rfprotocol()
132 void st21nfcb_nci_remove(struct nci_dev *ndev) in st21nfcb_nci_remove()
Dndlc.h27 struct nci_dev *ndev; member
/linux-4.1.27/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 …]
Dks8851.c1409 struct net_device *ndev; in ks8851_probe() local
/linux-4.1.27/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.c97 struct net_device *ndev; in prism54_probe() local
219 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_remove() local
261 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_suspend() local
284 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_resume() local
Dislpci_mgt.c107 islpci_mgmt_rx_fill(struct net_device *ndev) in islpci_mgmt_rx_fill()
163 islpci_mgt_transmit(struct net_device *ndev, int operation, unsigned long oid, in islpci_mgt_transmit()
268 islpci_mgt_receive(struct net_device *ndev) in islpci_mgt_receive()
408 islpci_mgt_cleanup_transmit(struct net_device *ndev) in islpci_mgt_cleanup_transmit()
442 islpci_mgt_transaction(struct net_device *ndev, in islpci_mgt_transaction()
Dislpci_dev.c193 struct net_device *ndev = priv->ndev; in islpci_interrupt() local
381 islpci_open(struct net_device *ndev) in islpci_open()
409 islpci_close(struct net_device *ndev) in islpci_close()
821 struct net_device *ndev = alloc_etherdev(sizeof (islpci_private)); in islpci_setup() local
Dislpci_eth.c76 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) in islpci_eth_transmit()
311 struct net_device *ndev = priv->ndev; in islpci_eth_receive() local
489 islpci_eth_tx_timeout(struct net_device *ndev) in islpci_eth_tx_timeout()
Dislpci_mgt.h110 struct net_device *ndev; /* pointer to network device */ member
Dislpci_dev.h120 struct net_device *ndev; member
/linux-4.1.27/drivers/nfc/nxp-nci/
Dcore.c43 static int nxp_nci_open(struct nci_dev *ndev) in nxp_nci_open()
65 static int nxp_nci_close(struct nci_dev *ndev) in nxp_nci_close()
81 static int nxp_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_send()
113 struct nci_dev **ndev) in nxp_nci_probe()
164 void nxp_nci_remove(struct nci_dev *ndev) in nxp_nci_remove()
Dfirmware.c211 int nxp_nci_fw_download(struct nci_dev *ndev, const char *firmware_name) in nxp_nci_fw_download()
304 void nxp_nci_fw_recv_frame(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_fw_recv_frame()
Dnxp-nci.h65 struct nci_dev *ndev; member
Di2c.c47 struct nci_dev *ndev; member
/linux-4.1.27/drivers/net/irda/
Dvlsi_ir.c179 static void vlsi_proc_ndev(struct seq_file *seq, struct net_device *ndev) in vlsi_proc_ndev()
335 struct net_device *ndev = seq->private; in vlsi_seq_show() local
529 struct net_device *ndev = pci_get_drvdata(r->pdev); in vlsi_process_rx() local
622 static void vlsi_rx_interrupt(struct net_device *ndev) in vlsi_rx_interrupt()
673 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_rx() local
844 struct net_device *ndev) in vlsi_hard_start_xmit()
1039 static void vlsi_tx_interrupt(struct net_device *ndev) in vlsi_tx_interrupt()
1101 struct net_device *ndev = pci_get_drvdata(idev->pdev); in vlsi_unarm_tx() local
1240 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_init_chip() local
1294 struct net_device *ndev = pci_get_drvdata(pdev); in vlsi_start_hw() local
[all …]
Dsir_dev.c589 struct net_device *ndev) in sirdev_hard_xmit()
679 static int sirdev_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) in sirdev_ioctl()
792 static int sirdev_open(struct net_device *ndev) in sirdev_open()
835 static int sirdev_close(struct net_device *ndev) in sirdev_close()
879 struct net_device *ndev; in sirdev_get_instance() local
Dsh_sir.c111 struct net_device *ndev; member
591 static int sh_sir_hard_xmit(struct sk_buff *skb, struct net_device *ndev) in sh_sir_hard_xmit()
616 static int sh_sir_ioctl(struct net_device *ndev, struct ifreq *ifreq, int cmd) in sh_sir_ioctl()
627 static struct net_device_stats *sh_sir_stats(struct net_device *ndev) in sh_sir_stats()
634 static int sh_sir_open(struct net_device *ndev) in sh_sir_open()
672 static int sh_sir_stop(struct net_device *ndev) in sh_sir_stop()
706 struct net_device *ndev; in sh_sir_probe() local
784 struct net_device *ndev = platform_get_drvdata(pdev); in sh_sir_remove() local
Dsh_irda.c147 struct net_device *ndev; member
623 static int sh_irda_hard_xmit(struct sk_buff *skb, struct net_device *ndev) in sh_irda_hard_xmit()
671 static int sh_irda_ioctl(struct net_device *ndev, struct ifreq *ifreq, int cmd) in sh_irda_ioctl()
682 static struct net_device_stats *sh_irda_stats(struct net_device *ndev) in sh_irda_stats()
689 static int sh_irda_open(struct net_device *ndev) in sh_irda_open()
723 static int sh_irda_stop(struct net_device *ndev) in sh_irda_stop()
758 struct net_device *ndev; in sh_irda_probe() local
830 struct net_device *ndev = platform_get_drvdata(pdev); in sh_irda_remove() local
Dmcs7780.c810 struct net_device *ndev = mcs->netdev; in mcs_send_irq() local
820 struct net_device *ndev) in mcs_hard_xmit()
887 struct net_device *ndev = NULL; in mcs_probe() local
/linux-4.1.27/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 …]
Dqlge_main.c1545 struct net_device *ndev = qdev->ndev; in ql_process_mac_rx_page() local
1638 struct net_device *ndev = qdev->ndev; in ql_process_mac_rx_skb() local
1956 struct net_device *ndev = qdev->ndev; in ql_process_mac_split_rx_intr() local
2333 static void qlge_vlan_mode(struct net_device *ndev, netdev_features_t features) in qlge_vlan_mode()
2349 static int qlge_update_hw_vlan_features(struct net_device *ndev, in qlge_update_hw_vlan_features()
2380 static netdev_features_t qlge_fix_features(struct net_device *ndev, in qlge_fix_features()
2393 static int qlge_set_features(struct net_device *ndev, in qlge_set_features()
2417 static int qlge_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in qlge_vlan_rx_add_vid()
2448 static int qlge_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) in qlge_vlan_rx_kill_vid()
2633 static netdev_tx_t qlge_send(struct sk_buff *skb, struct net_device *ndev) in qlge_send()
[all …]
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_xpcs.c19 static int sxgbe_xpcs_read(struct net_device *ndev, unsigned int reg) in sxgbe_xpcs_read()
29 static int sxgbe_xpcs_write(struct net_device *ndev, int reg, int data) in sxgbe_xpcs_write()
38 int sxgbe_xpcs_init(struct net_device *ndev) in sxgbe_xpcs_init()
63 int sxgbe_xpcs_init_1G(struct net_device *ndev) in sxgbe_xpcs_init_1G()
Dsxgbe_platform.c88 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_probe() local
179 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_remove() local
188 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_suspend() local
195 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_resume() local
202 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_freeze() local
209 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_restore() local
Dsxgbe_mdio.c114 struct net_device *ndev = bus->priv; in sxgbe_mdio_read() local
136 struct net_device *ndev = bus->priv; in sxgbe_mdio_write() local
143 int sxgbe_mdio_register(struct net_device *ndev) in sxgbe_mdio_register()
241 int sxgbe_mdio_unregister(struct net_device *ndev) in sxgbe_mdio_unregister()
Dsxgbe_main.c265 static int sxgbe_init_phy(struct net_device *ndev) in sxgbe_init_phy()
2098 struct net_device *ndev; in sxgbe_drv_probe() local
2234 int sxgbe_drv_remove(struct net_device *ndev) in sxgbe_drv_remove()
2267 int sxgbe_suspend(struct net_device *ndev) in sxgbe_suspend()
2272 int sxgbe_resume(struct net_device *ndev) in sxgbe_resume()
2277 int sxgbe_freeze(struct net_device *ndev) in sxgbe_freeze()
2282 int sxgbe_restore(struct net_device *ndev) in sxgbe_restore()
/linux-4.1.27/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()
540 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt()
682 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt()
707 struct net_device *ndev = napi->dev; in xcan_rx_poll() local
744 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt()
[all …]
Drcar_can.c87 struct net_device *ndev; member
210 static void tx_failure_cleanup(struct net_device *ndev) in tx_failure_cleanup()
218 static void rcar_can_error(struct net_device *ndev) in rcar_can_error()
368 static void rcar_can_tx_done(struct net_device *ndev) in rcar_can_tx_done()
397 struct net_device *ndev = dev_id; in rcar_can_interrupt() local
439 static void rcar_can_start(struct net_device *ndev) in rcar_can_start()
504 static int rcar_can_open(struct net_device *ndev) in rcar_can_open()
547 static void rcar_can_stop(struct net_device *ndev) in rcar_can_stop()
571 static int rcar_can_close(struct net_device *ndev) in rcar_can_close()
587 struct net_device *ndev) in rcar_can_start_xmit()
[all …]
Dti_hecc.c214 struct net_device *ndev; member
321 static void ti_hecc_reset(struct net_device *ndev) in ti_hecc_reset()
384 static void ti_hecc_start(struct net_device *ndev) in ti_hecc_start()
424 static void ti_hecc_stop(struct net_device *ndev) in ti_hecc_stop()
435 static int ti_hecc_do_set_mode(struct net_device *ndev, enum can_mode mode) in ti_hecc_do_set_mode()
452 static int ti_hecc_get_berr_counter(const struct net_device *ndev, in ti_hecc_get_berr_counter()
485 static netdev_tx_t ti_hecc_xmit(struct sk_buff *skb, struct net_device *ndev) in ti_hecc_xmit()
615 struct net_device *ndev = napi->dev; in ti_hecc_rx_poll() local
660 static int ti_hecc_error(struct net_device *ndev, int int_status, in ti_hecc_error()
759 struct net_device *ndev = (struct net_device *)dev_id; in ti_hecc_interrupt() local
[all …]
Dpch_can.c178 struct net_device *ndev; member
490 static void pch_can_error(struct net_device *ndev, u32 status) in pch_can_error()
583 struct net_device *ndev = (struct net_device *)dev_id; in pch_can_interrupt() local
616 static void pch_can_rx_msg_lost(struct net_device *ndev, int obj_id) in pch_can_rx_msg_lost()
642 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) in pch_can_rx_normal()
720 static void pch_can_tx_complete(struct net_device *ndev, u32 int_stat) in pch_can_tx_complete()
740 struct net_device *ndev = napi->dev; in pch_can_poll() local
784 static int pch_set_bittiming(struct net_device *ndev) in pch_set_bittiming()
806 static void pch_can_start(struct net_device *ndev) in pch_can_start()
827 static int pch_can_do_set_mode(struct net_device *ndev, enum can_mode mode) in pch_can_do_set_mode()
[all …]
Djanz-ican3.c198 struct net_device *ndev; member
1233 struct net_device *ndev = mod->ndev; in ican3_recv_skb() local
1480 static int ican3_open(struct net_device *ndev) in ican3_open()
1507 static int ican3_stop(struct net_device *ndev) in ican3_stop()
1531 static int ican3_xmit(struct sk_buff *skb, struct net_device *ndev) in ican3_xmit()
1624 static int ican3_set_bittiming(struct net_device *ndev) in ican3_set_bittiming()
1648 static int ican3_set_mode(struct net_device *ndev, enum can_mode mode) in ican3_set_mode()
1672 static int ican3_get_berr_counter(const struct net_device *ndev, in ican3_get_berr_counter()
1752 struct net_device *ndev; in ican3_probe() local
1888 struct net_device *ndev = platform_get_drvdata(pdev); in ican3_remove() local
Dat91_can.c1215 struct net_device *ndev = to_net_dev(dev); in at91_sysfs_set_mb0_id() local
/linux-4.1.27/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
Dnfcmrvl.h31 struct nci_dev *ndev; member
Dusb.c152 struct nci_dev *ndev = (struct nci_dev *)skb->dev; in nfcmrvl_tx_complete() local
/linux-4.1.27/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 …]
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.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()
590 static struct net_device_stats *brcmf_netdev_get_stats(struct net_device *ndev) in brcmf_netdev_get_stats()
599 static void brcmf_ethtool_get_drvinfo(struct net_device *ndev, in brcmf_ethtool_get_drvinfo()
619 static int brcmf_netdev_stop(struct net_device *ndev) in brcmf_netdev_stop()
633 static int brcmf_netdev_open(struct net_device *ndev) in brcmf_netdev_open()
679 struct net_device *ndev; in brcmf_net_attach() local
722 static int brcmf_net_p2p_open(struct net_device *ndev) in brcmf_net_p2p_open()
[all …]
Dcfg80211.c747 struct net_device *ndev = wdev->netdev; in brcmf_cfg80211_del_iface() local
783 brcmf_cfg80211_change_iface(struct wiphy *wiphy, struct net_device *ndev, in brcmf_cfg80211_change_iface()
1144 static s32 brcmf_set_rts(struct net_device *ndev, u32 rts_threshold) in brcmf_set_rts()
1156 static s32 brcmf_set_frag(struct net_device *ndev, u32 frag_threshold) in brcmf_set_frag()
1168 static s32 brcmf_set_retry(struct net_device *ndev, u32 retry, bool l) in brcmf_set_retry()
1184 struct net_device *ndev = cfg_to_ndev(cfg); in brcmf_cfg80211_set_wiphy_params() local
1275 brcmf_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *ndev, in brcmf_cfg80211_join_ibss()
1427 brcmf_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *ndev) in brcmf_cfg80211_leave_ibss()
1442 static s32 brcmf_set_wpa_version(struct net_device *ndev, in brcmf_set_wpa_version()
1467 static s32 brcmf_set_auth_type(struct net_device *ndev, in brcmf_set_auth_type()
[all …]
Dcore.h180 struct net_device *ndev; member
Dcfg80211.h448 static inline struct brcmf_cfg80211_info *ndev_to_cfg(struct net_device *ndev) in ndev_to_cfg()
459 static inline struct brcmf_cfg80211_vif *ndev_to_vif(struct net_device *ndev) in ndev_to_vif()
Dp2p.c1647 struct net_device *ndev, in brcmf_p2p_send_action_frame()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
Dcore.c432 static inline u32 emac_iff2rmr(struct net_device *ndev) in emac_iff2rmr()
557 struct net_device *ndev = dev->ndev; in emac_configure() local
760 static void emac_tx_timeout(struct net_device *ndev) in emac_tx_timeout()
912 static int emac_mdio_read(struct net_device *ndev, int id, int reg) in emac_mdio_read()
924 static void emac_mdio_write(struct net_device *ndev, int id, int reg, int val) in emac_mdio_write()
968 static void emac_set_multicast_list(struct net_device *ndev) in emac_set_multicast_list()
1067 static int emac_change_mtu(struct net_device *ndev, int new_mtu) in emac_change_mtu()
1160 static int emac_open(struct net_device *ndev) in emac_open()
1319 static int emac_close(struct net_device *ndev) in emac_close()
1364 struct net_device *ndev = dev->ndev; in emac_xmit_finish() local
[all …]
Dcore.h169 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c68 struct net_device *ndev = bus->priv; in stmmac_mdio_read() local
103 struct net_device *ndev = bus->priv; in stmmac_mdio_write() local
134 struct net_device *ndev = bus->priv; in stmmac_mdio_reset() local
192 int stmmac_mdio_register(struct net_device *ndev) in stmmac_mdio_register()
305 int stmmac_mdio_unregister(struct net_device *ndev) in stmmac_mdio_unregister()
Dstmmac_platform.c386 struct net_device *ndev = platform_get_drvdata(pdev); in stmmac_pltfr_remove() local
410 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_suspend() local
430 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_resume() local
Dstmmac_pci.c241 struct net_device *ndev = pci_get_drvdata(pdev); in stmmac_pci_remove() local
250 struct net_device *ndev = pci_get_drvdata(pdev); in stmmac_pci_suspend() local
258 struct net_device *ndev = pci_get_drvdata(pdev); in stmmac_pci_resume() local
Dstmmac_main.c2818 struct net_device *ndev = NULL; in stmmac_dvr_probe() local
2973 int stmmac_dvr_remove(struct net_device *ndev) in stmmac_dvr_remove()
3005 int stmmac_suspend(struct net_device *ndev) in stmmac_suspend()
3055 int stmmac_resume(struct net_device *ndev) in stmmac_resume()
Ddwmac-socfpga.c217 struct net_device *ndev = platform_get_drvdata(pdev); in socfpga_dwmac_init() local
/linux-4.1.27/drivers/net/ethernet/hisilicon/
Dhip04_eth.c160 struct net_device *ndev; member
191 static void hip04_config_port(struct net_device *ndev, u32 speed, u32 duplex) in hip04_config_port()
296 static void hip04_mac_enable(struct net_device *ndev) in hip04_mac_enable()
319 static void hip04_mac_disable(struct net_device *ndev) in hip04_mac_disable()
349 static void hip04_update_mac_address(struct net_device *ndev) in hip04_update_mac_address()
360 static int hip04_set_mac_address(struct net_device *ndev, void *addr) in hip04_set_mac_address()
367 static int hip04_tx_reclaim(struct net_device *ndev, bool force) in hip04_tx_reclaim()
425 static int hip04_mac_start_xmit(struct sk_buff *skb, struct net_device *ndev) in hip04_mac_start_xmit()
487 struct net_device *ndev = priv->ndev; in hip04_rx_poll() local
567 struct net_device *ndev = (struct net_device *)dev_id; in hip04_mac_interrupt() local
[all …]
Dhix5hd2_gmac.c892 struct net_device *ndev; in hix5hd2_dev_probe() local
1030 struct net_device *ndev = platform_get_drvdata(pdev); in hix5hd2_dev_remove() local
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc.c39 struct net_device *ndev = hv_get_drvdata(device); in alloc_net_device() local
106 struct net_device *ndev = net_device->ndev; in netvsc_destroy_buf() local
229 struct net_device *ndev; in netvsc_init_buf() local
469 struct net_device *ndev; in netvsc_connect_vsp() local
607 struct net_device *ndev; in netvsc_send_completion() local
742 struct net_device *ndev = net_device->ndev; in netvsc_send_pkt() local
940 struct net_device *ndev; in netvsc_send_recv_completion() local
989 struct net_device *ndev; in netvsc_receive() local
1051 struct net_device *ndev; in netvsc_send_table() local
1091 struct net_device *ndev; in netvsc_channel_cb() local
[all …]
Drndis_filter.c268 struct net_device *ndev; in rndis_filter_receive_response() local
404 struct net_device *ndev; in rndis_filter_receive() local
556 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_device_mac() local
635 struct net_device *ndev = nvdev->ndev; in rndis_filter_set_offload_params() local
707 struct net_device *ndev = rdev->net_dev->ndev; in rndis_filter_set_rss_param() local
803 struct net_device *ndev; in rndis_filter_set_packet_filter() local
Dnetvsc_drv.c214 static u16 netvsc_select_queue(struct net_device *ndev, struct sk_buff *skb, in netvsc_select_queue()
722 static int netvsc_change_mtu(struct net_device *ndev, int mtu) in netvsc_change_mtu()
757 static int netvsc_set_mac_addr(struct net_device *ndev, void *p) in netvsc_set_mac_addr()
Dhyperv_net.h657 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/natsemi/
Dns83820.c429 struct net_device *ndev; member
471 static inline void kick_rx(struct net_device *ndev) in kick_rx()
553 static inline int rx_refill(struct net_device *ndev, gfp_t gfp) in rx_refill()
591 static void rx_refill_atomic(struct net_device *ndev) in rx_refill_atomic()
600 struct net_device *ndev = dev->ndev; in queue_refill() local
612 static void phy_intr(struct net_device *ndev) in phy_intr()
719 static int ns83820_setup_rx(struct net_device *ndev) in ns83820_setup_rx()
809 static void ns83820_rx_kick(struct net_device *ndev) in ns83820_rx_kick()
830 static void rx_irq(struct net_device *ndev)
942 struct net_device *ndev = (void *)_dev; local
[all …]
Dmacsonic.c431 static int macsonic_ident(struct nubus_dev *ndev) in macsonic_ident()
459 struct nubus_dev* ndev = NULL; in mac_nubus_sonic_probe() local
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpsw.c362 struct net_device *ndev; member
380 struct net_device *ndev; member
517 #define cpsw_dual_emac_src_port_detect(status, priv, ndev, skb) \ argument
556 static void cpsw_set_promiscious(struct net_device *ndev, bool enable) in cpsw_set_promiscious()
632 static void cpsw_ndo_set_rx_mode(struct net_device *ndev) in cpsw_ndo_set_rx_mode()
690 struct net_device *ndev = skb->dev; in cpsw_tx_handler() local
708 struct net_device *ndev = skb->dev; in cpsw_rx_handler() local
906 static void cpsw_adjust_link(struct net_device *ndev) in cpsw_adjust_link()
923 static int cpsw_get_coalesce(struct net_device *ndev, in cpsw_get_coalesce()
932 static int cpsw_set_coalesce(struct net_device *ndev, in cpsw_set_coalesce()
[all …]
Ddavinci_emac.c325 struct net_device *ndev; member
481 static void emac_get_drvinfo(struct net_device *ndev, in emac_get_drvinfo()
496 static int emac_get_settings(struct net_device *ndev, in emac_get_settings()
515 static int emac_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in emac_set_settings()
533 static int emac_get_coalesce(struct net_device *ndev, in emac_get_coalesce()
551 static int emac_set_coalesce(struct net_device *ndev, in emac_set_coalesce()
649 struct net_device *ndev = priv->ndev; in emac_update_phystatus() local
867 static void emac_dev_mcast_set(struct net_device *ndev) in emac_dev_mcast_set()
984 struct net_device *ndev = (struct net_device *)dev_id; in emac_irq() local
1009 struct net_device *ndev = skb->dev; in emac_rx_handler() local
[all …]
Dnetcp_core.c1180 static int netcp_ndo_start_xmit(struct sk_buff *skb, struct net_device *ndev) in netcp_ndo_start_xmit()
1416 static void netcp_set_rx_mode(struct net_device *ndev) in netcp_set_rx_mode()
1480 static int netcp_setup_navigator_resources(struct net_device *ndev) in netcp_setup_navigator_resources()
1594 static int netcp_ndo_open(struct net_device *ndev) in netcp_ndo_open()
1644 static int netcp_ndo_stop(struct net_device *ndev) in netcp_ndo_stop()
1686 static int netcp_ndo_ioctl(struct net_device *ndev, in netcp_ndo_ioctl()
1717 static int netcp_ndo_change_mtu(struct net_device *ndev, int new_mtu) in netcp_ndo_change_mtu()
1732 static void netcp_ndo_tx_timeout(struct net_device *ndev) in netcp_ndo_tx_timeout()
1743 static int netcp_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in netcp_rx_add_vid()
1768 static int netcp_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) in netcp_rx_kill_vid()
[all …]
Dnetcp_ethss.c685 struct net_device *ndev; member
1489 static void keystone_get_drvinfo(struct net_device *ndev, in keystone_get_drvinfo()
1496 static u32 keystone_get_msglevel(struct net_device *ndev) in keystone_get_msglevel()
1503 static void keystone_set_msglevel(struct net_device *ndev, u32 value) in keystone_set_msglevel()
1510 static void keystone_get_stat_strings(struct net_device *ndev, in keystone_get_stat_strings()
1536 static int keystone_get_sset_count(struct net_device *ndev, int stringset) in keystone_get_sset_count()
1625 static void keystone_get_ethtool_stats(struct net_device *ndev, in keystone_get_ethtool_stats()
1646 static int keystone_get_settings(struct net_device *ndev, in keystone_get_settings()
1671 static int keystone_set_settings(struct net_device *ndev, in keystone_set_settings()
1729 struct net_device *ndev = gbe_intf->ndev; in gbe_set_slave_mac() local
[all …]
Dnetcp.h74 struct net_device *ndev; member
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c865 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_add_key()
937 cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_get_key()
946 static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_del_key()
964 struct net_device *ndev, u8 key_index, in cfg80211_rtw_set_default_key()
1056 struct net_device *ndev, in cfg80211_rtw_get_station()
1204 struct net_device *ndev, in cfg80211_rtw_change_iface()
1443 static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_join_ibss()
1450 static int cfg80211_rtw_leave_ibss(struct wiphy *wiphy, struct net_device *ndev) in cfg80211_rtw_leave_ibss()
1949 static int cfg80211_rtw_connect(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_connect()
2167 static int cfg80211_rtw_disconnect(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_disconnect()
[all …]
Dos_intfs.c843 void rtw_ndev_destructor(struct net_device *ndev) in rtw_ndev_destructor()
/linux-4.1.27/drivers/misc/mei/
Dnfc.c137 static void mei_nfc_free(struct mei_nfc_dev *ndev) in mei_nfc_free()
157 static int mei_nfc_build_bus_name(struct mei_nfc_dev *ndev) in mei_nfc_build_bus_name()
202 static int mei_nfc_connect(struct mei_nfc_dev *ndev) in mei_nfc_connect()
269 static int mei_nfc_if_version(struct mei_nfc_dev *ndev) in mei_nfc_if_version()
323 struct mei_nfc_dev *ndev; in mei_nfc_enable() local
346 struct mei_nfc_dev *ndev; in mei_nfc_send() local
385 struct mei_nfc_dev *ndev; in mei_nfc_recv() local
418 struct mei_nfc_dev *ndev; in mei_nfc_init() local
484 struct mei_nfc_dev *ndev; in mei_nfc_host_init() local
566 struct mei_nfc_dev *ndev; in mei_nfc_host_exit() local
/linux-4.1.27/drivers/net/ethernet/allwinner/
Dsun4i-emac.c73 struct net_device *ndev; member
260 static unsigned int emac_setup(struct net_device *ndev) in emac_setup()
303 static void emac_set_rx_mode(struct net_device *ndev) in emac_set_rx_mode()
323 static unsigned int emac_powerup(struct net_device *ndev) in emac_powerup()
773 static int emac_stop(struct net_device *ndev) in emac_stop()
815 struct net_device *ndev; in emac_probe() local
914 struct net_device *ndev = platform_get_drvdata(pdev); in emac_remove() local
925 struct net_device *ndev = platform_get_drvdata(dev); in emac_suspend() local
936 struct net_device *ndev = platform_get_drvdata(dev); in emac_resume() local
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c124 static void print_eth_id(struct net_device *ndev) in print_eth_id()
254 struct net_device *ndev = dev; in bdx_isr_napi() local
365 static void bdx_restore_mac(struct net_device *ndev, struct bdx_priv *priv) in bdx_restore_mac()
394 struct net_device *ndev = priv->ndev; in bdx_hw_start() local
574 static int bdx_close(struct net_device *ndev) in bdx_close()
602 static int bdx_open(struct net_device *ndev) in bdx_open()
641 static int bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd) in bdx_ioctl_priv()
690 static int bdx_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in bdx_ioctl()
707 static void __bdx_vlan_rx_vid(struct net_device *ndev, uint16_t vid, int enable) in __bdx_vlan_rx_vid()
736 static int bdx_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in bdx_vlan_rx_add_vid()
[all …]
Dtehuti.h244 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/nxp/
Dlpc_eth.c420 struct net_device *ndev; member
751 static void lpc_handle_link_change(struct net_device *ndev) in lpc_handle_link_change()
786 static int lpc_mii_probe(struct net_device *ndev) in lpc_mii_probe()
884 static void __lpc_handle_xmit(struct net_device *ndev) in __lpc_handle_xmit()
940 static int __lpc_handle_recv(struct net_device *ndev, int budget) in __lpc_handle_recv()
1016 struct net_device *ndev = pldat->ndev; in lpc_eth_poll() local
1035 struct net_device *ndev = dev_id; in __lpc_eth_interrupt() local
1054 static int lpc_eth_close(struct net_device *ndev) in lpc_eth_close()
1080 static int lpc_eth_hard_start_xmit(struct sk_buff *skb, struct net_device *ndev) in lpc_eth_hard_start_xmit()
1133 static int lpc_set_mac_address(struct net_device *ndev, void *p) in lpc_set_mac_address()
[all …]
/linux-4.1.27/drivers/isdn/i4l/
Disdn_concap.c44 struct net_device *ndev = concap->net_dev; in isdn_concap_dl_data_req() local
63 struct net_device *ndev = concap->net_dev; in isdn_concap_dl_connect_req() local
Disdn_net.c1051 isdn_net_xmit(struct net_device *ndev, struct sk_buff *skb) in isdn_net_xmit()
1132 static void isdn_net_tx_timeout(struct net_device *ndev) in isdn_net_tx_timeout()
1166 isdn_net_start_xmit(struct sk_buff *skb, struct net_device *ndev) in isdn_net_start_xmit()
1785 isdn_net_receive(struct net_device *ndev, struct sk_buff *skb) in isdn_net_receive()
1984 isdn_net_init(struct net_device *ndev) in isdn_net_init()
Disdn_x25iface.c163 struct net_device *ndev, in isdn_x25iface_proto_restart()
Disdn_ppp.c2109 isdn_net_dev *ndev; in isdn_ppp_dial_slave() local
2140 isdn_net_dev *ndev; in isdn_ppp_hangup_slave() local
/linux-4.1.27/drivers/net/ethernet/qlogic/
Dqla3xxx.c513 static void ql_set_mac_addr(struct net_device *ndev, u16 *addr) in ql_set_mac_addr()
1710 static int ql_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) in ql_get_settings()
1730 static void ql_get_drvinfo(struct net_device *ndev, in ql_get_drvinfo()
1743 static u32 ql_get_msglevel(struct net_device *ndev) in ql_get_msglevel()
1749 static void ql_set_msglevel(struct net_device *ndev, u32 value) in ql_set_msglevel()
1755 static void ql_get_pauseparam(struct net_device *ndev, in ql_get_pauseparam()
2044 struct net_device *ndev = qdev->ndev; in ql_process_macip_rx_intr() local
2114 struct net_device *ndev = qdev->ndev; in ql_tx_rx_clean() local
2207 struct net_device *ndev = dev_id; in ql3xxx_isr() local
2462 struct net_device *ndev) in ql3xxx_send()
[all …]
/linux-4.1.27/drivers/net/ethernet/i825xx/
Dlasi_82596.c101 #define DMA_WBACK(ndev, addr, len) \ argument
104 #define DMA_INV(ndev, addr, len) \ argument
107 #define DMA_WBACK_INV(ndev, addr, len) \ argument
/linux-4.1.27/drivers/net/can/softing/
Dsofting_main.c390 static int softing_netdev_open(struct net_device *ndev) in softing_netdev_open()
401 static int softing_netdev_stop(struct net_device *ndev) in softing_netdev_stop()
412 static int softing_candev_set_mode(struct net_device *ndev, enum can_mode mode) in softing_candev_set_mode()
563 struct net_device *ndev = to_net_dev(dev); in show_chip() local
572 struct net_device *ndev = to_net_dev(dev); in show_output() local
581 struct net_device *ndev = to_net_dev(dev); in store_output() local
/linux-4.1.27/drivers/nfc/
Dnfcwilink.c94 struct nci_dev *ndev; member
382 static int nfcwilink_open(struct nci_dev *ndev) in nfcwilink_open()
444 static int nfcwilink_close(struct nci_dev *ndev) in nfcwilink_close()
461 static int nfcwilink_send(struct nci_dev *ndev, struct sk_buff *skb) in nfcwilink_send()
551 struct nci_dev *ndev; in nfcwilink_remove() local
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h27 static inline unsigned int cxgb3i_get_private_ipv4addr(struct net_device *ndev) in cxgb3i_get_private_ipv4addr()
32 static inline void cxgb3i_set_private_ipv4addr(struct net_device *ndev, in cxgb3i_set_private_ipv4addr()
Dcxgb3i.c958 struct net_device *ndev = cdev->ports[csk->port_id]; in init_act_open() local
/linux-4.1.27/drivers/net/ethernet/microchip/
Denc28j60.c488 static int enc28j60_set_hw_macaddr(struct net_device *ndev) in enc28j60_set_hw_macaddr()
778 enc28j60_setlink(struct net_device *ndev, u8 autoneg, u16 speed, u8 duplex) in enc28j60_setlink()
899 static void enc28j60_hw_rx(struct net_device *ndev) in enc28j60_hw_rx()
1041 static void enc28j60_check_link_status(struct net_device *ndev) in enc28j60_check_link_status()
1066 static void enc28j60_tx_clear(struct net_device *ndev, bool err) in enc28j60_tx_clear()
1093 static int enc28j60_rx_interrupt(struct net_device *ndev) in enc28j60_rx_interrupt()
1119 struct net_device *ndev = priv->netdev; in enc28j60_irq_work_handler() local
1327 static void enc28j60_tx_timeout(struct net_device *ndev) in enc28j60_tx_timeout()
1455 struct net_device *ndev = priv->netdev; in enc28j60_restart_work_handler() local
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmc91x.c2069 struct net_device *ndev = platform_get_drvdata(pdev); in smc_enable_device() local
2131 struct net_device *ndev) in smc_request_attrib()
2146 struct net_device *ndev) in smc_release_attrib()
2155 static inline void smc_request_datacs(struct platform_device *pdev, struct net_device *ndev) in smc_request_datacs()
2174 static void smc_release_datacs(struct platform_device *pdev, struct net_device *ndev) in smc_release_datacs()
2240 struct net_device *ndev; in smc_drv_probe() local
2400 struct net_device *ndev = platform_get_drvdata(pdev); in smc_drv_remove() local
2430 struct net_device *ndev = platform_get_drvdata(pdev); in smc_drv_suspend() local
2445 struct net_device *ndev = platform_get_drvdata(pdev); in smc_drv_resume() local
Dsmsc911x.c381 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_enable_resources() local
405 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_disable_resources() local
427 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_request_resources() local
456 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_free_resources() local
2605 struct net_device *ndev = dev_get_drvdata(dev); in smsc911x_suspend() local
2619 struct net_device *ndev = dev_get_drvdata(dev); in smsc911x_resume() local
Dsmc911x.c2028 struct net_device *ndev; in smc911x_drv_probe() local
2103 struct net_device *ndev = platform_get_drvdata(pdev); in smc911x_drv_remove() local
2133 struct net_device *ndev = platform_get_drvdata(dev); in smc911x_drv_suspend() local
2152 struct net_device *ndev = platform_get_drvdata(dev); in smc911x_drv_resume() local
/linux-4.1.27/include/net/nfc/
Dnci_core.h168 struct nci_dev *ndev; member
293 static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, in nci_skb_alloc()
306 static inline void nci_set_parent_dev(struct nci_dev *ndev, struct device *dev) in nci_set_parent_dev()
311 static inline void nci_set_drvdata(struct nci_dev *ndev, void *data) in nci_set_drvdata()
316 static inline void *nci_get_drvdata(struct nci_dev *ndev) in nci_get_drvdata()
350 struct nci_dev *ndev; member
Ddigital.h257 static inline void nfc_digital_set_parent_dev(struct nfc_digital_dev *ndev, in nfc_digital_set_parent_dev()
Dhci.h112 struct nfc_dev *ndev; member
/linux-4.1.27/drivers/usb/gadget/udc/
Dnet2280.h320 #define ep_dbg(ndev, fmt, args...) \ argument
323 #define ep_vdbg(ndev, fmt, args...) \ argument
326 #define ep_info(ndev, fmt, args...) \ argument
329 #define ep_warn(ndev, fmt, args...) \ argument
332 #define ep_err(ndev, fmt, args...) \ argument
/linux-4.1.27/drivers/net/ethernet/davicom/
Ddm9000.c138 struct net_device *ndev; member
762 struct net_device *ndev = db->ndev; in dm9000_show_carrier() local
782 struct net_device *ndev = db->ndev; in dm9000_poll_work() local
1362 dm9000_stop(struct net_device *ndev) in dm9000_stop()
1431 struct net_device *ndev; in dm9000_probe() local
1720 struct net_device *ndev = platform_get_drvdata(pdev); in dm9000_drv_suspend() local
1743 struct net_device *ndev = platform_get_drvdata(pdev); in dm9000_drv_resume() local
1771 struct net_device *ndev = platform_get_drvdata(pdev); in dm9000_drv_remove() local
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Dosdep_service.h152 #define NDEV_ARG(ndev) ndev->name argument
156 #define FUNC_NDEV_ARG(ndev) __func__, ndev->name argument
/linux-4.1.27/drivers/net/wan/
Dlapbether.c192 static void lapbeth_data_transmit(struct net_device *ndev, struct sk_buff *skb) in lapbeth_data_transmit()
322 struct net_device *ndev; in lapbeth_new_device() local
/linux-4.1.27/drivers/net/can/c_can/
Dc_can_platform.c423 struct net_device *ndev = platform_get_drvdata(pdev); in c_can_suspend() local
450 struct net_device *ndev = platform_get_drvdata(pdev); in c_can_resume() local
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_main.c103 struct net_device *ndev = bus->priv; in altera_tse_mdio_read() local
118 struct net_device *ndev = bus->priv; in altera_tse_mdio_write() local
1301 struct net_device *ndev; in altera_tse_probe() local
1558 struct net_device *ndev = platform_get_drvdata(pdev); in altera_tse_remove() local
/linux-4.1.27/net/nfc/hci/
Dhcp.c39 struct nfc_dev *ndev = hdev->ndev; in nfc_hci_hcp_message_tx() local
/linux-4.1.27/drivers/parport/
Dparport_cs.c75 int ndev; member
/linux-4.1.27/net/core/
Dnet-sysfs.c48 struct net_device *ndev = to_net_dev(dev); in netdev_show() local
119 struct net_device *ndev = to_net_dev(dev); in iflink_show() local
134 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() local
148 struct net_device *ndev = to_net_dev(dev); in address_show() local
162 struct net_device *ndev = to_net_dev(dev); in broadcast_show() local
1479 void netdev_unregister_kobject(struct net_device *ndev) in netdev_unregister_kobject()
1493 int netdev_register_kobject(struct net_device *ndev) in netdev_register_kobject()
Dnetpoll.c593 int __netpoll_setup(struct netpoll *np, struct net_device *ndev) in __netpoll_setup()
651 struct net_device *ndev = NULL; in netpoll_setup() local
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcmsysport.c470 struct net_device *ndev = priv->netdev; in bcm_sysport_rx_refill() local
527 struct net_device *ndev = priv->netdev; in bcm_sysport_desc_rx() local
643 struct net_device *ndev = priv->netdev; in bcm_sysport_tx_reclaim_one() local
667 struct net_device *ndev = priv->netdev; in __bcm_sysport_tx_reclaim() local
1789 struct net_device *ndev = priv->netdev; in bcm_sysport_suspend_to_wol() local
/linux-4.1.27/drivers/net/hamradio/
Dbpqether.c504 struct net_device *ndev; in bpq_new_device() local
537 static void bpq_free_device(struct net_device *ndev) in bpq_free_device()
/linux-4.1.27/drivers/net/ethernet/8390/
Dmac8390.c292 static bool __init mac8390_init(struct net_device *dev, struct nubus_dev *ndev, in mac8390_init()
397 struct nubus_dev *ndev = NULL; in mac8390_probe() local
505 struct nubus_dev *ndev, in mac8390_initdev()
Dax88796.c969 struct net_device *ndev = platform_get_drvdata(dev); in ax_suspend() local
982 struct net_device *ndev = platform_get_drvdata(pdev); in ax_resume() local
/linux-4.1.27/drivers/media/radio/
Dradio-sf16fmr2.c252 static int fmr2_isa_match(struct device *pdev, unsigned int ndev) in fmr2_isa_match()
295 static int fmr2_isa_remove(struct device *pdev, unsigned int ndev) in fmr2_isa_remove()
/linux-4.1.27/net/mac80211/
Dmain.c301 struct net_device *ndev = ifa->ifa_dev->dev; in ieee80211_ifa_changed() local
358 struct net_device *ndev = ifa->idev->dev; in ieee80211_ifa6_changed() local
Diface.c1670 struct net_device *ndev = NULL; in ieee80211_if_add() local
/linux-4.1.27/drivers/s390/net/
Dnetiucv.c1317 struct net_device *ndev = NULL; in netiucv_pm_freeze() local
1341 struct net_device *ndev = NULL; in netiucv_pm_restore_thaw() local
1519 struct net_device *ndev = priv->conn->netdev; in user_write() local
1567 struct net_device *ndev = priv->conn->netdev; in buffer_write() local
1838 static int netiucv_register_device(struct net_device *ndev) in netiucv_register_device()
2114 struct net_device *ndev; in remove_write() local
2183 struct net_device *ndev; in netiucv_exit() local
Dctcm_sysfs.c36 struct net_device *ndev; in ctcm_buffer_write() local
Dqeth_l2_main.c110 struct net_device *ndev; in qeth_l2_netdev_by_devno() local
/linux-4.1.27/drivers/base/
Disa.c114 int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev) in isa_register_driver()
/linux-4.1.27/drivers/ide/
Dide-cs.c65 int ndev; member
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1115 static int ath6kl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_add_key()
1240 static int ath6kl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_del_key()
1270 static int ath6kl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *ndev, in ath6kl_cfg80211_get_key()
1306 struct net_device *ndev, in ath6kl_cfg80211_set_default_key()
1547 struct net_device *ndev, in ath6kl_cfg80211_change_iface()
2030 struct net_device *ndev = vif->ndev; in ath6kl_wow_sta() local
3642 struct net_device *ndev; in ath6kl_interface_add() local
Dmain.c1155 static void ath6kl_set_multicast_list(struct net_device *ndev) in ath6kl_set_multicast_list()
Dcore.h602 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c923 struct net_device *ndev; in fs_enet_probe() local
1070 struct net_device *ndev = platform_get_drvdata(ofdev); in fs_enet_remove() local
Dfs_enet.h127 struct net_device *ndev; member
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c212 struct cxgbi_device *cxgbi_device_find_by_netdev(struct net_device *ndev, in cxgbi_device_find_by_netdev()
245 struct cxgbi_device *cxgbi_device_find_by_netdev_rcu(struct net_device *ndev, in cxgbi_device_find_by_netdev_rcu()
279 static struct cxgbi_device *cxgbi_device_find_by_mac(struct net_device *ndev, in cxgbi_device_find_by_mac()
597 struct net_device *ndev; in cxgbi_check_route() local
698 struct net_device *ndev; in cxgbi_check_route6() local
2114 struct net_device *ndev = cdev->ports[csk->port_id]; in cxgbi_conn_alloc_pdu() local
Dlibcxgbi.h507 struct net_device *ndev; member
/linux-4.1.27/drivers/scsi/
Daha1542.c958 static int aha1542_isa_match(struct device *pdev, unsigned int ndev) in aha1542_isa_match()
970 unsigned int ndev) in aha1542_isa_remove()
/linux-4.1.27/drivers/net/ethernet/3com/
D3c509.c284 static int el3_isa_match(struct device *pdev, unsigned int ndev) in el3_isa_match()
343 unsigned int ndev) in el3_isa_remove()
360 struct net_device *ndev = dev_get_drvdata(dev); in el3_isa_resume() local
D3c59x.c856 struct net_device *ndev = pci_get_drvdata(pdev); in vortex_suspend() local
870 struct net_device *ndev = pci_get_drvdata(pdev); in vortex_resume() local
/linux-4.1.27/drivers/net/caif/
Dcaif_hsi.c1136 static int cfhsi_open(struct net_device *ndev) in cfhsi_open()
1262 static int cfhsi_close(struct net_device *ndev) in cfhsi_close()
Dcaif_spi.c728 struct net_device *ndev; in cfspi_spi_probe() local
Dcaif_virtio.c106 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-ethtool.c1148 void vxge_initialize_ethtool_ops(struct net_device *ndev) in vxge_initialize_ethtool_ops()
Dvxge-main.h237 struct net_device *ndev; member
268 struct net_device *ndev; member
333 struct net_device *ndev; member
Dvxge-main.c3397 struct net_device *ndev; in vxge_device_register() local
Dvxge-config.h739 struct net_device *ndev; member
/linux-4.1.27/drivers/net/phy/
Dat803x.c91 struct net_device *ndev = phydev->attached_dev; in at803x_set_wol() local
/linux-4.1.27/drivers/net/ethernet/adi/
Dbfin_mac.h83 struct net_device *ndev; member
Dbfin_mac.c1624 struct net_device *ndev; in bfin_mac_probe() local
1749 struct net_device *ndev = platform_get_drvdata(pdev); in bfin_mac_remove() local
/linux-4.1.27/tools/usb/usbip/src/
Dusbip_network.h154 uint32_t ndev; member
/linux-4.1.27/fs/efs/
Defs.h48 __be32 ndev; member
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_file_ops.c1433 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; in get_a_ctxt() local
1502 int devmax, ndev, i; in find_shared_ctxt() local
1554 int ret = 0, devmax, npresent, nup, ndev; in find_hca() local
/linux-4.1.27/sound/isa/
Dcmi8328.c217 static int snd_cmi8328_probe(struct device *pdev, unsigned int ndev) in snd_cmi8328_probe()
/linux-4.1.27/net/mac802154/
Diface.c528 struct net_device *ndev = NULL; in ieee802154_if_add() local
/linux-4.1.27/drivers/net/ethernet/calxeda/
Dxgmac.c1718 struct net_device *ndev = NULL; in xgmac_probe() local
1843 struct net_device *ndev = platform_get_drvdata(pdev); in xgmac_remove() local
1880 struct net_device *ndev = platform_get_drvdata(to_platform_device(dev)); in xgmac_suspend() local
1906 struct net_device *ndev = platform_get_drvdata(to_platform_device(dev)); in xgmac_resume() local
/linux-4.1.27/drivers/tty/serial/8250/
Dserial_cs.c82 int ndev; member
/linux-4.1.27/include/net/caif/
Dcaif_spi.h101 struct net_device *ndev; member
Dcaif_hsi.h146 struct net_device *ndev; member
/linux-4.1.27/drivers/infiniband/core/
Dcma.c1884 static int iboe_tos_to_sl(struct net_device *ndev, int tos) in iboe_tos_to_sl()
1910 struct net_device *ndev = NULL; in cma_resolve_iboe_route() local
3304 struct net_device *ndev = NULL; in cma_iboe_join_multicast() local
3445 static int cma_netdev_change(struct net_device *ndev, struct rdma_id_private *id_priv) in cma_netdev_change()
3473 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in cma_netdev_callback() local
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1327 struct net_device *ndev = csk->cdev->ports[csk->port_id]; in release_offload_resources() local
1363 struct net_device *ndev = cdev->ports[csk->port_id]; in init_act_open() local
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_file_ops.c1674 int ndev; in find_best_unit() local
1779 int devmax, ndev, i; in find_shared_port() local
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmain.c350 struct net_device *ndev; in eth_link_query_port() local
833 struct net_device *ndev; in mlx4_ib_add_mc() local
1350 struct net_device *ndev; in mlx4_ib_mcg_detach() local
/linux-4.1.27/drivers/net/can/m_can/
Dm_can.c1248 struct net_device *ndev = dev_get_drvdata(dev); in m_can_suspend() local
1265 struct net_device *ndev = dev_get_drvdata(dev); in m_can_resume() local
/linux-4.1.27/drivers/video/fbdev/
Dmacfb.c559 struct nubus_dev* ndev = NULL; in macfb_init() local
/linux-4.1.27/drivers/net/wireless/orinoco/
Dorinoco.h86 struct net_device *ndev; member
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.c1571 struct net_device *ndev = platform_get_drvdata(of_dev); in greth_of_remove() local
/linux-4.1.27/net/nfc/
Dllcp_core.c1565 int nfc_llcp_register_device(struct nfc_dev *ndev) in nfc_llcp_register_device()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1451 void ipoib_set_umcast(struct net_device *ndev, int umcast_val) in ipoib_set_umcast()
/linux-4.1.27/drivers/block/
Dnvme-core.c3070 struct nvme_dev *ndev = pci_get_drvdata(pdev); in nvme_suspend() local
3079 struct nvme_dev *ndev = pci_get_drvdata(pdev); in nvme_resume() local
/linux-4.1.27/drivers/tty/
Dnozomi.c425 struct nozomi *ndev = get_dc_by_tty(tty); in get_port_by_tty() local
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2562 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in mlx4_en_netdev_event() local
/linux-4.1.27/include/pcmcia/
Dcistpl.h107 u_char ndev; member
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c2599 static void mvneta_adjust_link(struct net_device *ndev) in mvneta_adjust_link()
/linux-4.1.27/net/ipv6/
Daddrconf.c330 struct inet6_dev *ndev; in ipv6_add_dev() local

12