Searched refs:netdev (Results 101 - 125 of 972) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c114 * @t: timer list containing pointer to netdev cast into an unsigned long
148 struct net_device *netdev = adapter->netdev; local
157 if (netif_carrier_ok(netdev)) { /* old link state: Up */
164 netif_carrier_off(netdev);
165 netif_stop_queue(netdev);
179 netdev_info(netdev,
186 if (!netif_carrier_ok(netdev)) {
188 netif_carrier_on(netdev);
189 netif_wake_queue(netdev);
212 struct net_device *netdev = adapter->netdev; local
249 atl1e_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
266 atl1e_set_multi(struct net_device *netdev) argument
311 atl1e_rx_mode(struct net_device *netdev, netdev_features_t features) argument
338 atl1e_vlan_mode(struct net_device *netdev, netdev_features_t features) argument
366 atl1e_set_mac_addr(struct net_device *netdev, void *p) argument
385 atl1e_fix_features(struct net_device *netdev, netdev_features_t features) argument
400 atl1e_set_features(struct net_device *netdev, netdev_features_t features) argument
422 atl1e_change_mtu(struct net_device *netdev, int new_mtu) argument
444 atl1e_mdio_read(struct net_device *netdev, int phy_id, int reg_num) argument
453 atl1e_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) argument
463 atl1e_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
513 atl1e_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
1048 struct net_device *netdev = adapter->netdev; local
1155 atl1e_get_stats(struct net_device *netdev) argument
1279 struct net_device *netdev = data; local
1400 struct net_device *netdev = adapter->netdev; local
1549 atl1e_netpoll(struct net_device *netdev) argument
1861 atl1e_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
1921 struct net_device *netdev = adapter->netdev; local
1929 struct net_device *netdev = adapter->netdev; local
1945 struct net_device *netdev = adapter->netdev; local
1977 struct net_device *netdev = adapter->netdev; local
2012 atl1e_open(struct net_device *netdev) argument
2057 atl1e_close(struct net_device *netdev) argument
2071 struct net_device *netdev = pci_get_drvdata(pdev); local
2200 struct net_device *netdev = pci_get_drvdata(pdev); local
2264 atl1e_init_netdev(struct net_device *netdev, struct pci_dev *pdev) argument
2299 struct net_device *netdev; local
2446 struct net_device *netdev = pci_get_drvdata(pdev); local
2478 struct net_device *netdev = pci_get_drvdata(pdev); local
2504 struct net_device *netdev = pci_get_drvdata(pdev); local
2532 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c77 * @netdev: pointer to netdev struct
84 struct net_device *netdev,
137 struct net_device *netdev = adapter->netdev; local
182 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
248 struct net_device *netdev = adapter->netdev; local
352 skb->protocol = eth_type_trans(skb, netdev);
354 igbvf_receive_skb(adapter, netdev, sk
83 igbvf_receive_skb(struct igbvf_adapter *adapter, struct net_device *netdev, struct sk_buff *skb, u32 status, __le16 vlan) argument
775 struct net_device *netdev = adapter->netdev; local
854 struct net_device *netdev = data; local
871 struct net_device *netdev = data; local
899 struct net_device *netdev = data; local
1051 struct net_device *netdev = adapter->netdev; local
1103 struct net_device *netdev = adapter->netdev; local
1146 struct net_device *netdev = adapter->netdev; local
1233 igbvf_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
1253 igbvf_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
1415 igbvf_set_multi(struct net_device *netdev) argument
1450 igbvf_set_uni(struct net_device *netdev) argument
1485 igbvf_set_rx_mode(struct net_device *netdev) argument
1519 struct net_device *netdev = adapter->netdev; local
1567 struct net_device *netdev = adapter->netdev; local
1628 struct net_device *netdev = adapter->netdev; local
1708 igbvf_open(struct net_device *netdev) argument
1776 igbvf_close(struct net_device *netdev) argument
1798 igbvf_set_mac(struct net_device *netdev, void *p) argument
1917 struct net_device *netdev = adapter->netdev; local
2118 igbvf_maybe_stop_tx(struct net_device *netdev, int size) argument
2278 igbvf_xmit_frame_ring_adv(struct sk_buff *skb, struct net_device *netdev, struct igbvf_ring *tx_ring) argument
2352 igbvf_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
2373 igbvf_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) argument
2398 igbvf_change_mtu(struct net_device *netdev, int new_mtu) argument
2449 igbvf_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
2459 struct net_device *netdev = dev_get_drvdata(dev_d); local
2476 struct net_device *netdev = pci_get_drvdata(pdev); local
2508 igbvf_netpoll(struct net_device *netdev) argument
2531 struct net_device *netdev = pci_get_drvdata(pdev); local
2556 struct net_device *netdev = pci_get_drvdata(pdev); local
2581 struct net_device *netdev = pci_get_drvdata(pdev); local
2601 struct net_device *netdev = pci_get_drvdata(pdev); local
2615 struct net_device *netdev = pci_get_drvdata(pdev); local
2625 struct net_device *netdev = adapter->netdev; local
2635 igbvf_set_features(struct net_device *netdev, netdev_features_t features) argument
2713 struct net_device *netdev; local
2910 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/kernel/bpf/
H A Doffload.c44 struct net_device *netdev; member in struct:bpf_offload_netdev
54 .key_offset = offsetof(struct bpf_offload_netdev, netdev),
61 static int bpf_dev_offload_check(struct net_device *netdev) argument
63 if (!netdev)
65 if (!netdev->netdev_ops->ndo_bpf)
71 bpf_offload_find_netdev(struct net_device *netdev) argument
75 return rhashtable_lookup_fast(&offdevs, &netdev, offdevs_params);
79 struct net_device *netdev)
88 ondev->netdev = netdev;
78 __bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, struct net_device *netdev) argument
124 struct net_device *netdev; local
145 __bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, struct net_device *netdev) argument
188 __bpf_prog_dev_bound_init(struct bpf_prog *prog, struct net_device *netdev) argument
230 struct net_device *netdev; local
384 struct net_device *netdev; local
694 __bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) argument
715 bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) argument
759 bpf_offload_dev_netdev_register(struct bpf_offload_dev *offdev, struct net_device *netdev) argument
771 bpf_offload_dev_netdev_unregister(struct bpf_offload_dev *offdev, struct net_device *netdev) argument
[all...]
/linux-master/net/bluetooth/
H A D6lowpan.c69 struct net_device *netdev; member in struct:lowpan_btle_dev
78 lowpan_btle_dev(const struct net_device *netdev) argument
80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv;
181 neigh = __ipv6_neigh_lookup(dev->netdev, nexthop);
246 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, argument
253 return lowpan_header_decompress(skb, netdev, netdev->dev_addr, saddr);
355 if (!dev || !dev->netdev)
358 err = recv_pkt(skb, dev->netdev, peer);
367 static int setup_header(struct sk_buff *skb, struct net_device *netdev, argument
417 header_create(struct sk_buff *skb, struct net_device *netdev, unsigned short type, const void *_daddr, const void *_saddr, unsigned int len) argument
428 send_pkt(struct l2cap_chan *chan, struct sk_buff *skb, struct net_device *netdev) argument
459 send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) argument
498 bt_xmit(struct sk_buff *skb, struct net_device *netdev) argument
579 ifup(struct net_device *netdev) argument
590 ifdown(struct net_device *netdev) argument
664 struct net_device *netdev; local
1221 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local
[all...]
/linux-master/drivers/scsi/fcoe/
H A Dfcoe.c107 static bool fcoe_match(struct net_device *netdev);
108 static int fcoe_create(struct net_device *netdev, enum fip_mode fip_mode);
109 static int fcoe_destroy(struct net_device *netdev);
110 static int fcoe_enable(struct net_device *netdev);
111 static int fcoe_disable(struct net_device *netdev);
114 static int fcoe_ctlr_alloc(struct net_device *netdev);
286 * @netdev: The net device that the fcoe interface is on
292 struct net_device *netdev)
300 fcoe->netdev = netdev;
291 fcoe_interface_setup(struct fcoe_interface *fcoe, struct net_device *netdev) argument
379 fcoe_interface_create(struct net_device *netdev, enum fip_mode fip_mode) argument
443 struct net_device *netdev = fcoe->netdev; local
487 struct net_device *netdev = fcoe->netdev; local
508 fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) argument
531 fcoe_fip_vlan_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) argument
651 fcoe_netdev_features_change(struct fc_lport *lport, struct net_device *netdev) argument
700 fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) argument
806 fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) argument
1005 struct net_device *netdev = fcoe->netdev; local
1064 struct net_device *netdev = fcoe_netdev(lport); local
1086 struct net_device *netdev = fcoe_netdev(lport); local
1105 struct net_device *netdev = fcoe_netdev(lport); local
1126 struct net_device *netdev = fcoe->netdev; local
1334 fcoe_rcv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *olddev) argument
1765 fcoe_hostlist_lookup_realdev_port(struct net_device *netdev) argument
1788 struct net_device *netdev; local
1838 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); local
1932 fcoe_disable(struct net_device *netdev) argument
1963 fcoe_enable(struct net_device *netdev) argument
2003 struct net_device *netdev = fcoe_netdev(lport); local
2050 fcoe_destroy(struct net_device *netdev) argument
2118 fcoe_match(struct net_device *netdev) argument
2135 struct net_device *netdev = fcoe->realdev; local
2183 _fcoe_create(struct net_device *netdev, enum fip_mode fip_mode, enum fcoe_create_link_state link_state) argument
2274 fcoe_create(struct net_device *netdev, enum fip_mode fip_mode) argument
2290 fcoe_ctlr_alloc(struct net_device *netdev) argument
2305 struct net_device *netdev = fcoe_netdev(lport); local
2366 fcoe_hostlist_lookup_port(const struct net_device *netdev) argument
2386 fcoe_hostlist_lookup(const struct net_device *netdev) argument
2649 struct net_device *netdev = fcoe->netdev; local
[all...]
H A Dfcoe.h48 #define FCOE_NETDEV_DBG(netdev, fmt, args...) \
51 netdev->name, ##args);)
56 * @netdev: The associated net device
67 struct net_device *netdev; member in struct:fcoe_interface
90 ((struct fcoe_port *)lport_priv(lport))->priv)->netdev;
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c255 static int hinic_get_link_ksettings(struct net_device *netdev, argument
259 struct hinic_dev *nic_dev = netdev_priv(netdev);
368 struct net_device *netdev = nic_dev->netdev; local
383 netif_err(nic_dev, drv, netdev,
407 netif_err(nic_dev, drv, nic_dev->netdev, "Not support autoneg\n");
416 netif_err(nic_dev, drv, nic_dev->netdev, "Need to set speed when autoneg is off\n");
434 netif_err(nic_dev, drv, nic_dev->netdev, "%s autoneg failed\n",
438 netif_info(nic_dev, drv, nic_dev->netdev, "%s autoneg successfully\n",
447 netif_err(nic_dev, drv, nic_dev->netdev, "Se
463 struct net_device *netdev = nic_dev->netdev; local
502 set_link_settings(struct net_device *netdev, u8 autoneg, u32 speed) argument
521 hinic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *link_settings) argument
529 hinic_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
548 hinic_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
583 hinic_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
631 __hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) argument
683 struct net_device *netdev = nic_dev->netdev; local
745 __hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) argument
798 hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
806 hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
814 hinic_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) argument
820 hinic_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) argument
826 hinic_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
849 hinic_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
883 hinic_get_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
893 hinic_set_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
1057 __set_rss_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key) argument
1101 hinic_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument
1122 hinic_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument
1139 hinic_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
1173 hinic_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
1203 hinic_get_rxfh_key_size(struct net_device *netdev) argument
1208 hinic_get_rxfh_indir_size(struct net_device *netdev) argument
1402 hinic_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
1448 hinic_get_sset_count(struct net_device *netdev, int sset) argument
1470 hinic_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
1517 struct net_device *netdev = nic_dev->netdev; local
1595 struct net_device *netdev = nic_dev->netdev; local
1637 hinic_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument
1673 hinic_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument
1706 hinic_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument
1750 hinic_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument
1773 hinic_get_link_ext_state(struct net_device *netdev, struct ethtool_link_ext_state_info *link_ext_state_info) argument
1855 hinic_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_ethtool.c15 static void ngbe_get_wol(struct net_device *netdev, argument
18 struct wx *wx = netdev_priv(netdev);
28 static int ngbe_set_wol(struct net_device *netdev, argument
31 struct wx *wx = netdev_priv(netdev);
40 netdev->wol_enabled = !!(wx->wol);
42 device_set_wakeup_enable(&pdev->dev, netdev->wol_enabled);
47 static int ngbe_set_ringparam(struct net_device *netdev, argument
52 struct wx *wx = netdev_priv(netdev);
67 if (!netif_running(wx->netdev)) {
135 void ngbe_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c118 struct net_device *netdev; member in struct:octeon_mgmt
211 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) argument
213 struct octeon_mgmt *p = netdev_priv(netdev);
221 size = netdev->mtu + OCTEON_MGMT_RX_HEADROOM + 8 + NET_IP_ALIGN;
223 skb = netdev_alloc_skb(netdev, size);
314 if (cleaned && netif_queue_stopped(p->netdev))
315 netif_wake_queue(p->netdev);
325 static void octeon_mgmt_update_rx_stats(struct net_device *netdev) argument
327 struct octeon_mgmt *p = netdev_priv(netdev);
338 netdev
344 octeon_mgmt_update_tx_stats(struct net_device *netdev) argument
393 struct net_device *netdev = p->netdev; local
501 struct net_device *netdev = p->netdev; local
561 octeon_mgmt_set_rx_filtering(struct net_device *netdev) argument
635 octeon_mgmt_set_mac_address(struct net_device *netdev, void *addr) argument
647 octeon_mgmt_change_mtu(struct net_device *netdev, int new_mtu) argument
671 struct net_device *netdev = dev_id; local
693 octeon_mgmt_ioctl_hwtstamp(struct net_device *netdev, struct ifreq *rq, int cmd) argument
787 octeon_mgmt_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) argument
904 octeon_mgmt_adjust_link(struct net_device *netdev) argument
945 octeon_mgmt_init_phy(struct net_device *netdev) argument
966 octeon_mgmt_open(struct net_device *netdev) argument
1240 octeon_mgmt_stop(struct net_device *netdev) argument
1276 octeon_mgmt_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1333 octeon_mgmt_poll_controller(struct net_device *netdev) argument
1342 octeon_mgmt_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
1382 struct net_device *netdev; local
1526 struct net_device *netdev = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_ethtool.c22 static void ionic_get_stats(struct net_device *netdev, argument
25 struct ionic_lif *lif = netdev_priv(netdev);
46 static int ionic_get_sset_count(struct net_device *netdev, int sset) argument
48 struct ionic_lif *lif = netdev_priv(netdev);
59 static void ionic_get_strings(struct net_device *netdev, argument
62 struct ionic_lif *lif = netdev_priv(netdev);
71 static void ionic_get_drvinfo(struct net_device *netdev, argument
74 struct ionic_lif *lif = netdev_priv(netdev);
84 static int ionic_get_regs_len(struct net_device *netdev) argument
89 static void ionic_get_regs(struct net_device *netdev, struc argument
112 ionic_get_link_ext_stats(struct net_device *netdev, struct ethtool_link_ext_stats *stats) argument
121 ionic_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) argument
271 ionic_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) argument
305 ionic_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
320 ionic_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
354 ionic_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
376 ionic_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
421 ionic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
441 ionic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coalesce, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
609 ionic_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
624 ionic_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
697 ionic_get_channels(struct net_device *netdev, struct ethtool_channels *ch) argument
716 ionic_set_channels(struct net_device *netdev, struct ethtool_channels *ch) argument
805 ionic_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, u32 *rules) argument
824 ionic_get_rxfh_indir_size(struct net_device *netdev) argument
831 ionic_get_rxfh_key_size(struct net_device *netdev) argument
836 ionic_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
856 ionic_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
887 ionic_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) argument
903 ionic_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument
937 ionic_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument
970 ionic_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument
1062 ionic_nway_reset(struct net_device *netdev) argument
1127 ionic_ethtool_set_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dipoib_main.c33 qpn_from_mac(priv->netdev->dev_addr),
54 hfi1_netdev_remove_data(priv->dd, qpn_from_mac(priv->netdev->dev_addr));
69 u32 qpn = qpn_from_mac(priv->netdev->dev_addr);
121 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr);
151 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr);
175 hfi1_ipoib_rxq_deinit(priv->netdev);
194 struct net_device *netdev,
198 struct rdma_netdev *rn = netdev_priv(netdev);
209 rn->mtu = netdev->mtu;
211 priv = hfi1_ipoib_priv(netdev);
192 hfi1_ipoib_setup_rn(struct ib_device *device, u32 port_num, struct net_device *netdev, void *param) argument
[all...]
/linux-master/drivers/net/fjes/
H A Dfjes_main.c169 struct net_device *netdev = adapter->netdev; local
217 fjes_hw_setup_epbuf(&buf_pair->tx, netdev->dev_addr,
218 netdev->mtu);
390 struct net_device *netdev = adapter->netdev; local
402 IRQF_SHARED, netdev->name, adapter);
429 struct net_device *netdev = adapter->netdev; local
455 netdev
484 fjes_open(struct net_device *netdev) argument
525 fjes_close(struct net_device *netdev) argument
591 fjes_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
764 fjes_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
771 fjes_change_mtu(struct net_device *netdev, int new_mtu) argument
840 fjes_tx_retry(struct net_device *netdev, unsigned int txqueue) argument
847 fjes_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
867 fjes_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) argument
895 fjes_netdev_setup(struct net_device *netdev) argument
959 struct net_device *netdev = napi->dev; local
1056 struct net_device *netdev = adapter->netdev; local
1067 struct net_device *netdev = adapter->netdev; local
1078 struct net_device *netdev = adapter->netdev; local
1185 struct net_device *netdev = adapter->netdev; local
1338 struct net_device *netdev; local
1443 struct net_device *netdev = dev_get_drvdata(&plat_dev->dev); local
[all...]
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datl2.c97 hw->max_frame_size = adapter->netdev->mtu;
108 * @netdev: network interface device structure
115 static void atl2_set_multi(struct net_device *netdev) argument
117 struct atl2_adapter *adapter = netdev_priv(netdev);
126 if (netdev->flags & IFF_PROMISC) {
128 } else if (netdev->flags & IFF_ALLMULTI) {
141 netdev_for_each_mc_addr(ha, netdev) {
236 ATL2_WRITE_REG(hw, REG_MTU, adapter->netdev->mtu +
354 static void atl2_vlan_mode(struct net_device *netdev, argument
357 struct atl2_adapter *adapter = netdev_priv(netdev);
374 atl2_fix_features(struct net_device *netdev, netdev_features_t features) argument
389 atl2_set_features(struct net_device *netdev, netdev_features_t features) argument
402 struct net_device *netdev = adapter->netdev; local
464 struct net_device *netdev = adapter->netdev; local
549 struct net_device *netdev = adapter->netdev; local
641 struct net_device *netdev = adapter->netdev; local
682 atl2_open(struct net_device *netdev) argument
741 struct net_device *netdev = adapter->netdev; local
766 struct net_device *netdev = adapter->netdev; local
787 atl2_close(struct net_device *netdev) argument
820 atl2_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
902 atl2_change_mtu(struct net_device *netdev, int new_mtu) argument
923 atl2_set_mac(struct net_device *netdev, void *p) argument
942 atl2_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
978 atl2_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
999 atl2_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
1053 struct net_device *netdev = adapter->netdev; local
1108 struct net_device *netdev = adapter->netdev; local
1147 struct net_device *netdev = adapter->netdev; local
1277 atl2_poll_controller(struct net_device *netdev) argument
1316 struct net_device *netdev; local
1464 struct net_device *netdev = pci_get_drvdata(pdev); local
1490 struct net_device *netdev = pci_get_drvdata(pdev); local
1620 struct net_device *netdev = pci_get_drvdata(pdev); local
1692 atl2_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument
1734 atl2_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument
1790 atl2_get_msglevel(struct net_device *netdev) argument
1798 atl2_set_msglevel(struct net_device *netdev, u32 data) argument
1802 atl2_get_regs_len(struct net_device *netdev) argument
1808 atl2_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
1866 atl2_get_eeprom_len(struct net_device *netdev) argument
1876 atl2_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
1917 atl2_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
1978 atl2_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
1989 atl2_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
2009 atl2_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
2030 atl2_nway_reset(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c363 static int otx2vf_open(struct net_device *netdev) argument
368 err = otx2_open(netdev);
373 vf = netdev_priv(netdev);
375 pr_info("%s NIC Link is UP\n", netdev->name);
376 netif_carrier_on(netdev);
377 netif_tx_start_all_queues(netdev);
383 static int otx2vf_stop(struct net_device *netdev) argument
385 return otx2_stop(netdev);
388 static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev) argument
390 struct otx2_nic *vf = netdev_priv(netdev);
413 otx2vf_set_rx_mode(struct net_device *netdev) argument
423 struct net_device *netdev = vf->netdev; local
449 otx2vf_change_mtu(struct net_device *netdev, int new_mtu) argument
482 otx2vf_set_features(struct net_device *netdev, netdev_features_t features) argument
539 struct net_device *netdev; local
745 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c83 static int hns3_get_sset_count(struct net_device *netdev, int stringset);
471 static void hns3_update_limit_promisc_mode(struct net_device *netdev, argument
474 struct hnae3_handle *handle = hns3_get_handle(netdev);
488 static int hns3_get_sset_count(struct net_device *netdev, int stringset) argument
490 struct hnae3_handle *h = hns3_get_handle(netdev);
555 static void hns3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
557 struct hnae3_handle *h = hns3_get_handle(netdev);
615 * @netdev: net device
619 static void hns3_get_stats(struct net_device *netdev, argument
622 struct hnae3_handle *h = hns3_get_handle(netdev);
644 hns3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
676 hns3_get_link(struct net_device *netdev) argument
686 hns3_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *param, struct kernel_ethtool_ringparam *kernel_param, struct netlink_ext_ack *extack) argument
710 hns3_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *param) argument
724 hns3_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *param) argument
769 hns3_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument
832 hns3_check_ksettings_param(const struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument
879 hns3_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument
941 hns3_get_rss_key_size(struct net_device *netdev) argument
951 hns3_get_rss_indir_size(struct net_device *netdev) argument
959 hns3_get_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
971 hns3_set_rss(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
1000 hns3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument
1042 hns3_set_reset(struct net_device *netdev, u32 *flags) argument
1207 hns3_set_tx_push(struct net_device *netdev, u32 tx_push) argument
1297 hns3_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument
1319 hns3_nway_reset(struct net_device *netdev) argument
1353 hns3_get_channels(struct net_device *netdev, struct ethtool_channels *ch) argument
1362 hns3_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *cmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
1395 hns3_check_gl_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd) argument
1439 hns3_check_rl_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd) argument
1467 hns3_check_ql_coalesce_param(struct net_device *netdev, struct ethtool_coalesce *cmd) argument
1491 hns3_check_cqe_coalesce_param(struct net_device *netdev, struct kernel_ethtool_coalesce *kernel_coal) argument
1507 hns3_check_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd, struct kernel_ethtool_coalesce *kernel_coal) argument
1534 hns3_set_coalesce_per_queue(struct net_device *netdev, struct ethtool_coalesce *cmd, u32 queue) argument
1573 hns3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *cmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
1621 hns3_get_regs_len(struct net_device *netdev) argument
1631 hns3_get_regs(struct net_device *netdev, struct ethtool_regs *cmd, void *data) argument
1642 hns3_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument
1653 hns3_get_msglevel(struct net_device *netdev) argument
1660 hns3_set_msglevel(struct net_device *netdev, u32 msg_level) argument
1667 hns3_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) argument
1718 hns3_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
1743 hns3_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
1763 hns3_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument
1815 hns3_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) argument
1834 hns3_get_priv_flags(struct net_device *netdev) argument
1855 hns3_set_priv_flags(struct net_device *netdev, u32 pflags) argument
1881 hns3_get_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, void *data) argument
1908 hns3_set_tx_spare_buf_size(struct net_device *netdev, u32 data) argument
1936 hns3_set_tunable(struct net_device *netdev, const struct ethtool_tunable *tuna, const void *data) argument
2011 hns3_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument
2057 hns3_get_link_ext_state(struct net_device *netdev, struct ethtool_link_ext_state_info *info) argument
2087 hns3_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
2099 hns3_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
2192 hns3_ethtool_set_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c97 netdev_info(oct->netdev, "Freed IOQ Vectors\n");
357 struct net_device *netdev = oct->netdev; local
380 "%s-%s", netdev->name, non_ioq_msix_names[i]);
437 netdev_err(netdev,
450 "%s-q%d", netdev->name, j);
455 netdev_err(netdev,
510 netdev_info(oct->netdev, "IRQs freed\n");
567 netdev_dbg(iq->netdev, "enabling intr for Q-%u\n", iq->q_no);
620 netdev_dbg(oct->netdev, "Addin
673 octep_link_up(struct net_device *netdev) argument
690 octep_open(struct net_device *netdev) argument
756 octep_stop(struct net_device *netdev) argument
841 octep_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
991 octep_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
1040 struct net_device *netdev = oct->netdev; local
1058 octep_tx_timeout(struct net_device *netdev, unsigned int txqueue) argument
1065 octep_set_mac(struct net_device *netdev, void *p) argument
1085 octep_change_mtu(struct net_device *netdev, int new_mtu) argument
1392 struct net_device *netdev; local
1543 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c203 static int fun_get_link_ksettings(struct net_device *netdev, argument
206 const struct funeth_priv *fp = netdev_priv(netdev);
218 link_up = netif_carrier_ok(netdev);
316 static int fun_set_link_ksettings(struct net_device *netdev, argument
320 struct funeth_priv *fp = netdev_priv(netdev);
354 static void fun_get_pauseparam(struct net_device *netdev, argument
357 const struct funeth_priv *fp = netdev_priv(netdev);
365 static int fun_set_pauseparam(struct net_device *netdev, argument
368 struct funeth_priv *fp = netdev_priv(netdev);
392 static int fun_restart_an(struct net_device *netdev) argument
403 fun_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument
419 fun_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
428 fun_get_msglevel(struct net_device *netdev) argument
435 fun_set_msglevel(struct net_device *netdev, u32 value) argument
465 fun_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) argument
480 fun_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) argument
524 fun_get_channels(struct net_device *netdev, struct ethtool_channels *chan) argument
534 fun_set_channels(struct net_device *netdev, struct ethtool_channels *chan) argument
552 fun_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kring, struct netlink_ext_ack *extack) argument
573 fun_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kring, struct netlink_ext_ack *extack) argument
637 fun_get_strings(struct net_device *netdev, u32 sset, u8 *data) argument
747 fun_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
847 fun_get_pause_stats(struct net_device *netdev, struct ethtool_pause_stats *stats) argument
859 fun_get_802_3_stats(struct net_device *netdev, struct ethtool_eth_mac_stats *stats) argument
876 fun_get_802_3_ctrl_stats(struct net_device *netdev, struct ethtool_eth_ctrl_stats *stats) argument
888 fun_get_rmon_stats(struct net_device *netdev, struct ethtool_rmon_stats *stats, const struct ethtool_rmon_hist_range **ranges) argument
932 fun_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *stats) argument
948 fun_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument
961 fun_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) argument
966 fun_get_rxfh_indir_size(struct net_device *netdev) argument
973 fun_get_rxfh_key_size(struct net_device *netdev) argument
980 fun_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
1001 fun_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
1042 fun_get_ts_info(struct net_device *netdev, struct ethtool_ts_info *info) argument
1073 fun_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
1089 fun_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) argument
1121 fun_get_port_module_page(struct net_device *netdev, const struct ethtool_module_eeprom *req, struct netlink_ext_ack *extack) argument
1195 fun_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c264 struct net_device *netdev = urb->context; local
269 netdev_warn(netdev, "urb status received: %d\n", urb->status);
276 struct net_device *netdev = priv->netdev; local
287 cmd, len, kvaser_usb_send_cmd_callback, netdev);
292 netdev_err(netdev, "Error transmitting URB\n");
300 int kvaser_usb_can_rx_over_error(struct net_device *netdev) argument
302 struct net_device_stats *stats = &netdev->stats;
309 skb = alloc_can_err_skb(netdev, &cf);
312 netdev_warn(netdev, "N
435 kvaser_usb_open(struct net_device *netdev) argument
503 kvaser_usb_close(struct net_device *netdev) argument
536 kvaser_usb_set_bittiming(struct net_device *netdev) argument
580 kvaser_usb_set_data_bittiming(struct net_device *netdev) argument
625 struct net_device *netdev; local
642 kvaser_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
796 struct net_device *netdev; local
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c217 nfp_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
220 struct nfp_net *nn = netdev_priv(netdev);
232 nfp_net_nway_reset(struct net_device *netdev) argument
238 port = nfp_port_from_netdev(netdev);
243 if (!netif_running(netdev))
248 netdev_info(netdev, "Link down failed: %d\n", err);
254 netdev_info(netdev, "Link up failed: %d\n", err);
258 netdev_info(netdev, "Link reset succeeded\n");
263 nfp_app_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
265 struct nfp_app *app = nfp_app_from_netdev(netdev);
484 nfp_net_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) argument
546 nfp_net_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) argument
622 nfp_net_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
651 nfp_net_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument
689 nfp_test_link(struct net_device *netdev) argument
697 nfp_test_nsp(struct net_device *netdev) argument
733 nfp_test_fw(struct net_device *netdev) argument
745 nfp_test_reg(struct net_device *netdev) argument
762 link_test_supported(struct net_device *netdev) argument
767 nsp_test_supported(struct net_device *netdev) argument
775 fw_test_supported(struct net_device *netdev) argument
783 reg_test_supported(struct net_device *netdev) argument
804 nfp_get_self_test_strings(struct net_device *netdev, u8 *data) argument
813 nfp_get_self_test_count(struct net_device *netdev) argument
824 nfp_net_self_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument
843 nfp_vnic_get_sw_stats_count(struct net_device *netdev) argument
851 nfp_vnic_get_sw_stats_strings(struct net_device *netdev, u8 *data) argument
884 nfp_vnic_get_sw_stats(struct net_device *netdev, u64 *data) argument
1048 nfp_mac_get_stats_count(struct net_device *netdev) argument
1059 nfp_mac_get_stats_strings(struct net_device *netdev, u8 *data) argument
1074 nfp_mac_get_stats(struct net_device *netdev, u64 *data) argument
1089 nfp_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
1113 nfp_net_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
1128 nfp_net_get_sset_count(struct net_device *netdev, int sset) argument
1150 nfp_port_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
1170 nfp_port_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
1182 nfp_port_get_sset_count(struct net_device *netdev, int sset) argument
1236 nfp_port_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) argument
1260 nfp_port_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *param) argument
1437 nfp_net_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) argument
1760 nfp_net_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) argument
1777 nfp_net_get_rxfh_indir_size(struct net_device *netdev) argument
1787 nfp_net_get_rxfh_key_size(struct net_device *netdev) argument
1797 nfp_net_get_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh) argument
1819 nfp_net_set_rxfh(struct net_device *netdev, struct ethtool_rxfh_param *rxfh, struct netlink_ext_ack *extack) argument
1850 nfp_net_get_regs_len(struct net_device *netdev) argument
1855 nfp_net_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
1868 nfp_net_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
1935 nfp_app_set_dump(struct net_device *netdev, struct ethtool_dump *val) argument
1963 nfp_app_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) argument
1980 nfp_app_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, void *buffer) argument
1999 nfp_port_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) argument
2080 nfp_port_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *data) argument
2127 nfp_net_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
2204 nfp_net_get_channels(struct net_device *netdev, struct ethtool_channels *channel) argument
2242 nfp_net_set_channels(struct net_device *netdev, struct ethtool_channels *channel) argument
2263 nfp_port_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
2287 nfp_port_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
2304 nfp_net_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) argument
2339 nfp_net_get_eeprom_len(struct net_device *netdev) argument
2353 nfp_net_get_nsp_hwindex(struct net_device *netdev, struct nfp_nsp **nspptr, u32 *index) argument
2387 nfp_net_get_port_mac_by_hwinfo(struct net_device *netdev, u8 *mac_addr) argument
2420 nfp_net_set_port_mac_by_hwinfo(struct net_device *netdev, u8 *mac_addr) argument
2449 nfp_net_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
2468 nfp_net_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
2558 nfp_net_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/linux-master/drivers/net/ipa/
H A Dipa_gsi.c36 if (endpoint->netdev)
37 netdev_sent_queue(endpoint->netdev, byte_count);
47 if (endpoint->netdev)
48 netdev_completed_queue(endpoint->netdev, count, byte_count);
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-ethtool.c98 static void xlgmac_ethtool_get_drvinfo(struct net_device *netdev, argument
101 struct xlgmac_pdata *pdata = netdev_priv(netdev);
123 static u32 xlgmac_ethtool_get_msglevel(struct net_device *netdev) argument
125 struct xlgmac_pdata *pdata = netdev_priv(netdev);
130 static void xlgmac_ethtool_set_msglevel(struct net_device *netdev, argument
133 struct xlgmac_pdata *pdata = netdev_priv(netdev);
138 static void xlgmac_ethtool_get_channels(struct net_device *netdev, argument
141 struct xlgmac_pdata *pdata = netdev_priv(netdev);
150 xlgmac_ethtool_get_coalesce(struct net_device *netdev, argument
155 struct xlgmac_pdata *pdata = netdev_priv(netdev);
165 xlgmac_ethtool_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) argument
199 xlgmac_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
218 xlgmac_ethtool_get_sset_count(struct net_device *netdev, int stringset) argument
235 xlgmac_ethtool_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-ethtool.c34 static void dpaa2_switch_get_drvinfo(struct net_device *netdev, argument
37 struct ethsw_port_priv *port_priv = netdev_priv(netdev);
53 strscpy(drvinfo->bus_info, dev_name(netdev->dev.parent->parent),
58 dpaa2_switch_get_link_ksettings(struct net_device *netdev, argument
61 struct ethsw_port_priv *port_priv = netdev_priv(netdev);
81 netdev_err(netdev, "ERROR %d getting link state\n", err);
100 dpaa2_switch_set_link_ksettings(struct net_device *netdev, argument
103 struct ethsw_port_priv *port_priv = netdev_priv(netdev);
121 if_running = netif_running(netdev);
127 netdev_err(netdev, "dpsw_if_disabl
160 dpaa2_switch_ethtool_get_sset_count(struct net_device *netdev, int sset) argument
170 dpaa2_switch_ethtool_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
188 dpaa2_switch_ethtool_get_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
[all...]
/linux-master/drivers/net/ethernet/atheros/alx/
H A Dethtool.c128 static int alx_get_link_ksettings(struct net_device *netdev, argument
131 struct alx_priv *alx = netdev_priv(netdev);
179 static int alx_set_link_ksettings(struct net_device *netdev, argument
182 struct alx_priv *alx = netdev_priv(netdev);
212 static void alx_get_pauseparam(struct net_device *netdev, argument
215 struct alx_priv *alx = netdev_priv(netdev);
227 static int alx_set_pauseparam(struct net_device *netdev, argument
230 struct alx_priv *alx = netdev_priv(netdev);
272 static u32 alx_get_msglevel(struct net_device *netdev) argument
274 struct alx_priv *alx = netdev_priv(netdev);
279 alx_set_msglevel(struct net_device *netdev, u32 data) argument
286 alx_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *estats, u64 *data) argument
301 alx_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) argument
313 alx_get_sset_count(struct net_device *netdev, int sset) argument
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_leds.c41 struct net_device *netdev; member in struct:igc_led_classdev
70 netdev_err(adapter->netdev, "Unknown LED %d selected!\n", led);
121 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
129 netdev_dbg(adapter->netdev, "Set brightness for LED %d to mode %u!\n",
166 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
182 netdev_dbg(adapter->netdev, "Set HW control for LED %d to mode %u!\n",
198 struct igc_adapter *adapter = netdev_priv(ldev->netdev);
228 return &ldev->netdev->dev;
240 struct net_device *netdev, int index)
242 struct igc_adapter *adapter = netdev_priv(netdev);
239 igc_setup_ldev(struct igc_led_classdev *ldev, struct net_device *netdev, int index) argument
265 struct net_device *netdev = adapter->netdev; local
[all...]
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c143 netdev_err(nic->netdev,
153 netdev_err(nic->netdev,
173 netdev_err(nic->netdev,
187 netdev_err(nic->netdev,
216 netdev_dbg(nic->netdev, "Mbox message: msg: 0x%x\n", mbx.msg.msg);
224 eth_hw_addr_set(nic->netdev, mbx.nic_cfg.mac_addr);
253 netdev_info(nic->netdev,
258 netif_carrier_on(nic->netdev);
259 netif_tx_start_all_queues(nic->netdev);
261 netdev_info(nic->netdev, "Lin
301 nicvf_hw_set_mac_addr(struct nicvf *nic, struct net_device *netdev) argument
491 nicvf_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) argument
617 nicvf_snd_ptp_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx) argument
655 nicvf_snd_pkt_handler(struct net_device *netdev, struct cqe_send_t *cqe_tx, int budget, int *subdesc_cnt, unsigned int *tx_pkts, unsigned int *tx_bytes) argument
727 nicvf_set_rxhash(struct net_device *netdev, struct cqe_rx_t *cqe_rx, struct sk_buff *skb) argument
770 nicvf_rcv_pkt_handler(struct net_device *netdev, struct napi_struct *napi, struct cqe_rx_t *cqe_rx, struct snd_queue *sq, struct rcv_queue *rq) argument
845 nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, struct napi_struct *napi, int budget) argument
960 struct net_device *netdev = napi->dev; local
1251 nicvf_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1324 nicvf_stop(struct net_device *netdev) argument
1449 nicvf_open(struct net_device *netdev) argument
1578 nicvf_change_mtu(struct net_device *netdev, int new_mtu) argument
1605 nicvf_set_mac_address(struct net_device *netdev, void *p) argument
1719 nicvf_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) argument
1774 nicvf_fix_features(struct net_device *netdev, netdev_features_t features) argument
1786 nicvf_set_features(struct net_device *netdev, netdev_features_t features) argument
1889 nicvf_xdp(struct net_device *netdev, struct netdev_bpf *xdp) argument
1908 nicvf_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) argument
1961 nicvf_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) argument
2038 nicvf_set_rx_mode(struct net_device *netdev) argument
2097 struct net_device *netdev; local
2273 struct net_device *netdev = pci_get_drvdata(pdev); local
[all...]

Completed in 267 milliseconds

1234567891011>>