Searched defs:ndev (Results 76 - 100 of 171) sorted by path

1234567

/drivers/net/ethernet/qlogic/qlge/
H A Dqlge.h2067 struct net_device *ndev; /* Parent NET device */ member in struct:ql_adapter
2224 void ql_set_ethtool_ops(struct net_device *ndev);
2251 netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev);
H A Dqlge_ethtool.c191 if (!netif_running(qdev->ndev))
211 netif_err(qdev, ifup, qdev->ndev,
233 netif_err(qdev, ifup, qdev->ndev,
251 netif_err(qdev, drv, qdev->ndev,
260 netif_err(qdev, drv, qdev->ndev,
274 netif_err(qdev, drv, qdev->ndev,
291 netif_err(qdev, drv, qdev->ndev,
305 netif_err(qdev, drv, qdev->ndev,
318 netif_err(qdev, drv, qdev->ndev,
361 ql_get_ethtool_stats(struct net_device *ndev, argument
378 ql_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
404 ql_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *drvinfo) argument
427 ql_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument
440 ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument
460 ql_set_phys_id(struct net_device *ndev, enum ethtool_phys_id_state state) argument
568 ql_self_test(struct net_device *ndev, struct ethtool_test *eth_test, u64 *data) argument
598 ql_get_regs_len(struct net_device *ndev) argument
608 ql_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *p) argument
644 ql_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *c) argument
703 ql_get_msglevel(struct net_device *ndev) argument
709 ql_set_msglevel(struct net_device *ndev, u32 value) argument
[all...]
H A Dqlge_main.c137 netif_alert(qdev, probe, qdev->ndev, "bad Semaphore mask!.\n");
177 netif_alert(qdev, probe, qdev->ndev,
186 netif_alert(qdev, probe, qdev->ndev,
230 netif_err(qdev, ifup, qdev->ndev, "Couldn't map DMA area.\n");
240 netif_err(qdev, ifup, qdev->ndev,
322 netif_crit(qdev, ifup, qdev->ndev,
413 if (qdev->ndev->features & NETIF_F_HW_VLAN_CTAG_RX)
440 netif_crit(qdev, ifup, qdev->ndev,
460 netif_printk(qdev, ifup, KERN_DEBUG, qdev->ndev,
465 netif_printk(qdev, ifup, KERN_DEBUG, qdev->ndev,
1545 struct net_device *ndev = qdev->ndev; local
1638 struct net_device *ndev = qdev->ndev; local
1956 struct net_device *ndev = qdev->ndev; local
2333 qlge_vlan_mode(struct net_device *ndev, netdev_features_t features) argument
2349 qlge_update_hw_vlan_features(struct net_device *ndev, netdev_features_t features) argument
2374 qlge_fix_features(struct net_device *ndev, netdev_features_t features) argument
2387 qlge_set_features(struct net_device *ndev, netdev_features_t features) argument
2411 qlge_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
2442 qlge_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
2627 qlge_send(struct sk_buff *skb, struct net_device *ndev) argument
3903 ql_display_dev_info(struct net_device *ndev) argument
4066 qlge_close(struct net_device *ndev) argument
4174 qlge_open(struct net_device *ndev) argument
4252 qlge_change_mtu(struct net_device *ndev, int new_mtu) argument
4282 qlge_get_stats(struct net_device *ndev) argument
4319 qlge_set_multicast_list(struct net_device *ndev) argument
4409 qlge_set_mac_address(struct net_device *ndev, void *p) argument
4432 qlge_tx_timeout(struct net_device *ndev) argument
4548 struct net_device *ndev = pci_get_drvdata(pdev); local
4564 ql_init_device(struct pci_dev *pdev, struct net_device *ndev, int cards_found) argument
4730 struct net_device *ndev = NULL; local
4799 ql_lb_send(struct sk_buff *skb, struct net_device *ndev) argument
4811 struct net_device *ndev = pci_get_drvdata(pdev); local
4822 ql_eeh_close(struct net_device *ndev) argument
4852 struct net_device *ndev = pci_get_drvdata(pdev); local
4884 struct net_device *ndev = pci_get_drvdata(pdev); local
4908 struct net_device *ndev = pci_get_drvdata(pdev); local
4935 struct net_device *ndev = pci_get_drvdata(pdev); local
4963 struct net_device *ndev = pci_get_drvdata(pdev); local
[all...]
/drivers/net/ethernet/renesas/
H A Dsh_eth.c408 static void sh_eth_select_mii(struct net_device *ndev) argument
411 struct sh_eth_private *mdp = netdev_priv(ndev);
424 netdev_warn(ndev,
430 sh_eth_write(ndev, value, RMII_MII);
433 static void sh_eth_set_duplex(struct net_device *ndev) argument
435 struct sh_eth_private *mdp = netdev_priv(ndev);
438 sh_eth_write(ndev, sh_eth_read(ndev, ECMR) | ECMR_DM, ECMR);
440 sh_eth_write(ndev, sh_eth_read(ndev, ECM
444 sh_eth_set_rate_r8a777x(struct net_device *ndev) argument
506 sh_eth_set_rate_sh7724(struct net_device *ndev) argument
546 sh_eth_set_rate_sh7757(struct net_device *ndev) argument
589 sh_eth_chip_reset_giga(struct net_device *ndev) argument
611 sh_eth_set_rate_giga(struct net_device *ndev) argument
661 sh_eth_chip_reset(struct net_device *ndev) argument
670 sh_eth_set_rate_gether(struct net_device *ndev) argument
746 sh_eth_chip_reset_r8a7740(struct net_device *ndev) argument
860 sh_eth_check_reset(struct net_device *ndev) argument
878 sh_eth_reset(struct net_device *ndev) argument
953 update_mac_address(struct net_device *ndev) argument
969 read_mac_address(struct net_device *ndev, unsigned char *mac) argument
1082 sh_eth_ring_free(struct net_device *ndev) argument
1105 sh_eth_ring_format(struct net_device *ndev) argument
1177 sh_eth_ring_init(struct net_device *ndev) argument
1260 sh_eth_dev_init(struct net_device *ndev, bool start) argument
1352 sh_eth_txfree(struct net_device *ndev) argument
1383 sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) argument
1501 sh_eth_rcv_snd_disable(struct net_device *ndev) argument
1508 sh_eth_rcv_snd_enable(struct net_device *ndev) argument
1516 sh_eth_error(struct net_device *ndev, int intr_status) argument
1628 struct net_device *ndev = netdev; local
1689 struct net_device *ndev = napi->dev; local
1713 sh_eth_adjust_link(struct net_device *ndev) argument
1756 sh_eth_phy_init(struct net_device *ndev) argument
1801 sh_eth_phy_start(struct net_device *ndev) argument
1815 sh_eth_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
1829 sh_eth_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
1864 sh_eth_nway_reset(struct net_device *ndev) argument
1877 sh_eth_get_msglevel(struct net_device *ndev) argument
1883 sh_eth_set_msglevel(struct net_device *ndev, u32 value) argument
1905 sh_eth_get_ethtool_stats(struct net_device *ndev, struct ethtool_stats *stats, u64 *data) argument
1918 sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) argument
1928 sh_eth_get_ringparam(struct net_device *ndev, struct ethtool_ringparam *ring) argument
1939 sh_eth_set_ringparam(struct net_device *ndev, struct ethtool_ringparam *ring) argument
2008 sh_eth_open(struct net_device *ndev) argument
2052 sh_eth_tx_timeout(struct net_device *ndev) argument
2085 sh_eth_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument
2130 sh_eth_get_stats(struct net_device *ndev) argument
2161 sh_eth_close(struct net_device *ndev) argument
2199 sh_eth_do_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) argument
2230 sh_eth_tsu_enable_cam_entry_post(struct net_device *ndev, int entry) argument
2242 sh_eth_tsu_disable_cam_entry_post(struct net_device *ndev, int entry) argument
2260 sh_eth_tsu_busy(struct net_device *ndev) argument
2277 sh_eth_tsu_write_entry(struct net_device *ndev, void *reg, const u8 *addr) argument
2310 sh_eth_tsu_find_entry(struct net_device *ndev, const u8 *addr) argument
2326 sh_eth_tsu_find_empty(struct net_device *ndev) argument
2336 sh_eth_tsu_disable_cam_entry_table(struct net_device *ndev, int entry) argument
2354 sh_eth_tsu_add_entry(struct net_device *ndev, const u8 *addr) argument
2384 sh_eth_tsu_del_entry(struct net_device *ndev, const u8 *addr) argument
2407 sh_eth_tsu_purge_all(struct net_device *ndev) argument
2428 sh_eth_tsu_purge_mcast(struct net_device *ndev) argument
2446 sh_eth_set_multicast_list(struct net_device *ndev) argument
2505 sh_eth_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
2535 sh_eth_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
2765 struct net_device *ndev = NULL; local
2929 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
H A Dsh_eth.h454 void (*chip_reset)(struct net_device *ndev);
455 void (*set_duplex)(struct net_device *ndev);
456 void (*set_rate)(struct net_device *ndev);
540 static inline void sh_eth_write(struct net_device *ndev, unsigned long data, argument
543 struct sh_eth_private *mdp = netdev_priv(ndev);
548 static inline unsigned long sh_eth_read(struct net_device *ndev, argument
551 struct sh_eth_private *mdp = netdev_priv(ndev);
/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c266 static int sxgbe_init_phy(struct net_device *ndev) argument
271 struct sxgbe_priv_data *priv = netdev_priv(ndev);
288 netdev_dbg(ndev, "%s: trying to attach to %s\n", __func__, phy_id_fmt);
290 phydev = phy_connect(ndev, phy_id_fmt, &sxgbe_adjust_link, phy_iface);
293 netdev_err(ndev, "Could not attach to PHY\n");
307 netdev_dbg(ndev, "%s: attached to PHY (UID 0x%x) Link = %d\n",
2072 struct net_device *ndev; local
2076 ndev = alloc_etherdev_mqs(sizeof(struct sxgbe_priv_data),
2078 if (!ndev)
2081 SET_NETDEV_DEV(ndev, devic
2208 sxgbe_drv_remove(struct net_device *ndev) argument
2241 sxgbe_suspend(struct net_device *ndev) argument
2246 sxgbe_resume(struct net_device *ndev) argument
2251 sxgbe_freeze(struct net_device *ndev) argument
2256 sxgbe_restore(struct net_device *ndev) argument
[all...]
H A Dsxgbe_mdio.c114 struct net_device *ndev = bus->priv; local
115 struct sxgbe_priv_data *priv = netdev_priv(ndev);
136 struct net_device *ndev = bus->priv; local
137 struct sxgbe_priv_data *priv = netdev_priv(ndev);
143 int sxgbe_mdio_register(struct net_device *ndev) argument
146 struct sxgbe_priv_data *priv = netdev_priv(ndev);
156 netdev_err(ndev, "%s: mii bus allocation failed\n", __func__);
171 mdio_bus->priv = ndev;
178 netdev_err(ndev, "mdiobus register failed\n");
217 netdev_info(ndev, "PH
241 sxgbe_mdio_unregister(struct net_device *ndev) argument
[all...]
H A Dsxgbe_platform.c88 struct net_device *ndev = platform_get_drvdata(pdev); local
169 sxgbe_drv_remove(ndev);
182 struct net_device *ndev = platform_get_drvdata(pdev); local
183 int ret = sxgbe_drv_remove(ndev);
191 struct net_device *ndev = dev_get_drvdata(dev); local
193 return sxgbe_suspend(ndev);
198 struct net_device *ndev = dev_get_drvdata(dev); local
200 return sxgbe_resume(ndev);
205 struct net_device *ndev = dev_get_drvdata(dev); local
207 return sxgbe_freeze(ndev);
212 struct net_device *ndev = dev_get_drvdata(dev); local
[all...]
H A Dsxgbe_xpcs.c19 static int sxgbe_xpcs_read(struct net_device *ndev, unsigned int reg) argument
22 struct sxgbe_priv_data *priv = netdev_priv(ndev);
29 static int sxgbe_xpcs_write(struct net_device *ndev, int reg, int data) argument
31 struct sxgbe_priv_data *priv = netdev_priv(ndev);
38 int sxgbe_xpcs_init(struct net_device *ndev) argument
42 value = sxgbe_xpcs_read(ndev, SR_PCS_MMD_CONTROL1);
44 sxgbe_xpcs_write(ndev, SR_PCS_CONTROL2, XPCS_TYPE_SEL_X);
45 sxgbe_xpcs_write(ndev, VR_PCS_MMD_XAUI_MODE_CONTROL, XPCS_XAUI_MODE);
46 sxgbe_xpcs_write(ndev, VR_PCS_MMD_XAUI_MODE_CONTROL, value | BIT(13));
47 sxgbe_xpcs_write(ndev, SR_PCS_MMD_CONTROL
63 sxgbe_xpcs_init_1G(struct net_device *ndev) argument
[all...]
/drivers/net/ethernet/smsc/
H A Dsmc911x.c2028 struct net_device *ndev; local
2034 /* ndev is not valid yet, so avoid passing it in. */
2050 ndev = alloc_etherdev(sizeof(struct smc911x_local));
2051 if (!ndev) {
2055 SET_NETDEV_DEV(ndev, &pdev->dev);
2057 ndev->dma = (unsigned char)-1;
2058 ndev->irq = platform_get_irq(pdev, 0);
2059 lp = netdev_priv(ndev);
2060 lp->netdev = ndev;
2078 platform_set_drvdata(pdev, ndev);
2103 struct net_device *ndev = platform_get_drvdata(pdev); local
2133 struct net_device *ndev = platform_get_drvdata(dev); local
2152 struct net_device *ndev = platform_get_drvdata(dev); local
[all...]
H A Dsmc91x.c2064 struct net_device *ndev = platform_get_drvdata(pdev); local
2065 struct smc_local *lp = netdev_priv(ndev);
2126 struct net_device *ndev)
2129 struct smc_local *lp __maybe_unused = netdev_priv(ndev);
2141 struct net_device *ndev)
2144 struct smc_local *lp __maybe_unused = netdev_priv(ndev);
2150 static inline void smc_request_datacs(struct platform_device *pdev, struct net_device *ndev) argument
2154 struct smc_local *lp = netdev_priv(ndev);
2160 netdev_info(ndev, "%s: failed to request datacs memory region.\n",
2169 static void smc_release_datacs(struct platform_device *pdev, struct net_device *ndev) argument
2125 smc_request_attrib(struct platform_device *pdev, struct net_device *ndev) argument
2140 smc_release_attrib(struct platform_device *pdev, struct net_device *ndev) argument
2245 struct net_device *ndev; local
2404 struct net_device *ndev = platform_get_drvdata(pdev); local
2434 struct net_device *ndev = platform_get_drvdata(pdev); local
2449 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
H A Dsmsc911x.c379 struct net_device *ndev = platform_get_drvdata(pdev); local
380 struct smsc911x_data *pdata = netdev_priv(ndev);
386 netdev_err(ndev, "failed to enable regulators %d\n",
392 netdev_err(ndev, "failed to enable clock %d\n", ret);
403 struct net_device *ndev = platform_get_drvdata(pdev); local
404 struct smsc911x_data *pdata = netdev_priv(ndev);
425 struct net_device *ndev = platform_get_drvdata(pdev); local
426 struct smsc911x_data *pdata = netdev_priv(ndev);
436 netdev_err(ndev, "couldn't get regulators %d\n",
454 struct net_device *ndev local
2595 struct net_device *ndev = dev_get_drvdata(dev); local
2609 struct net_device *ndev = dev_get_drvdata(dev); local
[all...]
/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c213 struct net_device *ndev = platform_get_drvdata(pdev); local
217 if (ndev)
218 stpriv = netdev_priv(ndev);
H A Dstmmac_main.c2759 struct net_device *ndev = NULL; local
2762 ndev = alloc_etherdev(sizeof(struct stmmac_priv));
2763 if (!ndev)
2766 SET_NETDEV_DEV(ndev, device);
2768 priv = netdev_priv(ndev);
2770 priv->dev = ndev;
2772 stmmac_set_ethtool_ops(ndev);
2821 ndev->netdev_ops = &stmmac_netdev_ops;
2823 ndev->hw_features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM |
2825 ndev
2901 stmmac_dvr_remove(struct net_device *ndev) argument
2925 stmmac_suspend(struct net_device *ndev) argument
2967 stmmac_resume(struct net_device *ndev) argument
[all...]
H A Dstmmac_mdio.c68 struct net_device *ndev = bus->priv; local
69 struct stmmac_priv *priv = netdev_priv(ndev);
103 struct net_device *ndev = bus->priv; local
104 struct stmmac_priv *priv = netdev_priv(ndev);
134 struct net_device *ndev = bus->priv; local
135 struct stmmac_priv *priv = netdev_priv(ndev);
189 * @ndev: net device structure
192 int stmmac_mdio_register(struct net_device *ndev) argument
197 struct stmmac_priv *priv = netdev_priv(ndev);
227 new_bus->priv = ndev;
305 stmmac_mdio_unregister(struct net_device *ndev) argument
[all...]
H A Dstmmac_pci.c143 struct net_device *ndev = pci_get_drvdata(pdev); local
144 struct stmmac_priv *priv = netdev_priv(ndev);
146 stmmac_dvr_remove(ndev);
156 struct net_device *ndev = pci_get_drvdata(pdev); local
159 ret = stmmac_suspend(ndev);
168 struct net_device *ndev = pci_get_drvdata(pdev); local
173 return stmmac_resume(ndev);
H A Dstmmac_platform.c331 * so the driver will continue to use the mac irq (ndev->irq)
359 struct net_device *ndev = platform_get_drvdata(pdev); local
360 struct stmmac_priv *priv = netdev_priv(ndev);
361 int ret = stmmac_dvr_remove(ndev);
376 struct net_device *ndev = dev_get_drvdata(dev); local
377 struct stmmac_priv *priv = netdev_priv(ndev);
380 ret = stmmac_suspend(ndev);
389 struct net_device *ndev = dev_get_drvdata(dev); local
390 struct stmmac_priv *priv = netdev_priv(ndev);
396 return stmmac_resume(ndev);
[all...]
/drivers/net/ethernet/tehuti/
H A Dtehuti.c124 static void print_eth_id(struct net_device *ndev) argument
126 netdev_info(ndev, "%s, Port %c\n",
127 BDX_NIC_NAME, (ndev->if_port == 0) ? 'A' : 'B');
206 if (netif_carrier_ok(priv->ndev)) {
207 netif_stop_queue(priv->ndev);
208 netif_carrier_off(priv->ndev);
209 netdev_err(priv->ndev, "Link Down\n");
212 if (!netif_carrier_ok(priv->ndev)) {
213 netif_wake_queue(priv->ndev);
214 netif_carrier_on(priv->ndev);
254 struct net_device *ndev = dev; local
365 bdx_restore_mac(struct net_device *ndev, struct bdx_priv *priv) argument
394 struct net_device *ndev = priv->ndev; local
574 bdx_close(struct net_device *ndev) argument
602 bdx_open(struct net_device *ndev) argument
641 bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd) argument
690 bdx_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) argument
707 __bdx_vlan_rx_vid(struct net_device *ndev, uint16_t vid, int enable) argument
736 bdx_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
747 bdx_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
760 bdx_change_mtu(struct net_device *ndev, int new_mtu) argument
782 bdx_setmulti(struct net_device *ndev) argument
840 bdx_set_mac(struct net_device *ndev, void *p) argument
1208 struct net_device *ndev = priv->ndev; local
1615 bdx_tx_transmit(struct sk_buff *skb, struct net_device *ndev) argument
1919 struct net_device *ndev; local
2431 struct net_device *ndev; local
[all...]
H A Dtehuti.h244 struct net_device *ndev; member in struct:bdx_priv
/drivers/net/ethernet/ti/
H A Dcpsw.c364 struct net_device *ndev; member in struct:cpsw_slave
382 struct net_device *ndev; member in struct:cpsw_priv
514 (priv->slaves[__slave_no__].ndev)
516 ((priv->slaves[__slave_no__].ndev) ? \
517 netdev_priv(priv->slaves[__slave_no__].ndev) : NULL) \
519 #define cpsw_dual_emac_src_port_detect(status, priv, ndev, skb) \
524 ndev = cpsw_get_slave_ndev(priv, 0); \
525 priv = netdev_priv(ndev); \
526 skb->dev = ndev; \
528 ndev
558 cpsw_set_promiscious(struct net_device *ndev, bool enable) argument
634 cpsw_ndo_set_rx_mode(struct net_device *ndev) argument
685 struct net_device *ndev = skb->dev; local
703 struct net_device *ndev = skb->dev; local
888 cpsw_adjust_link(struct net_device *ndev) argument
905 cpsw_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) argument
914 cpsw_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) argument
980 cpsw_get_sset_count(struct net_device *ndev, int sset) argument
990 cpsw_get_strings(struct net_device *ndev, u32 stringset, u8 *data) argument
1006 cpsw_get_ethtool_stats(struct net_device *ndev, struct ethtool_stats *stats, u64 *data) argument
1058 cpsw_tx_packet_submit(struct net_device *ndev, struct cpsw_priv *priv, struct sk_buff *skb) argument
1226 cpsw_ndo_open(struct net_device *ndev) argument
1336 cpsw_ndo_stop(struct net_device *ndev) argument
1359 cpsw_ndo_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument
1569 cpsw_ndo_tx_timeout(struct net_device *ndev) argument
1586 cpsw_ndo_set_mac_address(struct net_device *ndev, void *p) argument
1614 cpsw_ndo_poll_controller(struct net_device *ndev) argument
1667 cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
1679 cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) argument
1719 cpsw_get_regs_len(struct net_device *ndev) argument
1726 cpsw_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *p) argument
1738 cpsw_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info) argument
1749 cpsw_get_msglevel(struct net_device *ndev) argument
1755 cpsw_set_msglevel(struct net_device *ndev, u32 value) argument
1761 cpsw_get_ts_info(struct net_device *ndev, struct ethtool_ts_info *info) argument
1793 cpsw_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
1805 cpsw_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
1816 cpsw_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument
1828 cpsw_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument
1839 cpsw_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) argument
1849 cpsw_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) argument
2081 struct net_device *ndev; local
2155 struct net_device *ndev; local
2422 struct net_device *ndev = platform_get_drvdata(pdev); local
2444 struct net_device *ndev = platform_get_drvdata(pdev); local
2472 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
H A Ddavinci_emac.c321 struct net_device *ndev; member in struct:emac_priv
389 struct device *emac_dev = &priv->ndev->dev;
473 * @ndev: The DaVinci EMAC network adapter
479 static void emac_get_drvinfo(struct net_device *ndev, argument
488 * @ndev: The DaVinci EMAC network adapter
494 static int emac_get_settings(struct net_device *ndev, argument
497 struct emac_priv *priv = netdev_priv(ndev);
507 * @ndev: The DaVinci EMAC network adapter
513 static int emac_set_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument
515 struct emac_priv *priv = netdev_priv(ndev);
531 emac_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) argument
549 emac_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) argument
647 struct net_device *ndev = priv->ndev; local
865 emac_dev_mcast_set(struct net_device *ndev) argument
981 struct net_device *ndev = (struct net_device *)dev_id; local
1006 struct net_device *ndev = skb->dev; local
1050 struct net_device *ndev = skb->dev; local
1072 emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev) argument
1126 emac_dev_tx_timeout(struct net_device *ndev) argument
1256 emac_dev_setmac_addr(struct net_device *ndev, void *addr) argument
1368 struct net_device *ndev = priv->ndev; local
1441 emac_poll_controller(struct net_device *ndev) argument
1451 emac_adjust_link(struct net_device *ndev) argument
1503 emac_devioctl(struct net_device *ndev, struct ifreq *ifrq, int cmd) argument
1530 emac_dev_open(struct net_device *ndev) argument
1680 emac_dev_stop(struct net_device *ndev) argument
1722 emac_dev_getnetstats(struct net_device *ndev) argument
1863 struct net_device *ndev; local
2024 struct net_device *ndev = platform_get_drvdata(pdev); local
2044 struct net_device *ndev = platform_get_drvdata(pdev); local
2055 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
/drivers/net/ethernet/wiznet/
H A Dw5100.c103 struct net_device *ndev; member in struct:w5100_priv
325 struct net_device *ndev = priv->ndev; local
329 w5100_write(priv, W5100_SHAR + i, ndev->dev_addr[i]);
376 static void w5100_get_drvinfo(struct net_device *ndev, argument
381 strlcpy(info->bus_info, dev_name(ndev->dev.parent),
385 static u32 w5100_get_link(struct net_device *ndev) argument
387 struct w5100_priv *priv = netdev_priv(ndev);
395 static u32 w5100_get_msglevel(struct net_device *ndev) argument
397 struct w5100_priv *priv = netdev_priv(ndev);
402 w5100_set_msglevel(struct net_device *ndev, u32 value) argument
409 w5100_get_regs_len(struct net_device *ndev) argument
414 w5100_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *_buf) argument
428 w5100_tx_timeout(struct net_device *ndev) argument
440 w5100_start_tx(struct sk_buff *skb, struct net_device *ndev) argument
463 struct net_device *ndev = priv->ndev; local
511 struct net_device *ndev = ndev_instance; local
538 struct net_device *ndev = ndev_instance; local
554 w5100_set_rx_mode(struct net_device *ndev) argument
565 w5100_set_macaddr(struct net_device *ndev, void *addr) argument
577 w5100_open(struct net_device *ndev) argument
591 w5100_stop(struct net_device *ndev) argument
626 struct net_device *ndev = platform_get_drvdata(pdev); local
700 struct net_device *ndev; local
740 struct net_device *ndev = platform_get_drvdata(pdev); local
757 struct net_device *ndev = platform_get_drvdata(pdev); local
772 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
H A Dw5300.c99 struct net_device *ndev; member in struct:w5300_priv
236 struct net_device *ndev = priv->ndev; local
238 ndev->dev_addr[0] << 24 |
239 ndev->dev_addr[1] << 16 |
240 ndev->dev_addr[2] << 8 |
241 ndev->dev_addr[3]);
243 ndev->dev_addr[4] << 8 |
244 ndev->dev_addr[5]);
295 static void w5300_get_drvinfo(struct net_device *ndev, argument
304 w5300_get_link(struct net_device *ndev) argument
314 w5300_get_msglevel(struct net_device *ndev) argument
321 w5300_set_msglevel(struct net_device *ndev, u32 value) argument
328 w5300_get_regs_len(struct net_device *ndev) argument
333 w5300_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *_buf) argument
357 w5300_tx_timeout(struct net_device *ndev) argument
369 w5300_start_tx(struct sk_buff *skb, struct net_device *ndev) argument
390 struct net_device *ndev = priv->ndev; local
431 struct net_device *ndev = ndev_instance; local
458 struct net_device *ndev = ndev_instance; local
474 w5300_set_rx_mode(struct net_device *ndev) argument
485 w5300_set_macaddr(struct net_device *ndev, void *addr) argument
497 w5300_open(struct net_device *ndev) argument
511 w5300_stop(struct net_device *ndev) argument
546 struct net_device *ndev = platform_get_drvdata(pdev); local
612 struct net_device *ndev; local
652 struct net_device *ndev = platform_get_drvdata(pdev); local
669 struct net_device *ndev = platform_get_drvdata(pdev); local
684 struct net_device *ndev = platform_get_drvdata(pdev); local
[all...]
/drivers/net/ethernet/xilinx/
H A Dll_temac.h331 struct net_device *ndev; member in struct:temac_local
H A Dll_temac_main.c202 static void temac_dma_bd_release(struct net_device *ndev) argument
204 struct temac_local *lp = netdev_priv(ndev);
214 dma_unmap_single(ndev->dev.parent, lp->rx_bd_v[i].phys,
220 dma_free_coherent(ndev->dev.parent,
224 dma_free_coherent(ndev->dev.parent,
234 static int temac_dma_bd_init(struct net_device *ndev) argument
236 struct temac_local *lp = netdev_priv(ndev);
246 lp->tx_bd_v = dma_zalloc_coherent(ndev->dev.parent,
252 lp->rx_bd_v = dma_zalloc_coherent(ndev->dev.parent,
267 skb = netdev_alloc_skb_ip_align(ndev,
317 temac_do_set_mac_address(struct net_device *ndev) argument
336 temac_init_mac_address(struct net_device *ndev, void *address) argument
345 temac_set_mac_address(struct net_device *ndev, void *p) argument
356 temac_set_multicast_list(struct net_device *ndev) argument
487 temac_setoptions(struct net_device *ndev, u32 options) argument
508 temac_device_reset(struct net_device *ndev) argument
591 temac_adjust_link(struct net_device *ndev) argument
620 temac_start_xmit_done(struct net_device *ndev) argument
677 temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument
744 ll_temac_recv(struct net_device *ndev) argument
815 struct net_device *ndev = _ndev; local
832 struct net_device *ndev = _ndev; local
846 temac_open(struct net_device *ndev) argument
885 temac_stop(struct net_device *ndev) argument
905 temac_poll_controller(struct net_device *ndev) argument
920 temac_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) argument
951 struct net_device *ndev = dev_get_drvdata(dev); local
975 temac_get_settings(struct net_device *ndev, struct ethtool_cmd *cmd) argument
981 temac_set_settings(struct net_device *ndev, struct ethtool_cmd *cmd) argument
987 temac_nway_reset(struct net_device *ndev) argument
1005 struct net_device *ndev; local
1144 struct net_device *ndev = platform_get_drvdata(op); local
[all...]

Completed in 172 milliseconds

1234567