Home
last modified time | relevance | path

Searched defs:netdev (Results 1 – 200 of 365) sorted by relevance

12

/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dethtool.c74 static int igbvf_get_settings(struct net_device *netdev, in igbvf_get_settings()
111 static int igbvf_set_settings(struct net_device *netdev, in igbvf_set_settings()
117 static void igbvf_get_pauseparam(struct net_device *netdev, in igbvf_get_pauseparam()
122 static int igbvf_set_pauseparam(struct net_device *netdev, in igbvf_set_pauseparam()
128 static u32 igbvf_get_msglevel(struct net_device *netdev) in igbvf_get_msglevel()
135 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) in igbvf_set_msglevel()
142 static int igbvf_get_regs_len(struct net_device *netdev) in igbvf_get_regs_len()
148 static void igbvf_get_regs(struct net_device *netdev, in igbvf_get_regs()
172 static int igbvf_get_eeprom_len(struct net_device *netdev) in igbvf_get_eeprom_len()
177 static int igbvf_get_eeprom(struct net_device *netdev, in igbvf_get_eeprom()
[all …]
Dnetdev.c106 struct net_device *netdev, in igbvf_receive_skb()
159 struct net_device *netdev = adapter->netdev; in igbvf_alloc_rx_buffers() local
268 struct net_device *netdev = adapter->netdev; in igbvf_clean_rx_irq() local
794 struct net_device *netdev = adapter->netdev; in igbvf_clean_tx_irq() local
873 struct net_device *netdev = data; in igbvf_msix_other() local
891 struct net_device *netdev = data; in igbvf_intr_msix_tx() local
919 struct net_device *netdev = data; in igbvf_intr_msix_rx() local
1071 struct net_device *netdev = adapter->netdev; in igbvf_request_msix() local
1119 struct net_device *netdev = adapter->netdev; in igbvf_alloc_queues() local
1162 struct net_device *netdev = adapter->netdev; in igbvf_free_irq() local
[all …]
/linux-4.4.14/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c108 uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in uec_get_settings()
124 uec_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in uec_set_settings()
136 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam()
150 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam()
181 uec_get_msglevel(struct net_device *netdev) in uec_get_msglevel()
188 uec_set_msglevel(struct net_device *netdev, uint32_t data) in uec_set_msglevel()
195 uec_get_regs_len(struct net_device *netdev) in uec_get_regs_len()
201 uec_get_regs(struct net_device *netdev, in uec_get_regs()
214 uec_get_ringparam(struct net_device *netdev, in uec_get_ringparam()
233 uec_set_ringparam(struct net_device *netdev, in uec_set_ringparam()
[all …]
Dfec_main.c2394 static void fec_enet_get_strings(struct net_device *netdev, in fec_enet_get_strings()
2549 static int fec_enet_get_tunable(struct net_device *netdev, in fec_enet_get_tunable()
2568 static int fec_enet_set_tunable(struct net_device *netdev, in fec_enet_set_tunable()
3079 static inline void fec_enet_set_netdev_features(struct net_device *netdev, in fec_enet_set_netdev_features()
3096 static int fec_set_features(struct net_device *netdev, in fec_set_features()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c29 static int atl1c_get_settings(struct net_device *netdev, in atl1c_get_settings()
67 static int atl1c_set_settings(struct net_device *netdev, in atl1c_set_settings()
117 static u32 atl1c_get_msglevel(struct net_device *netdev) in atl1c_get_msglevel()
123 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) in atl1c_set_msglevel()
129 static int atl1c_get_regs_len(struct net_device *netdev) in atl1c_get_regs_len()
134 static void atl1c_get_regs(struct net_device *netdev, in atl1c_get_regs()
174 static int atl1c_get_eeprom_len(struct net_device *netdev) in atl1c_get_eeprom_len()
184 static int atl1c_get_eeprom(struct net_device *netdev, in atl1c_get_eeprom()
226 static void atl1c_get_drvinfo(struct net_device *netdev, in atl1c_get_drvinfo()
238 static void atl1c_get_wol(struct net_device *netdev, in atl1c_get_wol()
[all …]
Datl1c_main.c251 struct net_device *netdev = adapter->netdev; in atl1c_check_link_status() local
305 struct net_device *netdev = adapter->netdev; in atl1c_link_chg_event() local
335 struct net_device *netdev; in atl1c_common_task() local
369 static void atl1c_tx_timeout(struct net_device *netdev) in atl1c_tx_timeout()
387 static void atl1c_set_multi(struct net_device *netdev) in atl1c_set_multi()
431 static void atl1c_vlan_mode(struct net_device *netdev, in atl1c_vlan_mode()
464 static int atl1c_set_mac_addr(struct net_device *netdev, void *p) in atl1c_set_mac_addr()
497 static netdev_features_t atl1c_fix_features(struct net_device *netdev, in atl1c_fix_features()
515 static int atl1c_set_features(struct net_device *netdev, in atl1c_set_features()
533 static int atl1c_change_mtu(struct net_device *netdev, int new_mtu) in atl1c_change_mtu()
[all …]
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c50 spider_net_ethtool_get_settings(struct net_device *netdev, in spider_net_ethtool_get_settings()
68 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo()
85 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol()
94 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel()
102 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel()
111 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset()
121 spider_net_ethtool_get_ringparam(struct net_device *netdev, in spider_net_ethtool_get_ringparam()
132 static int spider_net_get_sset_count(struct net_device *netdev, int sset) in spider_net_get_sset_count()
142 static void spider_net_get_ethtool_stats(struct net_device *netdev, in spider_net_get_ethtool_stats()
162 static void spider_net_get_strings(struct net_device *netdev, u32 stringset, in spider_net_get_strings()
Dps3_gelic_net.c555 struct net_device *netdev; in gelic_card_release_tx_chain() local
606 void gelic_net_set_multi(struct net_device *netdev) in gelic_net_set_multi()
666 int gelic_net_stop(struct net_device *netdev) in gelic_net_stop()
850 int gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev) in gelic_net_xmit()
923 struct net_device *netdev) in gelic_net_pass_skb_up()
985 struct net_device *netdev = NULL; in gelic_card_decode_one_descr() local
1124 int gelic_net_change_mtu(struct net_device *netdev, int new_mtu) in gelic_net_change_mtu()
1186 void gelic_net_poll_controller(struct net_device *netdev) in gelic_net_poll_controller()
1205 int gelic_net_open(struct net_device *netdev) in gelic_net_open()
1220 void gelic_net_get_drvinfo(struct net_device *netdev, in gelic_net_get_drvinfo()
[all …]
Dspider_net.c129 spider_net_write_phy(struct net_device *netdev, int mii_id, in spider_net_write_phy()
153 spider_net_read_phy(struct net_device *netdev, int mii_id, int reg) in spider_net_read_phy()
247 struct net_device *netdev = card->netdev; in spider_net_set_promisc() local
569 spider_net_get_multicast_hash(struct net_device *netdev, __u8 *addr) in spider_net_get_multicast_hash()
600 spider_net_set_multi(struct net_device *netdev) in spider_net_set_multi()
887 spider_net_xmit(struct sk_buff *skb, struct net_device *netdev) in spider_net_xmit()
935 spider_net_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in spider_net_do_ioctl()
957 struct net_device *netdev = card->netdev; in spider_net_pass_skb_up() local
1290 spider_net_change_mtu(struct net_device *netdev, int new_mtu) in spider_net_change_mtu()
1310 spider_net_set_mac(struct net_device *netdev, void *p) in spider_net_set_mac()
[all …]
Dps3_gelic_wireless.c243 static u32 gelic_wl_get_link(struct net_device *netdev) in gelic_wl_get_link()
307 static int gelic_wl_get_range(struct net_device *netdev, in gelic_wl_get_range()
377 static int gelic_wl_set_scan(struct net_device *netdev, in gelic_wl_set_scan()
574 static char *gelic_wl_translate_scan(struct net_device *netdev, in gelic_wl_translate_scan()
706 static int gelic_wl_get_scan(struct net_device *netdev, in gelic_wl_get_scan()
781 static int gelic_wl_set_auth(struct net_device *netdev, in gelic_wl_set_auth()
906 static int gelic_wl_get_auth(struct net_device *netdev, in gelic_wl_get_auth()
959 static int gelic_wl_set_essid(struct net_device *netdev, in gelic_wl_set_essid()
990 static int gelic_wl_get_essid(struct net_device *netdev, in gelic_wl_get_essid()
1016 static int gelic_wl_set_encode(struct net_device *netdev, in gelic_wl_set_encode()
[all …]
Dps3_gelic_net.h276 struct net_device *netdev[GELIC_PORT_MAX]; member
322 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c187 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings()
202 static void xgbe_get_ethtool_stats(struct net_device *netdev, in xgbe_get_ethtool_stats()
216 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count()
232 static void xgbe_get_pauseparam(struct net_device *netdev, in xgbe_get_pauseparam()
242 static int xgbe_set_pauseparam(struct net_device *netdev, in xgbe_set_pauseparam()
275 static int xgbe_get_settings(struct net_device *netdev, in xgbe_get_settings()
296 static int xgbe_set_settings(struct net_device *netdev, in xgbe_set_settings()
364 static void xgbe_get_drvinfo(struct net_device *netdev, in xgbe_get_drvinfo()
380 static u32 xgbe_get_msglevel(struct net_device *netdev) in xgbe_get_msglevel()
387 static void xgbe_set_msglevel(struct net_device *netdev, u32 msglevel) in xgbe_set_msglevel()
[all …]
Dxgbe-dcb.c123 static int xgbe_dcb_ieee_getets(struct net_device *netdev, in xgbe_dcb_ieee_getets()
144 static int xgbe_dcb_ieee_setets(struct net_device *netdev, in xgbe_dcb_ieee_setets()
198 static int xgbe_dcb_ieee_getpfc(struct net_device *netdev, in xgbe_dcb_ieee_getpfc()
215 static int xgbe_dcb_ieee_setpfc(struct net_device *netdev, in xgbe_dcb_ieee_setpfc()
238 static u8 xgbe_dcb_getdcbx(struct net_device *netdev) in xgbe_dcb_getdcbx()
243 static u8 xgbe_dcb_setdcbx(struct net_device *netdev, u8 dcbx) in xgbe_dcb_setdcbx()
Dxgbe-drv.c256 static int xgbe_calc_rx_buf_size(struct net_device *netdev, unsigned int mtu) in xgbe_calc_rx_buf_size()
648 struct net_device *netdev = pdata->netdev; in xgbe_request_irqs() local
794 int xgbe_powerdown(struct net_device *netdev, unsigned int caller) in xgbe_powerdown()
833 int xgbe_powerup(struct net_device *netdev, unsigned int caller) in xgbe_powerup()
875 struct net_device *netdev = pdata->netdev; in xgbe_start() local
920 struct net_device *netdev = pdata->netdev; in xgbe_stop() local
1292 static int xgbe_open(struct net_device *netdev) in xgbe_open()
1364 static int xgbe_close(struct net_device *netdev) in xgbe_close()
1391 static int xgbe_xmit(struct sk_buff *skb, struct net_device *netdev) in xgbe_xmit()
1461 static void xgbe_set_rx_mode(struct net_device *netdev) in xgbe_set_rx_mode()
[all …]
Dxgbe-main.c339 struct net_device *netdev; in xgbe_probe() local
808 struct net_device *netdev = platform_get_drvdata(pdev); in xgbe_remove() local
835 struct net_device *netdev = dev_get_drvdata(dev); in xgbe_suspend() local
855 struct net_device *netdev = dev_get_drvdata(dev); in xgbe_resume() local
Dxgbe-dev.c769 struct net_device *netdev = pdata->netdev; in xgbe_set_mac_addn_addrs() local
802 struct net_device *netdev = pdata->netdev; in xgbe_set_mac_hash_table() local
861 struct net_device *netdev = pdata->netdev; in xgbe_config_rx_mode() local
1622 struct net_device *netdev = pdata->netdev; in xgbe_dev_read() local
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c29 static int atl1e_get_settings(struct net_device *netdev, in atl1e_get_settings()
68 static int atl1e_set_settings(struct net_device *netdev, in atl1e_set_settings()
135 static u32 atl1e_get_msglevel(struct net_device *netdev) in atl1e_get_msglevel()
144 static int atl1e_get_regs_len(struct net_device *netdev) in atl1e_get_regs_len()
149 static void atl1e_get_regs(struct net_device *netdev, in atl1e_get_regs()
198 static int atl1e_get_eeprom_len(struct net_device *netdev) in atl1e_get_eeprom_len()
208 static int atl1e_get_eeprom(struct net_device *netdev, in atl1e_get_eeprom()
248 static int atl1e_set_eeprom(struct net_device *netdev, in atl1e_set_eeprom()
308 static void atl1e_get_drvinfo(struct net_device *netdev, in atl1e_get_drvinfo()
321 static void atl1e_get_wol(struct net_device *netdev, in atl1e_get_wol()
[all …]
Datl1e_main.c166 struct net_device *netdev = adapter->netdev; in atl1e_check_link() local
230 struct net_device *netdev = adapter->netdev; in atl1e_link_chg_event() local
266 static void atl1e_tx_timeout(struct net_device *netdev) in atl1e_tx_timeout()
283 static void atl1e_set_multi(struct net_device *netdev) in atl1e_set_multi()
328 static void atl1e_rx_mode(struct net_device *netdev, in atl1e_rx_mode()
355 static void atl1e_vlan_mode(struct net_device *netdev, in atl1e_vlan_mode()
383 static int atl1e_set_mac_addr(struct net_device *netdev, void *p) in atl1e_set_mac_addr()
402 static netdev_features_t atl1e_fix_features(struct net_device *netdev, in atl1e_fix_features()
417 static int atl1e_set_features(struct net_device *netdev, in atl1e_set_features()
439 static int atl1e_change_mtu(struct net_device *netdev, int new_mtu) in atl1e_change_mtu()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_ethtool.c97 ixgb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_get_settings()
118 void ixgb_set_speed_duplex(struct net_device *netdev) in ixgb_set_speed_duplex()
129 ixgb_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in ixgb_set_settings()
150 ixgb_get_pauseparam(struct net_device *netdev, in ixgb_get_pauseparam()
169 ixgb_set_pauseparam(struct net_device *netdev, in ixgb_set_pauseparam()
198 ixgb_get_msglevel(struct net_device *netdev) in ixgb_get_msglevel()
205 ixgb_set_msglevel(struct net_device *netdev, u32 data) in ixgb_set_msglevel()
213 ixgb_get_regs_len(struct net_device *netdev) in ixgb_get_regs_len()
220 ixgb_get_regs(struct net_device *netdev, in ixgb_get_regs()
360 ixgb_get_eeprom_len(struct net_device *netdev) in ixgb_get_eeprom_len()
[all …]
Dixgb_main.c209 struct net_device *netdev = adapter->netdev; in ixgb_up() local
283 struct net_device *netdev = adapter->netdev; in ixgb_down() local
332 ixgb_fix_features(struct net_device *netdev, netdev_features_t features) in ixgb_fix_features()
345 ixgb_set_features(struct net_device *netdev, netdev_features_t features) in ixgb_set_features()
400 struct net_device *netdev = NULL; in ixgb_probe() local
560 struct net_device *netdev = pci_get_drvdata(pdev); in ixgb_remove() local
587 struct net_device *netdev = adapter->netdev; in ixgb_sw_init() local
631 ixgb_open(struct net_device *netdev) in ixgb_open()
680 ixgb_close(struct net_device *netdev) in ixgb_close()
1063 ixgb_set_mac(struct net_device *netdev, void *p) in ixgb_set_mac()
[all …]
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_ethtool.c117 vmxnet3_get_stats64(struct net_device *netdev, in vmxnet3_get_stats64()
168 vmxnet3_get_sset_count(struct net_device *netdev, int sset) in vmxnet3_get_sset_count()
193 vmxnet3_get_regs_len(struct net_device *netdev) in vmxnet3_get_regs_len()
206 vmxnet3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in vmxnet3_get_drvinfo()
221 vmxnet3_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in vmxnet3_get_strings()
262 int vmxnet3_set_features(struct net_device *netdev, netdev_features_t features) in vmxnet3_set_features()
301 vmxnet3_get_ethtool_stats(struct net_device *netdev, in vmxnet3_get_ethtool_stats()
354 vmxnet3_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) in vmxnet3_get_regs()
450 vmxnet3_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in vmxnet3_get_wol()
460 vmxnet3_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) in vmxnet3_set_wol()
[all …]
Dvmxnet3_drv.c956 struct vmxnet3_adapter *adapter, struct net_device *netdev) in vmxnet3_tq_xmit()
1119 vmxnet3_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in vmxnet3_xmit_frame()
1904 vmxnet3_netpoll(struct net_device *netdev) in vmxnet3_netpoll()
2107 vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_add_vid()
2129 vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_kill_vid()
2151 vmxnet3_copy_mc(struct net_device *netdev) in vmxnet3_copy_mc()
2174 vmxnet3_set_mc(struct net_device *netdev) in vmxnet3_set_mc()
2525 vmxnet3_set_mac_addr(struct net_device *netdev, void *p) in vmxnet3_set_mac_addr()
2724 vmxnet3_open(struct net_device *netdev) in vmxnet3_open()
2755 vmxnet3_close(struct net_device *netdev) in vmxnet3_close()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c74 static int i40evf_get_settings(struct net_device *netdev, in i40evf_get_settings()
96 static int i40evf_get_sset_count(struct net_device *netdev, int sset) in i40evf_get_sset_count()
112 static void i40evf_get_ethtool_stats(struct net_device *netdev, in i40evf_get_ethtool_stats()
141 static void i40evf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in i40evf_get_strings()
174 static u32 i40evf_get_msglevel(struct net_device *netdev) in i40evf_get_msglevel()
189 static void i40evf_set_msglevel(struct net_device *netdev, u32 data) in i40evf_set_msglevel()
205 static void i40evf_get_drvinfo(struct net_device *netdev, in i40evf_get_drvinfo()
224 static void i40evf_get_ringparam(struct net_device *netdev, in i40evf_get_ringparam()
243 static int i40evf_set_ringparam(struct net_device *netdev, in i40evf_set_ringparam()
287 static int i40evf_get_coalesce(struct net_device *netdev, in i40evf_get_coalesce()
[all …]
Di40evf_main.c169 static void i40evf_tx_timeout(struct net_device *netdev) in i40evf_tx_timeout()
305 struct net_device *netdev = data; in i40evf_msix_aq() local
457 static void i40evf_netpoll(struct net_device *netdev) in i40evf_netpoll()
550 struct net_device *netdev = adapter->netdev; in i40evf_request_misc_irq() local
597 struct net_device *netdev = adapter->netdev; in i40evf_free_misc_irq() local
626 struct net_device *netdev = adapter->netdev; in i40evf_configure_rx() local
753 static int i40evf_vlan_rx_add_vid(struct net_device *netdev, in i40evf_vlan_rx_add_vid()
770 static int i40evf_vlan_rx_kill_vid(struct net_device *netdev, in i40evf_vlan_rx_kill_vid()
856 static int i40evf_set_mac(struct net_device *netdev, void *p) in i40evf_set_mac()
891 static void i40evf_set_rx_mode(struct net_device *netdev) in i40evf_set_rx_mode()
[all …]
Di40evf_virtchnl.c692 struct net_device *netdev = adapter->netdev; in i40evf_virtchnl_completion() local
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c83 static int pch_gbe_get_settings(struct net_device *netdev, in pch_gbe_get_settings()
106 static int pch_gbe_set_settings(struct net_device *netdev, in pch_gbe_set_settings()
148 static int pch_gbe_get_regs_len(struct net_device *netdev) in pch_gbe_get_regs_len()
158 static void pch_gbe_get_drvinfo(struct net_device *netdev, in pch_gbe_get_drvinfo()
175 static void pch_gbe_get_regs(struct net_device *netdev, in pch_gbe_get_regs()
199 static void pch_gbe_get_wol(struct net_device *netdev, in pch_gbe_get_wol()
225 static int pch_gbe_set_wol(struct net_device *netdev, in pch_gbe_set_wol()
253 static int pch_gbe_nway_reset(struct net_device *netdev) in pch_gbe_nway_reset()
265 static void pch_gbe_get_ringparam(struct net_device *netdev, in pch_gbe_get_ringparam()
286 static int pch_gbe_set_ringparam(struct net_device *netdev, in pch_gbe_set_ringparam()
[all …]
Dpch_gbe_main.c227 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl()
662 struct net_device *netdev = adapter->netdev; in pch_gbe_init_phy() local
710 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg) in pch_gbe_mdio_read()
726 static void pch_gbe_mdio_write(struct net_device *netdev, in pch_gbe_mdio_write()
765 struct net_device *netdev = adapter->netdev; in pch_gbe_reset() local
782 struct net_device *netdev = adapter->netdev; in pch_gbe_free_irq() local
1066 struct net_device *netdev = adapter->netdev; in pch_gbe_set_mode() local
1098 struct net_device *netdev = adapter->netdev; in pch_gbe_watchdog() local
1263 struct net_device *netdev = adapter->netdev; in pch_gbe_update_stats() local
1335 struct net_device *netdev = data; in pch_gbe_intr() local
[all …]
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c221 static void be_get_drvinfo(struct net_device *netdev, in be_get_drvinfo()
296 static int be_get_reg_len(struct net_device *netdev) in be_get_reg_len()
315 be_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *buf) in be_get_regs()
329 static int be_get_coalesce(struct net_device *netdev, in be_get_coalesce()
352 static int be_set_coalesce(struct net_device *netdev, in be_set_coalesce()
380 static void be_get_ethtool_stats(struct net_device *netdev, in be_get_ethtool_stats()
432 static void be_get_stat_strings(struct net_device *netdev, uint32_t stringset, in be_get_stat_strings()
468 static int be_get_sset_count(struct net_device *netdev, int stringset) in be_get_sset_count()
607 static int be_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in be_get_settings()
686 static void be_get_ringparam(struct net_device *netdev, in be_get_ringparam()
[all …]
Dbe_main.c258 static int be_mac_addr_set(struct net_device *netdev, void *p) in be_mac_addr_set()
596 static struct rtnl_link_stats64 *be_get_stats64(struct net_device *netdev, in be_get_stats64()
666 struct net_device *netdev = adapter->netdev; in be_link_status_update() local
1293 static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev) in be_xmit()
1344 static int be_change_mtu(struct net_device *netdev, int new_mtu) in be_change_mtu()
1434 static int be_vlan_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in be_vlan_add_vid()
1458 static int be_vlan_rem_vid(struct net_device *netdev, __be16 proto, u16 vid) in be_vlan_rem_vid()
1538 static void be_set_rx_mode(struct net_device *netdev) in be_set_rx_mode()
1567 static int be_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in be_set_vf_mac()
1607 static int be_get_vf_config(struct net_device *netdev, int vf, in be_get_vf_config()
[all …]
Dbe_roce.c142 struct net_device *netdev; in be_roce_register_driver() local
Dbe_roce.h43 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c258 bnad_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) in bnad_get_settings()
283 bnad_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) in bnad_set_settings()
297 bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bnad_get_drvinfo()
322 bnad_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wolinfo) in bnad_get_wol()
329 bnad_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_get_coalesce()
350 bnad_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce) in bnad_set_coalesce()
421 bnad_get_ringparam(struct net_device *netdev, in bnad_get_ringparam()
434 bnad_set_ringparam(struct net_device *netdev, in bnad_set_ringparam()
511 bnad_get_pauseparam(struct net_device *netdev, in bnad_get_pauseparam()
522 bnad_set_pauseparam(struct net_device *netdev, in bnad_set_pauseparam()
[all …]
Dbnad.c232 struct net_device *netdev = bnad->netdev; in bnad_tx_complete() local
889 struct net_device *netdev = bnad->netdev; in bnad_set_netdev_perm_addr() local
1862 bnad_netdev_mc_list_get(struct net_device *netdev, u8 *mc_list) in bnad_netdev_mc_list_get()
2120 struct net_device *netdev = bnad->netdev; in bnad_reinit_rx() local
2735 bnad_open(struct net_device *netdev) in bnad_open()
2792 bnad_stop(struct net_device *netdev) in bnad_stop()
2936 bnad_start_xmit(struct sk_buff *skb, struct net_device *netdev) in bnad_start_xmit()
3123 bnad_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in bnad_get_stats64()
3141 struct net_device *netdev = bnad->netdev; in bnad_set_rx_ucast_fltr() local
3183 struct net_device *netdev = bnad->netdev; in bnad_set_rx_mcast_fltr() local
[all …]
/linux-4.4.14/net/openvswitch/
Dvport-internal_dev.c41 static struct internal_dev *internal_dev_priv(struct net_device *netdev) in internal_dev_priv()
47 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) in internal_dev_xmit()
69 static int internal_dev_open(struct net_device *netdev) in internal_dev_open()
75 static int internal_dev_stop(struct net_device *netdev) in internal_dev_stop()
81 static void internal_dev_getinfo(struct net_device *netdev, in internal_dev_getinfo()
92 static int internal_dev_change_mtu(struct net_device *netdev, int new_mtu) in internal_dev_change_mtu()
154 static void do_setup(struct net_device *netdev) in do_setup()
247 struct net_device *netdev = skb->dev; in internal_dev_recv() local
281 int ovs_is_internal_dev(const struct net_device *netdev) in ovs_is_internal_dev()
286 struct vport *ovs_internal_dev_get_vport(struct net_device *netdev) in ovs_internal_dev_get_vport()
/linux-4.4.14/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c67 pasemi_mac_ethtool_get_settings(struct net_device *netdev, in pasemi_mac_ethtool_get_settings()
80 pasemi_mac_ethtool_set_settings(struct net_device *netdev, in pasemi_mac_ethtool_set_settings()
93 pasemi_mac_ethtool_get_msglevel(struct net_device *netdev) in pasemi_mac_ethtool_get_msglevel()
100 pasemi_mac_ethtool_set_msglevel(struct net_device *netdev, in pasemi_mac_ethtool_set_msglevel()
109 pasemi_mac_ethtool_get_ringparam(struct net_device *netdev, in pasemi_mac_ethtool_get_ringparam()
120 static int pasemi_mac_get_sset_count(struct net_device *netdev, int sset) in pasemi_mac_get_sset_count()
130 static void pasemi_mac_get_ethtool_stats(struct net_device *netdev, in pasemi_mac_get_ethtool_stats()
142 static void pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, in pasemi_mac_get_strings()
/linux-4.4.14/drivers/net/ethernet/atheros/alx/
Dethtool.c128 static int alx_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in alx_get_settings()
171 static int alx_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in alx_set_settings()
195 static void alx_get_pauseparam(struct net_device *netdev, in alx_get_pauseparam()
208 static int alx_set_pauseparam(struct net_device *netdev, in alx_set_pauseparam()
250 static u32 alx_get_msglevel(struct net_device *netdev) in alx_get_msglevel()
257 static void alx_set_msglevel(struct net_device *netdev, u32 data) in alx_set_msglevel()
264 static void alx_get_ethtool_stats(struct net_device *netdev, in alx_get_ethtool_stats()
280 static void alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) in alx_get_strings()
292 static int alx_get_sset_count(struct net_device *netdev, int sset) in alx_get_sset_count()
Dmain.c462 static void __alx_set_rx_mode(struct net_device *netdev) in __alx_set_rx_mode()
486 static void alx_set_rx_mode(struct net_device *netdev) in alx_set_rx_mode()
491 static int alx_set_mac_address(struct net_device *netdev, void *data) in alx_set_mac_address()
738 static netdev_features_t alx_fix_features(struct net_device *netdev, in alx_fix_features()
806 static int alx_change_mtu(struct net_device *netdev, int mtu) in alx_change_mtu()
954 static int alx_open(struct net_device *netdev) in alx_open()
959 static int alx_stop(struct net_device *netdev) in alx_stop()
1069 struct net_device *netdev) in alx_start_xmit()
1113 static int alx_mdio_read(struct net_device *netdev, in alx_mdio_read()
1134 static int alx_mdio_write(struct net_device *netdev, in alx_mdio_write()
[all …]
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_nic.c135 static int nes_netdev_open(struct net_device *netdev) in nes_netdev_open()
276 static int nes_netdev_stop(struct net_device *netdev) in nes_netdev_stop()
359 static int nes_nic_send(struct sk_buff *skb, struct net_device *netdev) in nes_nic_send()
465 static int nes_netdev_start_xmit(struct sk_buff *skb, struct net_device *netdev) in nes_netdev_start_xmit()
701 static struct net_device_stats *nes_netdev_get_stats(struct net_device *netdev) in nes_netdev_get_stats()
792 static void nes_netdev_tx_timeout(struct net_device *netdev) in nes_netdev_tx_timeout()
804 static int nes_netdev_set_mac_address(struct net_device *netdev, void *p) in nes_netdev_set_mac_address()
859 static void nes_netdev_set_multicast_list(struct net_device *netdev) in nes_netdev_set_multicast_list()
987 static int nes_netdev_change_mtu(struct net_device *netdev, int new_mtu) in nes_netdev_change_mtu()
1100 static int nes_netdev_get_sset_count(struct net_device *netdev, int stringset) in nes_netdev_get_sset_count()
[all …]
Dnes.c147 struct net_device *netdev; in nes_inetaddr_event() local
228 struct net_device *netdev; in nes_net_event() local
378 static void nes_print_macaddr(struct net_device *netdev) in nes_print_macaddr()
461 struct net_device *netdev = NULL; in nes_probe() local
782 struct net_device *netdev; in nes_remove() local
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ethtool.c137 static int igb_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in igb_get_settings()
258 static int igb_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in igb_set_settings()
351 static u32 igb_get_link(struct net_device *netdev) in igb_get_link()
368 static void igb_get_pauseparam(struct net_device *netdev, in igb_get_pauseparam()
387 static int igb_set_pauseparam(struct net_device *netdev, in igb_set_pauseparam()
431 static u32 igb_get_msglevel(struct net_device *netdev) in igb_get_msglevel()
437 static void igb_set_msglevel(struct net_device *netdev, u32 data) in igb_set_msglevel()
443 static int igb_get_regs_len(struct net_device *netdev) in igb_get_regs_len()
449 static void igb_get_regs(struct net_device *netdev, in igb_get_regs()
709 static int igb_get_eeprom_len(struct net_device *netdev) in igb_get_eeprom_len()
[all …]
Digb_main.c366 struct net_device *netdev = adapter->netdev; in igb_dump() local
759 struct net_device *netdev = igb->netdev; in igb_rd32() local
948 struct net_device *netdev = adapter->netdev; in igb_request_msix() local
1411 struct net_device *netdev = adapter->netdev; in igb_request_irq() local
1601 struct net_device *netdev = adapter->netdev; in igb_configure() local
1772 struct net_device *netdev = adapter->netdev; in igb_down() local
2032 static netdev_features_t igb_fix_features(struct net_device *netdev, in igb_fix_features()
2046 static int igb_set_features(struct net_device *netdev, in igb_set_features()
2233 struct net_device *netdev; in igb_probe() local
2674 struct net_device *netdev = pci_get_drvdata(pdev); in igb_disable_sriov() local
[all …]
Digb_ptp.c807 int igb_ptp_get_ts_config(struct net_device *netdev, struct ifreq *ifr) in igb_ptp_get_ts_config()
987 int igb_ptp_set_ts_config(struct net_device *netdev, struct ifreq *ifr) in igb_ptp_set_ts_config()
1011 struct net_device *netdev = adapter->netdev; in igb_ptp_init() local
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datlx.c55 static int atlx_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in atlx_ioctl()
74 static int atlx_set_mac(struct net_device *netdev, void *p) in atlx_set_mac()
94 struct net_device *netdev = adapter->netdev; in atlx_check_for_link() local
126 static void atlx_set_multi(struct net_device *netdev) in atlx_set_multi()
199 static void atlx_tx_timeout(struct net_device *netdev) in atlx_tx_timeout()
232 static void atlx_vlan_mode(struct net_device *netdev, in atlx_vlan_mode()
253 static netdev_features_t atlx_fix_features(struct net_device *netdev, in atlx_fix_features()
268 static int atlx_set_features(struct net_device *netdev, in atlx_set_features()
Datl2.c134 static void atl2_set_multi(struct net_device *netdev) in atl2_set_multi()
374 static void atl2_vlan_mode(struct net_device *netdev, in atl2_vlan_mode()
394 static netdev_features_t atl2_fix_features(struct net_device *netdev, in atl2_fix_features()
409 static int atl2_set_features(struct net_device *netdev, in atl2_set_features()
422 struct net_device *netdev = adapter->netdev; in atl2_intr_rx() local
484 struct net_device *netdev = adapter->netdev; in atl2_intr_tx() local
569 struct net_device *netdev = adapter->netdev; in atl2_check_for_link() local
661 struct net_device *netdev = adapter->netdev; in atl2_request_irq() local
702 static int atl2_open(struct net_device *netdev) in atl2_open()
761 struct net_device *netdev = adapter->netdev; in atl2_down() local
[all …]
Datl1.c950 struct net_device *netdev = adapter->netdev; in atl1_sw_init() local
998 static int mdio_read(struct net_device *netdev, int phy_id, int reg_num) in mdio_read()
1008 static void mdio_write(struct net_device *netdev, int phy_id, int reg_num, in mdio_write()
1016 static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in atl1_mii_ioctl()
1266 struct net_device *netdev = adapter->netdev; in atl1_setup_mac_ctrl() local
1302 struct net_device *netdev = adapter->netdev; in atl1_check_link() local
1677 struct net_device *netdev = adapter->netdev; in atl1_inc_smb() local
2359 struct net_device *netdev) in atl1_xmit_frame()
2615 struct net_device *netdev = adapter->netdev; in atl1_up() local
2661 struct net_device *netdev = adapter->netdev; in atl1_down() local
[all …]
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_transport.c95 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update() local
159 struct net_device *netdev) in __fcoe_get_lesb()
194 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_get_lesb() local
209 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb() local
279 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn()
497 static struct fcoe_transport *fcoe_transport_lookup(struct net_device *netdev) in fcoe_transport_lookup()
621 static int fcoe_add_netdev_mapping(struct net_device *netdev, in fcoe_add_netdev_mapping()
642 static void fcoe_del_netdev_mapping(struct net_device *netdev) in fcoe_del_netdev_mapping()
668 static struct fcoe_transport *fcoe_netdev_map_lookup(struct net_device *netdev) in fcoe_netdev_map_lookup()
720 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in libfcoe_device_notification() local
[all …]
Dfcoe.c302 struct net_device *netdev) in fcoe_interface_setup()
385 static struct fcoe_interface *fcoe_interface_create(struct net_device *netdev, in fcoe_interface_create()
449 struct net_device *netdev = fcoe->netdev; in fcoe_interface_remove() local
492 struct net_device *netdev = fcoe->netdev; in fcoe_interface_cleanup() local
518 static int fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, in fcoe_fip_recv()
624 struct net_device *netdev) in fcoe_netdev_features_change()
672 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
772 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
972 struct net_device *netdev = fcoe->netdev; in fcoe_if_destroy() local
1033 struct net_device *netdev = fcoe_netdev(lport); in fcoe_ddp_setup() local
[all …]
Dfcoe.h60 #define FCOE_NETDEV_DBG(netdev, fmt, args...) \ argument
79 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c146 static u8 ixgbe_dcbnl_get_state(struct net_device *netdev) in ixgbe_dcbnl_get_state()
153 static u8 ixgbe_dcbnl_set_state(struct net_device *netdev, u8 state) in ixgbe_dcbnl_set_state()
169 static void ixgbe_dcbnl_get_perm_hw_addr(struct net_device *netdev, in ixgbe_dcbnl_get_perm_hw_addr()
192 static void ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_tx()
210 static void ixgbe_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_tx()
218 static void ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_set_pg_tc_cfg_rx()
236 static void ixgbe_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_set_pg_bwg_cfg_rx()
244 static void ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_tx()
256 static void ixgbe_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int bwg_id, in ixgbe_dcbnl_get_pg_bwg_cfg_tx()
264 static void ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, in ixgbe_dcbnl_get_pg_tc_cfg_rx()
[all …]
Dixgbe_ethtool.c154 static int ixgbe_get_settings(struct net_device *netdev, in ixgbe_get_settings()
314 static int ixgbe_set_settings(struct net_device *netdev, in ixgbe_set_settings()
375 static void ixgbe_get_pauseparam(struct net_device *netdev, in ixgbe_get_pauseparam()
397 static int ixgbe_set_pauseparam(struct net_device *netdev, in ixgbe_set_pauseparam()
437 static u32 ixgbe_get_msglevel(struct net_device *netdev) in ixgbe_get_msglevel()
443 static void ixgbe_set_msglevel(struct net_device *netdev, u32 data) in ixgbe_set_msglevel()
449 static int ixgbe_get_regs_len(struct net_device *netdev) in ixgbe_get_regs_len()
457 static void ixgbe_get_regs(struct net_device *netdev, in ixgbe_get_regs()
817 static int ixgbe_get_eeprom_len(struct net_device *netdev) in ixgbe_get_eeprom_len()
823 static int ixgbe_get_eeprom(struct net_device *netdev, in ixgbe_get_eeprom()
[all …]
Dixgbe_fcoe.c68 int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid) in ixgbe_fcoe_ddp_put()
156 static int ixgbe_fcoe_ddp_setup(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_setup()
367 int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_get()
388 int ixgbe_fcoe_ddp_target(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_target()
856 int ixgbe_fcoe_enable(struct net_device *netdev) in ixgbe_fcoe_enable()
903 int ixgbe_fcoe_disable(struct net_device *netdev) in ixgbe_fcoe_disable()
948 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in ixgbe_fcoe_get_wwn()
988 int ixgbe_fcoe_get_hbainfo(struct net_device *netdev, in ixgbe_fcoe_get_hbainfo()
Dixgbe_main.c564 struct net_device *netdev = adapter->netdev; in ixgbe_dump() local
1814 struct net_device *netdev = rx_ring->netdev; in ixgbe_cleanup_headers() local
2831 struct net_device *netdev = adapter->netdev; in ixgbe_request_msix_irqs() local
2974 struct net_device *netdev = adapter->netdev; in ixgbe_request_irq() local
3763 struct net_device *netdev = adapter->netdev; in ixgbe_set_rx_buffer_len() local
3897 static int ixgbe_vlan_rx_add_vid(struct net_device *netdev, in ixgbe_vlan_rx_add_vid()
3910 static int ixgbe_vlan_rx_kill_vid(struct net_device *netdev, in ixgbe_vlan_rx_kill_vid()
4014 static int ixgbe_write_mc_addr_list(struct net_device *netdev) in ixgbe_write_mc_addr_list()
4166 static int ixgbe_write_uc_addr_list(struct net_device *netdev, int vfn) in ixgbe_write_uc_addr_list()
4195 void ixgbe_set_rx_mode(struct net_device *netdev) in ixgbe_set_rx_mode()
[all …]
Dixgbe_sriov.c1214 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in ixgbe_ndo_set_vf_mac()
1291 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) in ixgbe_ndo_set_vf_vlan()
1407 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int min_tx_rate, in ixgbe_ndo_set_vf_bw()
1443 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting) in ixgbe_ndo_set_vf_spoofchk()
1472 int ixgbe_ndo_set_vf_rss_query_en(struct net_device *netdev, int vf, in ixgbe_ndo_set_vf_rss_query_en()
1492 int ixgbe_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting) in ixgbe_ndo_set_vf_trust()
1514 int ixgbe_ndo_get_vf_config(struct net_device *netdev, in ixgbe_ndo_get_vf_config()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c106 static int enic_get_settings(struct net_device *netdev, in enic_get_settings()
129 static void enic_get_drvinfo(struct net_device *netdev, in enic_get_drvinfo()
152 static void enic_get_strings(struct net_device *netdev, u32 stringset, in enic_get_strings()
175 static int enic_get_sset_count(struct net_device *netdev, int sset) in enic_get_sset_count()
185 static void enic_get_ethtool_stats(struct net_device *netdev, in enic_get_ethtool_stats()
209 static u32 enic_get_msglevel(struct net_device *netdev) in enic_get_msglevel()
215 static void enic_set_msglevel(struct net_device *netdev, u32 value) in enic_set_msglevel()
221 static int enic_get_coalesce(struct net_device *netdev, in enic_get_coalesce()
285 static int enic_set_coalesce(struct net_device *netdev, in enic_set_coalesce()
468 static u32 enic_get_rxfh_key_size(struct net_device *netdev) in enic_get_rxfh_key_size()
[all …]
Denic_main.c286 struct net_device *netdev = enic->netdev; in enic_mtu_check() local
330 struct net_device *netdev = data; in enic_isr_legacy() local
631 struct net_device *netdev) in enic_hard_start_xmit()
683 static struct rtnl_link_stats64 *enic_get_stats(struct net_device *netdev, in enic_get_stats()
714 static int enic_mc_sync(struct net_device *netdev, const u8 *mc_addr) in enic_mc_sync()
733 static int enic_mc_unsync(struct net_device *netdev, const u8 *mc_addr) in enic_mc_unsync()
743 static int enic_uc_sync(struct net_device *netdev, const u8 *uc_addr) in enic_uc_sync()
762 static int enic_uc_unsync(struct net_device *netdev, const u8 *uc_addr) in enic_uc_unsync()
774 struct net_device *netdev = enic->netdev; in enic_reset_addr_lists() local
784 static int enic_set_mac_addr(struct net_device *netdev, char *addr) in enic_set_mac_addr()
[all …]
Denic_pp.c71 struct net_device *netdev = enic->netdev; in enic_set_port_profile() local
198 struct net_device *netdev = enic->netdev; in enic_pp_disassociate() local
259 struct net_device *netdev = enic->netdev; in enic_pp_associate() local
Denic_api.c29 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, in enic_api_devcmd_proxy_by_index()
Denic_dev.c181 int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_add_vid()
194 int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in enic_vlan_rx_kill_vid()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dethtool.c120 static int e1000_get_settings(struct net_device *netdev, in e1000_get_settings()
257 static int e1000_set_settings(struct net_device *netdev, in e1000_set_settings()
342 static void e1000_get_pauseparam(struct net_device *netdev, in e1000_get_pauseparam()
361 static int e1000_set_pauseparam(struct net_device *netdev, in e1000_set_pauseparam()
412 static u32 e1000_get_msglevel(struct net_device *netdev) in e1000_get_msglevel()
418 static void e1000_set_msglevel(struct net_device *netdev, u32 data) in e1000_set_msglevel()
424 static int e1000_get_regs_len(struct net_device __always_unused *netdev) in e1000_get_regs_len()
430 static void e1000_get_regs(struct net_device *netdev, in e1000_get_regs()
488 static int e1000_get_eeprom_len(struct net_device *netdev) in e1000_get_eeprom_len()
494 static int e1000_get_eeprom(struct net_device *netdev, in e1000_get_eeprom()
[all …]
Dnetdev.c215 struct net_device *netdev = adapter->netdev; in e1000e_dump() local
569 struct net_device *netdev, struct sk_buff *skb, in e1000_receive_skb()
665 struct net_device *netdev = adapter->netdev; in e1000_alloc_rx_buffers() local
733 struct net_device *netdev = adapter->netdev; in e1000_alloc_rx_buffers_ps() local
837 struct net_device *netdev = adapter->netdev; in e1000_alloc_jumbo_rx_buffers() local
910 static inline void e1000_rx_hash(struct net_device *netdev, __le32 rss, in e1000_rx_hash()
928 struct net_device *netdev = adapter->netdev; in e1000_clean_rx_irq() local
1098 struct net_device *netdev = adapter->netdev; in e1000_print_hw_hang() local
1218 struct net_device *netdev = adapter->netdev; in e1000_clean_tx_irq() local
1314 struct net_device *netdev = adapter->netdev; in e1000_clean_rx_irq_ps() local
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c105 static int ixgbevf_get_settings(struct net_device *netdev, in ixgbevf_get_settings()
146 static u32 ixgbevf_get_msglevel(struct net_device *netdev) in ixgbevf_get_msglevel()
153 static void ixgbevf_set_msglevel(struct net_device *netdev, u32 data) in ixgbevf_set_msglevel()
162 static int ixgbevf_get_regs_len(struct net_device *netdev) in ixgbevf_get_regs_len()
168 static void ixgbevf_get_regs(struct net_device *netdev, in ixgbevf_get_regs()
241 static void ixgbevf_get_drvinfo(struct net_device *netdev, in ixgbevf_get_drvinfo()
253 static void ixgbevf_get_ringparam(struct net_device *netdev, in ixgbevf_get_ringparam()
264 static int ixgbevf_set_ringparam(struct net_device *netdev, in ixgbevf_set_ringparam()
407 static void ixgbevf_get_ethtool_stats(struct net_device *netdev, in ixgbevf_get_ethtool_stats()
458 static void ixgbevf_get_strings(struct net_device *netdev, u32 stringset, in ixgbevf_get_strings()
[all …]
Dixgbevf_main.c278 static void ixgbevf_tx_timeout(struct net_device *netdev) in ixgbevf_tx_timeout()
703 struct net_device *netdev = rx_ring->netdev; in ixgbevf_cleanup_headers() local
1386 struct net_device *netdev = adapter->netdev; in ixgbevf_request_msix_irqs() local
1786 struct net_device *netdev = adapter->netdev; in ixgbevf_configure_rx() local
1802 static int ixgbevf_vlan_rx_add_vid(struct net_device *netdev, in ixgbevf_vlan_rx_add_vid()
1828 static int ixgbevf_vlan_rx_kill_vid(struct net_device *netdev, in ixgbevf_vlan_rx_kill_vid()
1856 static int ixgbevf_write_uc_addr_list(struct net_device *netdev) in ixgbevf_write_uc_addr_list()
1893 static void ixgbevf_set_rx_mode(struct net_device *netdev) in ixgbevf_set_rx_mode()
2065 struct net_device *netdev = adapter->netdev; in ixgbevf_up_complete() local
2196 struct net_device *netdev = adapter->netdev; in ixgbevf_down() local
[all …]
Dvf.c434 struct net_device *netdev) in ixgbevf_update_mc_addr_list_vf()
480 struct net_device *netdev, int xcast_mode) in ixgbevf_update_xcast_mode()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c106 static int e1000_get_settings(struct net_device *netdev, in e1000_get_settings()
188 static int e1000_set_settings(struct net_device *netdev, in e1000_set_settings()
252 static u32 e1000_get_link(struct net_device *netdev) in e1000_get_link()
268 static void e1000_get_pauseparam(struct net_device *netdev, in e1000_get_pauseparam()
287 static int e1000_set_pauseparam(struct net_device *netdev, in e1000_set_pauseparam()
325 static u32 e1000_get_msglevel(struct net_device *netdev) in e1000_get_msglevel()
332 static void e1000_set_msglevel(struct net_device *netdev, u32 data) in e1000_set_msglevel()
339 static int e1000_get_regs_len(struct net_device *netdev) in e1000_get_regs_len()
345 static void e1000_get_regs(struct net_device *netdev, struct ethtool_regs *regs, in e1000_get_regs()
433 static int e1000_get_eeprom_len(struct net_device *netdev) in e1000_get_eeprom_len()
[all …]
De1000_main.c284 struct net_device *netdev = adapter->netdev; in e1000_request_irq() local
300 struct net_device *netdev = adapter->netdev; in e1000_free_irq() local
333 struct net_device *netdev = adapter->netdev; in e1000_update_mng_vlan() local
392 struct net_device *netdev = adapter->netdev; in e1000_configure() local
521 struct net_device *netdev = adapter->netdev; in e1000_down() local
727 struct net_device *netdev = adapter->netdev; in e1000_dump_eeprom() local
808 static netdev_features_t e1000_fix_features(struct net_device *netdev, in e1000_fix_features()
822 static int e1000_set_features(struct net_device *netdev, in e1000_set_features()
942 struct net_device *netdev; in e1000_probe() local
1272 struct net_device *netdev = pci_get_drvdata(pdev); in e1000_remove() local
[all …]
/linux-4.4.14/drivers/net/fjes/
Dfjes_ethtool.c52 static void fjes_get_ethtool_stats(struct net_device *netdev, in fjes_get_ethtool_stats()
66 static void fjes_get_strings(struct net_device *netdev, in fjes_get_strings()
83 static int fjes_get_sset_count(struct net_device *netdev, int sset) in fjes_get_sset_count()
93 static void fjes_get_drvinfo(struct net_device *netdev, in fjes_get_drvinfo()
110 static int fjes_get_settings(struct net_device *netdev, in fjes_get_settings()
132 void fjes_set_ethtool_ops(struct net_device *netdev) in fjes_set_ethtool_ops()
Dfjes_main.c199 struct net_device *netdev = adapter->netdev; in fjes_request_irq() local
248 static int fjes_open(struct net_device *netdev) in fjes_open()
289 static int fjes_close(struct net_device *netdev) in fjes_close()
330 struct net_device *netdev = adapter->netdev; in fjes_setup_resources() local
400 struct net_device *netdev = adapter->netdev; in fjes_free_resources() local
453 struct net_device *netdev = adapter->netdev; in fjes_tx_stall_task() local
506 struct net_device *netdev = adapter->netdev; in fjes_force_close_task() local
582 fjes_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in fjes_xmit_frame()
743 static void fjes_tx_retry(struct net_device *netdev) in fjes_tx_retry()
751 fjes_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in fjes_get_stats64()
[all …]
Dfjes.h39 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c256 struct net_device *netdev, in i40e_get_settings_link_up()
474 static int i40e_get_settings(struct net_device *netdev, in i40e_get_settings()
587 static int i40e_set_settings(struct net_device *netdev, in i40e_set_settings()
765 static int i40e_nway_reset(struct net_device *netdev) in i40e_nway_reset()
789 static void i40e_get_pauseparam(struct net_device *netdev, in i40e_get_pauseparam()
824 static int i40e_set_pauseparam(struct net_device *netdev, in i40e_set_pauseparam()
918 static u32 i40e_get_msglevel(struct net_device *netdev) in i40e_get_msglevel()
926 static void i40e_set_msglevel(struct net_device *netdev, u32 data) in i40e_set_msglevel()
936 static int i40e_get_regs_len(struct net_device *netdev) in i40e_get_regs_len()
947 static void i40e_get_regs(struct net_device *netdev, struct ethtool_regs *regs, in i40e_get_regs()
[all …]
Di40e_fcoe.c254 static int i40e_fcoe_ddp_put(struct net_device *netdev, u16 xid) in i40e_fcoe_ddp_put()
423 int i40e_fcoe_enable(struct net_device *netdev) in i40e_fcoe_enable()
452 int i40e_fcoe_disable(struct net_device *netdev) in i40e_fcoe_disable()
815 static int i40e_fcoe_ddp_setup(struct net_device *netdev, u16 xid, in i40e_fcoe_ddp_setup()
962 static int i40e_fcoe_ddp_get(struct net_device *netdev, u16 xid, in i40e_fcoe_ddp_get()
983 static int i40e_fcoe_ddp_target(struct net_device *netdev, u16 xid, in i40e_fcoe_ddp_target()
1355 struct net_device *netdev) in i40e_fcoe_xmit_frame()
1422 static int i40e_fcoe_change_mtu(struct net_device *netdev, int new_mtu) in i40e_fcoe_change_mtu()
1434 static int i40e_fcoe_set_features(struct net_device *netdev, in i40e_fcoe_set_features()
1486 void i40e_fcoe_config_netdev(struct net_device *netdev, struct i40e_vsi *vsi) in i40e_fcoe_config_netdev()
Di40e_main.c297 void i40e_tx_timeout(struct net_device *netdev) in i40e_tx_timeout()
425 struct net_device *netdev, in i40e_get_netdev_stats_struct()
1475 int i40e_set_mac(struct net_device *netdev, void *p) in i40e_set_mac()
1708 void i40e_set_rx_mode(struct net_device *netdev) in i40e_set_rx_mode()
2181 static int i40e_change_mtu(struct net_device *netdev, int new_mtu) in i40e_change_mtu()
2206 int i40e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in i40e_ioctl()
2287 static void i40e_vlan_rx_register(struct net_device *netdev, u32 features) in i40e_vlan_rx_register()
2401 struct net_device *netdev = vsi->netdev; in i40e_vsi_kill_vlan() local
2482 int i40e_vlan_rx_add_vid(struct net_device *netdev, in i40e_vlan_rx_add_vid()
2521 int i40e_vlan_rx_kill_vid(struct net_device *netdev, in i40e_vlan_rx_kill_vid()
[all …]
Di40e_virtchnl_pf.c2049 int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac) in i40e_ndo_set_vf_mac()
2126 int i40e_ndo_set_vf_port_vlan(struct net_device *netdev, in i40e_ndo_set_vf_port_vlan()
2247 int i40e_ndo_set_vf_bw(struct net_device *netdev, int vf_id, int min_tx_rate, in i40e_ndo_set_vf_bw()
2327 int i40e_ndo_get_vf_config(struct net_device *netdev, in i40e_ndo_get_vf_config()
2382 int i40e_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link) in i40e_ndo_set_vf_link_state()
2445 int i40e_ndo_set_vf_spoofchk(struct net_device *netdev, int vf_id, bool enable) in i40e_ndo_set_vf_spoofchk()
/linux-4.4.14/drivers/net/ethernet/faraday/
Dftmac100.c77 struct net_device *netdev; member
127 struct net_device *netdev = priv->netdev; in ftmac100_reset() local
174 struct net_device *netdev = priv->netdev; in ftmac100_start_hw() local
334 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet_error() local
378 struct net_device *netdev = priv->netdev; in ftmac100_rx_drop_packet() local
399 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet() local
586 struct net_device *netdev = priv->netdev; in ftmac100_tx_complete_packet() local
638 struct net_device *netdev = priv->netdev; in ftmac100_xmit() local
673 struct net_device *netdev = priv->netdev; in ftmac100_alloc_rx_page() local
764 static int ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) in ftmac100_mdio_read()
[all …]
Dftgmac100.c69 struct net_device *netdev; member
118 struct net_device *netdev = priv->netdev; in ftgmac100_reset_hw() local
352 struct net_device *netdev = priv->netdev; in ftgmac100_rx_packet_error() local
401 struct net_device *netdev = priv->netdev; in ftgmac100_rx_drop_packet() local
422 struct net_device *netdev = priv->netdev; in ftgmac100_rx_packet() local
626 struct net_device *netdev = priv->netdev; in ftgmac100_tx_complete_packet() local
670 struct net_device *netdev = priv->netdev; in ftgmac100_xmit() local
719 struct net_device *netdev = priv->netdev; in ftgmac100_alloc_rx_page() local
808 static void ftgmac100_adjust_link(struct net_device *netdev) in ftgmac100_adjust_link()
837 struct net_device *netdev = priv->netdev; in ftgmac100_mii_probe() local
[all …]
/linux-4.4.14/drivers/net/ethernet/
Djme.c61 jme_mdio_read(struct net_device *netdev, int phy, int reg) in jme_mdio_read()
91 jme_mdio_write(struct net_device *netdev, in jme_mdio_write()
315 jme_load_macaddr(struct net_device *netdev) in jme_load_macaddr()
424 jme_check_link(struct net_device *netdev, int testonly) in jme_check_link()
1221 struct net_device *netdev = jme->dev; in jme_pcc_tasklet() local
1300 struct net_device *netdev = jme->dev; in jme_link_change_tasklet() local
1593 struct net_device *netdev = dev_id; in jme_intr() local
1619 struct net_device *netdev = dev_id; in jme_msi() local
1652 struct net_device *netdev = jme->dev; in jme_request_irq() local
1857 jme_open(struct net_device *netdev) in jme_open()
[all …]
Dethoc.c216 struct net_device *netdev; member
377 struct net_device *netdev = dev->netdev; in ethoc_update_rx_stats() local
483 struct net_device *netdev = dev->netdev; in ethoc_update_tx_stats() local
922 static int ethoc_get_regs_len(struct net_device *netdev) in ethoc_get_regs_len()
1013 struct net_device *netdev = NULL; in ethoc_probe() local
1270 struct net_device *netdev = platform_get_drvdata(pdev); in ethoc_remove() local
Dlantiq_etop.c92 struct net_device *netdev; member
99 struct net_device *netdev; member
/linux-4.4.14/net/dcb/
Ddcbnl.c221 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getstate()
232 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfccfg()
277 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getperm_hwaddr()
291 static int dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getcap()
335 static int dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getnumtcs()
381 static int dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setnumtcs()
414 static int dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getpfcstate()
424 static int dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setpfcstate()
442 static int dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_getapp()
511 static int dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh, in dcbnl_setapp()
[all …]
/linux-4.4.14/drivers/net/ethernet/micrel/
Dks8842.c169 struct net_device *netdev; member
269 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status()
431 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma()
477 static int ks8842_tx_frame(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame()
528 static void ks8842_update_rx_err_counters(struct net_device *netdev, u32 status) in ks8842_update_rx_err_counters()
541 static void ks8842_update_rx_counters(struct net_device *netdev, u32 status, in ks8842_update_rx_counters()
552 static int __ks8842_start_new_rx_dma(struct net_device *netdev) in __ks8842_start_new_rx_dma()
604 struct net_device *netdev = (struct net_device *)arg; in ks8842_rx_frame_dma_tasklet() local
642 static void ks8842_rx_frame(struct net_device *netdev, in ks8842_rx_frame()
706 static void ks8842_handle_rx(struct net_device *netdev, in ks8842_handle_rx()
[all …]
Dks8851_mll.c433 struct net_device *netdev; member
779 static void ks_rcv(struct ks_net *ks, struct net_device *netdev) in ks_rcv()
839 static void ks_update_link_status(struct net_device *netdev, struct ks_net *ks) in ks_update_link_status()
867 struct net_device *netdev = pw; in ks_irq() local
913 static int ks_net_open(struct net_device *netdev) in ks_net_open()
955 static int ks_net_stop(struct net_device *netdev) in ks_net_stop()
1023 static int ks_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ks_start_xmit()
1191 static void ks_set_rx_mode(struct net_device *netdev) in ks_set_rx_mode()
1257 static int ks_set_mac_address(struct net_device *netdev, void *paddr) in ks_set_mac_address()
1271 static int ks_net_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) in ks_net_ioctl()
[all …]
Dks8851.c107 struct net_device *netdev; member
1381 struct net_device *netdev = ks->netdev; in ks8851_suspend() local
1394 struct net_device *netdev = ks->netdev; in ks8851_resume() local
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c107 static int lio_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in lio_get_settings()
142 lio_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in lio_get_drvinfo()
181 static int lio_get_eeprom_len(struct net_device *netdev) in lio_get_eeprom_len()
198 lio_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, in lio_get_eeprom()
220 static int octnet_gpio_access(struct net_device *netdev, int addr, int val) in octnet_gpio_access()
352 static int lio_set_phys_id(struct net_device *netdev, in lio_set_phys_id()
455 lio_ethtool_get_ringparam(struct net_device *netdev, in lio_ethtool_get_ringparam()
492 static u32 lio_get_msglevel(struct net_device *netdev) in lio_get_msglevel()
499 static void lio_set_msglevel(struct net_device *netdev, u32 msglvl) in lio_set_msglevel()
516 lio_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) in lio_get_pauseparam()
[all …]
Dlio_main.c647 static inline void txqs_stop(struct net_device *netdev) in txqs_stop()
663 static inline void txqs_start(struct net_device *netdev) in txqs_start()
679 static inline void txqs_wake(struct net_device *netdev) in txqs_wake()
695 static void stop_txq(struct net_device *netdev) in stop_txq()
704 static void start_txq(struct net_device *netdev) in start_txq()
719 static inline void wake_q(struct net_device *netdev, int q) in wake_q()
732 static inline void stop_q(struct net_device *netdev, int q) in stop_q()
854 static void print_link_info(struct net_device *netdev) in print_link_info()
879 static inline void update_link_status(struct net_device *netdev, in update_link_status()
1187 struct net_device *netdev = oct->props[ifidx].netdev; in liquidio_destroy_nic_device() local
[all …]
Docteon_network.h65 struct net_device *netdev; member
108 #define GET_LIO(netdev) ((struct lio *)netdev_priv(netdev)) argument
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c108 static int nicvf_get_settings(struct net_device *netdev, in nicvf_get_settings()
135 static u32 nicvf_get_link(struct net_device *netdev) in nicvf_get_link()
142 static void nicvf_get_drvinfo(struct net_device *netdev, in nicvf_get_drvinfo()
152 static u32 nicvf_get_msglevel(struct net_device *netdev) in nicvf_get_msglevel()
159 static void nicvf_set_msglevel(struct net_device *netdev, u32 lvl) in nicvf_set_msglevel()
188 static void nicvf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in nicvf_get_strings()
226 static int nicvf_get_sset_count(struct net_device *netdev, int sset) in nicvf_get_sset_count()
275 static void nicvf_get_ethtool_stats(struct net_device *netdev, in nicvf_get_ethtool_stats()
405 static int nicvf_get_coalesce(struct net_device *netdev, in nicvf_get_coalesce()
414 static void nicvf_get_ringparam(struct net_device *netdev, in nicvf_get_ringparam()
[all …]
Dnicvf_main.c271 static int nicvf_hw_set_mac_addr(struct nicvf *nic, struct net_device *netdev) in nicvf_hw_set_mac_addr()
465 int nicvf_set_real_num_queues(struct net_device *netdev, in nicvf_set_real_num_queues()
508 static void nicvf_snd_pkt_handler(struct net_device *netdev, in nicvf_snd_pkt_handler()
539 static inline void nicvf_set_rxhash(struct net_device *netdev, in nicvf_set_rxhash()
567 static void nicvf_rcv_pkt_handler(struct net_device *netdev, in nicvf_rcv_pkt_handler()
634 static int nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, in nicvf_cq_intr_handler()
731 struct net_device *netdev = napi->dev; in nicvf_poll() local
1008 static netdev_tx_t nicvf_xmit(struct sk_buff *skb, struct net_device *netdev) in nicvf_xmit()
1047 int nicvf_stop(struct net_device *netdev) in nicvf_stop()
1125 int nicvf_open(struct net_device *netdev) in nicvf_open()
[all …]
/linux-4.4.14/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c191 struct net_device *netdev; in peak_usb_read_bulk_callback() local
257 struct net_device *netdev; in peak_usb_write_bulk_callback() local
305 struct net_device *netdev) in peak_usb_ndo_start_xmit()
392 struct net_device *netdev = dev->netdev; in peak_usb_start() local
530 static int peak_usb_ndo_open(struct net_device *netdev) in peak_usb_ndo_open()
588 static int peak_usb_ndo_stop(struct net_device *netdev) in peak_usb_ndo_stop()
681 static int peak_usb_set_mode(struct net_device *netdev, enum can_mode mode) in peak_usb_set_mode()
704 static int peak_usb_set_bittiming(struct net_device *netdev) in peak_usb_set_bittiming()
725 static int peak_usb_set_data_bittiming(struct net_device *netdev) in peak_usb_set_data_bittiming()
762 struct net_device *netdev; in peak_usb_create_dev() local
[all …]
Dpcan_usb_fd.c478 struct net_device *netdev = dev->netdev; in pcan_usb_fd_decode_canmsg() local
534 struct net_device *netdev = dev->netdev; in pcan_usb_fd_decode_status() local
607 struct net_device *netdev = dev->netdev; in pcan_usb_fd_decode_overrun() local
645 struct net_device *netdev = dev->netdev; in pcan_usb_fd_decode_buf() local
809 static int pcan_usb_fd_get_berr_counter(const struct net_device *netdev, in pcan_usb_fd_get_berr_counter()
Dpcan_usb_pro.c531 struct net_device *netdev = dev->netdev; in pcan_usb_pro_handle_canmsg() local
569 struct net_device *netdev = dev->netdev; in pcan_usb_pro_handle_error() local
697 struct net_device *netdev = dev->netdev; in pcan_usb_pro_decode_buf() local
Dpcan_usb.c112 struct net_device *netdev; member
731 struct net_device *netdev = dev->netdev; in pcan_usb_encode_msg() local
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c303 struct net_device *netdev = adapter->netdev; in qlcnic_read_mac_addr() local
342 static int qlcnic_set_mac(struct net_device *netdev, void *p) in qlcnic_set_mac()
378 struct net_device *netdev, in qlcnic_fdb_del()
403 struct net_device *netdev, in qlcnic_fdb_add()
436 struct net_device *netdev, in qlcnic_fdb_dump()
462 static int qlcnic_get_phys_port_id(struct net_device *netdev, in qlcnic_get_phys_port_id()
478 static void qlcnic_add_vxlan_port(struct net_device *netdev, in qlcnic_add_vxlan_port()
500 static void qlcnic_del_vxlan_port(struct net_device *netdev, in qlcnic_del_vxlan_port()
1370 qlcnic_vlan_rx_add(struct net_device *netdev, __be16 proto, u16 vid) in qlcnic_vlan_rx_add()
1390 qlcnic_vlan_rx_del(struct net_device *netdev, __be16 proto, u16 vid) in qlcnic_vlan_rx_del()
[all …]
Dqlcnic_dcb.c780 static u8 qlcnic_dcb_get_state(struct net_device *netdev) in qlcnic_dcb_get_state()
787 static void qlcnic_dcb_get_perm_hw_addr(struct net_device *netdev, u8 *addr) in qlcnic_dcb_get_perm_hw_addr()
793 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, in qlcnic_dcb_get_pg_tc_cfg_tx()
830 static void qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in qlcnic_dcb_get_pg_bwg_cfg_tx()
854 static void qlcnic_dcb_get_pfc_cfg(struct net_device *netdev, int prio, in qlcnic_dcb_get_pfc_cfg()
880 static u8 qlcnic_dcb_get_capability(struct net_device *netdev, int capid, in qlcnic_dcb_get_capability()
909 static int qlcnic_dcb_get_num_tcs(struct net_device *netdev, int attr, u8 *num) in qlcnic_dcb_get_num_tcs()
929 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app()
943 static u8 qlcnic_dcb_get_pfc_state(struct net_device *netdev) in qlcnic_dcb_get_pfc_state()
954 static u8 qlcnic_dcb_get_dcbx(struct net_device *netdev) in qlcnic_dcb_get_dcbx()
[all …]
Dqlcnic_ethtool.c775 qlcnic_get_pauseparam(struct net_device *netdev, in qlcnic_get_pauseparam()
831 qlcnic_set_pauseparam(struct net_device *netdev, in qlcnic_set_pauseparam()
962 static int qlcnic_irq_test(struct net_device *netdev) in qlcnic_irq_test()
1074 static int qlcnic_loopback_test(struct net_device *netdev, u8 mode) in qlcnic_loopback_test()
1517 static int qlcnic_set_intr_coalesce(struct net_device *netdev, in qlcnic_set_intr_coalesce()
1558 static int qlcnic_get_intr_coalesce(struct net_device *netdev, in qlcnic_get_intr_coalesce()
1574 static u32 qlcnic_get_msglevel(struct net_device *netdev) in qlcnic_get_msglevel()
1581 static void qlcnic_set_msglevel(struct net_device *netdev, u32 msglvl) in qlcnic_set_msglevel()
1651 qlcnic_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in qlcnic_get_dump_flag()
1676 qlcnic_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in qlcnic_get_dump_data()
[all …]
Dqlcnic_hw.c540 static void __qlcnic_set_multi(struct net_device *netdev, u16 vlan) in __qlcnic_set_multi()
595 void qlcnic_set_multi(struct net_device *netdev) in qlcnic_set_multi()
749 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_clear_lb_mode() local
1022 int qlcnic_change_mtu(struct net_device *netdev, int mtu) in qlcnic_change_mtu()
1074 netdev_features_t qlcnic_fix_features(struct net_device *netdev, in qlcnic_fix_features()
1101 int qlcnic_set_features(struct net_device *netdev, netdev_features_t features) in qlcnic_set_features()
1664 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_shutdown() local
1692 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_resume() local
Dqlcnic_io.c648 netdev_tx_t qlcnic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in qlcnic_xmit_frame()
789 struct net_device *netdev = adapter->netdev; in qlcnic_advert_link_change() local
891 struct net_device *netdev = adapter->netdev; in qlcnic_process_cmd_ring() local
1035 struct net_device *netdev = adapter->netdev; in qlcnic_handle_linkevent() local
1195 struct net_device *netdev = adapter->netdev; in qlcnic_process_rcv() local
1262 struct net_device *netdev = adapter->netdev; in qlcnic_process_lro() local
1571 struct net_device *netdev) in qlcnic_82xx_napi_add()
1718 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_process_rcv() local
1784 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_process_lro() local
2100 struct net_device *netdev) in qlcnic_83xx_napi_add()
Dqlcnic_sriov_pf.c467 struct net_device *netdev = adapter->netdev; in qlcnic_pci_sriov_disable() local
619 struct net_device *netdev = adapter->netdev; in qlcnic_pci_sriov_enable() local
1805 int qlcnic_sriov_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in qlcnic_sriov_set_vf_mac()
1852 int qlcnic_sriov_set_vf_tx_rate(struct net_device *netdev, int vf, in qlcnic_sriov_set_vf_tx_rate()
1917 int qlcnic_sriov_set_vf_vlan(struct net_device *netdev, int vf, in qlcnic_sriov_set_vf_vlan()
1993 int qlcnic_sriov_get_vf_config(struct net_device *netdev, in qlcnic_sriov_get_vf_config()
2024 int qlcnic_sriov_set_vf_spoofchk(struct net_device *netdev, int vf, bool chk) in qlcnic_sriov_set_vf_spoofchk()
Dqlcnic_sriov_common.c1491 static void qlcnic_vf_add_mc_list(struct net_device *netdev, const u8 *mac, in qlcnic_vf_add_mc_list()
1533 void qlcnic_sriov_vf_set_multi(struct net_device *netdev) in qlcnic_sriov_vf_set_multi()
1689 struct net_device *netdev = adapter->netdev; in qlcnic_sriov_vf_attach() local
1703 struct net_device *netdev = adapter->netdev; in qlcnic_sriov_vf_detach() local
2037 struct net_device *netdev = adapter->netdev; in qlcnic_sriov_cfg_vf_guest_vlan() local
2100 struct net_device *netdev = adapter->netdev; in qlcnic_sriov_vf_shutdown() local
2124 struct net_device *netdev = adapter->netdev; in qlcnic_sriov_vf_resume() local
Dqlcnic_83xx_hw.c1390 static int qlcnic_83xx_diag_alloc_res(struct net_device *netdev, int test, in qlcnic_83xx_diag_alloc_res()
1449 static void qlcnic_83xx_diag_free_res(struct net_device *netdev, in qlcnic_83xx_diag_free_res()
1575 int qlcnic_83xx_set_led(struct net_device *netdev, in qlcnic_83xx_set_led()
1756 int qlcnic_83xx_loopback_test(struct net_device *netdev, u8 mode) in qlcnic_83xx_loopback_test()
1841 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_set_lb_mode() local
1911 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_clear_lb_mode() local
3483 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_get_stats() local
3582 int qlcnic_83xx_interrupt_test(struct net_device *netdev) in qlcnic_83xx_interrupt_test()
3770 struct net_device *netdev = adapter->netdev; in qlcnic_83xx_shutdown() local
Dqlcnic_ctx.c239 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
418 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_fw_cmd_create_tx_ctx() local
769 struct net_device *netdev = adapter->netdev; in qlcnic_82xx_config_intrpt() local
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2.c90 static void c2_print_macaddr(struct net_device *netdev) in c2_print_macaddr()
97 struct net_device *netdev = c2_port->netdev; in c2_set_rxbufsize() local
379 static void c2_tx_interrupt(struct net_device *netdev) in c2_tx_interrupt()
461 static void c2_rx_interrupt(struct net_device *netdev) in c2_rx_interrupt()
585 static int c2_up(struct net_device *netdev) in c2_up()
689 static int c2_down(struct net_device *netdev) in c2_down()
756 static int c2_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in c2_xmit_frame()
840 static void c2_tx_timeout(struct net_device *netdev) in c2_tx_timeout()
850 static int c2_change_mtu(struct net_device *netdev, int new_mtu) in c2_change_mtu()
883 struct net_device *netdev = alloc_etherdev(sizeof(*c2_port)); in c2_devinit() local
[all …]
Dc2_provider.c653 static int c2_pseudo_up(struct net_device *netdev) in c2_pseudo_up()
678 static int c2_pseudo_down(struct net_device *netdev) in c2_pseudo_down()
703 static int c2_pseudo_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in c2_pseudo_xmit_frame()
709 static int c2_pseudo_change_mtu(struct net_device *netdev, int new_mtu) in c2_pseudo_change_mtu()
728 static void setup(struct net_device *netdev) in setup()
744 struct net_device *netdev; in c2_pseudo_netdev_init() local
/linux-4.4.14/drivers/staging/unisys/visornic/
Dvisornic_main.c118 struct net_device *netdev; member
324 struct net_device *netdev; in visornic_serverdown_complete() local
393 alloc_rcv_buf(struct net_device *netdev) in alloc_rcv_buf()
461 send_enbdis(struct net_device *netdev, int state, in send_enbdis()
486 visornic_disable_with_timeout(struct net_device *netdev, const int timeout) in visornic_disable_with_timeout()
570 init_rcv_bufs(struct net_device *netdev, struct visornic_devdata *devdata) in init_rcv_bufs()
618 visornic_enable_with_timeout(struct net_device *netdev, const int timeout) in visornic_enable_with_timeout()
692 struct net_device *netdev; in visornic_timeout_reset() local
731 visornic_open(struct net_device *netdev) in visornic_open()
746 visornic_close(struct net_device *netdev) in visornic_close()
[all …]
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c119 struct net_device *netdev; member
213 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) in octeon_mgmt_rx_fill_ring()
322 static void octeon_mgmt_update_rx_stats(struct net_device *netdev) in octeon_mgmt_update_rx_stats()
341 static void octeon_mgmt_update_tx_stats(struct net_device *netdev) in octeon_mgmt_update_tx_stats()
390 struct net_device *netdev = p->netdev; in octeon_mgmt_receive_one() local
498 struct net_device *netdev = p->netdev; in octeon_mgmt_napi_poll() local
558 static void octeon_mgmt_set_rx_filtering(struct net_device *netdev) in octeon_mgmt_set_rx_filtering()
632 static int octeon_mgmt_set_mac_address(struct net_device *netdev, void *addr) in octeon_mgmt_set_mac_address()
644 static int octeon_mgmt_change_mtu(struct net_device *netdev, int new_mtu) in octeon_mgmt_change_mtu()
670 struct net_device *netdev = dev_id; in octeon_mgmt_interrupt() local
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c1912 static u8 bnx2x_dcbnl_get_state(struct net_device *netdev) in bnx2x_dcbnl_get_state()
1919 static u8 bnx2x_dcbnl_set_state(struct net_device *netdev, u8 state) in bnx2x_dcbnl_set_state()
1935 static void bnx2x_dcbnl_get_perm_hw_addr(struct net_device *netdev, in bnx2x_dcbnl_get_perm_hw_addr()
1950 static void bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio, in bnx2x_dcbnl_set_pg_tccfg_tx()
1977 static void bnx2x_dcbnl_set_pg_bwgcfg_tx(struct net_device *netdev, in bnx2x_dcbnl_set_pg_bwgcfg_tx()
1990 static void bnx2x_dcbnl_set_pg_tccfg_rx(struct net_device *netdev, int prio, in bnx2x_dcbnl_set_pg_tccfg_rx()
1998 static void bnx2x_dcbnl_set_pg_bwgcfg_rx(struct net_device *netdev, in bnx2x_dcbnl_set_pg_bwgcfg_rx()
2005 static void bnx2x_dcbnl_get_pg_tccfg_tx(struct net_device *netdev, int prio, in bnx2x_dcbnl_get_pg_tccfg_tx()
2032 static void bnx2x_dcbnl_get_pg_bwgcfg_tx(struct net_device *netdev, in bnx2x_dcbnl_get_pg_bwgcfg_tx()
2046 static void bnx2x_dcbnl_get_pg_tccfg_rx(struct net_device *netdev, int prio, in bnx2x_dcbnl_get_pg_tccfg_rx()
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ethtool.c271 static void fm10k_get_ethtool_stats(struct net_device *netdev, in fm10k_get_ethtool_stats()
413 static void fm10k_get_regs(struct net_device *netdev, in fm10k_get_regs()
492 static int fm10k_get_regs_len(struct net_device *netdev) in fm10k_get_regs_len()
553 static u32 fm10k_get_msglevel(struct net_device *netdev) in fm10k_get_msglevel()
560 static void fm10k_set_msglevel(struct net_device *netdev, u32 data) in fm10k_set_msglevel()
567 static void fm10k_get_ringparam(struct net_device *netdev, in fm10k_get_ringparam()
582 static int fm10k_set_ringparam(struct net_device *netdev, in fm10k_set_ringparam()
997 static u32 fm10k_get_priv_flags(struct net_device *netdev) in fm10k_get_priv_flags()
1008 static int fm10k_set_priv_flags(struct net_device *netdev, u32 priv_flags) in fm10k_set_priv_flags()
1024 static u32 fm10k_get_reta_size(struct net_device __always_unused *netdev) in fm10k_get_reta_size()
[all …]
Dfm10k_netdev.c525 int fm10k_open(struct net_device *netdev) in fm10k_open()
589 int fm10k_close(struct net_device *netdev) in fm10k_close()
689 static void fm10k_tx_timeout(struct net_device *netdev) in fm10k_tx_timeout()
716 static int fm10k_uc_vlan_unsync(struct net_device *netdev, in fm10k_uc_vlan_unsync()
737 static int fm10k_mc_vlan_unsync(struct net_device *netdev, in fm10k_mc_vlan_unsync()
758 static int fm10k_update_vid(struct net_device *netdev, u16 vid, bool set) in fm10k_update_vid()
830 static int fm10k_vlan_rx_add_vid(struct net_device *netdev, in fm10k_vlan_rx_add_vid()
837 static int fm10k_vlan_rx_kill_vid(struct net_device *netdev, in fm10k_vlan_rx_kill_vid()
1014 struct net_device *netdev = interface->netdev; in fm10k_restore_rx_state() local
1074 struct net_device *netdev = interface->netdev; in fm10k_reset_rx_state() local
[all …]
Dfm10k_pci.c74 struct net_device *netdev = interface->netdev; in fm10k_read_reg() local
125 struct net_device *netdev = interface->netdev; in fm10k_detach_subtask() local
141 struct net_device *netdev = interface->netdev; in fm10k_reinit() local
221 struct net_device *netdev = interface->netdev; in fm10k_configure_swpri_map() local
293 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_is_ready() local
311 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_not_ready() local
884 void fm10k_netpoll(struct net_device *netdev) in fm10k_netpoll()
1593 struct net_device *netdev = interface->netdev; in fm10k_down() local
1640 struct net_device *netdev = interface->netdev; in fm10k_sw_init() local
1865 struct net_device *netdev; in fm10k_probe() local
[all …]
Dfm10k_iov.c424 int fm10k_ndo_set_vf_mac(struct net_device *netdev, int vf_idx, u8 *mac) in fm10k_ndo_set_vf_mac()
447 int fm10k_ndo_set_vf_vlan(struct net_device *netdev, int vf_idx, u16 vid, in fm10k_ndo_set_vf_vlan()
480 int fm10k_ndo_set_vf_bw(struct net_device *netdev, int vf_idx, in fm10k_ndo_set_vf_bw()
504 int fm10k_ndo_get_vf_config(struct net_device *netdev, in fm10k_ndo_get_vf_config()
Dfm10k_ptp.c176 int fm10k_get_ts_config(struct net_device *netdev, struct ifreq *ifr) in fm10k_get_ts_config()
207 int fm10k_set_ts_config(struct net_device *netdev, struct ifreq *ifr) in fm10k_set_ts_config()
/linux-4.4.14/drivers/net/usb/
Dsr9700.c150 static int sr9700_get_eeprom_len(struct net_device *netdev) in sr9700_get_eeprom_len()
155 static int sr9700_get_eeprom(struct net_device *netdev, in sr9700_get_eeprom()
176 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) in sr_mdio_read()
207 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, in sr_mdio_write()
224 static u32 sr9700_get_link(struct net_device *netdev) in sr9700_get_link()
238 static int sr9700_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in sr9700_ioctl()
257 static void sr9700_set_multicast(struct net_device *netdev) in sr9700_set_multicast()
288 static int sr9700_set_mac_address(struct net_device *netdev, void *p) in sr9700_set_mac_address()
319 struct net_device *netdev; in sr9700_bind() local
Drtl8150.c131 struct net_device *netdev; member
268 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address()
370 struct net_device *netdev; in read_bulk_callback() local
643 static void rtl8150_tx_timeout(struct net_device *netdev) in rtl8150_tx_timeout()
651 static void rtl8150_set_multicast(struct net_device *netdev) in rtl8150_set_multicast()
674 struct net_device *netdev) in rtl8150_start_xmit()
704 static void set_carrier(struct net_device *netdev) in set_carrier()
716 static int rtl8150_open(struct net_device *netdev) in rtl8150_open()
753 static int rtl8150_close(struct net_device *netdev) in rtl8150_close()
765 static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) in rtl8150_get_drvinfo()
[all …]
Dsmsc95xx.c178 static int __smsc95xx_mdio_read(struct net_device *netdev, int phy_id, int idx, in __smsc95xx_mdio_read()
223 static void __smsc95xx_mdio_write(struct net_device *netdev, int phy_id, in __smsc95xx_mdio_write()
266 static int smsc95xx_mdio_read_nopm(struct net_device *netdev, int phy_id, in smsc95xx_mdio_read_nopm()
272 static void smsc95xx_mdio_write_nopm(struct net_device *netdev, int phy_id, in smsc95xx_mdio_write_nopm()
278 static int smsc95xx_mdio_read(struct net_device *netdev, int phy_id, int idx) in smsc95xx_mdio_read()
283 static void smsc95xx_mdio_write(struct net_device *netdev, int phy_id, int idx, in smsc95xx_mdio_write()
457 static void smsc95xx_set_multicast(struct net_device *netdev) in smsc95xx_set_multicast()
625 static int smsc95xx_set_features(struct net_device *netdev, in smsc95xx_set_features()
659 static int smsc95xx_ethtool_get_eeprom(struct net_device *netdev, in smsc95xx_ethtool_get_eeprom()
669 static int smsc95xx_ethtool_set_eeprom(struct net_device *netdev, in smsc95xx_ethtool_set_eeprom()
[all …]
Dsmsc75xx.c185 static int __smsc75xx_mdio_read(struct net_device *netdev, int phy_id, int idx, in __smsc75xx_mdio_read()
232 static void __smsc75xx_mdio_write(struct net_device *netdev, int phy_id, in __smsc75xx_mdio_write()
277 static int smsc75xx_mdio_read_nopm(struct net_device *netdev, int phy_id, in smsc75xx_mdio_read_nopm()
283 static void smsc75xx_mdio_write_nopm(struct net_device *netdev, int phy_id, in smsc75xx_mdio_write_nopm()
289 static int smsc75xx_mdio_read(struct net_device *netdev, int phy_id, int idx) in smsc75xx_mdio_read()
294 static void smsc75xx_mdio_write(struct net_device *netdev, int phy_id, int idx, in smsc75xx_mdio_write()
547 static void smsc75xx_set_multicast(struct net_device *netdev) in smsc75xx_set_multicast()
687 static int smsc75xx_ethtool_get_eeprom(struct net_device *netdev, in smsc75xx_ethtool_get_eeprom()
697 static int smsc75xx_ethtool_set_eeprom(struct net_device *netdev, in smsc75xx_ethtool_set_eeprom()
752 static int smsc75xx_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in smsc75xx_ioctl()
[all …]
Dr8152.c597 struct net_device *netdev; member
968 static int read_mii_word(struct net_device *netdev, int phy_id, int reg) in read_mii_word()
985 void write_mii_word(struct net_device *netdev, int phy_id, int reg, int val) in write_mii_word()
1001 static int rtl8152_set_mac_address(struct net_device *netdev, void *p) in rtl8152_set_mac_address()
1062 struct net_device *netdev; in read_bulk_callback() local
1122 struct net_device *netdev; in write_bulk_callback() local
1267 struct net_device *netdev = tp->netdev; in alloc_all_mem() local
1683 struct net_device *netdev = tp->netdev; in rx_bottom() local
1725 struct net_device *netdev = tp->netdev; in rx_bottom() local
1803 struct net_device *netdev = tp->netdev; in tx_bottom() local
[all …]
Dcatc.c161 struct net_device *netdev; member
421 struct net_device *netdev) in catc_start_xmit()
461 static void catc_tx_timeout(struct net_device *netdev) in catc_tx_timeout()
637 static void catc_set_multicast_list(struct net_device *netdev) in catc_set_multicast_list()
720 static int catc_open(struct net_device *netdev) in catc_open()
740 static int catc_stop(struct net_device *netdev) in catc_stop()
777 struct net_device *netdev; in catc_probe() local
Dlan78xx.c739 static void lan78xx_set_multicast(struct net_device *netdev) in lan78xx_set_multicast()
942 static int lan78xx_ethtool_get_eeprom_len(struct net_device *netdev) in lan78xx_ethtool_get_eeprom_len()
947 static int lan78xx_ethtool_get_eeprom(struct net_device *netdev, in lan78xx_ethtool_get_eeprom()
957 static int lan78xx_ethtool_set_eeprom(struct net_device *netdev, in lan78xx_ethtool_set_eeprom()
977 static void lan78xx_get_strings(struct net_device *netdev, u32 stringset, in lan78xx_get_strings()
984 static int lan78xx_get_sset_count(struct net_device *netdev, int sset) in lan78xx_get_sset_count()
992 static void lan78xx_get_stats(struct net_device *netdev, in lan78xx_get_stats()
1012 static void lan78xx_get_wol(struct net_device *netdev, in lan78xx_get_wol()
1040 static int lan78xx_set_wol(struct net_device *netdev, in lan78xx_set_wol()
1310 static int lan78xx_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in lan78xx_ioctl()
[all …]
Dcdc_mbim.c73 static int cdc_mbim_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in cdc_mbim_rx_add_vid()
87 static int cdc_mbim_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in cdc_mbim_rx_kill_vid()
312 struct net_device *netdev; in do_neigh_solicit() local
Dmcs7830.c157 static int mcs7830_set_mac_address(struct net_device *netdev, void *p) in mcs7830_set_mac_address()
318 static int mcs7830_mdio_read(struct net_device *netdev, int phy_id, in mcs7830_mdio_read()
325 static void mcs7830_mdio_write(struct net_device *netdev, int phy_id, in mcs7830_mdio_write()
Dint51x1.c118 static void int51x1_set_multicast(struct net_device *netdev) in int51x1_set_multicast()
Dch9200.c180 static int ch9200_mdio_read(struct net_device *netdev, int phy_id, int loc) in ch9200_mdio_read()
197 static void ch9200_mdio_write(struct net_device *netdev, in ch9200_mdio_write()
Dasix_common.c397 int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) in asix_mdio_read()
415 void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) in asix_mdio_write()
Ddm9601.c219 static int dm9601_mdio_read(struct net_device *netdev, int phy_id, int loc) in dm9601_mdio_read()
239 static void dm9601_mdio_write(struct net_device *netdev, int phy_id, int loc, in dm9601_mdio_write()
Dcdc_ncm.c92 static int cdc_ncm_get_sset_count(struct net_device __always_unused *netdev, int sset) in cdc_ncm_get_sset_count()
102 static void cdc_ncm_get_ethtool_stats(struct net_device *netdev, in cdc_ncm_get_ethtool_stats()
117 static void cdc_ncm_get_strings(struct net_device __always_unused *netdev, u32 stringset, u8 *data) in cdc_ncm_get_strings()
Dax88172a.c66 static void ax88172a_adjust_link(struct net_device *netdev) in ax88172a_adjust_link()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c397 static int mlx5e_get_coalesce(struct net_device *netdev, in mlx5e_get_coalesce()
410 static int mlx5e_set_coalesce(struct net_device *netdev, in mlx5e_set_coalesce()
487 static void get_speed_duplex(struct net_device *netdev, in get_speed_duplex()
555 static int mlx5e_get_settings(struct net_device *netdev, in mlx5e_get_settings()
622 static int mlx5e_set_settings(struct net_device *netdev, in mlx5e_set_settings()
675 static u32 mlx5e_get_rxfh_key_size(struct net_device *netdev) in mlx5e_get_rxfh_key_size()
682 static u32 mlx5e_get_rxfh_indir_size(struct net_device *netdev) in mlx5e_get_rxfh_indir_size()
687 static int mlx5e_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, in mlx5e_get_rxfh()
746 static int mlx5e_get_rxnfc(struct net_device *netdev, in mlx5e_get_rxnfc()
822 static void mlx5e_get_pauseparam(struct net_device *netdev, in mlx5e_get_pauseparam()
[all …]
Den_main.c965 struct net_device *netdev = priv->netdev; in mlx5e_open_channel() local
1371 static int mlx5e_set_dev_port_mtu(struct net_device *netdev) in mlx5e_set_dev_port_mtu()
1392 int mlx5e_open_locked(struct net_device *netdev) in mlx5e_open_locked()
1436 static int mlx5e_open(struct net_device *netdev) in mlx5e_open()
1448 int mlx5e_close_locked(struct net_device *netdev) in mlx5e_close_locked()
1467 static int mlx5e_close(struct net_device *netdev) in mlx5e_close()
1842 static int mlx5e_set_mac(struct net_device *netdev, void *addr) in mlx5e_set_mac()
1859 static int mlx5e_set_features(struct net_device *netdev, in mlx5e_set_features()
1897 static int mlx5e_change_mtu(struct net_device *netdev, int new_mtu) in mlx5e_change_mtu()
1980 struct net_device *netdev, in mlx5e_build_netdev_priv()
[all …]
Den_rx.c161 static inline void mlx5e_handle_csum(struct net_device *netdev, in mlx5e_handle_csum()
190 struct net_device *netdev = rq->netdev; in mlx5e_build_rx_skb() local
Den_txrx.c101 struct net_device *netdev = priv->netdev; in mlx5e_cq_error_event() local
/linux-4.4.14/drivers/net/ethernet/intel/
De100.c568 struct net_device *netdev; member
930 static int mdio_read(struct net_device *netdev, int addr, int reg) in mdio_read()
936 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) in mdio_write()
1101 struct net_device *netdev = nic->netdev; in e100_configure() local
1464 struct net_device *netdev = nic->netdev; in e100_phy_init() local
1590 struct net_device *netdev = nic->netdev; in e100_multi() local
1606 static void e100_set_multicast_list(struct net_device *netdev) in e100_set_multicast_list()
1802 struct net_device *netdev) in e100_xmit_frame()
2220 struct net_device *netdev = dev_id; in e100_intr() local
2264 static void e100_netpoll(struct net_device *netdev) in e100_netpoll()
[all …]
/linux-4.4.14/drivers/net/irda/
Dkingsun-sir.c104 struct net_device *netdev; /* network layer */ member
131 struct net_device *netdev = kingsun->netdev; in kingsun_send_irq() local
153 struct net_device *netdev) in kingsun_hard_xmit()
255 static int kingsun_net_open(struct net_device *netdev) in kingsun_net_open()
345 static int kingsun_net_close(struct net_device *netdev) in kingsun_net_close()
381 static int kingsun_net_ioctl(struct net_device *netdev, struct ifreq *rq, in kingsun_net_ioctl()
Dksdazzle-sir.c139 struct net_device *netdev; /* network layer */ member
242 struct net_device *netdev = kingsun->netdev; in ksdazzle_send_irq() local
304 struct net_device *netdev) in ksdazzle_hard_xmit()
352 struct net_device *netdev = kingsun->netdev; in ksdazzle_rcv_irq() local
393 static int ksdazzle_net_open(struct net_device *netdev) in ksdazzle_net_open()
491 static int ksdazzle_net_close(struct net_device *netdev) in ksdazzle_net_close()
529 static int ksdazzle_net_ioctl(struct net_device *netdev, struct ifreq *rq, in ksdazzle_net_ioctl()
Dks959-sir.c173 struct net_device *netdev; /* network layer */ member
329 struct net_device *netdev = kingsun->netdev; in ks959_send_irq() local
390 struct net_device *netdev) in ks959_hard_xmit()
496 static int ks959_net_open(struct net_device *netdev) in ks959_net_open()
596 static int ks959_net_close(struct net_device *netdev) in ks959_net_close()
635 static int ks959_net_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in ks959_net_ioctl()
Dirda-usb.c386 struct net_device *netdev) in irda_usb_hard_xmit()
620 static void irda_usb_net_timeout(struct net_device *netdev) in irda_usb_net_timeout()
1160 static int irda_usb_net_open(struct net_device *netdev) in irda_usb_net_open()
1240 static int irda_usb_net_close(struct net_device *netdev) in irda_usb_net_close()
1407 struct net_device *netdev = self->netdev; in irda_usb_open() local
Dmcs7780.c563 struct net_device *netdev = mcs->netdev; in mcs_speed_work() local
655 static int mcs_net_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in mcs_net_ioctl()
670 static int mcs_net_close(struct net_device *netdev) in mcs_net_close()
695 static int mcs_net_open(struct net_device *netdev) in mcs_net_open()
Dstir4200.c165 struct net_device *netdev; /* network layer */ member
564 struct net_device *netdev) in stir_hard_xmit()
849 static int stir_net_open(struct net_device *netdev) in stir_net_open()
941 static int stir_net_close(struct net_device *netdev) in stir_net_close()
971 static int stir_net_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in stir_net_ioctl()
/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211netdev.c126 static int p80211knetdev_init(netdevice_t *netdev) in p80211knetdev_init()
149 static int p80211knetdev_open(netdevice_t *netdev) in p80211knetdev_open()
184 static int p80211knetdev_stop(netdevice_t *netdev) in p80211knetdev_stop()
321 netdevice_t *netdev) in p80211knetdev_hard_start_xmit()
723 netdevice_t *netdev; in wlan_setup() local
1074 static void p80211knetdev_tx_timeout(netdevice_t *netdev) in p80211knetdev_tx_timeout()
Dp80211conv.c280 netdevice_t *netdev = wlandev->netdev; in skb_p80211_to_ether() local
/linux-4.4.14/drivers/net/can/
Dled.c25 void can_led_event(struct net_device *netdev, enum can_led_event event) in can_led_event()
73 void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
106 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in can_led_notifier() local
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c184 netxen_napi_add(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_napi_add()
483 struct net_device *netdev = adapter->netdev; in netxen_read_mac_addr() local
508 static int netxen_nic_set_mac(struct net_device *netdev, void *p) in netxen_nic_set_mac()
1065 struct net_device *netdev = adapter->netdev; in netxen_nic_request_irq() local
1120 __netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_up()
1164 netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_up()
1178 __netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_down()
1209 netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_down()
1221 struct net_device *netdev = adapter->netdev; in netxen_nic_attach() local
1323 struct net_device *netdev = adapter->netdev; in netxen_nic_reset_context() local
[all …]
Dnetxen_nic_ethtool.c741 static int netxen_set_intr_coalesce(struct net_device *netdev, in netxen_set_intr_coalesce()
802 static int netxen_get_intr_coalesce(struct net_device *netdev, in netxen_get_intr_coalesce()
824 netxen_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in netxen_get_dump_flag()
843 netxen_set_dump(struct net_device *netdev, struct ethtool_dump *val) in netxen_set_dump()
898 netxen_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in netxen_get_dump_data()
Dnetxen_nic_init.c204 struct net_device *netdev = adapter->netdev; in netxen_alloc_sw_resources() local
1412 struct net_device *netdev = adapter->netdev; in netxen_handle_linkevent() local
1539 struct net_device *netdev = adapter->netdev; in netxen_process_rcv() local
1593 struct net_device *netdev = adapter->netdev; in netxen_process_lro() local
1762 struct net_device *netdev = adapter->netdev; in netxen_process_cmd_ring() local
/linux-4.4.14/drivers/net/can/softing/
Dsofting_main.c31 static inline int canif_is_active(struct net_device *netdev) in canif_is_active()
142 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx()
162 struct net_device *netdev; in softing_handle_1() local
332 struct net_device *netdev; in softing_irq_thread() local
640 struct net_device *netdev; in softing_netdev_create() local
668 static int softing_netdev_register(struct net_device *netdev) in softing_netdev_register()
683 static void softing_netdev_cleanup(struct net_device *netdev) in softing_netdev_cleanup()
761 struct net_device *netdev; in softing_pdev_probe() local
Dsofting_fw.c420 static inline int softing_error_reporting(struct net_device *netdev) in softing_error_reporting()
433 struct net_device *netdev; in softing_startstop() local
679 int softing_default_output(struct net_device *netdev) in softing_default_output()
Dsofting.h21 struct net_device *netdev; member
34 #define netdev2softing(netdev) ((struct softing_priv *)netdev_priv(netdev)) argument
/linux-4.4.14/drivers/net/can/usb/
Dusb_8dev.c138 struct net_device *netdev; member
213 struct net_device *netdev; in usb_8dev_send_cmd() local
326 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode()
513 struct net_device *netdev; in usb_8dev_read_bulk_callback() local
574 struct net_device *netdev; in usb_8dev_write_bulk_callback() local
609 struct net_device *netdev) in usb_8dev_start_xmit()
727 static int usb_8dev_get_berr_counter(const struct net_device *netdev, in usb_8dev_get_berr_counter()
741 struct net_device *netdev = priv->netdev; in usb_8dev_start() local
814 static int usb_8dev_open(struct net_device *netdev) in usb_8dev_open()
859 static int usb_8dev_close(struct net_device *netdev) in usb_8dev_close()
[all …]
Dems_usb.c254 struct net_device *netdev; member
275 struct net_device *netdev = dev->netdev; in ems_usb_read_interrupt_callback() local
420 struct net_device *netdev; in ems_usb_read_bulk_callback() local
507 struct net_device *netdev; in ems_usb_write_bulk_callback() local
592 struct net_device *netdev = dev->netdev; in ems_usb_start() local
706 static int ems_usb_open(struct net_device *netdev) in ems_usb_open()
739 static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ems_usb_start_xmit()
864 static int ems_usb_close(struct net_device *netdev) in ems_usb_close()
901 static int ems_usb_set_mode(struct net_device *netdev, enum can_mode mode) in ems_usb_set_mode()
921 static int ems_usb_set_bittiming(struct net_device *netdev) in ems_usb_set_bittiming()
[all …]
Desd_usb2.c220 struct net_device *netdev; member
360 struct net_device *netdev = priv->netdev; in esd_usb2_tx_done_msg() local
465 struct net_device *netdev; in esd_usb2_write_bulk_callback() local
619 struct net_device *netdev = priv->netdev; in esd_usb2_start() local
689 static int esd_usb2_open(struct net_device *netdev) in esd_usb2_open()
713 struct net_device *netdev) in esd_usb2_start_xmit()
843 static int esd_usb2_close(struct net_device *netdev) in esd_usb2_close()
902 static int esd_usb2_set_bittiming(struct net_device *netdev) in esd_usb2_set_bittiming()
951 static int esd_usb2_get_berr_counter(const struct net_device *netdev, in esd_usb2_get_berr_counter()
962 static int esd_usb2_set_mode(struct net_device *netdev, enum can_mode mode) in esd_usb2_set_mode()
[all …]
Dgs_usb.c158 struct net_device *netdev; member
281 struct net_device *netdev; in gs_usb_receive_bulk_callback() local
394 static int gs_usb_set_bittiming(struct net_device *netdev) in gs_usb_set_bittiming()
436 struct net_device *netdev = dev->netdev; in gs_usb_xmit_callback() local
455 static netdev_tx_t gs_can_start_xmit(struct sk_buff *skb, struct net_device *netdev) in gs_can_start_xmit()
564 static int gs_can_open(struct net_device *netdev) in gs_can_open()
684 static int gs_can_close(struct net_device *netdev) in gs_can_close()
727 struct net_device *netdev; in gs_make_candev() local
Dkvaser_usb.c478 struct net_device *netdev; member
764 struct net_device *netdev = urb->context; in kvaser_usb_simple_msg_callback() local
777 struct net_device *netdev = priv->netdev; in kvaser_usb_simple_msg_async() local
1488 static int kvaser_usb_open(struct net_device *netdev) in kvaser_usb_open()
1598 static int kvaser_usb_close(struct net_device *netdev) in kvaser_usb_close()
1630 struct net_device *netdev; in kvaser_usb_write_bulk_callback() local
1648 struct net_device *netdev) in kvaser_usb_start_xmit()
1800 static int kvaser_usb_set_bittiming(struct net_device *netdev) in kvaser_usb_set_bittiming()
1832 static int kvaser_usb_set_mode(struct net_device *netdev, in kvaser_usb_set_mode()
1851 static int kvaser_usb_get_berr_counter(const struct net_device *netdev, in kvaser_usb_get_berr_counter()
[all …]
/linux-4.4.14/net/bluetooth/
D6lowpan.c75 struct net_device *netdev; member
83 static inline struct lowpan_dev *lowpan_dev(const struct net_device *netdev) in lowpan_dev()
269 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, in iphc_decompress()
430 static int setup_header(struct sk_buff *skb, struct net_device *netdev, in setup_header()
488 static int header_create(struct sk_buff *skb, struct net_device *netdev, in header_create()
506 struct net_device *netdev) in send_pkt()
543 static int send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) in send_mcast_pkt()
582 static netdev_tx_t bt_xmit(struct sk_buff *skb, struct net_device *netdev) in bt_xmit()
695 static void set_dev_addr(struct net_device *netdev, bdaddr_t *addr, in set_dev_addr()
702 static void ifup(struct net_device *netdev) in ifup()
[all …]
/linux-4.4.14/drivers/net/ethernet/agere/
Det131x.c440 struct net_device *netdev; member
1425 struct net_device *netdev = bus->priv; in et131x_mdio_read() local
1441 struct net_device *netdev = bus->priv; in et131x_mdio_write() local
1727 static void et131x_enable_txrx(struct net_device *netdev) in et131x_enable_txrx()
1740 static void et131x_disable_txrx(struct net_device *netdev) in et131x_disable_txrx()
2794 static int et131x_get_settings(struct net_device *netdev, in et131x_get_settings()
2802 static int et131x_set_settings(struct net_device *netdev, in et131x_set_settings()
2810 static int et131x_get_regs_len(struct net_device *netdev) in et131x_get_regs_len()
2816 static void et131x_get_regs(struct net_device *netdev, in et131x_get_regs()
2970 static void et131x_get_drvinfo(struct net_device *netdev, in et131x_get_drvinfo()
[all …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_fcoe.c68 int cxgb_fcoe_enable(struct net_device *netdev) in cxgb_fcoe_enable()
100 int cxgb_fcoe_disable(struct net_device *netdev) in cxgb_fcoe_disable()
/linux-4.4.14/include/linux/can/
Dled.h37 static inline void can_led_event(struct net_device *netdev, in can_led_event()
41 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
/linux-4.4.14/drivers/staging/gdm72xx/
Dgdm_wimax.h28 struct net_device *netdev; member
37 struct net_device *netdev; member
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c150 struct net_device *netdev; in usnic_ib_handle_usdev_event() local
236 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in usnic_ib_netdevice_event() local
300 struct net_device *netdev = ifa->ifa_dev->dev; in usnic_ib_inetaddr_event() local
340 struct net_device *netdev; in usnic_ib_device_add() local
Dusnic_fwd.h48 struct net_device *netdev; member
Dusnic_ib.h72 struct net_device *netdev; member
Dusnic_fwd.c46 struct net_device *netdev = ufdev->netdev; in usnic_fwd_devcmd_locked() local
/linux-4.4.14/drivers/net/ethernet/ibm/
Dibmveth.c555 static int ibmveth_open(struct net_device *netdev) in ibmveth_open()
695 static int ibmveth_close(struct net_device *netdev) in ibmveth_close()
1023 struct net_device *netdev) in ibmveth_start_xmit()
1179 struct net_device *netdev = adapter->netdev; in ibmveth_poll() local
1275 struct net_device *netdev = dev_instance; in ibmveth_interrupt() local
1288 static void ibmveth_set_multicast_list(struct net_device *netdev) in ibmveth_set_multicast_list()
1409 struct net_device *netdev = dev_get_drvdata(&vdev->dev); in ibmveth_get_desired_dma() local
1484 struct net_device *netdev; in ibmveth_probe() local
1595 struct net_device *netdev = dev_get_drvdata(&dev->dev); in ibmveth_remove() local
1636 struct net_device *netdev = dev_get_drvdata( in veth_pool_store() local
[all …]
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c742 static int bnx2fc_net_config(struct fc_lport *lport, struct net_device *netdev) in bnx2fc_net_config()
1065 struct net_device *netdev = interface->netdev; in bnx2fc_vport_create() local
1169 struct net_device *netdev = interface->netdev; in bnx2fc_interface_setup() local
1244 struct net_device *netdev; in bnx2fc_interface_release() local
1368 struct net_device *netdev, in bnx2fc_interface_create()
1593 static int bnx2fc_destroy(struct net_device *netdev) in bnx2fc_destroy()
2030 static int bnx2fc_disable(struct net_device *netdev) in bnx2fc_disable()
2143 static int bnx2fc_enable(struct net_device *netdev) in bnx2fc_enable()
2211 static int _bnx2fc_create(struct net_device *netdev, in _bnx2fc_create()
2363 static int bnx2fc_create(struct net_device *netdev, enum fip_state fip_mode) in bnx2fc_create()
[all …]
/linux-4.4.14/drivers/net/caif/
Dcaif_virtio.c438 static int cfv_netdev_open(struct net_device *netdev) in cfv_netdev_open()
454 static int cfv_netdev_close(struct net_device *netdev) in cfv_netdev_close()
522 static int cfv_netdev_tx(struct sk_buff *skb, struct net_device *netdev) in cfv_netdev_tx()
613 static void cfv_netdev_setup(struct net_device *netdev) in cfv_netdev_setup()
657 struct net_device *netdev; in cfv_probe() local
/linux-4.4.14/drivers/net/can/sja1000/
Dpeak_pcmcia.c139 struct net_device *netdev; member
387 struct net_device *netdev; in pcan_led_timer() local
444 struct net_device *netdev; in pcan_isr() local
481 struct net_device *netdev; in pcan_free_channels() local
540 struct net_device *netdev; in pcan_add_channels() local
Dtscan1.c93 struct net_device *netdev; in tscan1_probe() local
176 struct net_device *netdev; in tscan1_remove() local
Dpeak_pci.c144 struct net_device *netdev; member
281 struct net_device *netdev; in peak_pciec_led_work() local
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c2143 static int bdx_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) in bdx_get_settings()
2176 bdx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in bdx_get_drvinfo()
2193 bdx_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecoal) in bdx_get_coalesce()
2222 bdx_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecoal) in bdx_set_coalesce()
2282 bdx_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) in bdx_get_ringparam()
2299 bdx_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) in bdx_set_ringparam()
2344 static void bdx_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in bdx_get_strings()
2357 static int bdx_get_sset_count(struct net_device *netdev, int stringset) in bdx_get_sset_count()
2377 static void bdx_get_ethtool_stats(struct net_device *netdev, in bdx_get_ethtool_stats()
2396 static void bdx_set_ethtool_ops(struct net_device *netdev) in bdx_set_ethtool_ops()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c422 stmmac_get_pauseparam(struct net_device *netdev, in stmmac_get_pauseparam()
442 stmmac_set_pauseparam(struct net_device *netdev, in stmmac_set_pauseparam()
508 static int stmmac_get_sset_count(struct net_device *netdev, int sset) in stmmac_get_sset_count()
778 void stmmac_set_ethtool_ops(struct net_device *netdev) in stmmac_set_ethtool_ops()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c835 void hns_get_ethtool_stats(struct net_device *netdev, in hns_get_ethtool_stats()
893 void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings()
983 int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count()
1015 int hns_phy_led_set(struct net_device *netdev, int value) in hns_phy_led_set()
1045 int hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in hns_set_phys_id()
1176 static int hns_nic_nway_reset(struct net_device *netdev) in hns_nic_nway_reset()
Dhns_enet.c781 static int hns_nic_ring_open(struct net_device *netdev, int idx) in hns_nic_ring_open()
815 void hns_nic_update_stats(struct net_device *netdev) in hns_nic_update_stats()
840 static void hns_nic_ring_close(struct net_device *netdev, int idx) in hns_nic_ring_close()
993 void hns_nic_net_reinit(struct net_device *netdev) in hns_nic_net_reinit()
1058 static int hns_nic_do_ioctl(struct net_device *netdev, struct ifreq *ifr, in hns_nic_do_ioctl()
1241 static void hns_nic_update_link_status(struct net_device *netdev) in hns_nic_update_link_status()
Dhns_enet.h50 struct net_device *netdev; member
/linux-4.4.14/net/core/
Dnet-sysfs.c83 struct net_device *netdev = to_net_dev(dev); in netdev_store() local
184 struct net_device *netdev = to_net_dev(dev); in carrier_show() local
195 struct net_device *netdev = to_net_dev(dev); in speed_show() local
214 struct net_device *netdev = to_net_dev(dev); in duplex_show() local
246 struct net_device *netdev = to_net_dev(dev); in dormant_show() local
268 const struct net_device *netdev = to_net_dev(dev); in operstate_show() local
288 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show() local
357 struct net_device *netdev = to_net_dev(dev); in ifalias_store() local
380 const struct net_device *netdev = to_net_dev(dev); in ifalias_show() local
422 struct net_device *netdev = to_net_dev(dev); in phys_port_id_show() local
[all …]
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.c665 static int bfin_mac_hwtstamp_set(struct net_device *netdev, in bfin_mac_hwtstamp_set()
822 static int bfin_mac_hwtstamp_get(struct net_device *netdev, in bfin_mac_hwtstamp_get()
832 static void bfin_tx_hwtstamp(struct net_device *netdev, struct sk_buff *skb) in bfin_tx_hwtstamp()
869 static void bfin_rx_hwtstamp(struct net_device *netdev, struct sk_buff *skb) in bfin_rx_hwtstamp()
892 static void bfin_mac_hwtstamp_init(struct net_device *netdev) in bfin_mac_hwtstamp_init()
1045 static int bfin_phc_init(struct net_device *netdev, struct device *dev) in bfin_phc_init()
1073 # define bfin_phc_init(netdev, dev) 0 argument
1506 static int bfin_mac_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in bfin_mac_ioctl()
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1776 myri10ge_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) in myri10ge_get_settings()
1824 myri10ge_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) in myri10ge_get_drvinfo()
1835 myri10ge_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) in myri10ge_get_coalesce()
1844 myri10ge_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) in myri10ge_set_coalesce()
1854 myri10ge_get_pauseparam(struct net_device *netdev, in myri10ge_get_pauseparam()
1865 myri10ge_set_pauseparam(struct net_device *netdev, in myri10ge_set_pauseparam()
1880 myri10ge_get_ringparam(struct net_device *netdev, in myri10ge_get_ringparam()
1933 myri10ge_get_strings(struct net_device *netdev, u32 stringset, u8 * data) in myri10ge_get_strings()
1952 static int myri10ge_get_sset_count(struct net_device *netdev, int sset) in myri10ge_get_sset_count()
1966 myri10ge_get_ethtool_stats(struct net_device *netdev, in myri10ge_get_ethtool_stats()
[all …]
/linux-4.4.14/include/net/phonet/
Dpn_dev.h35 struct net_device *netdev; member
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c39 static void ipoib_get_drvinfo(struct net_device *netdev, in ipoib_get_drvinfo()
/linux-4.4.14/net/wireless/
Drdev-ops.h75 struct net_device *netdev, u8 key_index, in rdev_add_key()
88 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key()
101 struct net_device *netdev, u8 key_index, in rdev_del_key()
114 struct net_device *netdev, u8 key_index, bool unicast, in rdev_set_default_key()
128 struct net_device *netdev, u8 key_index) in rdev_set_default_mgmt_key()
603 struct net_device *netdev, int idx, in rdev_dump_survey()
617 struct net_device *netdev, in rdev_set_pmksa()
628 struct net_device *netdev, in rdev_del_pmksa()
639 struct net_device *netdev) in rdev_flush_pmksa()
Dnl80211.c131 struct net_device *netdev; in __cfg80211_rdev_from_attrs() local
1763 struct net_device *netdev; in nl80211_dump_wiphy_parse() local
2060 struct net_device *netdev = info->user_ptr[1]; in nl80211_set_channel() local
2092 struct net_device *netdev = NULL; in nl80211_set_wiphy() local
2535 struct net_device *netdev, u8 use_4addr, in nl80211_valid_4addr()
11520 struct net_device *netdev, in nl80211_send_sched_scan_msg()
11590 struct net_device *netdev) in nl80211_send_sched_scan_results()
11609 struct net_device *netdev, u32 cmd) in nl80211_send_sched_scan()
11711 struct net_device *netdev, in nl80211_send_mlme_event()
11759 struct net_device *netdev, const u8 *buf, in nl80211_send_rx_auth()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dinit.c326 void mwifiex_wake_up_net_dev_queue(struct net_device *netdev, in mwifiex_wake_up_net_dev_queue()
347 void mwifiex_stop_net_dev_queue(struct net_device *netdev, in mwifiex_stop_net_dev_queue()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c1328 static void bcm_enet_get_drvinfo(struct net_device *netdev, in bcm_enet_get_drvinfo()
1338 static int bcm_enet_get_sset_count(struct net_device *netdev, in bcm_enet_get_sset_count()
1349 static void bcm_enet_get_strings(struct net_device *netdev, in bcm_enet_get_strings()
1407 static void bcm_enet_get_ethtool_stats(struct net_device *netdev, in bcm_enet_get_ethtool_stats()
2570 static void bcm_enetsw_get_strings(struct net_device *netdev, in bcm_enetsw_get_strings()
2586 static int bcm_enetsw_get_sset_count(struct net_device *netdev, in bcm_enetsw_get_sset_count()
2597 static void bcm_enetsw_get_drvinfo(struct net_device *netdev, in bcm_enetsw_get_drvinfo()
2606 static void bcm_enetsw_get_ethtool_stats(struct net_device *netdev, in bcm_enetsw_get_ethtool_stats()
/linux-4.4.14/include/net/netns/
Dnftables.h16 struct nft_af_info *netdev; member
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1074 static int add_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, in add_key()
1356 static int del_key(struct wiphy *wiphy, struct net_device *netdev, in del_key()
1445 static int get_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, in get_key()
1492 static int set_default_key(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, in set_default_key()
1684 static int set_pmksa(struct wiphy *wiphy, struct net_device *netdev, in set_pmksa()
1734 static int del_pmksa(struct wiphy *wiphy, struct net_device *netdev, in del_pmksa()
1781 static int flush_pmksa(struct wiphy *wiphy, struct net_device *netdev) in flush_pmksa()
/linux-4.4.14/drivers/staging/octeon/
Docteon-ethernet.h33 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_ethtool.c237 static int sxgbe_get_sset_count(struct net_device *netdev, int sset) in sxgbe_get_sset_count()
521 void sxgbe_set_ethtool_ops(struct net_device *netdev) in sxgbe_set_ethtool_ops()
/linux-4.4.14/net/atm/
Dbr2684.c633 static void br2684_setup(struct net_device *netdev) in br2684_setup()
646 static void br2684_setup_routed(struct net_device *netdev) in br2684_setup_routed()
664 struct net_device *netdev; in br2684_create() local
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Dosdep_service.h99 #define rtw_netdev_priv(netdev) \ argument
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c104 void rtw_free_netdev(struct net_device *netdev) in rtw_free_netdev()
/linux-4.4.14/drivers/net/wan/
Dhostess_sv11.c191 struct net_device *netdev; in sv11_init() local
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c667 static void ql_get_pauseparam(struct net_device *netdev, in ql_get_pauseparam()
679 static int ql_set_pauseparam(struct net_device *netdev, in ql_set_pauseparam()
/linux-4.4.14/drivers/s390/net/
Dnetiucv.c200 struct net_device *netdev; member
816 struct net_device *netdev = conn->netdev; in conn_action_connaccept() local
847 struct net_device *netdev = conn->netdev; in conn_action_connack() local
870 struct net_device *netdev = conn->netdev; in conn_action_connsever() local
888 struct net_device *netdev = conn->netdev; in conn_action_start() local
972 struct net_device *netdev = conn->netdev; in conn_action_stop() local
993 struct net_device *netdev = conn->netdev; in conn_action_inval() local
Dqeth_l3_main.c1570 struct net_device *netdev; in qeth_l3_add_vlan_mc() local
1632 struct net_device *netdev; in qeth_l3_add_vlan_mc6() local
1675 struct net_device *netdev; in qeth_l3_free_vlan_addresses4() local
1705 struct net_device *netdev; in qeth_l3_free_vlan_addresses6() local
1998 struct net_device *netdev; in qeth_l3_verify_vlan_dev() local
/linux-4.4.14/drivers/net/phy/
Dmdio_bus.c522 struct net_device *netdev = phydev->attached_dev; in mdio_bus_phy_may_suspend() local
591 struct net_device *netdev = phydev->attached_dev; in mdio_bus_restore() local
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_ethtool.c279 void ehea_set_ethtool_ops(struct net_device *netdev) in ehea_set_ethtool_ops()
/linux-4.4.14/drivers/net/wireless/libertas/
Dcfg.c461 struct net_device *netdev, in lbs_cfg_set_mesh_channel()
1484 struct net_device *netdev, in lbs_cfg_set_default_key()
1505 static int lbs_cfg_add_key(struct wiphy *wiphy, struct net_device *netdev, in lbs_cfg_add_key()
1568 static int lbs_cfg_del_key(struct wiphy *wiphy, struct net_device *netdev, in lbs_cfg_del_key()
/linux-4.4.14/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c272 void altera_tse_set_ethtool_ops(struct net_device *netdev) in altera_tse_set_ethtool_ops()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_lte.h63 struct net_device *netdev; member
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmsc9420.c262 static void smsc9420_ethtool_get_drvinfo(struct net_device *netdev, in smsc9420_ethtool_get_drvinfo()
273 static u32 smsc9420_ethtool_get_msglevel(struct net_device *netdev) in smsc9420_ethtool_get_msglevel()
279 static void smsc9420_ethtool_set_msglevel(struct net_device *netdev, u32 data) in smsc9420_ethtool_set_msglevel()
285 static int smsc9420_ethtool_nway_reset(struct net_device *netdev) in smsc9420_ethtool_nway_reset()
/linux-4.4.14/drivers/staging/slicoss/
Dslicoss.c755 struct net_device *netdev = adapter->netdev; in slic_mac_filter() local
1927 struct net_device *netdev = adapter->netdev; in slic_rcv_handle_error() local
2019 struct net_device *netdev = adapter->netdev; in slic_rcv_handler() local
2892 static void slic_init_adapter(struct net_device *netdev, in slic_init_adapter()
3064 struct net_device *netdev; in slic_entry_probe() local
/linux-4.4.14/drivers/net/
Dxen-netfront.c148 struct net_device *netdev; member
1277 static void xennet_free_netdev(struct net_device *netdev) in xennet_free_netdev()
1289 struct net_device *netdev; in xennet_create_dev() local
1348 struct net_device *netdev; in netfront_probe() local
2022 struct net_device *netdev = np->netdev; in netback_changed() local
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c1324 struct net_device *netdev = vptr->netdev; in velocity_init_registers() local
2772 struct net_device *netdev; in velocity_probe() local
2907 struct net_device *netdev = dev_get_drvdata(dev); in velocity_remove() local
3138 struct net_device *netdev = dev_get_drvdata(dev); in velocity_suspend() local
3208 struct net_device *netdev = dev_get_drvdata(dev); in velocity_resume() local
/linux-4.4.14/drivers/net/ethernet/hisilicon/
Dhip04_eth.c706 static int hip04_get_coalesce(struct net_device *netdev, in hip04_get_coalesce()
717 static int hip04_set_coalesce(struct net_device *netdev, in hip04_set_coalesce()
748 static void hip04_get_drvinfo(struct net_device *netdev, in hip04_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c215 static void mlx4_en_get_wol(struct net_device *netdev, in mlx4_en_get_wol()
254 static int mlx4_en_set_wol(struct net_device *netdev, in mlx4_en_set_wol()
1110 static u32 mlx4_en_get_rxfh_key_size(struct net_device *netdev) in mlx4_en_get_rxfh_key_size()

12