/drivers/net/wimax/i2400m/ |
H A D | netdev.c | 101 int i2400m_open(struct net_device *net_dev) argument 104 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); 107 d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400m); 115 d_fnend(3, dev, "(net_dev %p [i2400m %p]) = %d\n", 116 net_dev, i2400m, result); 122 int i2400m_stop(struct net_device *net_dev) argument 124 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); 127 d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400 157 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local 272 i2400m_net_wake_tx(struct i2400m *i2400m, struct net_device *net_dev, struct sk_buff *skb) argument 325 i2400m_net_tx(struct i2400m *i2400m, struct net_device *net_dev, struct sk_buff *skb) argument 365 i2400m_hard_start_xmit(struct sk_buff *skb, struct net_device *net_dev) argument 396 i2400m_change_mtu(struct net_device *net_dev, int new_mtu) argument 415 i2400m_tx_timeout(struct net_device *net_dev) argument 436 i2400m_rx_fake_eth_header(struct net_device *net_dev, void *_eth_hdr, __be16 protocol) argument 488 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local 553 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local 594 i2400m_get_drvinfo(struct net_device *net_dev, struct ethtool_drvinfo *info) argument 617 i2400m_netdev_setup(struct net_device *net_dev) argument [all...] |
H A D | sdio.c | 44 * free_netdev(net_dev) 377 void i2400ms_netdev_setup(struct net_device *net_dev) argument 379 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); 382 i2400m_netdev_setup(net_dev); 465 struct net_device *net_dev; local 472 net_dev = alloc_netdev(sizeof(*i2400ms), "wmx%d", 474 if (net_dev == NULL) { 478 SET_NETDEV_DEV(net_dev, dev); 479 SET_NETDEV_DEVTYPE(net_dev, &i2400ms_type); 480 i2400m = net_dev_to_i2400m(net_dev); 549 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local [all...] |
H A D | driver.c | 224 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local 240 if (!memcmp(net_dev->perm_addr, ddi->mac_address, 246 dev_warn(dev, "boot mode reported %pM\n", net_dev->perm_addr); 252 net_dev->addr_len = ETH_ALEN; 253 memcpy(net_dev->perm_addr, ddi->mac_address, ETH_ALEN); 254 memcpy(net_dev->dev_addr, ddi->mac_address, ETH_ALEN); 289 struct net_device *net_dev = wimax_dev->net_dev; local 343 d_fnend(3, dev, "(net_dev 837 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local 869 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local [all...] |
H A D | usb.c | 342 static void i2400mu_get_drvinfo(struct net_device *net_dev, argument 345 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); 361 void i2400mu_netdev_setup(struct net_device *net_dev) argument 363 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); 366 i2400m_netdev_setup(net_dev); 367 net_dev->ethtool_ops = &i2400mu_ethtool_ops; 464 struct net_device *net_dev; local 475 net_dev = alloc_netdev(sizeof(*i2400mu), "wmx%d", 477 if (net_dev == NULL) { 481 SET_NETDEV_DEV(net_dev, de 575 struct net_device *net_dev = i2400m->wimax_dev.net_dev; local [all...] |
H A D | i2400m.h | 117 * well as i2400m->wimax_dev.net_dev and call i2400m_setup(). The 413 * (this is different to net_dev's statistics as it also counts 431 * (this is different to net_dev's statistics as it also counts 673 struct i2400m *net_dev_to_i2400m(struct net_device *net_dev) argument 675 return wimax_dev_to_i2400m(netdev_priv(net_dev)); 795 extern void i2400m_netdev_setup(struct net_device *net_dev); 867 dev_hold(i2400m->wimax_dev.net_dev); 874 dev_put(i2400m->wimax_dev.net_dev); 901 return i2400m->wimax_dev.net_dev->dev.parent;
|
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 118 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex); 207 static int sis900_open(struct net_device *net_dev); 208 static int sis900_mii_probe (struct net_device * net_dev); 209 static void sis900_init_rxfilter (struct net_device * net_dev); 211 static int mdio_read(struct net_device *net_dev, int phy_id, int location); 212 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); 214 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); 215 static void sis900_tx_timeout(struct net_device *net_dev); 216 static void sis900_init_tx_ring(struct net_device *net_dev); 217 static void sis900_init_rx_ring(struct net_device *net_dev); 247 sis900_get_mac_addr(struct pci_dev * pci_dev, struct net_device *net_dev) argument 282 sis630e_get_mac_addr(struct pci_dev * pci_dev, struct net_device *net_dev) argument 325 sis635_get_mac_addr(struct pci_dev * pci_dev, struct net_device *net_dev) argument 371 sis96x_get_mac_addr(struct pci_dev * pci_dev, struct net_device *net_dev) argument 432 struct net_device *net_dev; local 593 sis900_mii_probe(struct net_device * net_dev) argument 720 sis900_default_phy(struct net_device * net_dev) argument 782 sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) argument 888 mdio_read(struct net_device *net_dev, int phy_id, int location) argument 931 mdio_write(struct net_device *net_dev, int phy_id, int location, int value) argument 982 sis900_reset_phy(struct net_device *net_dev, int phy_addr) argument 1018 sis900_open(struct net_device *net_dev) argument 1074 sis900_init_rxfilter(struct net_device * net_dev) argument 1112 sis900_init_tx_ring(struct net_device *net_dev) argument 1146 sis900_init_rx_ring(struct net_device *net_dev) argument 1217 sis630_set_eq(struct net_device *net_dev, u8 revision) argument 1290 struct net_device *net_dev = (struct net_device *)data; local 1359 sis900_check_mode(struct net_device *net_dev, struct mii_phy *mii_phy) argument 1438 sis900_auto_negotiate(struct net_device *net_dev, int phy_addr) argument 1473 sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex) argument 1528 sis900_tx_timeout(struct net_device *net_dev) argument 1586 sis900_start_xmit(struct sk_buff *skb, struct net_device *net_dev) argument 1654 struct net_device *net_dev = dev_instance; local 1715 sis900_rx(struct net_device *net_dev) argument 1865 sis900_finish_xmit(struct net_device *net_dev) argument 1933 sis900_close(struct net_device *net_dev) argument 1988 sis900_get_drvinfo(struct net_device *net_dev, struct ethtool_drvinfo *info) argument 1999 sis900_get_msglevel(struct net_device *net_dev) argument 2005 sis900_set_msglevel(struct net_device *net_dev, u32 value) argument 2011 sis900_get_link(struct net_device *net_dev) argument 2017 sis900_get_settings(struct net_device *net_dev, struct ethtool_cmd *cmd) argument 2027 sis900_set_settings(struct net_device *net_dev, struct ethtool_cmd *cmd) argument 2038 sis900_nway_reset(struct net_device *net_dev) argument 2055 sis900_set_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument 2091 sis900_get_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument 2126 mii_ioctl(struct net_device *net_dev, struct ifreq *rq, int cmd) argument 2280 set_rx_mode(struct net_device *net_dev) argument 2355 sis900_reset(struct net_device *net_dev) argument 2389 struct net_device *net_dev = pci_get_drvdata(pci_dev); local 2413 struct net_device *net_dev = pci_get_drvdata(pci_dev); local 2433 struct net_device *net_dev = pci_get_drvdata(pci_dev); local [all...] |
/drivers/isdn/i4l/ |
H A D | isdn_concap.c | 44 struct net_device *ndev = concap->net_dev; 48 IX25DEBUG("isdn_concap_dl_data_req: %s \n", concap->net_dev->name); 50 IX25DEBUG("isdn_concap_dl_data_req: %s : isdn_net_send_skb returned %d\n", concap->net_dev->name, 1); 56 IX25DEBUG("isdn_concap_dl_data_req: %s : isdn_net_send_skb returned %d\n", concap->net_dev->name, 0); 63 struct net_device *ndev = concap->net_dev; 76 IX25DEBUG("isdn_concap_dl_disconn_req: %s \n", concap->net_dev->name); 78 isdn_net_hangup(concap->net_dev);
|
H A D | isdn_x25iface.c | 95 tmp->priv.net_dev = NULL; 117 IX25DEBUG("isdn_x25iface_proto_close %s \n", MY_DEVNAME(cprot->net_dev)); 120 cprot->net_dev = NULL; 181 cprot->net_dev = ndev; 193 IX25DEBUG("isdn_x25iface_receive %s \n", MY_DEVNAME(cprot->net_dev)); 198 skb->protocol = x25_type_trans(skb, cprot->net_dev); 203 printk(KERN_WARNING "isdn_x25iface_receive %s: not connected, skb dropped\n", MY_DEVNAME(cprot->net_dev)); 216 , MY_DEVNAME(cprot->net_dev)); 220 , MY_DEVNAME(cprot->net_dev)); 228 skb->protocol = x25_type_trans(skb, cprot->net_dev); [all...] |
/drivers/net/ethernet/sfc/ |
H A D | ethtool.c | 172 static int efx_ethtool_phys_id(struct net_device *net_dev, argument 175 struct efx_nic *efx = netdev_priv(net_dev); 197 static int efx_ethtool_get_settings(struct net_device *net_dev, argument 200 struct efx_nic *efx = netdev_priv(net_dev); 221 static int efx_ethtool_set_settings(struct net_device *net_dev, argument 224 struct efx_nic *efx = netdev_priv(net_dev); 230 netif_dbg(efx, drv, efx->net_dev, 241 static void efx_ethtool_get_drvinfo(struct net_device *net_dev, argument 244 struct efx_nic *efx = netdev_priv(net_dev); 254 static int efx_ethtool_get_regs_len(struct net_device *net_dev) argument 259 efx_ethtool_get_regs(struct net_device *net_dev, struct ethtool_regs *regs, void *buf) argument 268 efx_ethtool_get_msglevel(struct net_device *net_dev) argument 274 efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) argument 431 efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set) argument 445 efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set, u8 *strings) argument 470 efx_ethtool_get_stats(struct net_device *net_dev, struct ethtool_stats *stats, u64 *data) argument 520 efx_ethtool_self_test(struct net_device *net_dev, struct ethtool_test *test, u64 *data) argument 572 efx_ethtool_nway_reset(struct net_device *net_dev) argument 608 efx_ethtool_get_coalesce(struct net_device *net_dev, struct ethtool_coalesce *coalesce) argument 626 efx_ethtool_set_coalesce(struct net_device *net_dev, struct ethtool_coalesce *coalesce) argument 668 efx_ethtool_get_ringparam(struct net_device *net_dev, struct ethtool_ringparam *ring) argument 679 efx_ethtool_set_ringparam(struct net_device *net_dev, struct ethtool_ringparam *ring) argument 700 efx_ethtool_set_pauseparam(struct net_device *net_dev, struct ethtool_pauseparam *pause) argument 773 efx_ethtool_get_pauseparam(struct net_device *net_dev, struct ethtool_pauseparam *pause) argument 784 efx_ethtool_get_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument 792 efx_ethtool_set_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) argument 799 efx_ethtool_reset(struct net_device *net_dev, u32 *flags) argument 873 efx_ethtool_get_rxnfc(struct net_device *net_dev, struct ethtool_rxnfc *info, u32 *rule_locs) argument 1063 efx_ethtool_set_rxnfc(struct net_device *net_dev, struct ethtool_rxnfc *info) argument 1084 efx_ethtool_get_rxfh_indir_size(struct net_device *net_dev) argument 1093 efx_ethtool_get_rxfh_indir(struct net_device *net_dev, u32 *indir) argument 1101 efx_ethtool_set_rxfh_indir(struct net_device *net_dev, const u32 *indir) argument [all...] |
H A D | efx.c | 278 netif_vdbg(efx, intr, efx->net_dev, 372 netif_dbg(efx, probe, efx->net_dev, 387 netif_dbg(channel->efx, drv, channel->efx->net_dev, 398 netif_dbg(channel->efx, ifup, channel->efx->net_dev, 425 netif_dbg(channel->efx, drv, channel->efx->net_dev, 433 netif_dbg(channel->efx, drv, channel->efx->net_dev, 520 netif_dbg(channel->efx, probe, channel->efx->net_dev, 597 netif_err(efx, probe, efx->net_dev, 627 EFX_MAX_FRAME_LEN(efx->net_dev->mtu) + 650 if (netif_device_present(efx->net_dev)) 1727 efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) argument 1792 efx_netpoll(struct net_device *net_dev) argument 1810 efx_net_open(struct net_device *net_dev) argument 1838 efx_net_stop(struct net_device *net_dev) argument 1854 efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats) argument 1892 efx_watchdog(struct net_device *net_dev) argument 1905 efx_change_mtu(struct net_device *net_dev, int new_mtu) argument 1929 efx_set_mac_address(struct net_device *net_dev, void *data) argument 1956 efx_set_rx_mode(struct net_device *net_dev) argument 1989 efx_set_features(struct net_device *net_dev, netdev_features_t data) argument 2037 struct net_device *net_dev = ptr; local 2060 struct net_device *net_dev = efx->net_dev; local 2368 efx_init_struct(struct efx_nic *efx, const struct efx_nic_type *type, struct pci_dev *pci_dev, struct net_device *net_dev) argument 2610 struct net_device *net_dev; local [all...] |
H A D | selftest.c | 149 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); 157 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); 166 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); 170 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", 231 netif_dbg(efx, drv, efx->net_dev, 240 netif_err(efx, drv, efx->net_dev, 244 netif_err(efx, drv, efx->net_dev, 249 netif_err(efx, drv, efx->net_dev, 305 netif_err(efx, drv, efx->net_dev, 313 netif_err(efx, drv, efx->net_dev, 378 struct net_device *net_dev = efx->net_dev; local [all...] |
H A D | mdio_10g.h | 27 return efx->mdio.mdio_read(efx->net_dev, efx->mdio.prtad, devad, addr); 33 efx->mdio.mdio_write(efx->net_dev, efx->mdio.prtad, devad, addr, value); 54 netif_dbg(efx, hw, efx->net_dev, "XGXS lane status: %x\n",
|
H A D | mcdi_mac.c | 21 efx->net_dev->dev_addr, ETH_ALEN); 24 EFX_MAX_FRAME_LEN(efx->net_dev->mtu)); 67 netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", 111 netif_err(efx, hw, efx->net_dev, "%s: %s failed rc=%d\n",
|
H A D | mcdi.c | 171 netif_err(efx, hw, efx->net_dev, "MC rebooted\n"); 174 netif_err(efx, hw, efx->net_dev, 307 netif_err(efx, hw, efx->net_dev, 357 netif_err(efx, hw, efx->net_dev, 380 netif_err(efx, hw, efx->net_dev, "MC fatal error %d\n", 384 netif_dbg(efx, hw, efx->net_dev, 530 netif_err(efx, hw, efx->net_dev, 536 netif_info(efx, wol, efx->net_dev, "MCDI PM event.\n"); 553 netif_info(efx, hw, efx->net_dev, 557 netif_info(efx, hw, efx->net_dev, "M [all...] |
H A D | mdio_10g.c | 62 netif_err(efx, hw, efx->net_dev, 91 netif_err(efx, hw, efx->net_dev, 108 netif_err(efx, hw, efx->net_dev, 131 netif_err(efx, hw, efx->net_dev, 137 netif_err(efx, hw, efx->net_dev, 142 netif_vdbg(efx, hw, efx->net_dev, "Devices present: %x\n", devices); 206 netif_vdbg(efx, drv, efx->net_dev, "Setting low power mode for MMD %d to %d\n", 314 netif_err(efx, hw, efx->net_dev,
|
H A D | io.h | 92 netif_vdbg(efx, hw, efx->net_dev, 117 netif_vdbg(efx, hw, efx->net_dev, 136 netif_vdbg(efx, hw, efx->net_dev, 157 netif_vdbg(efx, hw, efx->net_dev, 178 netif_vdbg(efx, hw, efx->net_dev, 188 netif_vdbg(efx, hw, efx->net_dev, 234 netif_vdbg(efx, hw, efx->net_dev,
|
H A D | falcon.c | 167 netif_vdbg(efx, intr, efx->net_dev, 173 netif_vdbg(efx, intr, efx->net_dev, 233 netif_err(efx, hw, efx->net_dev, 327 netif_err(efx, hw, efx->net_dev, 454 netif_err(efx, hw, efx->net_dev, 477 netif_dbg(efx, hw, efx->net_dev, 483 netif_err(efx, hw, efx->net_dev, "MAC reset failed\n"); 612 netif_err(efx, hw, efx->net_dev, 697 netif_err(efx, hw, efx->net_dev, 707 netif_err(efx, hw, efx->net_dev, "time 712 falcon_mdio_write(struct net_device *net_dev, int prtad, int devad, u16 addr, u16 value) argument 765 falcon_mdio_read(struct net_device *net_dev, int prtad, int devad, u16 addr) argument [all...] |
H A D | rx.c | 144 struct net_device *net_dev = efx->net_dev; local 154 rx_buf->u.skb = skb = netdev_alloc_skb(net_dev, skb_len); 374 netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, 394 netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, 430 netif_err(efx, rx_err, efx->net_dev, 443 netif_err(efx, rx_err, efx->net_dev, 475 if (efx->net_dev->features & NETIF_F_RXHASH) 528 netif_vdbg(efx, rx_status, efx->net_dev, 609 if (efx->net_dev [all...] |
H A D | efx.h | 28 efx_hard_start_xmit(struct sk_buff *skb, struct net_device *net_dev); 32 extern int efx_setup_tc(struct net_device *net_dev, u8 num_tc); 82 extern int efx_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, 141 netif_vdbg(channel->efx, intr, channel->efx->net_dev,
|
H A D | siena.c | 53 static int siena_mdio_write(struct net_device *net_dev, argument 56 struct efx_nic *efx = netdev_priv(net_dev); 70 static int siena_mdio_read(struct net_device *net_dev, argument 73 struct efx_nic *efx = netdev_priv(net_dev); 111 netif_dbg(efx, probe, efx->net_dev, 220 rc = efx_mcdi_get_board_cfg(efx, efx->net_dev->perm_addr, NULL, &caps); 251 netif_err(efx, probe, efx->net_dev, 258 efx->net_dev->dev_id = EFX_OWORD_FIELD(reg, FRF_CZ_CS_PORT_NUM) - 1; 271 netif_err(efx, probe, efx->net_dev, 277 netif_err(efx, probe, efx->net_dev, [all...] |
H A D | tx.c | 57 netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, 265 netif_err(efx, tx_err, efx->net_dev, 316 netif_err(efx, tx_err, efx->net_dev, 342 struct net_device *net_dev) 344 struct efx_nic *efx = netdev_priv(net_dev); 348 EFX_WARN_ON_PARANOID(!netif_device_present(net_dev)); 367 netdev_get_tx_queue(efx->net_dev, 373 int efx_setup_tc(struct net_device *net_dev, u8 num_tc) argument 375 struct efx_nic *efx = netdev_priv(net_dev); 384 if (num_tc == net_dev 341 efx_hard_start_xmit(struct sk_buff *skb, struct net_device *net_dev) argument [all...] |
/drivers/staging/ozwpan/ |
H A D | ozproto.h | 60 void oz_binding_add(char *net_dev); 61 void oz_binding_remove(char *net_dev);
|
H A D | ozproto.c | 94 struct net_device *dev = pd->net_dev; 174 u8 *pd_addr, struct net_device *net_dev) 210 if (pd->net_dev != net_dev) { 211 old_net_dev = pd->net_dev; 212 dev_hold(net_dev); 213 pd->net_dev = net_dev; 795 void oz_binding_add(char *net_dev) argument 803 memcpy(binding->name, net_dev, OZ_MAX_BINDING_LE 173 oz_connect_req(struct oz_pd *cur_pd, struct oz_elt *elt, u8 *pd_addr, struct net_device *net_dev) argument 844 pd_stop_all_for_device(struct net_device *net_dev) argument 867 oz_binding_remove(char *net_dev) argument [all...] |
/drivers/net/hyperv/ |
H A D | rndis_filter.c | 227 ret = netvsc_send(dev->net_dev->dev, packet); 239 ndev = dev->net_dev->ndev; 296 dev->net_dev->dev, 1); 299 dev->net_dev->dev, 0); 358 netdev_err(dev->net_dev->ndev, "rndis message buffer " 383 netvsc_recv_callback(dev->net_dev->dev, pkt); 389 struct netvsc_device *net_dev = hv_get_drvdata(dev); local 394 if (!net_dev) 397 ndev = net_dev->ndev; 400 if (!net_dev 757 struct netvsc_device *net_dev = hv_get_drvdata(dev); local [all...] |
/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.c | 546 read_nic_dword(priv->net_dev, 548 read_nic_dword(priv->net_dev, addr, val); 560 read_nic_dword(priv->net_dev, 565 read_nic_dword(priv->net_dev, 587 read_nic_memory(priv->net_dev, addr, total_length, val); 611 read_nic_dword(priv->net_dev, 614 write_nic_dword(priv->net_dev, addr, *val); 696 priv->net_dev->name, priv->reset_backoff); 697 netif_carrier_off(priv->net_dev); 698 netif_stop_queue(priv->net_dev); [all...] |