Searched refs:netdev (Results 1 - 25 of 309) sorted by relevance

1234567891011>>

/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c50 spider_net_ethtool_get_settings(struct net_device *netdev, argument
54 card = netdev_priv(netdev);
68 spider_net_ethtool_get_drvinfo(struct net_device *netdev, argument
72 card = netdev_priv(netdev);
83 spider_net_ethtool_get_wol(struct net_device *netdev, argument
92 spider_net_ethtool_get_msglevel(struct net_device *netdev) argument
95 card = netdev_priv(netdev);
100 spider_net_ethtool_set_msglevel(struct net_device *netdev, argument
104 card = netdev_priv(netdev);
109 spider_net_ethtool_nway_reset(struct net_device *netdev) argument
119 spider_net_ethtool_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering) argument
130 spider_net_get_sset_count(struct net_device *netdev, int sset) argument
140 spider_net_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
160 spider_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
[all...]
H A Dps3_gelic_net.c104 ether_netdev = card->netdev[GELIC_PORT_ETHERNET_0];
474 netif_stop_queue(card->netdev[GELIC_PORT_ETHERNET_0]);
476 if (card->netdev[GELIC_PORT_WIRELESS])
477 netif_stop_queue(card->netdev[GELIC_PORT_WIRELESS]);
481 netif_wake_queue(card->netdev[GELIC_PORT_ETHERNET_0]);
483 if (card->netdev[GELIC_PORT_WIRELESS])
484 netif_wake_queue(card->netdev[GELIC_PORT_WIRELESS]);
497 struct net_device *netdev; local
504 netdev = tx_chain->tail->skb->dev;
514 netdev
548 gelic_net_set_multi(struct net_device *netdev) argument
673 gelic_net_stop(struct net_device *netdev) argument
857 gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev) argument
928 gelic_net_pass_skb_up(struct gelic_descr *descr, struct gelic_card *card, struct net_device *netdev) argument
992 struct net_device *netdev = NULL; local
1131 gelic_net_change_mtu(struct net_device *netdev, int new_mtu) argument
1193 gelic_net_poll_controller(struct net_device *netdev) argument
1212 gelic_net_open(struct net_device *netdev) argument
1216 dev_dbg(ctodev(card), " -> %s %p\\n", __func__, netdev); local
1227 gelic_net_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
1234 gelic_ether_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1278 gelic_ether_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1317 gelic_net_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
1328 gelic_net_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
1416 struct net_device *netdev = card->netdev[GELIC_PORT_ETHERNET_0]; local
1439 gelic_net_tx_timeout(struct net_device *netdev) argument
1471 gelic_ether_setup_netdev_ops(struct net_device *netdev, struct napi_struct *napi) argument
1492 gelic_net_setup_netdev(struct net_device *netdev, struct gelic_card *card) argument
1545 gelic_alloc_card_net(struct net_device **netdev) argument
1673 struct net_device *netdev; local
[all...]
H A Dspider_net.c118 * @netdev: adapter to be written to
128 spider_net_write_phy(struct net_device *netdev, int mii_id, argument
131 struct spider_net_card *card = netdev_priv(netdev);
141 * @netdev: network device to be read from
151 spider_net_read_phy(struct net_device *netdev, int mii_id, int reg) argument
153 struct spider_net_card *card = netdev_priv(netdev);
182 bmsr = spider_net_read_phy(card->netdev, phy->mii_id, MII_BMSR);
183 estat = spider_net_read_phy(card->netdev, phy->mii_id, MII_ESTATUS);
245 struct net_device *netdev = card->netdev; local
274 spider_net_get_mac_address(struct net_device *netdev) argument
596 spider_net_get_multicast_hash(struct net_device *netdev, __u8 *addr) argument
627 spider_net_set_multi(struct net_device *netdev) argument
915 spider_net_xmit(struct sk_buff *skb, struct net_device *netdev) argument
963 spider_net_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
985 struct net_device *netdev = card->netdev; local
1318 spider_net_change_mtu(struct net_device *netdev, int new_mtu) argument
1338 spider_net_set_mac(struct net_device *netdev, void *p) argument
1384 spider_net_link_reset(struct net_device *netdev) argument
1642 struct net_device *netdev = ptr; local
1684 spider_net_poll_controller(struct net_device *netdev) argument
1966 spider_net_open(struct net_device *netdev) argument
2174 spider_net_stop(struct net_device *netdev) argument
2216 struct net_device *netdev = card->netdev; local
2245 spider_net_tx_timeout(struct net_device *netdev) argument
2282 spider_net_setup_netdev_ops(struct net_device *netdev) argument
2302 struct net_device *netdev = card->netdev; local
2376 struct net_device *netdev; local
2535 struct net_device *netdev; local
[all...]
/drivers/net/ethernet/intel/igbvf/
H A DMakefile37 netdev.o
H A Dethtool.c76 static int igbvf_get_settings(struct net_device *netdev, argument
79 struct igbvf_adapter *adapter = netdev_priv(netdev);
113 static int igbvf_set_settings(struct net_device *netdev, argument
119 static void igbvf_get_pauseparam(struct net_device *netdev, argument
125 static int igbvf_set_pauseparam(struct net_device *netdev, argument
131 static u32 igbvf_get_msglevel(struct net_device *netdev) argument
133 struct igbvf_adapter *adapter = netdev_priv(netdev);
137 static void igbvf_set_msglevel(struct net_device *netdev, u32 data) argument
139 struct igbvf_adapter *adapter = netdev_priv(netdev);
143 static int igbvf_get_regs_len(struct net_device *netdev) argument
149 igbvf_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
173 igbvf_get_eeprom_len(struct net_device *netdev) argument
178 igbvf_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
184 igbvf_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
190 igbvf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
204 igbvf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
217 igbvf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
310 igbvf_diag_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) argument
328 igbvf_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
335 igbvf_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
341 igbvf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) argument
354 igbvf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) argument
389 igbvf_nway_reset(struct net_device *netdev) argument
398 igbvf_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
430 igbvf_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
477 igbvf_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/drivers/net/ethernet/pasemi/
H A Dpasemi_mac_ethtool.c68 pasemi_mac_ethtool_get_settings(struct net_device *netdev, argument
71 struct pasemi_mac *mac = netdev_priv(netdev);
81 pasemi_mac_ethtool_set_settings(struct net_device *netdev, argument
84 struct pasemi_mac *mac = netdev_priv(netdev);
94 pasemi_mac_ethtool_get_msglevel(struct net_device *netdev) argument
96 struct pasemi_mac *mac = netdev_priv(netdev);
101 pasemi_mac_ethtool_set_msglevel(struct net_device *netdev, argument
104 struct pasemi_mac *mac = netdev_priv(netdev);
110 pasemi_mac_ethtool_get_ringparam(struct net_device *netdev, argument
113 struct pasemi_mac *mac = netdev_priv(netdev);
121 pasemi_mac_get_sset_count(struct net_device *netdev, int sset) argument
131 pasemi_mac_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
143 pasemi_mac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
[all...]
/drivers/net/ethernet/freescale/
H A Ducc_geth_ethtool.c109 uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
111 struct ucc_geth_private *ugeth = netdev_priv(netdev);
125 uec_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
127 struct ucc_geth_private *ugeth = netdev_priv(netdev);
137 uec_get_pauseparam(struct net_device *netdev, argument
140 struct ucc_geth_private *ugeth = netdev_priv(netdev);
151 uec_set_pauseparam(struct net_device *netdev, argument
154 struct ucc_geth_private *ugeth = netdev_priv(netdev);
161 if (netif_running(netdev)) {
183 uec_get_msglevel(struct net_device *netdev) argument
190 uec_set_msglevel(struct net_device *netdev, uint32_t data) argument
197 uec_get_regs_len(struct net_device *netdev) argument
203 uec_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
216 uec_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
235 uec_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
270 uec_get_sset_count(struct net_device *netdev, int sset) argument
292 uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) argument
312 uec_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, uint64_t *data) argument
341 uec_nway_reset(struct net_device *netdev) argument
350 uec_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
363 uec_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
376 uec_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
420 uec_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c173 struct net_device *netdev; local
176 netdev = dev->netdev;
178 if (!netif_device_present(netdev))
195 netdev_err(netdev,
226 netif_device_detach(netdev);
228 netdev_err(netdev, "failed resubmitting read bulk urb: %d\n",
239 struct net_device *netdev; local
244 netdev = dev->netdev;
286 peak_usb_ndo_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
372 struct net_device *netdev = dev->netdev; local
505 peak_usb_ndo_open(struct net_device *netdev) argument
564 peak_usb_ndo_stop(struct net_device *netdev) argument
659 peak_usb_set_mode(struct net_device *netdev, enum can_mode mode) argument
685 peak_usb_set_bittiming(struct net_device *netdev) argument
718 struct net_device *netdev; local
830 struct net_device *netdev = dev->netdev; local
922 struct net_device *netdev = dev->netdev; local
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.h36 int ixgbe_ndo_set_vf_mac(struct net_device *netdev, int queue, u8 *mac);
37 int ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int queue, u16 vlan,
39 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
40 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
41 int ixgbe_ndo_get_vf_config(struct net_device *netdev,
/drivers/net/ethernet/faraday/
H A Dftgmac100.c70 struct net_device *netdev; member in struct:ftgmac100
119 struct net_device *netdev = priv->netdev; local
134 netdev_err(netdev, "software reset failed\n");
161 ftgmac100_set_mac(priv, priv->netdev->dev_addr);
353 struct net_device *netdev = priv->netdev; local
358 netdev_info(netdev, "rx err\n");
360 netdev->stats.rx_errors++;
366 netdev_info(netdev, "r
402 struct net_device *netdev = priv->netdev; local
423 struct net_device *netdev = priv->netdev; local
622 struct net_device *netdev = priv->netdev; local
666 struct net_device *netdev = priv->netdev; local
715 struct net_device *netdev = priv->netdev; local
806 ftgmac100_adjust_link(struct net_device *netdev) argument
835 struct net_device *netdev = priv->netdev; local
873 struct net_device *netdev = bus->priv; local
909 struct net_device *netdev = bus->priv; local
950 ftgmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
958 ftgmac100_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
966 ftgmac100_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
986 struct net_device *netdev = dev_id; local
1004 struct net_device *netdev = priv->netdev; local
1075 ftgmac100_open(struct net_device *netdev) argument
1121 ftgmac100_stop(struct net_device *netdev) argument
1139 ftgmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1169 ftgmac100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
1192 struct net_device *netdev; local
1319 struct net_device *netdev; local
[all...]
H A Dftmac100.c77 struct net_device *netdev; member in struct:ftmac100
127 struct net_device *netdev = priv->netdev; local
150 netdev_err(netdev, "software reset failed\n");
174 struct net_device *netdev = priv->netdev; local
189 ftmac100_set_mac(priv, netdev->dev_addr);
334 struct net_device *netdev = priv->netdev; local
339 netdev_info(netdev, "r
378 struct net_device *netdev = priv->netdev; local
399 struct net_device *netdev = priv->netdev; local
583 struct net_device *netdev = priv->netdev; local
635 struct net_device *netdev = priv->netdev; local
670 struct net_device *netdev = priv->netdev; local
761 ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) argument
786 ftmac100_mdio_write(struct net_device *netdev, int phy_id, int reg, int data) argument
817 ftmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
825 ftmac100_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
831 ftmac100_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
837 ftmac100_nway_reset(struct net_device *netdev) argument
843 ftmac100_get_link(struct net_device *netdev) argument
862 struct net_device *netdev = dev_id; local
880 struct net_device *netdev = priv->netdev; local
954 ftmac100_open(struct net_device *netdev) argument
995 ftmac100_stop(struct net_device *netdev) argument
1009 ftmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1038 ftmac100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
1062 struct net_device *netdev; local
1157 struct net_device *netdev; local
[all...]
/drivers/net/ethernet/atheros/atlx/
H A Datlx.c55 static int atlx_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) argument
61 return atlx_mii_ioctl(netdev, ifr, cmd);
69 * @netdev: network interface device structure
74 static int atlx_set_mac(struct net_device *netdev, void *p) argument
76 struct atlx_adapter *adapter = netdev_priv(netdev);
79 if (netif_running(netdev))
85 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
86 memcpy(adapter->hw.mac_addr, addr->sa_data, netdev->addr_len);
87 netdev
95 struct net_device *netdev = adapter->netdev; local
127 atlx_set_multi(struct net_device *netdev) argument
193 atlx_tx_timeout(struct net_device *netdev) argument
226 atlx_vlan_mode(struct net_device *netdev, netdev_features_t features) argument
247 atlx_fix_features(struct net_device *netdev, netdev_features_t features) argument
262 atlx_set_features(struct net_device *netdev, netdev_features_t features) argument
[all...]
/drivers/net/ethernet/micrel/
H A Dks8842.c169 struct net_device *netdev; member in struct:ks8842_adapter
269 static void ks8842_update_link_status(struct net_device *netdev, argument
274 netif_carrier_on(netdev);
275 netif_wake_queue(netdev);
277 netif_stop_queue(netdev);
278 netif_carrier_off(netdev);
431 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) argument
433 struct ks8842_adapter *adapter = netdev_priv(netdev);
438 netdev_dbg(netdev, "%s: TX ongoing\n", __func__);
467 ctl->adesc->callback_param = netdev;
478 ks8842_tx_frame(struct sk_buff *skb, struct net_device *netdev) argument
529 ks8842_update_rx_err_counters(struct net_device *netdev, u32 status) argument
542 ks8842_update_rx_counters(struct net_device *netdev, u32 status, int len) argument
553 __ks8842_start_new_rx_dma(struct net_device *netdev) argument
606 struct net_device *netdev = (struct net_device *)arg; local
644 ks8842_rx_frame(struct net_device *netdev, struct ks8842_adapter *adapter) argument
708 ks8842_handle_rx(struct net_device *netdev, struct ks8842_adapter *adapter) argument
718 ks8842_handle_tx(struct net_device *netdev, struct ks8842_adapter *adapter) argument
727 ks8842_handle_rx_overrun(struct net_device *netdev, struct ks8842_adapter *adapter) argument
737 struct net_device *netdev = (struct net_device *)arg; local
809 struct net_device *netdev = devid; local
844 struct net_device *netdev = data; local
855 struct net_device *netdev = data; local
926 ks8842_alloc_dma_bufs(struct net_device *netdev) argument
982 ks8842_open(struct net_device *netdev) argument
1025 ks8842_close(struct net_device *netdev) argument
1045 ks8842_xmit_frame(struct sk_buff *skb, struct net_device *netdev) argument
1072 ks8842_set_mac(struct net_device *netdev, void *p) argument
1094 struct net_device *netdev = adapter->netdev; local
1122 ks8842_tx_timeout(struct net_device *netdev) argument
1148 struct net_device *netdev; local
1245 struct net_device *netdev = platform_get_drvdata(pdev); local
[all...]
H A Dks8851_mll.c431 struct net_device *netdev; member in struct:ks_net
624 netif_dbg(ks, hw, ks->netdev, "setting power mode %d\n", pwrmode);
772 * @netdev: The network device being opened.
778 static void ks_rcv(struct ks_net *ks, struct net_device *netdev) argument
797 skb = netdev_alloc_skb(netdev, frame_hdr->len + 16);
804 skb->protocol = eth_type_trans(skb, netdev);
818 * @netdev: The network device being opened.
823 static void ks_update_link_status(struct net_device *netdev, struct ks_net *ks) argument
828 netif_carrier_on(netdev);
831 netif_carrier_off(netdev);
851 struct net_device *netdev = pw; local
895 ks_net_open(struct net_device *netdev) argument
937 ks_net_stop(struct net_device *netdev) argument
1005 ks_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1170 ks_set_rx_mode(struct net_device *netdev) argument
1236 ks_set_mac_address(struct net_device *netdev, void *paddr) argument
1251 ks_net_ioctl(struct net_device *netdev, struct ifreq *req, int cmd) argument
1274 ks_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *di) argument
1283 ks_get_msglevel(struct net_device *netdev) argument
1289 ks_set_msglevel(struct net_device *netdev, u32 to) argument
1295 ks_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1301 ks_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1307 ks_get_link(struct net_device *netdev) argument
1313 ks_nway_reset(struct net_device *netdev) argument
1374 ks_phy_read(struct net_device *netdev, int phy_addr, int reg) argument
1391 ks_phy_write(struct net_device *netdev, int phy, int reg, int value) argument
1515 struct net_device *netdev; local
1635 struct net_device *netdev = platform_get_drvdata(pdev); local
[all...]
/drivers/net/can/sja1000/
H A Dtscan1.c93 struct net_device *netdev; local
124 netdev = alloc_sja1000dev(0);
125 if (!netdev) {
130 dev_set_drvdata(dev, netdev);
131 SET_NETDEV_DEV(netdev, dev);
133 netdev->base_addr = pld_base;
134 netdev->irq = irq;
136 priv = netdev_priv(netdev);
154 if (!register_sja1000dev(netdev)) {
157 netdev_info(netdev, "T
176 struct net_device *netdev; local
[all...]
/drivers/net/usb/
H A Drtl8150.c132 struct net_device *netdev; member in struct:rtl8150
205 netif_device_detach(dev->netdev);
265 memcpy(dev->netdev->dev_addr, node_id, sizeof(node_id));
268 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) argument
271 rtl8150_t *dev = netdev_priv(netdev);
273 if (netif_running(netdev))
276 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len);
277 dbg("%s: Setting MAC address to %pM\n", netdev->name, netdev
379 struct net_device *netdev; local
653 rtl8150_tx_timeout(struct net_device *netdev) argument
661 rtl8150_set_multicast(struct net_device *netdev) argument
681 rtl8150_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
712 set_carrier(struct net_device *netdev) argument
724 rtl8150_open(struct net_device *netdev) argument
761 rtl8150_close(struct net_device *netdev) argument
774 rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
783 rtl8150_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
826 rtl8150_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) argument
868 struct net_device *netdev; local
[all...]
/drivers/scsi/fcoe/
H A Dfcoe.c113 static bool fcoe_match(struct net_device *netdev);
114 static int fcoe_create(struct net_device *netdev, enum fip_state fip_mode);
115 static int fcoe_destroy(struct net_device *netdev);
116 static int fcoe_enable(struct net_device *netdev);
117 static int fcoe_disable(struct net_device *netdev);
277 * @netdev: The net device that the fcoe interface is on
283 struct net_device *netdev)
291 fcoe->netdev = netdev;
294 ops = netdev
282 fcoe_interface_setup(struct fcoe_interface *fcoe, struct net_device *netdev) argument
366 fcoe_interface_create(struct net_device *netdev, enum fip_state fip_mode) argument
421 struct net_device *netdev = fcoe->netdev; local
477 fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) argument
582 fcoe_netdev_features_change(struct fc_lport *lport, struct net_device *netdev) argument
631 fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) argument
729 fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) argument
925 struct net_device *netdev = fcoe->netdev; local
978 struct net_device *netdev = fcoe_netdev(lport); local
1000 struct net_device *netdev = fcoe_netdev(lport); local
1019 struct net_device *netdev = fcoe_netdev(lport); local
1039 struct net_device *netdev = fcoe->netdev; local
1364 fcoe_rcv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *olddev) argument
1839 fcoe_hostlist_lookup_realdev_port(struct net_device *netdev) argument
1861 struct net_device *netdev; local
1911 struct net_device *netdev = ptr; local
1984 fcoe_disable(struct net_device *netdev) argument
2013 fcoe_enable(struct net_device *netdev) argument
2040 fcoe_destroy(struct net_device *netdev) argument
2092 fcoe_match(struct net_device *netdev) argument
2108 struct net_device *netdev = fcoe->realdev; local
2146 fcoe_create(struct net_device *netdev, enum fip_state fip_mode) argument
2212 struct net_device *netdev = fcoe_netdev(lport); local
2246 struct net_device *netdev = fcoe_netdev(lport); local
2321 fcoe_hostlist_lookup_port(const struct net_device *netdev) argument
2341 fcoe_hostlist_lookup(const struct net_device *netdev) argument
2590 struct net_device *netdev = fcoe->netdev; local
2709 struct net_device *netdev = fcoe_netdev(lport); local
[all...]
H A Dfcoe_transport.c88 struct net_device *netdev)
111 htonl(dev_get_stats(netdev, &temp)->rx_crc_errors);
171 * @netdev: the associated net device
177 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) argument
179 const struct net_device_ops *ops = netdev->netdev_ops;
182 return ops->ndo_fcoe_get_wwn(netdev, wwn, type);
387 * fcoe_transport_lookup - find an fcoe transport that matches a netdev
388 * @netdev: The netdev to look for from all attached transports
390 * Returns : ptr to the fcoe transport that supports this netdev o
86 __fcoe_get_lesb(struct fc_lport *lport, struct fc_els_lesb *fc_lesb, struct net_device *netdev) argument
395 fcoe_transport_lookup(struct net_device *netdev) argument
519 fcoe_add_netdev_mapping(struct net_device *netdev, struct fcoe_transport *ft) argument
540 fcoe_del_netdev_mapping(struct net_device *netdev) argument
566 fcoe_netdev_map_lookup(struct net_device *netdev) argument
618 struct net_device *netdev = ptr; local
644 struct net_device *netdev = NULL; local
709 struct net_device *netdev = NULL; local
753 struct net_device *netdev = NULL; local
791 struct net_device *netdev = NULL; local
[all...]
/drivers/net/can/usb/
H A Dems_usb.c253 struct net_device *netdev; member in struct:ems_usb
274 struct net_device *netdev = dev->netdev; local
277 if (!netif_device_present(netdev))
291 netdev_info(netdev, "Rx interrupt aborted %d\n", urb->status);
298 netif_device_detach(netdev);
300 netdev_err(netdev, "failed resubmitting intr urb: %d\n", err);
308 struct net_device_stats *stats = &dev->netdev->stats;
310 skb = alloc_can_skb(dev->netdev, &cf);
339 struct net_device_stats *stats = &dev->netdev
416 struct net_device *netdev; local
504 struct net_device *netdev; local
591 struct net_device *netdev = dev->netdev; local
704 ems_usb_open(struct net_device *netdev) argument
738 ems_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
866 ems_usb_close(struct net_device *netdev) argument
904 ems_usb_set_mode(struct net_device *netdev, enum can_mode mode) argument
927 ems_usb_set_bittiming(struct net_device *netdev) argument
983 struct net_device *netdev; local
[all...]
H A Desd_usb2.c218 struct net_device *netdev; member in struct:esd_usb2_net_priv
227 struct net_device_stats *stats = &priv->netdev->stats;
238 skb = alloc_can_err_skb(priv->netdev, &cf);
251 can_bus_off(priv->netdev);
314 struct net_device_stats *stats = &priv->netdev->stats;
320 if (!netif_device_present(priv->netdev))
328 skb = alloc_can_skb(priv->netdev, &cf);
359 struct net_device_stats *stats = &priv->netdev->stats;
360 struct net_device *netdev = priv->netdev; local
456 struct net_device *netdev; local
611 struct net_device *netdev = priv->netdev; local
676 esd_usb2_open(struct net_device *netdev) argument
701 esd_usb2_start_xmit(struct sk_buff *skb, struct net_device *netdev) argument
832 esd_usb2_close(struct net_device *netdev) argument
886 esd_usb2_set_bittiming(struct net_device *netdev) argument
916 esd_usb2_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) argument
927 esd_usb2_set_mode(struct net_device *netdev, enum can_mode mode) argument
949 struct net_device *netdev; local
1079 struct net_device *netdev; local
[all...]
/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c29 static int atl1c_get_settings(struct net_device *netdev, argument
32 struct atl1c_adapter *adapter = netdev_priv(netdev);
67 static int atl1c_set_settings(struct net_device *netdev, argument
70 struct atl1c_adapter *adapter = netdev_priv(netdev);
117 static u32 atl1c_get_msglevel(struct net_device *netdev) argument
119 struct atl1c_adapter *adapter = netdev_priv(netdev);
123 static void atl1c_set_msglevel(struct net_device *netdev, u32 data) argument
125 struct atl1c_adapter *adapter = netdev_priv(netdev);
129 static int atl1c_get_regs_len(struct net_device *netdev) argument
134 static void atl1c_get_regs(struct net_device *netdev, argument
175 atl1c_get_eeprom_len(struct net_device *netdev) argument
185 atl1c_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) argument
227 atl1c_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
243 atl1c_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
263 atl1c_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
283 atl1c_nway_reset(struct net_device *netdev) argument
307 atl1c_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c62 struct net_device *netdev; member in struct:octeon_mgmt
146 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) argument
148 struct octeon_mgmt *p = netdev_priv(netdev);
157 size = netdev->mtu + OCTEON_MGMT_RX_HEADROOM + 8 + NET_IP_ALIGN;
159 skb = netdev_alloc_skb(netdev, size);
230 if (cleaned && netif_queue_stopped(p->netdev))
231 netif_wake_queue(p->netdev);
241 static void octeon_mgmt_update_rx_stats(struct net_device *netdev) argument
243 struct octeon_mgmt *p = netdev_priv(netdev);
255 netdev
261 octeon_mgmt_update_tx_stats(struct net_device *netdev) argument
312 struct net_device *netdev = p->netdev; local
414 struct net_device *netdev = p->netdev; local
474 octeon_mgmt_set_rx_filtering(struct net_device *netdev) argument
550 octeon_mgmt_set_mac_address(struct net_device *netdev, void *addr) argument
564 octeon_mgmt_change_mtu(struct net_device *netdev, int new_mtu) argument
592 struct net_device *netdev = dev_id; local
615 octeon_mgmt_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) argument
629 octeon_mgmt_adjust_link(struct net_device *netdev) argument
670 octeon_mgmt_init_phy(struct net_device *netdev) argument
696 octeon_mgmt_open(struct net_device *netdev) argument
916 octeon_mgmt_stop(struct net_device *netdev) argument
949 octeon_mgmt_xmit(struct sk_buff *skb, struct net_device *netdev) argument
1005 octeon_mgmt_poll_controller(struct net_device *netdev) argument
1014 octeon_mgmt_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument
1027 octeon_mgmt_get_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1038 octeon_mgmt_set_settings(struct net_device *netdev, struct ethtool_cmd *cmd) argument
1075 struct net_device *netdev; local
1133 struct net_device *netdev = dev_get_drvdata(&pdev->dev); local
[all...]
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c78 * @netdev: Network interface device structure
84 static int pch_gbe_get_settings(struct net_device *netdev, argument
87 struct pch_gbe_adapter *adapter = netdev_priv(netdev);
94 if (!netif_carrier_ok(adapter->netdev))
101 * @netdev: Network interface device structure
107 static int pch_gbe_set_settings(struct net_device *netdev, argument
110 struct pch_gbe_adapter *adapter = netdev_priv(netdev);
135 if (netif_running(adapter->netdev)) {
146 * @netdev: Network interface device structure
149 static int pch_gbe_get_regs_len(struct net_device *netdev) argument
159 pch_gbe_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) argument
177 pch_gbe_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) argument
201 pch_gbe_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
227 pch_gbe_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
255 pch_gbe_nway_reset(struct net_device *netdev) argument
267 pch_gbe_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
288 pch_gbe_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) argument
378 pch_gbe_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
405 pch_gbe_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) argument
442 pch_gbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) argument
465 pch_gbe_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) argument
481 pch_gbe_get_sset_count(struct net_device *netdev, int sset) argument
510 pch_gbe_set_ethtool_ops(struct net_device *netdev) argument
[all...]
/drivers/staging/wlan-ng/
H A Dp80211netdev.c97 static int p80211knetdev_init(netdevice_t *netdev);
98 static struct net_device_stats *p80211knetdev_get_stats(netdevice_t *netdev);
99 static int p80211knetdev_open(netdevice_t *netdev);
100 static int p80211knetdev_stop(netdevice_t *netdev);
102 netdevice_t *netdev);
107 static void p80211knetdev_tx_timeout(netdevice_t *netdev);
130 static int p80211knetdev_init(netdevice_t *netdev) argument
148 * netdev Linux netdevice
153 static struct net_device_stats *p80211knetdev_get_stats(netdevice_t *netdev) argument
155 wlandevice_t *wlandev = netdev
177 p80211knetdev_open(netdevice_t *netdev) argument
212 p80211knetdev_stop(netdevice_t *netdev) argument
348 p80211knetdev_hard_start_xmit(struct sk_buff *skb, netdevice_t *netdev) argument
752 netdevice_t *netdev; local
1112 p80211knetdev_tx_timeout(netdevice_t *netdev) argument
[all...]
/drivers/net/ethernet/
H A Dethoc.c188 * @netdev: pointer to network device structure
211 struct net_device *netdev; member in struct:ethoc
365 struct net_device *netdev = dev->netdev; local
369 dev_err(&netdev->dev, "RX: frame too long\n");
370 netdev->stats.rx_length_errors++;
375 dev_err(&netdev->dev, "RX: frame too short\n");
376 netdev->stats.rx_length_errors++;
381 dev_err(&netdev->dev, "RX: dribble nibble\n");
382 netdev
471 struct net_device *netdev = dev->netdev; local
910 struct net_device *netdev = NULL; local
1148 struct net_device *netdev = platform_get_drvdata(pdev); local
[all...]

Completed in 706 milliseconds

1234567891011>>