/drivers/isdn/i4l/ |
H A D | isdn_concap.c | 44 struct net_device *ndev = concap->net_dev; local 45 isdn_net_dev *nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; 63 struct net_device *ndev = concap->net_dev; local 64 isdn_net_local *lp = netdev_priv(ndev); 66 IX25DEBUG("isdn_concap_dl_connect_req: %s \n", ndev->name);
|
H A D | isdn_x25iface.c | 163 struct net_device *ndev, 169 IX25DEBUG("isdn_x25iface_proto_restart %s \n", MY_DEVNAME(ndev)); 181 cprot->net_dev = ndev; 162 isdn_x25iface_proto_restart(struct concap_proto *cprot, struct net_device *ndev, struct concap_device_ops *dops) argument
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | core.c | 45 struct net_device *ndev; local 164 ndev = ath6kl_interface_add(ar, "wlan%d", NL80211_IFTYPE_STATION, 0, 169 if (!ndev) { 177 __func__, ndev->name, ndev, ar);
|
/drivers/net/wireless/iwmc3200wifi/ |
H A D | netdev.c | 56 static int iwm_open(struct net_device *ndev) argument 58 struct iwm_priv *iwm = ndev_to_iwm(ndev); 63 static int iwm_stop(struct net_device *ndev) argument 65 struct iwm_priv *iwm = ndev_to_iwm(ndev); 105 struct net_device *ndev; local 126 ndev = alloc_netdev_mq(0, "wlan%d", ether_setup, IWM_TX_QUEUES); 127 if (!ndev) { 133 ndev->netdev_ops = &iwm_netdev_ops; 134 ndev->ieee80211_ptr = wdev; 135 SET_NETDEV_DEV(ndev, wiphy_de 176 struct net_device *ndev = iwm_to_ndev(iwm); local [all...] |
/drivers/net/wireless/prism54/ |
H A D | islpci_hotplug.c | 98 struct net_device *ndev; local 171 if (!(ndev = islpci_setup(pdev))) { 178 priv = netdev_priv(ndev); 186 IRQF_SHARED, ndev->name, priv); 191 ndev->name); 200 unregister_netdev(ndev); 203 free_netdev(ndev); 221 struct net_device *ndev = pci_get_drvdata(pdev); local 222 islpci_private *priv = ndev ? netdev_priv(ndev) 264 struct net_device *ndev = pci_get_drvdata(pdev); local 287 struct net_device *ndev = pci_get_drvdata(pdev); local [all...] |
H A D | islpci_eth.c | 77 islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) argument 79 islpci_private *priv = netdev_priv(ndev); 103 ndev->name); 104 netif_stop_queue(ndev); 152 ndev->name); 196 ndev->name); 221 netif_stop_queue(ndev); 227 ndev->stats.tx_packets++; 228 ndev->stats.tx_bytes += skb->len; 239 ndev 312 struct net_device *ndev = priv->ndev; local 490 islpci_eth_tx_timeout(struct net_device *ndev) argument [all...] |
H A D | islpci_mgt.c | 108 islpci_mgmt_rx_fill(struct net_device *ndev) argument 110 islpci_private *priv = netdev_priv(ndev); 167 islpci_mgt_transmit(struct net_device *ndev, int operation, unsigned long oid, argument 170 islpci_private *priv = netdev_priv(ndev); 188 ndev->name, frag_len); 226 ndev->name); 235 ndev->name); 272 islpci_mgt_receive(struct net_device *ndev) argument 274 islpci_private *priv = netdev_priv(ndev); 301 ndev 415 islpci_mgt_cleanup_transmit(struct net_device *ndev) argument 449 islpci_mgt_transaction(struct net_device *ndev, int operation, unsigned long oid, void *senddata, int sendlen, struct islpci_mgmtframe **recvframe) argument [all...] |
/drivers/parport/ |
H A D | parport_cs.c | 75 int ndev; member in struct:parport_info_t 155 info->ndev = 1; 171 if (info->ndev) { 175 info->ndev = 0;
|
/drivers/base/ |
H A D | isa.c | 114 int isa_register_driver(struct isa_driver *isa_driver, unsigned int ndev) argument 126 for (id = 0; id < ndev; id++) {
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_mdio.c | 49 struct net_device *ndev = bus->priv; local 50 struct stmmac_priv *priv = netdev_priv(ndev); 80 struct net_device *ndev = bus->priv; local 81 struct stmmac_priv *priv = netdev_priv(ndev); 113 struct net_device *ndev = bus->priv; local 114 struct stmmac_priv *priv = netdev_priv(ndev); 133 * @ndev: net device structure 136 int stmmac_mdio_register(struct net_device *ndev) argument 141 struct stmmac_priv *priv = netdev_priv(ndev); 163 new_bus->priv = ndev; 239 stmmac_mdio_unregister(struct net_device *ndev) argument [all...] |
H A D | stmmac_pci.c | 132 struct net_device *ndev = pci_get_drvdata(pdev); local 133 struct stmmac_priv *priv = netdev_priv(ndev); 135 stmmac_dvr_remove(ndev); 146 struct net_device *ndev = pci_get_drvdata(pdev); local 149 ret = stmmac_suspend(ndev); 158 struct net_device *ndev = pci_get_drvdata(pdev); local 163 return stmmac_resume(ndev);
|
H A D | stmmac_platform.c | 154 * so the driver will continue to use the mac irq (ndev->irq) 184 struct net_device *ndev = platform_get_drvdata(pdev); local 185 struct stmmac_priv *priv = netdev_priv(ndev); 187 int ret = stmmac_dvr_remove(ndev); 207 struct net_device *ndev = dev_get_drvdata(dev); local 209 return stmmac_suspend(ndev); 214 struct net_device *ndev = dev_get_drvdata(dev); local 216 return stmmac_resume(ndev); 221 struct net_device *ndev = dev_get_drvdata(dev); local 223 return stmmac_freeze(ndev); 228 struct net_device *ndev = dev_get_drvdata(dev); local [all...] |
/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.h | 27 static inline unsigned int cxgb3i_get_private_ipv4addr(struct net_device *ndev) argument 29 return ((struct port_info *)(netdev_priv(ndev)))->iscsi_ipv4addr; 32 static inline void cxgb3i_set_private_ipv4addr(struct net_device *ndev, argument 35 struct port_info *pi = (struct port_info *)netdev_priv(ndev); 40 memcpy(pi->iscsic.mac_addr, ndev->dev_addr, ETH_ALEN);
|
/drivers/staging/telephony/ |
H A D | ixj_pcmcia.c | 22 int ndev; member in struct:ixj_info_t 143 info->ndev = 1; 156 info->ndev = 0;
|
/drivers/ide/ |
H A D | ide-cs.c | 65 int ndev; member in struct:ide_info_t 236 info->ndev = 1; 256 if (info->ndev) { 264 info->ndev = 0;
|
/drivers/net/ethernet/adi/ |
H A D | bfin_mac.h | 83 struct net_device *ndev; member in struct:bfin_mac_local
|
/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 37 struct net_device *ndev; local 41 ndev = priv->channel[CTCM_READ]->netdev; 42 if (!(priv && priv->channel[CTCM_READ] && ndev)) { 54 if ((ndev->flags & IFF_RUNNING) && 55 (bs1 < (ndev->mtu + LL_HEADER_LENGTH + 2))) 60 if (!(ndev->flags & IFF_RUNNING)) 61 ndev->mtu = bs1 - LL_HEADER_LENGTH - 2; 65 CTCM_DBF_DEV(SETUP, ndev, buf); 69 CTCM_DBF_DEV(SETUP, ndev, "buff_err");
|
/drivers/net/ethernet/natsemi/ |
H A D | macsonic.c | 438 static int __devinit macsonic_ident(struct nubus_dev *ndev) argument 440 if (ndev->dr_hw == NUBUS_DRHW_ASANTE_LC && 441 ndev->dr_sw == NUBUS_DRSW_SONIC_LC) 443 if (ndev->dr_hw == NUBUS_DRHW_SONIC && 444 ndev->dr_sw == NUBUS_DRSW_APPLE) { 446 if (strstr(ndev->board->name, "DuoDock")) 452 if (ndev->dr_hw == NUBUS_DRHW_SMC9194 && 453 ndev->dr_sw == NUBUS_DRSW_DAYNA) 456 if (ndev->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC && 457 ndev 466 struct nubus_dev* ndev = NULL; local [all...] |
/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-ethtool.c | 1129 void vxge_initialize_ethtool_ops(struct net_device *ndev) argument 1131 SET_ETHTOOL_OPS(ndev, &vxge_ethtool_ops);
|
/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_ethtool.c | 49 if (!netif_running(qdev->ndev)) 69 netif_err(qdev, ifup, qdev->ndev, 91 netif_err(qdev, ifup, qdev->ndev, 109 netif_err(qdev, drv, qdev->ndev, 118 netif_err(qdev, drv, qdev->ndev, 132 netif_err(qdev, drv, qdev->ndev, 146 netif_err(qdev, drv, qdev->ndev, 160 netif_err(qdev, drv, qdev->ndev, 173 netif_err(qdev, drv, qdev->ndev, 270 ql_get_ethtool_stats(struct net_device *ndev, argument 339 ql_get_settings(struct net_device *ndev, struct ethtool_cmd *ecmd) argument 365 ql_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *drvinfo) argument 388 ql_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument 397 ql_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) argument 418 ql_set_phys_id(struct net_device *ndev, enum ethtool_phys_id_state state) argument 526 ql_self_test(struct net_device *ndev, struct ethtool_test *eth_test, u64 *data) argument 554 ql_get_regs_len(struct net_device *ndev) argument 564 ql_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *p) argument 600 ql_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *c) argument 659 ql_get_msglevel(struct net_device *ndev) argument 665 ql_set_msglevel(struct net_device *ndev, u32 value) argument [all...] |
/drivers/net/hyperv/ |
H A D | netvsc.c | 39 struct net_device *ndev = hv_get_drvdata(device); local 48 net_device->ndev = ndev; 87 struct net_device *ndev = net_device->ndev; local 115 netdev_err(ndev, "unable to send " 130 netdev_err(ndev, 159 struct net_device *ndev; local 164 ndev = net_device->ndev; 319 struct net_device *ndev; local 437 struct net_device *ndev; local 483 struct net_device *ndev; local 540 struct net_device *ndev; local 589 struct net_device *ndev; local 640 struct net_device *ndev; local 772 struct net_device *ndev; local 857 struct net_device *ndev; local [all...] |
H A D | netvsc_drv.c | 63 if (nvdev == NULL || nvdev->ndev == NULL) 70 if (nvdev->ndev->flags & IFF_PROMISC) 230 net = net_device->ndev; 260 net = ((struct netvsc_device *)hv_get_drvdata(device_obj))->ndev; 306 static int netvsc_change_mtu(struct net_device *ndev, int mtu) argument 308 struct net_device_context *ndevctx = netdev_priv(ndev); 326 netif_tx_disable(ndev); 329 ndev->mtu = mtu; 332 hv_set_drvdata(hdev, ndev); 335 netif_wake_queue(ndev); [all...] |
/drivers/net/irda/ |
H A D | sir_dev.c | 588 struct net_device *ndev) 590 struct sir_dev *dev = netdev_priv(ndev); 598 netif_stop_queue(ndev); 619 netif_start_queue(ndev); 669 netif_wake_queue(ndev); 678 static int sirdev_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd) argument 681 struct sir_dev *dev = netdev_priv(ndev); 686 IRDA_DEBUG(3, "%s(), %s, (cmd=0x%X)\n", __func__, ndev->name, cmd); 791 static int sirdev_open(struct net_device *ndev) argument 793 struct sir_dev *dev = netdev_priv(ndev); 587 sirdev_hard_xmit(struct sk_buff *skb, struct net_device *ndev) argument 836 sirdev_close(struct net_device *ndev) argument 880 struct net_device *ndev; local [all...] |
/drivers/net/wan/ |
H A D | lapbether.c | 192 static void lapbeth_data_transmit(struct net_device *ndev, struct sk_buff *skb) argument 194 struct lapbethdev *lapbeth = netdev_priv(ndev); 206 ndev->stats.tx_packets++; 207 ndev->stats.tx_bytes += size; 322 struct net_device *ndev; local 328 ndev = alloc_netdev(sizeof(*lapbeth), "lapb%d", 330 if (!ndev) 333 lapbeth = netdev_priv(ndev); 334 lapbeth->axdev = ndev; 340 if (register_netdevice(ndev)) [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | wl_linux_mon.c | 52 int dhd_del_monitor(struct net_device *ndev); 81 static monitor_interface* ndev_to_monif(struct net_device *ndev); 82 static int dhd_mon_if_open(struct net_device *ndev); 83 static int dhd_mon_if_stop(struct net_device *ndev); 84 static int dhd_mon_if_subif_start_xmit(struct sk_buff *skb, struct net_device *ndev); 85 static void dhd_mon_if_set_multicast_list(struct net_device *ndev); 86 static int dhd_mon_if_change_mac(struct net_device *ndev, void *addr); 114 struct net_device *ndev; local 121 ndev = dhd_idx2net(g_monitor.dhd_pub, i); 126 if (ndev 145 ndev_to_monif(struct net_device *ndev) argument 157 dhd_mon_if_open(struct net_device *ndev) argument 165 dhd_mon_if_stop(struct net_device *ndev) argument 173 dhd_mon_if_subif_start_xmit(struct sk_buff *skb, struct net_device *ndev) argument 248 dhd_mon_if_set_multicast_list(struct net_device *ndev) argument 261 dhd_mon_if_change_mac(struct net_device *ndev, void *addr) argument 285 struct net_device* ndev = NULL; local 348 dhd_del_monitor(struct net_device *ndev) argument 397 struct net_device *ndev; local [all...] |