net_dev 5034 drivers/crypto/caam/caamalg_qi2.c ppriv->net_dev.dev = *dev; net_dev 5035 drivers/crypto/caam/caamalg_qi2.c INIT_LIST_HEAD(&ppriv->net_dev.napi_list); net_dev 5036 drivers/crypto/caam/caamalg_qi2.c netif_napi_add(&ppriv->net_dev, &ppriv->napi, dpaa2_dpseci_poll, net_dev 85 drivers/crypto/caam/caamalg_qi2.h struct net_device net_dev; net_dev 52 drivers/crypto/caam/qi.c struct net_device net_dev; net_dev 146 drivers/crypto/caam/qi.c struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); net_dev 565 drivers/crypto/caam/qi.c struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); net_dev 740 drivers/crypto/caam/qi.c struct net_device *net_dev = &priv->net_dev; net_dev 742 drivers/crypto/caam/qi.c net_dev->dev = *qidev; net_dev 743 drivers/crypto/caam/qi.c INIT_LIST_HEAD(&net_dev->napi_list); net_dev 745 drivers/crypto/caam/qi.c netif_napi_add(net_dev, irqtask, caam_qi_poll, net_dev 1408 drivers/infiniband/core/cma.c static bool validate_ipv4_net_dev(struct net_device *net_dev, net_dev 1426 drivers/infiniband/core/cma.c fl4.flowi4_iif = net_dev->ifindex; net_dev 1431 drivers/infiniband/core/cma.c err = fib_lookup(dev_net(net_dev), &fl4, &res, 0); net_dev 1432 drivers/infiniband/core/cma.c ret = err == 0 && FIB_RES_DEV(res) == net_dev; net_dev 1438 drivers/infiniband/core/cma.c static bool validate_ipv6_net_dev(struct net_device *net_dev, net_dev 1445 drivers/infiniband/core/cma.c struct rt6_info *rt = rt6_lookup(dev_net(net_dev), &dst_addr->sin6_addr, net_dev 1446 drivers/infiniband/core/cma.c &src_addr->sin6_addr, net_dev->ifindex, net_dev 1453 drivers/infiniband/core/cma.c ret = rt->rt6i_idev->dev == net_dev; net_dev 1462 drivers/infiniband/core/cma.c static bool validate_net_dev(struct net_device *net_dev, net_dev 1474 drivers/infiniband/core/cma.c validate_ipv4_net_dev(net_dev, daddr4, saddr4); net_dev 1478 drivers/infiniband/core/cma.c validate_ipv6_net_dev(net_dev, daddr6, saddr6); net_dev 1515 drivers/infiniband/core/cma.c struct net_device *net_dev; net_dev 1525 drivers/infiniband/core/cma.c net_dev = roce_get_net_dev_by_cm_event(ib_event); net_dev 1527 drivers/infiniband/core/cma.c net_dev = ib_get_net_dev_by_params(req->device, req->port, net_dev 1530 drivers/infiniband/core/cma.c if (!net_dev) net_dev 1533 drivers/infiniband/core/cma.c return net_dev; net_dev 1597 drivers/infiniband/core/cma.c const struct net_device *net_dev, net_dev 1602 drivers/infiniband/core/cma.c if (!net_dev) net_dev 1617 drivers/infiniband/core/cma.c if (net_eq(dev_net(net_dev), addr->dev_addr.net) && net_dev 1619 drivers/infiniband/core/cma.c (addr->dev_addr.bound_dev_if == net_dev->ifindex))) net_dev 1630 drivers/infiniband/core/cma.c const struct net_device *net_dev) net_dev 1640 drivers/infiniband/core/cma.c cma_match_net_dev(&id_priv->id, net_dev, req)) net_dev 1647 drivers/infiniband/core/cma.c net_dev, req)) net_dev 1660 drivers/infiniband/core/cma.c struct net_device **net_dev) net_dev 1670 drivers/infiniband/core/cma.c *net_dev = cma_get_net_dev(ib_event, req); net_dev 1671 drivers/infiniband/core/cma.c if (IS_ERR(*net_dev)) { net_dev 1672 drivers/infiniband/core/cma.c if (PTR_ERR(*net_dev) == -EAFNOSUPPORT) { net_dev 1674 drivers/infiniband/core/cma.c *net_dev = NULL; net_dev 1676 drivers/infiniband/core/cma.c return ERR_CAST(*net_dev); net_dev 1695 drivers/infiniband/core/cma.c if (*net_dev) { net_dev 1702 drivers/infiniband/core/cma.c if (((*net_dev)->flags & IFF_UP) == 0) { net_dev 1707 drivers/infiniband/core/cma.c if (!validate_net_dev(*net_dev, net_dev 1715 drivers/infiniband/core/cma.c bind_list = cma_ps_find(*net_dev ? dev_net(*net_dev) : &init_net, net_dev 1718 drivers/infiniband/core/cma.c id_priv = cma_find_listener(bind_list, cm_id, ib_event, req, *net_dev); net_dev 1721 drivers/infiniband/core/cma.c if (IS_ERR(id_priv) && *net_dev) { net_dev 1722 drivers/infiniband/core/cma.c dev_put(*net_dev); net_dev 1723 drivers/infiniband/core/cma.c *net_dev = NULL; net_dev 2005 drivers/infiniband/core/cma.c struct net_device *net_dev) net_dev 2042 drivers/infiniband/core/cma.c if (net_dev) { net_dev 2043 drivers/infiniband/core/cma.c rdma_copy_src_l2_addr(&rt->addr.dev_addr, net_dev); net_dev 2069 drivers/infiniband/core/cma.c struct net_device *net_dev) net_dev 2092 drivers/infiniband/core/cma.c if (net_dev) { net_dev 2093 drivers/infiniband/core/cma.c rdma_copy_src_l2_addr(&id->route.addr.dev_addr, net_dev); net_dev 2141 drivers/infiniband/core/cma.c struct net_device *net_dev; net_dev 2145 drivers/infiniband/core/cma.c listen_id = cma_ib_id_from_event(cm_id, ib_event, &req, &net_dev); net_dev 2163 drivers/infiniband/core/cma.c conn_id = cma_ib_new_udp_id(&listen_id->id, ib_event, net_dev); net_dev 2168 drivers/infiniband/core/cma.c conn_id = cma_ib_new_conn_id(&listen_id->id, ib_event, net_dev); net_dev 2206 drivers/infiniband/core/cma.c if (net_dev) net_dev 2207 drivers/infiniband/core/cma.c dev_put(net_dev); net_dev 2223 drivers/infiniband/core/cma.c if (net_dev) net_dev 2224 drivers/infiniband/core/cma.c dev_put(net_dev); net_dev 2506 drivers/infiniband/core/device.c struct net_device *net_dev = NULL; net_dev 2525 drivers/infiniband/core/device.c net_dev = client->get_net_dev_by_params(dev, port, pkey, gid, net_dev 2527 drivers/infiniband/core/device.c if (net_dev) net_dev 2532 drivers/infiniband/core/device.c return net_dev; net_dev 231 drivers/infiniband/hw/hns/hns_roce_main.c struct net_device *net_dev; net_dev 253 drivers/infiniband/hw/hns/hns_roce_main.c net_dev = hr_dev->iboe.netdevs[port]; net_dev 254 drivers/infiniband/hw/hns/hns_roce_main.c if (!net_dev) { net_dev 260 drivers/infiniband/hw/hns/hns_roce_main.c mtu = iboe_get_mtu(net_dev->mtu); net_dev 262 drivers/infiniband/hw/hns/hns_roce_main.c props->state = (netif_running(net_dev) && netif_carrier_ok(net_dev)) ? net_dev 405 drivers/infiniband/ulp/ipoib/ipoib_main.c struct net_device *net_dev = NULL; net_dev 411 drivers/infiniband/ulp/ipoib/ipoib_main.c net_dev = ipoib_get_master_net_dev(priv->dev); net_dev 415 drivers/infiniband/ulp/ipoib/ipoib_main.c net_dev = ipoib_get_net_dev_match_addr(addr, priv->dev); net_dev 417 drivers/infiniband/ulp/ipoib/ipoib_main.c if (net_dev) { net_dev 419 drivers/infiniband/ulp/ipoib/ipoib_main.c *found_net_dev = net_dev; net_dev 421 drivers/infiniband/ulp/ipoib/ipoib_main.c dev_put(net_dev); net_dev 448 drivers/infiniband/ulp/ipoib/ipoib_main.c struct net_device **net_dev) net_dev 453 drivers/infiniband/ulp/ipoib/ipoib_main.c *net_dev = NULL; net_dev 460 drivers/infiniband/ulp/ipoib/ipoib_main.c addr, 0, net_dev); net_dev 473 drivers/infiniband/ulp/ipoib/ipoib_main.c struct net_device *net_dev; net_dev 491 drivers/infiniband/ulp/ipoib/ipoib_main.c gid, NULL, &net_dev); net_dev 497 drivers/infiniband/ulp/ipoib/ipoib_main.c return net_dev; net_dev 500 drivers/infiniband/ulp/ipoib/ipoib_main.c dev_put(net_dev); net_dev 505 drivers/infiniband/ulp/ipoib/ipoib_main.c gid, addr, &net_dev); net_dev 514 drivers/infiniband/ulp/ipoib/ipoib_main.c return net_dev; net_dev 46 drivers/leds/trigger/ledtrig-netdev.c struct net_device *net_dev; net_dev 120 drivers/leds/trigger/ledtrig-netdev.c if (trigger_data->net_dev) { net_dev 121 drivers/leds/trigger/ledtrig-netdev.c dev_put(trigger_data->net_dev); net_dev 122 drivers/leds/trigger/ledtrig-netdev.c trigger_data->net_dev = NULL; net_dev 131 drivers/leds/trigger/ledtrig-netdev.c trigger_data->net_dev = net_dev 135 drivers/leds/trigger/ledtrig-netdev.c if (trigger_data->net_dev != NULL) net_dev 136 drivers/leds/trigger/ledtrig-netdev.c if (netif_carrier_ok(trigger_data->net_dev)) net_dev 309 drivers/leds/trigger/ledtrig-netdev.c if (!(dev == trigger_data->net_dev || net_dev 322 drivers/leds/trigger/ledtrig-netdev.c if (trigger_data->net_dev) net_dev 323 drivers/leds/trigger/ledtrig-netdev.c dev_put(trigger_data->net_dev); net_dev 325 drivers/leds/trigger/ledtrig-netdev.c trigger_data->net_dev = dev; net_dev 328 drivers/leds/trigger/ledtrig-netdev.c dev_put(trigger_data->net_dev); net_dev 329 drivers/leds/trigger/ledtrig-netdev.c trigger_data->net_dev = NULL; net_dev 357 drivers/leds/trigger/ledtrig-netdev.c if (!trigger_data->net_dev) { net_dev 367 drivers/leds/trigger/ledtrig-netdev.c dev_stats = dev_get_stats(trigger_data->net_dev, &temp); net_dev 409 drivers/leds/trigger/ledtrig-netdev.c trigger_data->net_dev = NULL; net_dev 433 drivers/leds/trigger/ledtrig-netdev.c if (trigger_data->net_dev) net_dev 434 drivers/leds/trigger/ledtrig-netdev.c dev_put(trigger_data->net_dev); net_dev 100 drivers/net/arcnet/com20020-pci.c struct net_device *net_dev = to_net_dev(dev); net_dev 101 drivers/net/arcnet/com20020-pci.c struct arcnet_local *lp = netdev_priv(net_dev); net_dev 1726 drivers/net/can/m_can/m_can.c struct net_device *net_dev; net_dev 1745 drivers/net/can/m_can/m_can.c net_dev = alloc_candev(sizeof(*class_dev), tx_fifo_size); net_dev 1746 drivers/net/can/m_can/m_can.c if (!net_dev) { net_dev 1751 drivers/net/can/m_can/m_can.c class_dev = netdev_priv(net_dev); net_dev 1757 drivers/net/can/m_can/m_can.c class_dev->net = net_dev; net_dev 1759 drivers/net/can/m_can/m_can.c SET_NETDEV_DEV(net_dev, dev); net_dev 36 drivers/net/can/sja1000/ems_pci.c struct net_device *net_dev[EMS_PCI_MAX_CHAN]; net_dev 179 drivers/net/can/sja1000/ems_pci.c dev = card->net_dev[i]; net_dev 290 drivers/net/can/sja1000/ems_pci.c card->net_dev[i] = dev; net_dev 32 drivers/net/can/sja1000/ems_pcmcia.c struct net_device *net_dev[EMS_PCMCIA_MAX_CHAN]; net_dev 98 drivers/net/can/sja1000/ems_pcmcia.c dev = card->net_dev[i]; net_dev 140 drivers/net/can/sja1000/ems_pcmcia.c dev = card->net_dev[i]; net_dev 202 drivers/net/can/sja1000/ems_pcmcia.c card->net_dev[i] = dev; net_dev 38 drivers/net/can/sja1000/f81601.c struct net_device *net_dev[F81601_PCI_MAX_CHAN]; net_dev 79 drivers/net/can/sja1000/f81601.c for (i = 0; i < ARRAY_SIZE(card->net_dev); i++) { net_dev 80 drivers/net/can/sja1000/f81601.c dev = card->net_dev[i]; net_dev 145 drivers/net/can/sja1000/f81601.c count = ARRAY_SIZE(card->net_dev); net_dev 186 drivers/net/can/sja1000/f81601.c card->net_dev[i] = dev; net_dev 46 drivers/net/can/sja1000/plx_pci.c struct net_device *net_dev[PLX_PCI_MAX_CHAN]; net_dev 587 drivers/net/can/sja1000/plx_pci.c dev = card->net_dev[i]; net_dev 678 drivers/net/can/sja1000/plx_pci.c card->net_dev[i] = dev; net_dev 726 drivers/net/can/sja1000/plx_pci.c card->net_dev[i] = NULL; net_dev 303 drivers/net/ethernet/amazon/ena/ena_ethtool.c static int ena_get_coalesce(struct net_device *net_dev, net_dev 306 drivers/net/ethernet/amazon/ena/ena_ethtool.c struct ena_adapter *adapter = netdev_priv(net_dev); net_dev 350 drivers/net/ethernet/amazon/ena/ena_ethtool.c static int ena_set_coalesce(struct net_device *net_dev, net_dev 353 drivers/net/ethernet/amazon/ena/ena_ethtool.c struct ena_adapter *adapter = netdev_priv(net_dev); net_dev 1505 drivers/net/ethernet/amd/sunlance.c struct net_device *net_dev = lp->dev; net_dev 1507 drivers/net/ethernet/amd/sunlance.c unregister_netdev(net_dev); net_dev 1511 drivers/net/ethernet/amd/sunlance.c free_netdev(net_dev); net_dev 288 drivers/net/ethernet/broadcom/bcm63xx_enet.c struct net_device *dev = priv->net_dev; net_dev 476 drivers/net/ethernet/broadcom/bcm63xx_enet.c dev = priv->net_dev; net_dev 1378 drivers/net/ethernet/broadcom/bcm63xx_enet.c if (netif_running(priv->net_dev)) net_dev 1854 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->net_dev = dev; net_dev 2723 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->net_dev = dev; net_dev 320 drivers/net/ethernet/broadcom/bcm63xx_enet.h struct net_device *net_dev; net_dev 173 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c if (bgmac->net_dev && bgmac->net_dev->phydev) net_dev 174 drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c phy_init_hw(bgmac->net_dev->phydev); net_dev 92 drivers/net/ethernet/broadcom/bgmac-bcma.c phy_dev = phy_connect(bgmac->net_dev, bus_id, bgmac_adjust_link, net_dev 154 drivers/net/ethernet/broadcom/bgmac-bcma.c ether_addr_copy(bgmac->net_dev->dev_addr, mac); net_dev 118 drivers/net/ethernet/broadcom/bgmac-platform.c static void bgmac_nicpm_speed_set(struct net_device *net_dev) net_dev 120 drivers/net/ethernet/broadcom/bgmac-platform.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 131 drivers/net/ethernet/broadcom/bgmac-platform.c switch (bgmac->net_dev->phydev->speed) { net_dev 133 drivers/net/ethernet/broadcom/bgmac-platform.c netdev_err(net_dev, "Unsupported speed. Defaulting to 1000Mb\n"); net_dev 148 drivers/net/ethernet/broadcom/bgmac-platform.c bgmac_adjust_link(bgmac->net_dev); net_dev 156 drivers/net/ethernet/broadcom/bgmac-platform.c phy_dev = of_phy_get_and_connect(bgmac->net_dev, net_dev 160 drivers/net/ethernet/broadcom/bgmac-platform.c phy_dev = of_phy_get_and_connect(bgmac->net_dev, net_dev 197 drivers/net/ethernet/broadcom/bgmac-platform.c ether_addr_copy(bgmac->net_dev->dev_addr, mac_addr); net_dev 136 drivers/net/ethernet/broadcom/bgmac.c struct net_device *net_dev = bgmac->net_dev; net_dev 144 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "Too long skb (%d)\n", skb->len); net_dev 157 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "TX ring is full, queue should be stopped!\n"); net_dev 158 drivers/net/ethernet/broadcom/bgmac.c netif_stop_queue(net_dev); net_dev 193 drivers/net/ethernet/broadcom/bgmac.c netdev_sent_queue(net_dev, skb->len); net_dev 206 drivers/net/ethernet/broadcom/bgmac.c netif_stop_queue(net_dev); net_dev 224 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "Mapping error of skb on ring 0x%X\n", net_dev 229 drivers/net/ethernet/broadcom/bgmac.c net_dev->stats.tx_dropped++; net_dev 230 drivers/net/ethernet/broadcom/bgmac.c net_dev->stats.tx_errors++; net_dev 269 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.tx_bytes += slot->skb->len; net_dev 270 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.tx_packets++; net_dev 286 drivers/net/ethernet/broadcom/bgmac.c netdev_completed_queue(bgmac->net_dev, pkts_compl, bytes_compl); net_dev 288 drivers/net/ethernet/broadcom/bgmac.c if (netif_queue_stopped(bgmac->net_dev)) net_dev 289 drivers/net/ethernet/broadcom/bgmac.c netif_wake_queue(bgmac->net_dev); net_dev 355 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "DMA mapping error\n"); net_dev 450 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "Found poisoned packet at slot %d, DMA issue!\n", net_dev 453 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_errors++; net_dev 458 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "Found oversized packet at slot %d, DMA issue!\n", net_dev 461 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_length_errors++; net_dev 462 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_errors++; net_dev 471 drivers/net/ethernet/broadcom/bgmac.c netdev_err(bgmac->net_dev, "build_skb failed\n"); net_dev 473 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_errors++; net_dev 482 drivers/net/ethernet/broadcom/bgmac.c skb->protocol = eth_type_trans(skb, bgmac->net_dev); net_dev 483 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_bytes += len; net_dev 484 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev->stats.rx_packets++; net_dev 781 drivers/net/ethernet/broadcom/bgmac.c static void bgmac_set_rx_mode(struct net_device *net_dev) net_dev 783 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 785 drivers/net/ethernet/broadcom/bgmac.c if (net_dev->flags & IFF_PROMISC) net_dev 1030 drivers/net/ethernet/broadcom/bgmac.c netdev_reset_queue(bgmac->net_dev); net_dev 1110 drivers/net/ethernet/broadcom/bgmac.c bgmac_set_rx_mode(bgmac->net_dev); net_dev 1112 drivers/net/ethernet/broadcom/bgmac.c bgmac_write_mac_address(bgmac, bgmac->net_dev->dev_addr); net_dev 1175 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_open(struct net_device *net_dev) net_dev 1177 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 1190 drivers/net/ethernet/broadcom/bgmac.c net_dev->name, net_dev); net_dev 1198 drivers/net/ethernet/broadcom/bgmac.c phy_start(net_dev->phydev); net_dev 1200 drivers/net/ethernet/broadcom/bgmac.c netif_start_queue(net_dev); net_dev 1205 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_stop(struct net_device *net_dev) net_dev 1207 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 1209 drivers/net/ethernet/broadcom/bgmac.c netif_carrier_off(net_dev); net_dev 1211 drivers/net/ethernet/broadcom/bgmac.c phy_stop(net_dev->phydev); net_dev 1215 drivers/net/ethernet/broadcom/bgmac.c free_irq(bgmac->irq, net_dev); net_dev 1224 drivers/net/ethernet/broadcom/bgmac.c struct net_device *net_dev) net_dev 1226 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 1234 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_set_mac_address(struct net_device *net_dev, void *addr) net_dev 1236 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 1240 drivers/net/ethernet/broadcom/bgmac.c ret = eth_prepare_mac_addr_change(net_dev, addr); net_dev 1244 drivers/net/ethernet/broadcom/bgmac.c ether_addr_copy(net_dev->dev_addr, sa->sa_data); net_dev 1245 drivers/net/ethernet/broadcom/bgmac.c bgmac_write_mac_address(bgmac, net_dev->dev_addr); net_dev 1247 drivers/net/ethernet/broadcom/bgmac.c eth_commit_mac_addr_change(net_dev, addr); net_dev 1251 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) net_dev 1253 drivers/net/ethernet/broadcom/bgmac.c if (!netif_running(net_dev)) net_dev 1256 drivers/net/ethernet/broadcom/bgmac.c return phy_mii_ioctl(net_dev->phydev, ifr, cmd); net_dev 1394 drivers/net/ethernet/broadcom/bgmac.c static void bgmac_get_drvinfo(struct net_device *net_dev, net_dev 1414 drivers/net/ethernet/broadcom/bgmac.c void bgmac_adjust_link(struct net_device *net_dev) net_dev 1416 drivers/net/ethernet/broadcom/bgmac.c struct bgmac *bgmac = netdev_priv(net_dev); net_dev 1417 drivers/net/ethernet/broadcom/bgmac.c struct phy_device *phy_dev = net_dev->phydev; net_dev 1455 drivers/net/ethernet/broadcom/bgmac.c err = phy_connect_direct(bgmac->net_dev, phy_dev, bgmac_adjust_link, net_dev 1468 drivers/net/ethernet/broadcom/bgmac.c struct net_device *net_dev; net_dev 1472 drivers/net/ethernet/broadcom/bgmac.c net_dev = devm_alloc_etherdev(dev, sizeof(*bgmac)); net_dev 1473 drivers/net/ethernet/broadcom/bgmac.c if (!net_dev) net_dev 1476 drivers/net/ethernet/broadcom/bgmac.c net_dev->netdev_ops = &bgmac_netdev_ops; net_dev 1477 drivers/net/ethernet/broadcom/bgmac.c net_dev->ethtool_ops = &bgmac_ethtool_ops; net_dev 1479 drivers/net/ethernet/broadcom/bgmac.c bgmac = netdev_priv(net_dev); net_dev 1481 drivers/net/ethernet/broadcom/bgmac.c bgmac->net_dev = net_dev; net_dev 1489 drivers/net/ethernet/broadcom/bgmac.c struct net_device *net_dev = bgmac->net_dev; net_dev 1494 drivers/net/ethernet/broadcom/bgmac.c net_dev->irq = bgmac->irq; net_dev 1495 drivers/net/ethernet/broadcom/bgmac.c SET_NETDEV_DEV(net_dev, bgmac->dev); net_dev 1498 drivers/net/ethernet/broadcom/bgmac.c if (!is_valid_ether_addr(net_dev->dev_addr)) { net_dev 1500 drivers/net/ethernet/broadcom/bgmac.c net_dev->dev_addr); net_dev 1501 drivers/net/ethernet/broadcom/bgmac.c eth_hw_addr_random(net_dev); net_dev 1503 drivers/net/ethernet/broadcom/bgmac.c net_dev->dev_addr); net_dev 1529 drivers/net/ethernet/broadcom/bgmac.c netif_napi_add(net_dev, &bgmac->napi, bgmac_poll, BGMAC_WEIGHT); net_dev 1537 drivers/net/ethernet/broadcom/bgmac.c net_dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; net_dev 1538 drivers/net/ethernet/broadcom/bgmac.c net_dev->hw_features = net_dev->features; net_dev 1539 drivers/net/ethernet/broadcom/bgmac.c net_dev->vlan_features = net_dev->features; net_dev 1541 drivers/net/ethernet/broadcom/bgmac.c err = register_netdev(bgmac->net_dev); net_dev 1547 drivers/net/ethernet/broadcom/bgmac.c netif_carrier_off(net_dev); net_dev 1552 drivers/net/ethernet/broadcom/bgmac.c phy_disconnect(net_dev->phydev); net_dev 1563 drivers/net/ethernet/broadcom/bgmac.c unregister_netdev(bgmac->net_dev); net_dev 1564 drivers/net/ethernet/broadcom/bgmac.c phy_disconnect(bgmac->net_dev->phydev); net_dev 1567 drivers/net/ethernet/broadcom/bgmac.c free_netdev(bgmac->net_dev); net_dev 1573 drivers/net/ethernet/broadcom/bgmac.c if (!netif_running(bgmac->net_dev)) net_dev 1576 drivers/net/ethernet/broadcom/bgmac.c phy_stop(bgmac->net_dev->phydev); net_dev 1578 drivers/net/ethernet/broadcom/bgmac.c netif_stop_queue(bgmac->net_dev); net_dev 1582 drivers/net/ethernet/broadcom/bgmac.c netif_tx_lock(bgmac->net_dev); net_dev 1583 drivers/net/ethernet/broadcom/bgmac.c netif_device_detach(bgmac->net_dev); net_dev 1584 drivers/net/ethernet/broadcom/bgmac.c netif_tx_unlock(bgmac->net_dev); net_dev 1598 drivers/net/ethernet/broadcom/bgmac.c if (!netif_running(bgmac->net_dev)) net_dev 1609 drivers/net/ethernet/broadcom/bgmac.c netif_tx_lock(bgmac->net_dev); net_dev 1610 drivers/net/ethernet/broadcom/bgmac.c netif_device_attach(bgmac->net_dev); net_dev 1611 drivers/net/ethernet/broadcom/bgmac.c netif_tx_unlock(bgmac->net_dev); net_dev 1613 drivers/net/ethernet/broadcom/bgmac.c netif_start_queue(bgmac->net_dev); net_dev 1615 drivers/net/ethernet/broadcom/bgmac.c phy_start(bgmac->net_dev->phydev); net_dev 497 drivers/net/ethernet/broadcom/bgmac.h struct net_device *net_dev; net_dev 540 drivers/net/ethernet/broadcom/bgmac.h void bgmac_adjust_link(struct net_device *net_dev); net_dev 123 drivers/net/ethernet/ec_bhf.c struct net_device *net_dev; net_dev 185 drivers/net/ethernet/ec_bhf.c if (unlikely(netif_queue_stopped(priv->net_dev))) { net_dev 190 drivers/net/ethernet/ec_bhf.c netif_wake_queue(priv->net_dev); net_dev 215 drivers/net/ethernet/ec_bhf.c skb = netdev_alloc_skb_ip_align(priv->net_dev, pkt_size); net_dev 218 drivers/net/ethernet/ec_bhf.c skb->protocol = eth_type_trans(skb, priv->net_dev); net_dev 244 drivers/net/ethernet/ec_bhf.c if (!netif_running(priv->net_dev)) net_dev 283 drivers/net/ethernet/ec_bhf.c struct net_device *net_dev) net_dev 285 drivers/net/ethernet/ec_bhf.c struct ec_bhf_priv *priv = netdev_priv(net_dev); net_dev 308 drivers/net/ethernet/ec_bhf.c netif_stop_queue(net_dev); net_dev 392 drivers/net/ethernet/ec_bhf.c static int ec_bhf_open(struct net_device *net_dev) net_dev 394 drivers/net/ethernet/ec_bhf.c struct ec_bhf_priv *priv = netdev_priv(net_dev); net_dev 417 drivers/net/ethernet/ec_bhf.c netif_start_queue(net_dev); net_dev 432 drivers/net/ethernet/ec_bhf.c static int ec_bhf_stop(struct net_device *net_dev) net_dev 434 drivers/net/ethernet/ec_bhf.c struct ec_bhf_priv *priv = netdev_priv(net_dev); net_dev 441 drivers/net/ethernet/ec_bhf.c netif_tx_disable(net_dev); net_dev 452 drivers/net/ethernet/ec_bhf.c ec_bhf_get_stats(struct net_device *net_dev, net_dev 455 drivers/net/ethernet/ec_bhf.c struct ec_bhf_priv *priv = netdev_priv(net_dev); net_dev 479 drivers/net/ethernet/ec_bhf.c struct net_device *net_dev; net_dev 526 drivers/net/ethernet/ec_bhf.c net_dev = alloc_etherdev(sizeof(struct ec_bhf_priv)); net_dev 527 drivers/net/ethernet/ec_bhf.c if (net_dev == NULL) { net_dev 532 drivers/net/ethernet/ec_bhf.c pci_set_drvdata(dev, net_dev); net_dev 533 drivers/net/ethernet/ec_bhf.c SET_NETDEV_DEV(net_dev, &dev->dev); net_dev 535 drivers/net/ethernet/ec_bhf.c net_dev->features = 0; net_dev 536 drivers/net/ethernet/ec_bhf.c net_dev->flags |= IFF_NOARP; net_dev 538 drivers/net/ethernet/ec_bhf.c net_dev->netdev_ops = &ec_bhf_netdev_ops; net_dev 540 drivers/net/ethernet/ec_bhf.c priv = netdev_priv(net_dev); net_dev 541 drivers/net/ethernet/ec_bhf.c priv->net_dev = net_dev; net_dev 550 drivers/net/ethernet/ec_bhf.c memcpy_fromio(net_dev->dev_addr, priv->mii_io + MII_MAC_ADDR, 6); net_dev 552 drivers/net/ethernet/ec_bhf.c err = register_netdev(net_dev); net_dev 559 drivers/net/ethernet/ec_bhf.c free_netdev(net_dev); net_dev 575 drivers/net/ethernet/ec_bhf.c struct net_device *net_dev = pci_get_drvdata(dev); net_dev 576 drivers/net/ethernet/ec_bhf.c struct ec_bhf_priv *priv = netdev_priv(net_dev); net_dev 578 drivers/net/ethernet/ec_bhf.c unregister_netdev(net_dev); net_dev 579 drivers/net/ethernet/ec_bhf.c free_netdev(net_dev); net_dev 214 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_netdev_init(struct net_device *net_dev, net_dev 218 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_priv *priv = netdev_priv(net_dev); net_dev 219 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct device *dev = net_dev->dev.parent; net_dev 229 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c percpu_priv->net_dev = net_dev; net_dev 232 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->netdev_ops = dpaa_ops; net_dev 235 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->mem_start = priv->mac_dev->res->start; net_dev 236 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->mem_end = priv->mac_dev->res->end; net_dev 238 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->min_mtu = ETH_MIN_MTU; net_dev 239 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->max_mtu = dpaa_get_max_mtu(); net_dev 241 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | net_dev 244 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->hw_features |= NETIF_F_SG | NETIF_F_HIGHDMA; net_dev 248 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= NETIF_F_GSO; net_dev 249 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= NETIF_F_RXCSUM; net_dev 251 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; net_dev 253 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->priv_flags &= ~IFF_TX_SKB_SHARING; net_dev 255 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->features |= net_dev->hw_features; net_dev 256 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->vlan_features = net_dev->features; net_dev 258 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c memcpy(net_dev->perm_addr, mac_addr, net_dev->addr_len); net_dev 259 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c memcpy(net_dev->dev_addr, mac_addr, net_dev->addr_len); net_dev 261 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->ethtool_ops = &dpaa_ethtool_ops; net_dev 263 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->needed_headroom = priv->tx_headroom; net_dev 264 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->watchdog_timeo = msecs_to_jiffies(tx_timeout); net_dev 267 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_carrier_off(net_dev); net_dev 269 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = register_netdev(net_dev); net_dev 278 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_stop(struct net_device *net_dev) net_dev 284 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 287 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_tx_stop_all_queues(net_dev); net_dev 295 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, ifdown, net_dev, "mac_dev->stop() = %d\n", net_dev 304 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (net_dev->phydev) net_dev 305 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c phy_disconnect(net_dev->phydev); net_dev 306 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->phydev = NULL; net_dev 311 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_tx_timeout(struct net_device *net_dev) net_dev 316 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 319 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_crit(priv, timer, net_dev, "Transmit timeout latency: %u ms\n", net_dev 320 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c jiffies_to_msecs(jiffies - dev_trans_start(net_dev))); net_dev 328 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_get_stats64(struct net_device *net_dev, net_dev 332 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_priv *priv = netdev_priv(net_dev); net_dev 349 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_setup_tc(struct net_device *net_dev, enum tc_setup_type type, net_dev 352 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_priv *priv = netdev_priv(net_dev); net_dev 367 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_reset_tc(net_dev); net_dev 372 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_err(net_dev, "Too many traffic classes: max %d supported.\n", net_dev 377 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_set_num_tc(net_dev, num_tc); net_dev 380 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_set_tc_queue(net_dev, i, DPAA_TC_TXQ_NUM, net_dev 385 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_set_real_num_tx_queues(net_dev, priv->num_tc * DPAA_TC_TXQ_NUM); net_dev 410 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_set_mac_address(struct net_device *net_dev, void *addr) net_dev 417 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 419 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c memcpy(old_addr.sa_data, net_dev->dev_addr, ETH_ALEN); net_dev 421 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = eth_mac_addr(net_dev, addr); net_dev 423 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, drv, net_dev, "eth_mac_addr() = %d\n", err); net_dev 430 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c (enet_addr_t *)net_dev->dev_addr); net_dev 432 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, drv, net_dev, "mac_dev->change_addr() = %d\n", net_dev 435 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c eth_mac_addr(net_dev, &old_addr); net_dev 443 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_set_rx_mode(struct net_device *net_dev) net_dev 448 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 450 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (!!(net_dev->flags & IFF_PROMISC) != priv->mac_dev->promisc) { net_dev 455 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, drv, net_dev, net_dev 460 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (!!(net_dev->flags & IFF_ALLMULTI) != priv->mac_dev->allmulti) { net_dev 465 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, drv, net_dev, net_dev 470 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = priv->mac_dev->set_multi(net_dev, priv->mac_dev); net_dev 472 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, drv, net_dev, "mac_dev->set_multi() = %d\n", net_dev 802 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_tx_stop_all_queues(priv->net_dev); net_dev 807 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_tx_wake_all_queues(priv->net_dev); net_dev 868 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq->net_dev = priv->net_dev; net_dev 880 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c fq->net_dev = priv->net_dev; net_dev 903 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dev_err(priv->net_dev->dev.parent, net_dev 940 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dev_warn(priv->net_dev->dev.parent, net_dev 980 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(dpaa_fq->net_dev); net_dev 981 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dev = dpaa_fq->net_dev->dev.parent; net_dev 1122 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(dpaa_fq->net_dev); net_dev 1318 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_fd_release(const struct net_device *net_dev, net_dev 1448 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_alert(priv, tx_err, priv->net_dev, net_dev 1465 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_alert(priv, tx_err, priv->net_dev, net_dev 1614 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 1679 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if ((priv->net_dev->features & NETIF_F_RXCSUM) && net_dev 1860 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev = priv->net_dev; net_dev 1861 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct device *dev = net_dev->dev.parent; net_dev 1887 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, tx_err, net_dev, "HW csum error: %d\n", net_dev 1901 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, tx_err, net_dev, "dma_map_single() failed\n"); net_dev 1914 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev = priv->net_dev; net_dev 1915 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct device *dev = net_dev->dev.parent; net_dev 1929 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_err(net_dev, "netdev_alloc_frag() failed for size %d\n", net_dev 1943 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, tx_err, net_dev, "HW csum error: %d\n", net_dev 2033 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c trace_dpaa_tx_fd(priv->net_dev, egress_fq, fd); net_dev 2053 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_start_xmit(struct sk_buff *skb, struct net_device *net_dev) net_dev 2065 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2109 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c txq = netdev_get_tx_queue(net_dev, queue_mapping); net_dev 2130 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_rx_error(struct net_device *net_dev, net_dev 2137 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, hw, net_dev, "Err FD status = 0x%08x\n", net_dev 2151 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_fd_release(net_dev, fd); net_dev 2154 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_tx_error(struct net_device *net_dev, net_dev 2163 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_warn(priv, hw, net_dev, "FD status = 0x%08x\n", net_dev 2189 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_tx_conf(struct net_device *net_dev, net_dev 2199 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_warn(priv, hw, net_dev, "FD status = 0x%08x\n", net_dev 2234 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2238 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = dpaa_fq->net_dev; net_dev 2239 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2250 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_rx_error(net_dev, priv, percpu_priv, &dq->fd, fq->fqid); net_dev 2265 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2277 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = ((struct dpaa_fq *)fq)->net_dev; net_dev 2278 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2284 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c trace_dpaa_rx_fd(net_dev, fq, &dq->fd); net_dev 2298 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_fd_release(net_dev, &dq->fd); net_dev 2304 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_warn(priv, hw, net_dev, "FD status = 0x%08x\n", net_dev 2308 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_fd_release(net_dev, fd); net_dev 2345 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dev_warn(net_dev->dev.parent, "fman_port_get_tstamp failed!\n"); net_dev 2348 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c skb->protocol = eth_type_trans(skb, net_dev); net_dev 2350 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (net_dev->features & NETIF_F_RXHASH && priv->keygen_in_use && net_dev 2380 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2383 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = ((struct dpaa_fq *)fq)->net_dev; net_dev 2384 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2391 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_tx_error(net_dev, priv, percpu_priv, &dq->fd, fq->fqid); net_dev 2401 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2404 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = ((struct dpaa_fq *)fq)->net_dev; net_dev 2405 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2408 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c trace_dpaa_tx_conf_fd(net_dev, fq, &dq->fd); net_dev 2415 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_tx_conf(net_dev, priv, percpu_priv, &dq->fd, fq->fqid); net_dev 2427 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2430 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = ((struct dpaa_fq *)fq)->net_dev; net_dev 2431 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2476 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_adjust_link(struct net_device *net_dev) net_dev 2481 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2489 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_phy_init(struct net_device *net_dev) net_dev 2496 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2499 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c phy_dev = of_phy_connect(net_dev, mac_dev->phy_node, net_dev 2503 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, ifup, net_dev, "init_phy() failed\n"); net_dev 2519 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->phydev = phy_dev; net_dev 2524 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_open(struct net_device *net_dev) net_dev 2530 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2534 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = dpaa_phy_init(net_dev); net_dev 2546 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_err(priv, ifup, net_dev, "mac_dev->start() = %d\n", err); net_dev 2550 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_tx_start_all_queues(net_dev); net_dev 2564 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_eth_stop(struct net_device *net_dev) net_dev 2569 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = dpaa_stop(net_dev); net_dev 2571 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2616 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_ioctl(struct net_device *net_dev, struct ifreq *rq, int cmd) net_dev 2621 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (net_dev->phydev) net_dev 2622 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return phy_mii_ioctl(net_dev->phydev, rq, cmd); net_dev 2626 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return dpaa_ts_ioctl(net_dev, rq, cmd); net_dev 2645 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static int dpaa_napi_add(struct net_device *net_dev) net_dev 2647 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_priv *priv = netdev_priv(net_dev); net_dev 2654 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_napi_add(net_dev, &percpu_priv->np.napi, net_dev 2661 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c static void dpaa_napi_del(struct net_device *net_dev) net_dev 2663 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct dpaa_priv *priv = netdev_priv(net_dev); net_dev 2779 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev = NULL; net_dev 2798 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = alloc_etherdev_mq(sizeof(*priv), DPAA_ETH_TXQ_NUM); net_dev 2799 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c if (!net_dev) { net_dev 2805 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c SET_NETDEV_DEV(net_dev, dev->parent); net_dev 2806 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dev_set_drvdata(dev, net_dev); net_dev 2808 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2809 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv->net_dev = net_dev; net_dev 2827 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->mtu = min(dpaa_get_max_mtu(), ETH_DATA_LEN); net_dev 2829 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netdev_dbg(net_dev, "Setting initial MTU on net device: %d\n", net_dev 2830 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->mtu); net_dev 2926 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_set_real_num_tx_queues(net_dev, priv->num_tc * DPAA_TC_TXQ_NUM); net_dev 2929 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = dpaa_napi_add(net_dev); net_dev 2933 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c err = dpaa_netdev_init(net_dev, &dpaa_ops, tx_timeout); net_dev 2937 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_eth_sysfs_init(&net_dev->dev); net_dev 2939 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c netif_info(priv, probe, net_dev, "Probed interface %s\n", net_dev 2940 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev->name); net_dev 2945 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_napi_del(net_dev); net_dev 2957 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c free_netdev(net_dev); net_dev 2964 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c struct net_device *net_dev; net_dev 2970 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c net_dev = dev_get_drvdata(dev); net_dev 2972 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c priv = netdev_priv(net_dev); net_dev 2977 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c unregister_netdev(net_dev); net_dev 2986 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_napi_del(net_dev); net_dev 2990 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c free_netdev(net_dev); net_dev 66 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h struct net_device *net_dev; net_dev 132 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h struct net_device *net_dev; net_dev 154 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h struct net_device *net_dev; net_dev 78 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_get_link_ksettings(struct net_device *net_dev, net_dev 81 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (!net_dev->phydev) { net_dev 82 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_dbg(net_dev, "phy device not initialized\n"); net_dev 86 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c phy_ethtool_ksettings_get(net_dev->phydev, cmd); net_dev 91 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_set_link_ksettings(struct net_device *net_dev, net_dev 96 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (!net_dev->phydev) { net_dev 97 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy device not initialized\n"); net_dev 101 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c err = phy_ethtool_ksettings_set(net_dev->phydev, cmd); net_dev 103 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy_ethtool_ksettings_set() = %d\n", err); net_dev 108 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_get_drvinfo(struct net_device *net_dev, net_dev 122 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_notice(net_dev, "snprintf() = %d\n", len); net_dev 124 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), net_dev 128 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static u32 dpaa_get_msglevel(struct net_device *net_dev) net_dev 130 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c return ((struct dpaa_priv *)netdev_priv(net_dev))->msg_enable; net_dev 133 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_set_msglevel(struct net_device *net_dev, net_dev 136 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c ((struct dpaa_priv *)netdev_priv(net_dev))->msg_enable = msg_enable; net_dev 139 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_nway_reset(struct net_device *net_dev) net_dev 143 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (!net_dev->phydev) { net_dev 144 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy device not initialized\n"); net_dev 149 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (net_dev->phydev->autoneg) { net_dev 150 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c err = phy_start_aneg(net_dev->phydev); net_dev 152 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy_start_aneg() = %d\n", net_dev 159 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_get_pauseparam(struct net_device *net_dev, net_dev 165 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c priv = netdev_priv(net_dev); net_dev 168 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c if (!net_dev->phydev) { net_dev 169 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy device not initialized\n"); net_dev 178 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_set_pauseparam(struct net_device *net_dev, net_dev 187 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c priv = netdev_priv(net_dev); net_dev 190 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c phydev = net_dev->phydev; net_dev 192 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "phy device not initialized\n"); net_dev 216 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c netdev_err(net_dev, "set_mac_active_pause() = %d\n", err); net_dev 221 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_get_sset_count(struct net_device *net_dev, int type) net_dev 271 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_get_ethtool_stats(struct net_device *net_dev, net_dev 284 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c total_stats = dpaa_get_sset_count(net_dev, ETH_SS_STATS); net_dev 285 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c priv = netdev_priv(net_dev); net_dev 342 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_get_strings(struct net_device *net_dev, u32 stringset, net_dev 433 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static void dpaa_set_hash(struct net_device *net_dev, bool enable) net_dev 439 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c priv = netdev_priv(net_dev); net_dev 497 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c static int dpaa_get_ts_info(struct net_device *net_dev, net_dev 500 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c struct device *dev = net_dev->dev.parent; net_dev 21 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c seq_printf(file, "Per-CPU stats for %s\n", priv->net_dev->name); net_dev 52 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c netdev_err(priv->net_dev, "single_open() failed\n"); net_dev 83 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c seq_printf(file, "FQ stats for %s:\n", priv->net_dev->name); net_dev 111 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c netdev_err(priv->net_dev, "single_open() failed\n"); net_dev 129 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c seq_printf(file, "Channel stats for %s:\n", priv->net_dev->name); net_dev 153 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c netdev_err(priv->net_dev, "single_open() failed\n"); net_dev 170 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c dir = debugfs_create_dir(priv->net_dev->name, dpaa2_dbg_root); net_dev 49 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (!(priv->net_dev->features & NETIF_F_RXCSUM)) net_dev 68 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 128 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 208 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 326 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); net_dev 333 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dma_unmap_page(priv->net_dev->dev.parent, addr, net_dev 337 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = xdp_do_redirect(priv->net_dev, &xdp, xdp_prog); net_dev 363 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 370 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c trace_dpaa2_rx_fd(priv->net_dev, fd); net_dev 432 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c skb->protocol = eth_type_trans(skb, priv->net_dev); net_dev 523 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 624 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 676 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 714 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_dbg(priv->net_dev, "Invalid FD format\n"); net_dev 749 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static netdev_tx_t dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) net_dev 751 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 811 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c trace_dpaa2_tx_fd(net_dev, &fd); net_dev 819 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (net_dev->num_tc) { net_dev 820 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c prio = netdev_txq_to_tc(net_dev, queue_mapping); net_dev 824 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c prio = net_dev->num_tc - prio - 1; net_dev 833 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nq = netdev_get_tx_queue(net_dev, queue_mapping); net_dev 876 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c trace_dpaa2_tx_conf_fd(priv->net_dev, fd); net_dev 890 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_dbg(priv->net_dev, "TX frame FD error: 0x%08x\n", net_dev 905 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, net_dev 913 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, net_dev 928 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpni_set_offload(TX_L3_CSUM) failed\n"); net_dev 935 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpni_set_offload(TX_L4_CSUM) failed\n"); net_dev 948 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 974 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c trace_dpaa2_eth_buf_seed(priv->net_dev, net_dev 1041 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpaa2_io_service_acquire() failed\n"); net_dev 1176 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c nq = netdev_get_tx_queue(priv->net_dev, txc_fq->flowid); net_dev 1229 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, net_dev 1248 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, net_dev 1267 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_carrier_on(priv->net_dev); net_dev 1268 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_tx_start_all_queues(priv->net_dev); net_dev 1270 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_tx_stop_all_queues(priv->net_dev); net_dev 1271 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_carrier_off(priv->net_dev); net_dev 1274 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_info(priv->net_dev, "Link Event: state %s\n", net_dev 1283 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_open(struct net_device *net_dev) net_dev 1285 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1294 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "Buffer seeding failed for DPBP %d (bpid=%d)\n", net_dev 1302 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_tx_stop_all_queues(net_dev); net_dev 1308 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_carrier_off(net_dev); net_dev 1312 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "dpni_enable() failed\n"); net_dev 1321 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "Can't update link state\n"); net_dev 1345 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(priv->net_dev, "query_fq_count failed"); net_dev 1391 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_stop(struct net_device *net_dev) net_dev 1393 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1397 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_tx_stop_all_queues(net_dev); net_dev 1398 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_carrier_off(net_dev); net_dev 1420 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Retry count exceeded disabling DPNI\n"); net_dev 1435 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_set_addr(struct net_device *net_dev, void *addr) net_dev 1437 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1438 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 1441 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = eth_mac_addr(net_dev, addr); net_dev 1448 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->dev_addr); net_dev 1460 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void dpaa2_eth_get_stats(struct net_device *net_dev, net_dev 1463 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1481 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void add_uc_hw_addr(const struct net_device *net_dev, net_dev 1487 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_for_each_uc_addr(ha, net_dev) { net_dev 1491 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(priv->net_dev, net_dev 1500 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void add_mc_hw_addr(const struct net_device *net_dev, net_dev 1506 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_for_each_mc_addr(ha, net_dev) { net_dev 1510 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(priv->net_dev, net_dev 1516 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static void dpaa2_eth_set_rx_mode(struct net_device *net_dev) net_dev 1518 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1519 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int uc_count = netdev_uc_count(net_dev); net_dev 1520 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int mc_count = netdev_mc_count(net_dev); net_dev 1529 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_info(net_dev, net_dev 1535 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_info(net_dev, net_dev 1541 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_info(net_dev, net_dev 1548 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (net_dev->flags & IFF_PROMISC) net_dev 1550 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (net_dev->flags & IFF_ALLMULTI) { net_dev 1560 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't set uc promisc\n"); net_dev 1565 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't clear uc filters\n"); net_dev 1566 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c add_uc_hw_addr(net_dev, priv); net_dev 1571 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't clear uc promisc\n"); net_dev 1580 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't set uc promisc (%d)\n", err); net_dev 1583 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't set mc promisc (%d)\n", err); net_dev 1588 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't clear mac filters\n"); net_dev 1589 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c add_mc_hw_addr(net_dev, priv); net_dev 1590 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c add_uc_hw_addr(net_dev, priv); net_dev 1597 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't clear ucast promisc\n"); net_dev 1600 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't clear mcast promisc\n"); net_dev 1607 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't set ucast promisc\n"); net_dev 1611 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Can't set mcast promisc\n"); net_dev 1614 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_set_features(struct net_device *net_dev, net_dev 1617 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1618 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_features_t changed = features ^ net_dev->features; net_dev 1687 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(priv->net_dev, "Maximum MTU for XDP is %d\n", net_dev 1711 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpni_set_max_frame_length failed\n"); net_dev 1746 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpni_get_buffer_layout failed\n"); net_dev 1757 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(priv->net_dev, "dpni_set_buffer_layout failed\n"); net_dev 1846 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_xdp_xmit_frame(struct net_device *net_dev, net_dev 1849 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1850 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 1920 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_xdp_xmit(struct net_device *net_dev, int n, net_dev 1929 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (!netif_running(net_dev)) net_dev 1935 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpaa2_eth_xdp_xmit_frame(net_dev, xdpf); net_dev 1947 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = priv->net_dev; net_dev 1954 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_queues = (net_dev->num_tc ? : 1) * num_queues; net_dev 1965 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = netif_set_xps_queue(net_dev, &xps_mask, i); net_dev 1967 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn_once(net_dev, "Error setting XPS queue\n"); net_dev 1975 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_setup_tc(struct net_device *net_dev, net_dev 1978 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 1990 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (num_tc == net_dev->num_tc) net_dev 1994 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "Max %d traffic classes supported\n", net_dev 2000 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_reset_tc(net_dev); net_dev 2001 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_set_real_num_tx_queues(net_dev, num_queues); net_dev 2005 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_set_num_tc(net_dev, num_tc); net_dev 2006 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_set_real_num_tx_queues(net_dev, num_tc * num_queues); net_dev 2009 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_set_tc_queue(net_dev, i, num_queues, i * num_queues); net_dev 2048 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2109 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2157 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2259 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2274 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2291 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2355 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2420 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2527 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2588 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_info(priv->net_dev, net_dev 2598 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev; net_dev 2601 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev = dev_get_drvdata(dev); net_dev 2602 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c priv = netdev_priv(net_dev); net_dev 2674 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(priv->net_dev, "dpni_reset() failed (err %d)\n", net_dev 2683 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2711 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = xdp_rxq_info_reg(&fq->channel->xdp_rxq, priv->net_dev, net_dev 2731 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2846 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2866 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2886 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 2954 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int dpaa2_eth_set_dist_key(struct net_device *net_dev, net_dev 2957 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 2958 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 3030 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags) net_dev 3032 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 3043 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c return dpaa2_eth_set_dist_key(net_dev, DPAA2_ETH_RX_DIST_HASH, key); net_dev 3046 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int dpaa2_eth_set_cls(struct net_device *net_dev, u64 flags) net_dev 3048 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c return dpaa2_eth_set_dist_key(net_dev, DPAA2_ETH_RX_DIST_CLS, flags); net_dev 3053 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = priv->net_dev->dev.parent; net_dev 3079 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpaa2_eth_set_cls(priv->net_dev, DPAA2_ETH_DIST_ALL); net_dev 3094 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = priv->net_dev; net_dev 3095 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 3114 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = dpaa2_eth_set_hash(net_dev, DPAA2_RXH_DEFAULT); net_dev 3166 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = priv->net_dev; net_dev 3167 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 3174 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "dpaa2_io_store_create() failed\n"); net_dev 3201 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = priv->net_dev; net_dev 3202 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 3233 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c memcpy(net_dev->dev_addr, mac_addr, net_dev->addr_len); net_dev 3238 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c eth_hw_addr_random(net_dev); net_dev 3242 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->dev_addr); net_dev 3253 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->addr_assign_type = NET_ADDR_PERM; net_dev 3258 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c memcpy(net_dev->dev_addr, dpni_mac_addr, net_dev->addr_len); net_dev 3264 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c static int netdev_init(struct net_device *net_dev) net_dev 3266 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct device *dev = net_dev->dev.parent; net_dev 3267 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 3274 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->netdev_ops = &dpaa2_eth_ops; net_dev 3275 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->ethtool_ops = &dpaa2_ethtool_ops; net_dev 3290 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->max_mtu = DPAA2_ETH_MAX_MTU; net_dev 3300 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = netif_set_real_num_tx_queues(net_dev, num_queues); net_dev 3305 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = netif_set_real_num_rx_queues(net_dev, num_queues); net_dev 3319 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->priv_flags |= supported; net_dev 3320 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->priv_flags &= ~not_supported; net_dev 3323 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->features = NETIF_F_RXCSUM | net_dev 3327 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev->hw_features = net_dev->features; net_dev 3353 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = dev_get_drvdata(dev); net_dev 3359 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_err(net_dev, "Can't get irq status (err %d)\n", err); net_dev 3364 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c link_state_update(netdev_priv(net_dev)); net_dev 3367 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c set_mac_addr(netdev_priv(net_dev)); net_dev 3426 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netif_napi_add(priv->net_dev, &ch->napi, dpaa2_eth_poll, net_dev 3445 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev = NULL; net_dev 3452 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev = alloc_etherdev_mq(sizeof(*priv), DPAA2_ETH_MAX_NETDEV_QUEUES); net_dev 3453 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (!net_dev) { net_dev 3458 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c SET_NETDEV_DEV(net_dev, dev); net_dev 3459 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_set_drvdata(dev, net_dev); net_dev 3461 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c priv = netdev_priv(net_dev); net_dev 3462 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c priv->net_dev = net_dev; net_dev 3513 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = netdev_init(net_dev); net_dev 3518 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = set_rx_csum(priv, !!(net_dev->features & NETIF_F_RXCSUM)); net_dev 3522 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = set_tx_csum(priv, !!(net_dev->features & net_dev 3533 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c netdev_warn(net_dev, "Failed to set link interrupt, fall back to polling\n"); net_dev 3535 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c "%s_poll_link", net_dev->name); net_dev 3543 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c err = register_netdev(net_dev); net_dev 3553 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_info(dev, "Probed interface %s\n", net_dev->name); net_dev 3581 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c free_netdev(net_dev); net_dev 3589 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c struct net_device *net_dev; net_dev 3593 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c net_dev = dev_get_drvdata(dev); net_dev 3594 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c priv = netdev_priv(net_dev); net_dev 3599 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c unregister_netdev(net_dev); net_dev 3617 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c free_netdev(net_dev); net_dev 3619 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dev_dbg(net_dev->dev.parent, "Removed interface %s\n", net_dev->name); net_dev 359 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h struct net_device *net_dev; net_dev 520 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags); net_dev 521 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h int dpaa2_eth_set_cls(struct net_device *net_dev, u64 key); net_dev 68 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, net_dev 71 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 78 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), net_dev 83 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c dpaa2_eth_get_link_ksettings(struct net_device *net_dev, net_dev 86 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 96 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static void dpaa2_eth_get_pauseparam(struct net_device *net_dev, net_dev 99 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 108 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int dpaa2_eth_set_pauseparam(struct net_device *net_dev, net_dev 111 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 116 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_info(net_dev, "No pause frame support for DPNI version < %d.%d\n", net_dev 140 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_err(net_dev, "dpni_set_link_state failed\n"); net_dev 169 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int dpaa2_eth_get_sset_count(struct net_device *net_dev, int sset) net_dev 181 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static void dpaa2_eth_get_ethtool_stats(struct net_device *net_dev, net_dev 193 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 220 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_warn(net_dev, "dpni_get_stats(%d) failed\n", j); net_dev 248 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_warn(net_dev, "FQ query error %d", err); net_dev 268 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_warn(net_dev, "Buffer count query error %d\n", err); net_dev 494 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int do_cls_rule(struct net_device *net_dev, net_dev 498 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 499 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct device *dev = net_dev->dev.parent; net_dev 534 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = dpaa2_eth_set_cls(net_dev, fields); net_dev 540 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c netdev_err(net_dev, "No support for multiple FS keys, need to delete existing rules\n"); net_dev 591 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int update_cls_rule(struct net_device *net_dev, net_dev 595 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 609 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = do_cls_rule(net_dev, &rule->fs, false); net_dev 623 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = do_cls_rule(net_dev, new_fs, true); net_dev 633 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int dpaa2_eth_get_rxnfc(struct net_device *net_dev, net_dev 636 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c struct dpaa2_eth_priv *priv = netdev_priv(net_dev); net_dev 683 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c static int dpaa2_eth_set_rxnfc(struct net_device *net_dev, net_dev 692 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = dpaa2_eth_set_hash(net_dev, rxnfc->data); net_dev 695 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = update_cls_rule(net_dev, &rxnfc->fs, rxnfc->fs.location); net_dev 698 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c err = update_cls_rule(net_dev, NULL, rxnfc->fs.location); net_dev 282 drivers/net/ethernet/freescale/fman/mac.c static int set_multi(struct net_device *net_dev, struct mac_device *mac_dev) net_dev 304 drivers/net/ethernet/freescale/fman/mac.c netdev_for_each_mc_addr(ha, net_dev) { net_dev 72 drivers/net/ethernet/freescale/fman/mac.h int (*set_multi)(struct net_device *net_dev, net_dev 429 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void mac_adjust_link(struct net_device *net_dev); net_dev 39 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static u32 hns_nic_get_link(struct net_device *net_dev) net_dev 41 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 47 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (net_dev->phydev) { net_dev 48 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (!genphy_read_status(net_dev->phydev)) net_dev 49 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c link_stat = net_dev->phydev->link; net_dev 62 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static void hns_get_mdix_mode(struct net_device *net_dev, net_dev 66 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct phy_device *phy_dev = net_dev->phydev; net_dev 114 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_nic_get_link_ksettings(struct net_device *net_dev, net_dev 117 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 134 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netdev_err(net_dev, "%s get_info error!\n", __func__); net_dev 148 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (net_dev->phydev) net_dev 149 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c phy_ethtool_ksettings_get(net_dev->phydev, cmd); net_dev 151 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c link_stat = hns_nic_get_link(net_dev); net_dev 190 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_get_mdix_mode(net_dev, cmd); net_dev 201 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_nic_set_link_ksettings(struct net_device *net_dev, net_dev 204 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 208 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (!netif_running(net_dev)) net_dev 224 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (!net_dev->phydev && cmd->base.autoneg == AUTONEG_ENABLE) net_dev 229 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (net_dev->phydev) net_dev 230 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c return phy_ethtool_ksettings_set(net_dev->phydev, cmd); net_dev 237 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netdev_err(net_dev, "Not supported!"); net_dev 242 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netif_carrier_off(net_dev); net_dev 244 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netif_carrier_on(net_dev); net_dev 248 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netdev_err(net_dev, "Not supported!"); net_dev 639 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static void hns_nic_get_drvinfo(struct net_device *net_dev, net_dev 642 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 664 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static void hns_get_ringparam(struct net_device *net_dev, net_dev 667 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 689 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static void hns_get_pauseparam(struct net_device *net_dev, net_dev 692 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 709 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_set_pauseparam(struct net_device *net_dev, net_dev 712 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 733 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_get_coalesce(struct net_device *net_dev, net_dev 736 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 777 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_set_coalesce(struct net_device *net_dev, net_dev 780 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 815 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_get_channels(struct net_device *net_dev, struct ethtool_channels *ch) net_dev 817 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 1111 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static void hns_get_regs(struct net_device *net_dev, struct ethtool_regs *cmd, net_dev 1114 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 1121 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netdev_err(net_dev, "ops->get_regs is null!\n"); net_dev 1133 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c static int hns_get_regs_len(struct net_device *net_dev) net_dev 1136 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c struct hns_nic_priv *priv = netdev_priv(net_dev); net_dev 1141 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c netdev_err(net_dev, "ops->get_regs_len is null!\n"); net_dev 71 drivers/net/ethernet/lantiq_xrx200.c struct net_device *net_dev; net_dev 115 drivers/net/ethernet/lantiq_xrx200.c static int xrx200_open(struct net_device *net_dev) net_dev 117 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_priv *priv = netdev_priv(net_dev); net_dev 135 drivers/net/ethernet/lantiq_xrx200.c netif_wake_queue(net_dev); net_dev 140 drivers/net/ethernet/lantiq_xrx200.c static int xrx200_close(struct net_device *net_dev) net_dev 142 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_priv *priv = netdev_priv(net_dev); net_dev 144 drivers/net/ethernet/lantiq_xrx200.c netif_stop_queue(net_dev); net_dev 159 drivers/net/ethernet/lantiq_xrx200.c ch->skb[ch->dma.desc] = netdev_alloc_skb_ip_align(ch->priv->net_dev, net_dev 190 drivers/net/ethernet/lantiq_xrx200.c struct net_device *net_dev = priv->net_dev; net_dev 199 drivers/net/ethernet/lantiq_xrx200.c netdev_err(net_dev, "failed to allocate new rx buffer\n"); net_dev 204 drivers/net/ethernet/lantiq_xrx200.c skb->protocol = eth_type_trans(skb, net_dev); net_dev 206 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.rx_packets++; net_dev 207 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.rx_bytes += len - ETH_FCS_LEN; net_dev 244 drivers/net/ethernet/lantiq_xrx200.c struct net_device *net_dev = ch->priv->net_dev; net_dev 267 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.tx_packets += pkts; net_dev 268 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.tx_bytes += bytes; net_dev 269 drivers/net/ethernet/lantiq_xrx200.c netdev_completed_queue(ch->priv->net_dev, pkts, bytes); net_dev 279 drivers/net/ethernet/lantiq_xrx200.c static int xrx200_start_xmit(struct sk_buff *skb, struct net_device *net_dev) net_dev 281 drivers/net/ethernet/lantiq_xrx200.c struct xrx200_priv *priv = netdev_priv(net_dev); net_dev 288 drivers/net/ethernet/lantiq_xrx200.c skb->dev = net_dev; net_dev 290 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.tx_dropped++; net_dev 297 drivers/net/ethernet/lantiq_xrx200.c netdev_err(net_dev, "tx ring full\n"); net_dev 298 drivers/net/ethernet/lantiq_xrx200.c netif_stop_queue(net_dev); net_dev 319 drivers/net/ethernet/lantiq_xrx200.c netif_stop_queue(net_dev); net_dev 321 drivers/net/ethernet/lantiq_xrx200.c netdev_sent_queue(net_dev, len); net_dev 327 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.tx_dropped++; net_dev 328 drivers/net/ethernet/lantiq_xrx200.c net_dev->stats.tx_errors++; net_dev 429 drivers/net/ethernet/lantiq_xrx200.c struct net_device *net_dev; net_dev 434 drivers/net/ethernet/lantiq_xrx200.c net_dev = devm_alloc_etherdev(dev, sizeof(struct xrx200_priv)); net_dev 435 drivers/net/ethernet/lantiq_xrx200.c if (!net_dev) net_dev 438 drivers/net/ethernet/lantiq_xrx200.c priv = netdev_priv(net_dev); net_dev 439 drivers/net/ethernet/lantiq_xrx200.c priv->net_dev = net_dev; net_dev 442 drivers/net/ethernet/lantiq_xrx200.c net_dev->netdev_ops = &xrx200_netdev_ops; net_dev 443 drivers/net/ethernet/lantiq_xrx200.c SET_NETDEV_DEV(net_dev, dev); net_dev 444 drivers/net/ethernet/lantiq_xrx200.c net_dev->min_mtu = ETH_ZLEN; net_dev 445 drivers/net/ethernet/lantiq_xrx200.c net_dev->max_mtu = XRX200_DMA_DATA_LEN; net_dev 476 drivers/net/ethernet/lantiq_xrx200.c ether_addr_copy(net_dev->dev_addr, mac); net_dev 478 drivers/net/ethernet/lantiq_xrx200.c eth_hw_addr_random(net_dev); net_dev 500 drivers/net/ethernet/lantiq_xrx200.c netif_napi_add(net_dev, &priv->chan_rx.napi, xrx200_poll_rx, 32); net_dev 501 drivers/net/ethernet/lantiq_xrx200.c netif_napi_add(net_dev, &priv->chan_tx.napi, xrx200_tx_housekeeping, 32); net_dev 505 drivers/net/ethernet/lantiq_xrx200.c err = register_netdev(net_dev); net_dev 523 drivers/net/ethernet/lantiq_xrx200.c struct net_device *net_dev = priv->net_dev; net_dev 526 drivers/net/ethernet/lantiq_xrx200.c netif_stop_queue(net_dev); net_dev 531 drivers/net/ethernet/lantiq_xrx200.c unregister_netdev(net_dev); net_dev 359 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, net_dev 362 drivers/net/ethernet/mellanox/mlx4/en_netdev.c struct mlx4_en_priv *priv = netdev_priv(net_dev); net_dev 38 drivers/net/ethernet/qualcomm/qca_7k.c netdev_err(qca->net_dev, "spi error\n"); net_dev 134 drivers/net/ethernet/qualcomm/qca_debug.c qca->device_root = debugfs_create_dir(dev_name(&qca->net_dev->dev), net_dev 88 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); net_dev 101 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); net_dev 281 drivers/net/ethernet/qualcomm/qca_spi.c struct net_device_stats *n_stats = &qca->net_dev->stats; net_dev 323 drivers/net/ethernet/qualcomm/qca_spi.c netif_tx_lock_bh(qca->net_dev); net_dev 331 drivers/net/ethernet/qualcomm/qca_spi.c if (netif_queue_stopped(qca->net_dev)) net_dev 332 drivers/net/ethernet/qualcomm/qca_spi.c netif_wake_queue(qca->net_dev); net_dev 333 drivers/net/ethernet/qualcomm/qca_spi.c netif_tx_unlock_bh(qca->net_dev); net_dev 342 drivers/net/ethernet/qualcomm/qca_spi.c struct net_device *net_dev = qca->net_dev; net_dev 343 drivers/net/ethernet/qualcomm/qca_spi.c struct net_device_stats *n_stats = &net_dev->stats; net_dev 350 drivers/net/ethernet/qualcomm/qca_spi.c qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, net_dev 351 drivers/net/ethernet/qualcomm/qca_spi.c net_dev->mtu + net_dev 354 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "out of RX resources\n"); net_dev 363 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "qcaspi_receive: SPI_REG_RDBUF_BYTE_AVA: Value: %08x\n", net_dev 373 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "qcaspi_receive called without any data being available!\n"); net_dev 396 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "available: %d, byte read: %d\n", net_dev 421 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "no RX tail\n"); net_dev 426 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "invalid RX length\n"); net_dev 431 drivers/net/ethernet/qualcomm/qca_spi.c qca->rx_skb->dev = qca->net_dev; net_dev 439 drivers/net/ethernet/qualcomm/qca_spi.c qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, net_dev 440 drivers/net/ethernet/qualcomm/qca_spi.c net_dev->mtu + VLAN_ETH_HLEN); net_dev 442 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(net_dev, "out of RX resources\n"); net_dev 479 drivers/net/ethernet/qualcomm/qca_spi.c netif_tx_lock_bh(qca->net_dev); net_dev 484 drivers/net/ethernet/qualcomm/qca_spi.c qca->net_dev->stats.tx_dropped++; net_dev 490 drivers/net/ethernet/qualcomm/qca_spi.c netif_tx_unlock_bh(qca->net_dev); net_dev 508 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: got CPU on, but signature was invalid, restart\n"); net_dev 514 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: got CPU on, but wrbuf not empty. reset!\n"); net_dev 517 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: got CPU on, now in sync\n"); net_dev 530 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: bad signature, restart\n"); net_dev 539 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: could not read signature to reset device, retry.\n"); net_dev 544 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: resetting device.\n"); net_dev 555 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: waiting for CPU on, count %u.\n", net_dev 561 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: reset timeout, restarting process.\n"); net_dev 573 drivers/net/ethernet/qualcomm/qca_spi.c netdev_info(qca->net_dev, "SPI thread created\n"); net_dev 583 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "have work to do. int: %d, tx_skb: %p\n", net_dev 590 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "sync: not ready %u, turn off carrier and flush\n", net_dev 592 drivers/net/ethernet/qualcomm/qca_spi.c netif_stop_queue(qca->net_dev); net_dev 593 drivers/net/ethernet/qualcomm/qca_spi.c netif_carrier_off(qca->net_dev); net_dev 610 drivers/net/ethernet/qualcomm/qca_spi.c netif_wake_queue(qca->net_dev); net_dev 611 drivers/net/ethernet/qualcomm/qca_spi.c netif_carrier_on(qca->net_dev); net_dev 616 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "===> rdbuf error!\n"); net_dev 624 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "===> wrbuf error!\n"); net_dev 645 drivers/net/ethernet/qualcomm/qca_spi.c netdev_info(qca->net_dev, "SPI thread exit\n"); net_dev 731 drivers/net/ethernet/qualcomm/qca_spi.c netdev_warn(qca->net_dev, "queue was unexpectedly full!\n"); net_dev 732 drivers/net/ethernet/qualcomm/qca_spi.c netif_stop_queue(qca->net_dev); net_dev 761 drivers/net/ethernet/qualcomm/qca_spi.c netdev_dbg(qca->net_dev, "Tx-ing packet: Size: 0x%08x\n", net_dev 774 drivers/net/ethernet/qualcomm/qca_spi.c netif_stop_queue(qca->net_dev); net_dev 792 drivers/net/ethernet/qualcomm/qca_spi.c netdev_info(qca->net_dev, "Transmit timeout at %ld, latency %ld\n", net_dev 794 drivers/net/ethernet/qualcomm/qca_spi.c qca->net_dev->stats.tx_errors++; net_dev 821 drivers/net/ethernet/qualcomm/qca_spi.c qca->rx_skb = netdev_alloc_skb_ip_align(dev, qca->net_dev->mtu + net_dev 825 drivers/net/ethernet/qualcomm/qca_spi.c netdev_info(qca->net_dev, "Failed to allocate RX sk_buff.\n"); net_dev 959 drivers/net/ethernet/qualcomm/qca_spi.c qca->net_dev = qcaspi_devs; net_dev 968 drivers/net/ethernet/qualcomm/qca_spi.c ether_addr_copy(qca->net_dev->dev_addr, mac); net_dev 970 drivers/net/ethernet/qualcomm/qca_spi.c if (!is_valid_ether_addr(qca->net_dev->dev_addr)) { net_dev 971 drivers/net/ethernet/qualcomm/qca_spi.c eth_hw_addr_random(qca->net_dev); net_dev 973 drivers/net/ethernet/qualcomm/qca_spi.c qca->net_dev->dev_addr); net_dev 976 drivers/net/ethernet/qualcomm/qca_spi.c netif_carrier_off(qca->net_dev); net_dev 81 drivers/net/ethernet/qualcomm/qca_spi.h struct net_device *net_dev; net_dev 49 drivers/net/ethernet/qualcomm/qca_uart.c struct net_device *net_dev; net_dev 67 drivers/net/ethernet/qualcomm/qca_uart.c struct net_device *netdev = qca->net_dev; net_dev 130 drivers/net/ethernet/qualcomm/qca_uart.c struct net_device_stats *n_stats = &qca->net_dev->stats; net_dev 136 drivers/net/ethernet/qualcomm/qca_uart.c if (!netif_running(qca->net_dev)) { net_dev 147 drivers/net/ethernet/qualcomm/qca_uart.c netif_wake_queue(qca->net_dev); net_dev 179 drivers/net/ethernet/qualcomm/qca_uart.c netif_start_queue(qca->net_dev); net_dev 213 drivers/net/ethernet/qualcomm/qca_uart.c netdev_warn(qca->net_dev, "xmit: iface is down\n"); net_dev 234 drivers/net/ethernet/qualcomm/qca_uart.c netif_stop_queue(qca->net_dev); net_dev 255 drivers/net/ethernet/qualcomm/qca_uart.c netdev_info(qca->net_dev, "Transmit timeout at %ld, latency %ld\n", net_dev 275 drivers/net/ethernet/qualcomm/qca_uart.c qca->rx_skb = netdev_alloc_skb_ip_align(qca->net_dev, net_dev 276 drivers/net/ethernet/qualcomm/qca_uart.c qca->net_dev->mtu + net_dev 342 drivers/net/ethernet/qualcomm/qca_uart.c qca->net_dev = qcauart_dev; net_dev 354 drivers/net/ethernet/qualcomm/qca_uart.c ether_addr_copy(qca->net_dev->dev_addr, mac); net_dev 356 drivers/net/ethernet/qualcomm/qca_uart.c if (!is_valid_ether_addr(qca->net_dev->dev_addr)) { net_dev 357 drivers/net/ethernet/qualcomm/qca_uart.c eth_hw_addr_random(qca->net_dev); net_dev 359 drivers/net/ethernet/qualcomm/qca_uart.c qca->net_dev->dev_addr); net_dev 362 drivers/net/ethernet/qualcomm/qca_uart.c netif_carrier_on(qca->net_dev); net_dev 398 drivers/net/ethernet/qualcomm/qca_uart.c unregister_netdev(qca->net_dev); net_dev 404 drivers/net/ethernet/qualcomm/qca_uart.c free_netdev(qca->net_dev); net_dev 240 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 267 drivers/net/ethernet/sfc/ef10.c netif_err(efx, probe, efx->net_dev, net_dev 287 drivers/net/ethernet/sfc/ef10.c netif_err(efx, probe, efx->net_dev, net_dev 292 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, "vi_stride = %u\n", net_dev 296 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 304 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 309 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 385 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 388 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 419 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 561 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 633 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 757 drivers/net/ethernet/sfc/ef10.c efx->net_dev->hw_features |= NETIF_F_RXFCS; net_dev 764 drivers/net/ethernet/sfc/ef10.c rc = efx->type->get_mac_address(efx, efx->net_dev->perm_addr); net_dev 786 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(nic_data->port_id, efx->net_dev->perm_addr); net_dev 900 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 933 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 939 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 986 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 995 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1073 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 1215 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 1241 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 1277 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, "base VI is A0x%03x\n", net_dev 1318 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1321 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1324 drivers/net/ethernet/sfc/ef10.c netif_err(efx, probe, efx->net_dev, net_dev 1327 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1372 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 1394 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1403 drivers/net/ethernet/sfc/ef10.c netif_err(efx, probe, efx->net_dev, net_dev 1417 drivers/net/ethernet/sfc/ef10.c netif_err(efx, probe, efx->net_dev, net_dev 1433 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 1475 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 1478 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 2234 drivers/net/ethernet/sfc/ef10.c netif_vdbg(efx, intr, efx->net_dev, net_dev 2276 drivers/net/ethernet/sfc/ef10.c netif_vdbg(efx, intr, efx->net_dev, net_dev 2443 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, hw, efx->net_dev, "Using TSOv2 for channel %u\n", net_dev 2456 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, hw, efx->net_dev, "pushing TXQ %d. %zu entries (%llx)\n", net_dev 2483 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, probe, efx->net_dev, net_dev 2525 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, "failed to initialise TXQ %d\n", net_dev 2887 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 3002 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, probe, efx->net_dev, net_dev 3038 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, probe, efx->net_dev, net_dev 3045 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, probe, efx->net_dev, net_dev 3051 drivers/net/ethernet/sfc/ef10.c netif_info(efx, probe, efx->net_dev, net_dev 3111 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, hw, efx->net_dev, "pushing RXQ %d. %zu entries (%llx)\n", net_dev 3124 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, "failed to initialise RXQ %d\n", net_dev 3324 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 3358 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 3399 drivers/net/ethernet/sfc/ef10.c netif_info(efx, hw, efx->net_dev, net_dev 3413 drivers/net/ethernet/sfc/ef10.c netif_info(efx, hw, efx->net_dev, net_dev 3425 drivers/net/ethernet/sfc/ef10.c netif_dbg(rx_queue->efx, hw, rx_queue->efx->net_dev, net_dev 3451 drivers/net/ethernet/sfc/ef10.c if (!(efx->net_dev->features & NETIF_F_RXALL)) { net_dev 3464 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3480 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3492 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3500 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3510 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3518 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3561 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, "saw RX_DROP_EVENT: event=" net_dev 3579 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3645 drivers/net/ethernet/sfc/ef10.c netdev_WARN(efx->net_dev, net_dev 3751 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 3776 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 3805 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 3839 drivers/net/ethernet/sfc/ef10.c netif_vdbg(efx, drv, efx->net_dev, net_dev 3869 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 3944 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 3985 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, "failed to flush %d queues\n", net_dev 4783 drivers/net/ethernet/sfc/ef10.c if (!rps_may_expire_flow(efx->net_dev, spec->dmaq_id, flow_id, arfs_id)) net_dev 4941 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 4945 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, probe, efx->net_dev, net_dev 4960 drivers/net/ethernet/sfc/ef10.c struct net_device *net_dev = efx->net_dev; net_dev 4989 drivers/net/ethernet/sfc/ef10.c netif_info(efx, probe, net_dev, net_dev 4991 drivers/net/ethernet/sfc/ef10.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; net_dev 4993 drivers/net/ethernet/sfc/ef10.c net_dev->hw_features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; net_dev 5005 drivers/net/ethernet/sfc/ef10.c !!(efx->net_dev->features & NETIF_F_HW_VLAN_CTAG_FILTER); net_dev 5074 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 5081 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 5115 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 5120 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 5162 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 5182 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 5223 drivers/net/ethernet/sfc/ef10.c struct net_device *net_dev = efx->net_dev; net_dev 5227 drivers/net/ethernet/sfc/ef10.c table->uc_promisc = !!(net_dev->flags & IFF_PROMISC); net_dev 5228 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(table->dev_uc_list[0].addr, net_dev->dev_addr); net_dev 5230 drivers/net/ethernet/sfc/ef10.c netdev_for_each_uc_addr(uc, net_dev) { net_dev 5245 drivers/net/ethernet/sfc/ef10.c struct net_device *net_dev = efx->net_dev; net_dev 5250 drivers/net/ethernet/sfc/ef10.c table->mc_promisc = !!(net_dev->flags & (IFF_PROMISC | IFF_ALLMULTI)); net_dev 5253 drivers/net/ethernet/sfc/ef10.c netdev_for_each_mc_addr(mc, net_dev) { net_dev 5300 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 5328 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 5406 drivers/net/ethernet/sfc/ef10.c netif_cond_dbg(efx, drv, efx->net_dev, net_dev 5444 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 5518 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 5522 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 5538 drivers/net/ethernet/sfc/ef10.c efx_net_stop(efx->net_dev); net_dev 5554 drivers/net/ethernet/sfc/ef10.c efx->net_dev->dev_addr); net_dev 5556 drivers/net/ethernet/sfc/ef10.c ether_addr_copy(nic_data->vport_mac, efx->net_dev->dev_addr); net_dev 5577 drivers/net/ethernet/sfc/ef10.c rc2 = efx_net_open(efx->net_dev); net_dev 5586 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 5711 drivers/net/ethernet/sfc/ef10.c struct net_device *net_dev = efx->net_dev; net_dev 5726 drivers/net/ethernet/sfc/ef10.c netif_addr_lock_bh(net_dev); net_dev 5729 drivers/net/ethernet/sfc/ef10.c netif_addr_unlock_bh(net_dev); net_dev 5735 drivers/net/ethernet/sfc/ef10.c vlan_filter = !!(net_dev->features & NETIF_F_HW_VLAN_CTAG_FILTER); net_dev 5774 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 5835 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 5851 drivers/net/ethernet/sfc/ef10.c efx_net_stop(efx->net_dev); net_dev 5858 drivers/net/ethernet/sfc/ef10.c efx->net_dev->dev_addr); net_dev 5869 drivers/net/ethernet/sfc/ef10.c efx_net_open(efx->net_dev); net_dev 5884 drivers/net/ethernet/sfc/ef10.c efx->net_dev->dev_addr); net_dev 5898 drivers/net/ethernet/sfc/ef10.c efx->net_dev->dev_addr); net_dev 5906 drivers/net/ethernet/sfc/ef10.c netif_err(efx, drv, efx->net_dev, net_dev 5969 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, hw, efx->net_dev, "BIST passed.\n"); net_dev 5972 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, "BIST timed out\n"); net_dev 5975 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, "BIST failed.\n"); net_dev 5978 drivers/net/ethernet/sfc/ef10.c netif_err(efx, hw, efx->net_dev, net_dev 5988 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, "starting BIST type %u\n", bist_type); net_dev 6405 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 6409 drivers/net/ethernet/sfc/ef10.c netif_info(efx, drv, efx->net_dev, net_dev 6478 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, "Adding UDP tunnel (%s) port %d\n", net_dev 6490 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 6499 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 6514 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 6560 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, "Removing UDP tunnel (%s) port %d\n", net_dev 6574 drivers/net/ethernet/sfc/ef10.c netif_dbg(efx, drv, efx->net_dev, net_dev 6585 drivers/net/ethernet/sfc/ef10.c netif_warn(efx, drv, efx->net_dev, net_dev 268 drivers/net/ethernet/sfc/ef10_sriov.c struct net_device *net_dev = efx->net_dev; net_dev 288 drivers/net/ethernet/sfc/ef10_sriov.c rc = efx_ef10_vport_add_mac(efx, nic_data->vport_id, net_dev->dev_addr); net_dev 291 drivers/net/ethernet/sfc/ef10_sriov.c ether_addr_copy(nic_data->vport_mac, net_dev->dev_addr); net_dev 365 drivers/net/ethernet/sfc/ef10_sriov.c efx->net_dev->dev_addr); net_dev 401 drivers/net/ethernet/sfc/ef10_sriov.c netif_err(efx, probe, efx->net_dev, net_dev 414 drivers/net/ethernet/sfc/ef10_sriov.c netif_info(efx, drv, efx->net_dev, "VFs are assigned to guests; " net_dev 463 drivers/net/ethernet/sfc/ef10_sriov.c netif_dbg(efx, drv, efx->net_dev, net_dev 466 drivers/net/ethernet/sfc/ef10_sriov.c netif_dbg(efx, drv, efx->net_dev, "SRIOV disabled\n"); net_dev 501 drivers/net/ethernet/sfc/ef10_sriov.c efx_net_stop(vf->efx->net_dev); net_dev 530 drivers/net/ethernet/sfc/ef10_sriov.c ether_addr_copy(vf->efx->net_dev->dev_addr, mac); net_dev 548 drivers/net/ethernet/sfc/ef10_sriov.c efx_net_open(vf->efx->net_dev); net_dev 580 drivers/net/ethernet/sfc/ef10_sriov.c efx_net_stop(vf->efx->net_dev); net_dev 594 drivers/net/ethernet/sfc/ef10_sriov.c netif_warn(efx, drv, efx->net_dev, net_dev 596 drivers/net/ethernet/sfc/ef10_sriov.c netif_warn(efx, drv, efx->net_dev, net_dev 598 drivers/net/ethernet/sfc/ef10_sriov.c netif_warn(efx, drv, efx->net_dev, net_dev 660 drivers/net/ethernet/sfc/ef10_sriov.c rc2 = efx_net_open(vf->efx->net_dev); net_dev 675 drivers/net/ethernet/sfc/ef10_sriov.c netif_err(efx, drv, efx->net_dev, net_dev 679 drivers/net/ethernet/sfc/ef10_sriov.c netif_err(efx, drv, efx->net_dev, net_dev 682 drivers/net/ethernet/sfc/ef10_sriov.c netif_err(efx, drv, efx->net_dev, net_dev 241 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 337 drivers/net/ethernet/sfc/efx.c netif_vdbg(efx, intr, efx->net_dev, net_dev 377 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 397 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 412 drivers/net/ethernet/sfc/efx.c netif_dbg(channel->efx, ifup, channel->efx->net_dev, net_dev 438 drivers/net/ethernet/sfc/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 447 drivers/net/ethernet/sfc/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 543 drivers/net/ethernet/sfc/efx.c netif_dbg(channel->efx, probe, channel->efx->net_dev, net_dev 620 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 641 drivers/net/ethernet/sfc/efx.c netdev_features_t old_features = efx->net_dev->features; net_dev 653 drivers/net/ethernet/sfc/efx.c EFX_MAX_FRAME_LEN(efx->net_dev->mtu) + net_dev 676 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 681 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 689 drivers/net/ethernet/sfc/efx.c efx->net_dev->hw_features |= efx->net_dev->features; net_dev 690 drivers/net/ethernet/sfc/efx.c efx->net_dev->hw_features &= ~efx->fixed_features; net_dev 691 drivers/net/ethernet/sfc/efx.c efx->net_dev->features |= efx->fixed_features; net_dev 692 drivers/net/ethernet/sfc/efx.c if (efx->net_dev->features != old_features) net_dev 693 drivers/net/ethernet/sfc/efx.c netdev_features_change(efx->net_dev); net_dev 729 drivers/net/ethernet/sfc/efx.c if (netif_device_present(efx->net_dev)) net_dev 730 drivers/net/ethernet/sfc/efx.c netif_tx_wake_all_queues(efx->net_dev); net_dev 766 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "failed to flush queues\n"); net_dev 768 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 785 drivers/net/ethernet/sfc/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 893 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 962 drivers/net/ethernet/sfc/efx.c if (!netif_running(efx->net_dev)) net_dev 965 drivers/net/ethernet/sfc/efx.c if (link_state->up != netif_carrier_ok(efx->net_dev)) { net_dev 969 drivers/net/ethernet/sfc/efx.c netif_carrier_on(efx->net_dev); net_dev 971 drivers/net/ethernet/sfc/efx.c netif_carrier_off(efx->net_dev); net_dev 976 drivers/net/ethernet/sfc/efx.c netif_info(efx, link, efx->net_dev, net_dev 979 drivers/net/ethernet/sfc/efx.c efx->net_dev->mtu); net_dev 981 drivers/net/ethernet/sfc/efx.c netif_info(efx, link, efx->net_dev, "link down\n"); net_dev 1096 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, "create port\n"); net_dev 1107 drivers/net/ethernet/sfc/efx.c ether_addr_copy(efx->net_dev->dev_addr, efx->net_dev->perm_addr); net_dev 1116 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "init port\n"); net_dev 1147 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, ifup, efx->net_dev, "start port\n"); net_dev 1166 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, ifdown, efx->net_dev, "stop port\n"); net_dev 1175 drivers/net/ethernet/sfc/efx.c netif_addr_lock_bh(efx->net_dev); net_dev 1176 drivers/net/ethernet/sfc/efx.c netif_addr_unlock_bh(efx->net_dev); net_dev 1185 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); net_dev 1199 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); net_dev 1227 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); net_dev 1234 drivers/net/ethernet/sfc/efx.c netif_dbg(other, probe, other->net_dev, net_dev 1237 drivers/net/ethernet/sfc/efx.c efx->net_dev->name); net_dev 1248 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1251 drivers/net/ethernet/sfc/efx.c other->net_dev->name); net_dev 1259 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1274 drivers/net/ethernet/sfc/efx.c netif_dbg(other, probe, other->net_dev, net_dev 1289 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, "initialising I/O\n"); net_dev 1295 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1313 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1317 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1323 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1330 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1336 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1357 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "shutting down I/O\n"); net_dev 1395 drivers/net/ethernet/sfc/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 1413 drivers/net/ethernet/sfc/efx.c netif_cond_dbg(efx, probe, efx->net_dev, !rss_cpus, warn, net_dev 1426 drivers/net/ethernet/sfc/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 1468 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1475 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1478 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1514 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1757 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, "creating NIC\n"); net_dev 1766 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1798 drivers/net/ethernet/sfc/efx.c netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); net_dev 1799 drivers/net/ethernet/sfc/efx.c netif_set_real_num_rx_queues(efx->net_dev, efx->n_rx_channels); net_dev 1817 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "destroying NIC\n"); net_dev 1897 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, "failed to create NIC\n"); net_dev 1903 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, "failed to create port\n"); net_dev 1917 drivers/net/ethernet/sfc/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 1924 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1963 drivers/net/ethernet/sfc/efx.c if (efx->port_enabled || !netif_running(efx->net_dev) || net_dev 2017 drivers/net/ethernet/sfc/efx.c WARN_ON(netif_running(efx->net_dev) && net_dev 2018 drivers/net/ethernet/sfc/efx.c netif_device_present(efx->net_dev)); net_dev 2019 drivers/net/ethernet/sfc/efx.c netif_tx_disable(efx->net_dev); net_dev 2074 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Channels are shared. " net_dev 2123 drivers/net/ethernet/sfc/efx.c netif_vdbg(efx, timer, efx->net_dev, net_dev 2150 drivers/net/ethernet/sfc/efx.c static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) net_dev 2152 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2178 drivers/net/ethernet/sfc/efx.c channel->napi_dev = efx->net_dev; net_dev 2214 drivers/net/ethernet/sfc/efx.c int efx_net_open(struct net_device *net_dev) net_dev 2216 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2219 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, ifup, efx->net_dev, "opening device on CPU %d\n", net_dev 2236 drivers/net/ethernet/sfc/efx.c netif_device_detach(efx->net_dev); net_dev 2245 drivers/net/ethernet/sfc/efx.c int efx_net_stop(struct net_device *net_dev) net_dev 2247 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2249 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, ifdown, efx->net_dev, "closing on CPU %d\n", net_dev 2259 drivers/net/ethernet/sfc/efx.c static void efx_net_stats(struct net_device *net_dev, net_dev 2262 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2270 drivers/net/ethernet/sfc/efx.c static void efx_watchdog(struct net_device *net_dev) net_dev 2272 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2274 drivers/net/ethernet/sfc/efx.c netif_err(efx, tx_err, efx->net_dev, net_dev 2283 drivers/net/ethernet/sfc/efx.c static int efx_change_mtu(struct net_device *net_dev, int new_mtu) net_dev 2285 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2292 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "changing MTU to %d\n", new_mtu); net_dev 2298 drivers/net/ethernet/sfc/efx.c net_dev->mtu = new_mtu; net_dev 2307 drivers/net/ethernet/sfc/efx.c static int efx_set_mac_address(struct net_device *net_dev, void *data) net_dev 2309 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2316 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2323 drivers/net/ethernet/sfc/efx.c ether_addr_copy(old_addr, net_dev->dev_addr); net_dev 2324 drivers/net/ethernet/sfc/efx.c ether_addr_copy(net_dev->dev_addr, new_addr); net_dev 2328 drivers/net/ethernet/sfc/efx.c ether_addr_copy(net_dev->dev_addr, old_addr); net_dev 2342 drivers/net/ethernet/sfc/efx.c static void efx_set_rx_mode(struct net_device *net_dev) net_dev 2344 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2351 drivers/net/ethernet/sfc/efx.c static int efx_set_features(struct net_device *net_dev, netdev_features_t data) net_dev 2353 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2357 drivers/net/ethernet/sfc/efx.c if (net_dev->features & ~data & NETIF_F_NTUPLE) { net_dev 2366 drivers/net/ethernet/sfc/efx.c if ((net_dev->features ^ data) & (NETIF_F_HW_VLAN_CTAG_FILTER | net_dev 2371 drivers/net/ethernet/sfc/efx.c efx_set_rx_mode(net_dev); net_dev 2377 drivers/net/ethernet/sfc/efx.c static int efx_get_phys_port_id(struct net_device *net_dev, net_dev 2380 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2388 drivers/net/ethernet/sfc/efx.c static int efx_get_phys_port_name(struct net_device *net_dev, net_dev 2391 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2398 drivers/net/ethernet/sfc/efx.c static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) net_dev 2400 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2408 drivers/net/ethernet/sfc/efx.c static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) net_dev 2410 drivers/net/ethernet/sfc/efx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 2497 drivers/net/ethernet/sfc/efx.c strcpy(efx->name, efx->net_dev->name); net_dev 2505 drivers/net/ethernet/sfc/efx.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); net_dev 2507 drivers/net/ethernet/sfc/efx.c if ((net_dev->netdev_ops == &efx_netdev_ops) && net_dev 2509 drivers/net/ethernet/sfc/efx.c efx_update_name(netdev_priv(net_dev)); net_dev 2550 drivers/net/ethernet/sfc/efx.c struct net_device *net_dev = efx->net_dev; net_dev 2554 drivers/net/ethernet/sfc/efx.c net_dev->watchdog_timeo = 5 * HZ; net_dev 2555 drivers/net/ethernet/sfc/efx.c net_dev->irq = efx->pci_dev->irq; net_dev 2556 drivers/net/ethernet/sfc/efx.c net_dev->netdev_ops = &efx_netdev_ops; net_dev 2558 drivers/net/ethernet/sfc/efx.c net_dev->priv_flags |= IFF_UNICAST_FLT; net_dev 2559 drivers/net/ethernet/sfc/efx.c net_dev->ethtool_ops = &efx_ethtool_ops; net_dev 2560 drivers/net/ethernet/sfc/efx.c net_dev->gso_max_segs = EFX_TSO_MAX_SEGS; net_dev 2561 drivers/net/ethernet/sfc/efx.c net_dev->min_mtu = EFX_MIN_MTU; net_dev 2562 drivers/net/ethernet/sfc/efx.c net_dev->max_mtu = EFX_MAX_MTU; net_dev 2573 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 2579 drivers/net/ethernet/sfc/efx.c rc = dev_alloc_name(net_dev, net_dev->name); net_dev 2585 drivers/net/ethernet/sfc/efx.c netif_carrier_off(net_dev); net_dev 2587 drivers/net/ethernet/sfc/efx.c rc = register_netdevice(net_dev); net_dev 2603 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2610 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2625 drivers/net/ethernet/sfc/efx.c unregister_netdevice(net_dev); net_dev 2629 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "could not register net dev\n"); net_dev 2635 drivers/net/ethernet/sfc/efx.c if (!efx->net_dev) net_dev 2638 drivers/net/ethernet/sfc/efx.c BUG_ON(netdev_priv(efx->net_dev) != efx); net_dev 2646 drivers/net/ethernet/sfc/efx.c unregister_netdev(efx->net_dev); net_dev 2694 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "failed to initialise NIC\n"); net_dev 2708 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2719 drivers/net/ethernet/sfc/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 2761 drivers/net/ethernet/sfc/efx.c netif_info(efx, drv, efx->net_dev, "resetting (%s)\n", net_dev 2769 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "failed to reset hardware\n"); net_dev 2800 drivers/net/ethernet/sfc/efx.c dev_close(efx->net_dev); net_dev 2801 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "has been disabled\n"); net_dev 2804 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "reset complete\n"); net_dev 2844 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Warning: No MC reboot after BIST mode\n"); net_dev 2892 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 2909 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "scheduling %s reset\n", net_dev 2914 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 3004 drivers/net/ethernet/sfc/efx.c struct pci_dev *pci_dev, struct net_device *net_dev) net_dev 3023 drivers/net/ethernet/sfc/efx.c efx->net_dev = net_dev; net_dev 3046 drivers/net/ethernet/sfc/efx.c efx->mdio.dev = net_dev; net_dev 3345 drivers/net/ethernet/sfc/efx.c dev_close(efx->net_dev); net_dev 3360 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "shutdown successful\n"); net_dev 3363 drivers/net/ethernet/sfc/efx.c free_netdev(efx->net_dev); net_dev 3384 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Unable to read VPD\n"); net_dev 3391 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "VPD Read-only not found\n"); net_dev 3404 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Part number not found\n"); net_dev 3411 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Incomplete part number\n"); net_dev 3415 drivers/net/ethernet/sfc/efx.c netif_info(efx, drv, efx->net_dev, net_dev 3422 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Serial number not found\n"); net_dev 3429 drivers/net/ethernet/sfc/efx.c netif_err(efx, drv, efx->net_dev, "Incomplete serial number\n"); net_dev 3459 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 3466 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 3498 drivers/net/ethernet/sfc/efx.c struct net_device *net_dev = efx->net_dev; net_dev 3507 drivers/net/ethernet/sfc/efx.c netif_err(efx, probe, efx->net_dev, net_dev 3512 drivers/net/ethernet/sfc/efx.c net_dev->features |= (efx->type->offload_features | NETIF_F_SG | net_dev 3515 drivers/net/ethernet/sfc/efx.c net_dev->features |= NETIF_F_TSO6; net_dev 3518 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_ALL_TSO; net_dev 3520 drivers/net/ethernet/sfc/efx.c net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG | net_dev 3524 drivers/net/ethernet/sfc/efx.c net_dev->hw_features |= net_dev->features & ~efx->fixed_features; net_dev 3527 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_RXALL; net_dev 3533 drivers/net/ethernet/sfc/efx.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; net_dev 3534 drivers/net/ethernet/sfc/efx.c net_dev->features |= efx->fixed_features; net_dev 3556 drivers/net/ethernet/sfc/efx.c struct net_device *net_dev; net_dev 3561 drivers/net/ethernet/sfc/efx.c net_dev = alloc_etherdev_mqs(sizeof(*efx), EFX_MAX_CORE_TX_QUEUES, net_dev 3563 drivers/net/ethernet/sfc/efx.c if (!net_dev) net_dev 3565 drivers/net/ethernet/sfc/efx.c efx = netdev_priv(net_dev); net_dev 3570 drivers/net/ethernet/sfc/efx.c SET_NETDEV_DEV(net_dev, &pci_dev->dev); net_dev 3571 drivers/net/ethernet/sfc/efx.c rc = efx_init_struct(efx, pci_dev, net_dev); net_dev 3575 drivers/net/ethernet/sfc/efx.c netif_info(efx, probe, efx->net_dev, net_dev 3608 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, probe, efx->net_dev, "initialisation successful\n"); net_dev 3615 drivers/net/ethernet/sfc/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 3631 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, drv, efx->net_dev, "initialisation failed. rc=%d\n", rc); net_dev 3632 drivers/net/ethernet/sfc/efx.c free_netdev(net_dev); net_dev 3820 drivers/net/ethernet/sfc/efx.c netif_err(efx, hw, efx->net_dev, net_dev 3841 drivers/net/ethernet/sfc/efx.c netif_err(efx, hw, efx->net_dev, net_dev 3845 drivers/net/ethernet/sfc/efx.c netif_dbg(efx, hw, efx->net_dev, net_dev 14 drivers/net/ethernet/sfc/efx.h int efx_net_open(struct net_device *net_dev); net_dev 15 drivers/net/ethernet/sfc/efx.h int efx_net_stop(struct net_device *net_dev); net_dev 24 drivers/net/ethernet/sfc/efx.h struct net_device *net_dev); net_dev 27 drivers/net/ethernet/sfc/efx.h int efx_setup_tc(struct net_device *net_dev, enum tc_setup_type type, net_dev 167 drivers/net/ethernet/sfc/efx.h int efx_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, net_dev 278 drivers/net/ethernet/sfc/efx.h netif_vdbg(channel->efx, intr, channel->efx->net_dev, net_dev 299 drivers/net/ethernet/sfc/efx.h struct net_device *dev = efx->net_dev; net_dev 313 drivers/net/ethernet/sfc/efx.h netif_device_attach(efx->net_dev); net_dev 100 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_phys_id(struct net_device *net_dev, net_dev 103 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 126 drivers/net/ethernet/sfc/ethtool.c efx_ethtool_get_link_ksettings(struct net_device *net_dev, net_dev 129 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 156 drivers/net/ethernet/sfc/ethtool.c efx_ethtool_set_link_ksettings(struct net_device *net_dev, net_dev 159 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 165 drivers/net/ethernet/sfc/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 176 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_drvinfo(struct net_device *net_dev, net_dev 179 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 188 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_regs_len(struct net_device *net_dev) net_dev 190 drivers/net/ethernet/sfc/ethtool.c return efx_nic_get_regs_len(netdev_priv(net_dev)); net_dev 193 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_regs(struct net_device *net_dev, net_dev 196 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 202 drivers/net/ethernet/sfc/ethtool.c static u32 efx_ethtool_get_msglevel(struct net_device *net_dev) net_dev 204 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 208 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) net_dev 210 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 405 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_sset_count(struct net_device *net_dev, net_dev 408 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 423 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_strings(struct net_device *net_dev, net_dev 426 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 450 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_stats(struct net_device *net_dev, net_dev 454 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 516 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_self_test(struct net_device *net_dev, net_dev 519 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 533 drivers/net/ethernet/sfc/ethtool.c netif_info(efx, drv, efx->net_dev, "starting %sline testing\n", net_dev 537 drivers/net/ethernet/sfc/ethtool.c already_up = (efx->net_dev->flags & IFF_UP); net_dev 539 drivers/net/ethernet/sfc/ethtool.c rc = dev_open(efx->net_dev, NULL); net_dev 541 drivers/net/ethernet/sfc/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 550 drivers/net/ethernet/sfc/ethtool.c dev_close(efx->net_dev); net_dev 552 drivers/net/ethernet/sfc/ethtool.c netif_info(efx, drv, efx->net_dev, "%s %sline self-tests\n", net_dev 565 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_nway_reset(struct net_device *net_dev) net_dev 567 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 601 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_coalesce(struct net_device *net_dev, net_dev 604 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 619 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_coalesce(struct net_device *net_dev, net_dev 622 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 661 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_ringparam(struct net_device *net_dev, net_dev 664 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 672 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_ringparam(struct net_device *net_dev, net_dev 675 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 684 drivers/net/ethernet/sfc/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 692 drivers/net/ethernet/sfc/ethtool.c netif_warn(efx, drv, efx->net_dev, net_dev 699 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_pauseparam(struct net_device *net_dev, net_dev 702 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 714 drivers/net/ethernet/sfc/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 721 drivers/net/ethernet/sfc/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 739 drivers/net/ethernet/sfc/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 757 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_pauseparam(struct net_device *net_dev, net_dev 760 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 767 drivers/net/ethernet/sfc/ethtool.c static void efx_ethtool_get_wol(struct net_device *net_dev, net_dev 770 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 775 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_wol(struct net_device *net_dev, net_dev 778 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 782 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_reset(struct net_device *net_dev, u32 *flags) net_dev 784 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 974 drivers/net/ethernet/sfc/ethtool.c efx_ethtool_get_rxnfc(struct net_device *net_dev, net_dev 977 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1288 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_rxnfc(struct net_device *net_dev, net_dev 1291 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1310 drivers/net/ethernet/sfc/ethtool.c static u32 efx_ethtool_get_rxfh_indir_size(struct net_device *net_dev) net_dev 1312 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1319 drivers/net/ethernet/sfc/ethtool.c static u32 efx_ethtool_get_rxfh_key_size(struct net_device *net_dev) net_dev 1321 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1326 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_rxfh(struct net_device *net_dev, u32 *indir, u8 *key, net_dev 1329 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1347 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_rxfh(struct net_device *net_dev, const u32 *indir, net_dev 1350 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1366 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_rxfh_context(struct net_device *net_dev, u32 *indir, net_dev 1369 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1397 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_rxfh_context(struct net_device *net_dev, net_dev 1402 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1462 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_ts_info(struct net_device *net_dev, net_dev 1465 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1476 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_module_eeprom(struct net_device *net_dev, net_dev 1480 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1493 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_module_info(struct net_device *net_dev, net_dev 1496 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1509 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_get_fecparam(struct net_device *net_dev, net_dev 1512 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 1524 drivers/net/ethernet/sfc/ethtool.c static int efx_ethtool_set_fecparam(struct net_device *net_dev, net_dev 1527 drivers/net/ethernet/sfc/ethtool.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 218 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 304 drivers/net/ethernet/sfc/falcon/efx.c netif_vdbg(efx, intr, efx->net_dev, net_dev 341 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 361 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 376 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(channel->efx, ifup, channel->efx->net_dev, net_dev 402 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 411 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 499 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(channel->efx, probe, channel->efx->net_dev, net_dev 574 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 595 drivers/net/ethernet/sfc/falcon/efx.c netdev_features_t old_features = efx->net_dev->features; net_dev 607 drivers/net/ethernet/sfc/falcon/efx.c EF4_MAX_FRAME_LEN(efx->net_dev->mtu) + net_dev 630 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 635 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 643 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->hw_features |= efx->net_dev->features; net_dev 644 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->hw_features &= ~efx->fixed_features; net_dev 645 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->features |= efx->fixed_features; net_dev 646 drivers/net/ethernet/sfc/falcon/efx.c if (efx->net_dev->features != old_features) net_dev 647 drivers/net/ethernet/sfc/falcon/efx.c netdev_features_change(efx->net_dev); net_dev 681 drivers/net/ethernet/sfc/falcon/efx.c if (netif_device_present(efx->net_dev)) net_dev 682 drivers/net/ethernet/sfc/falcon/efx.c netif_tx_wake_all_queues(efx->net_dev); net_dev 721 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 725 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "failed to flush queues\n"); net_dev 727 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 744 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(channel->efx, drv, channel->efx->net_dev, net_dev 852 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 857 drivers/net/ethernet/sfc/falcon/efx.c netif_device_attach(efx->net_dev); net_dev 913 drivers/net/ethernet/sfc/falcon/efx.c if (!netif_running(efx->net_dev)) net_dev 916 drivers/net/ethernet/sfc/falcon/efx.c if (link_state->up != netif_carrier_ok(efx->net_dev)) { net_dev 920 drivers/net/ethernet/sfc/falcon/efx.c netif_carrier_on(efx->net_dev); net_dev 922 drivers/net/ethernet/sfc/falcon/efx.c netif_carrier_off(efx->net_dev); net_dev 927 drivers/net/ethernet/sfc/falcon/efx.c netif_info(efx, link, efx->net_dev, net_dev 930 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->mtu); net_dev 932 drivers/net/ethernet/sfc/falcon/efx.c netif_info(efx, link, efx->net_dev, "link down\n"); net_dev 1036 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, "create port\n"); net_dev 1047 drivers/net/ethernet/sfc/falcon/efx.c ether_addr_copy(efx->net_dev->dev_addr, efx->net_dev->perm_addr); net_dev 1056 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "init port\n"); net_dev 1087 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, ifup, efx->net_dev, "start port\n"); net_dev 1106 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, ifdown, efx->net_dev, "stop port\n"); net_dev 1115 drivers/net/ethernet/sfc/falcon/efx.c netif_addr_lock_bh(efx->net_dev); net_dev 1116 drivers/net/ethernet/sfc/falcon/efx.c netif_addr_unlock_bh(efx->net_dev); net_dev 1125 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); net_dev 1139 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); net_dev 1167 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); net_dev 1174 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(other, probe, other->net_dev, net_dev 1177 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev->name); net_dev 1188 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1191 drivers/net/ethernet/sfc/falcon/efx.c other->net_dev->name); net_dev 1199 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1214 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(other, probe, other->net_dev, net_dev 1229 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, "initialising I/O\n"); net_dev 1235 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1253 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1257 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1263 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1270 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1276 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, net_dev 1297 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "shutting down I/O\n"); net_dev 1334 drivers/net/ethernet/sfc/falcon/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 1352 drivers/net/ethernet/sfc/falcon/efx.c netif_cond_dbg(efx, probe, efx->net_dev, !rss_cpus, warn, net_dev 1391 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1394 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1397 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1433 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1622 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, "creating NIC\n"); net_dev 1631 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 1663 drivers/net/ethernet/sfc/falcon/efx.c netif_set_real_num_tx_queues(efx->net_dev, efx->n_tx_channels); net_dev 1664 drivers/net/ethernet/sfc/falcon/efx.c netif_set_real_num_rx_queues(efx->net_dev, efx->n_rx_channels); net_dev 1682 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "destroying NIC\n"); net_dev 1769 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, "failed to create NIC\n"); net_dev 1775 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, "failed to create port\n"); net_dev 1788 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 1824 drivers/net/ethernet/sfc/falcon/efx.c if (efx->port_enabled || !netif_running(efx->net_dev) || net_dev 1870 drivers/net/ethernet/sfc/falcon/efx.c WARN_ON(netif_running(efx->net_dev) && net_dev 1871 drivers/net/ethernet/sfc/falcon/efx.c netif_device_present(efx->net_dev)); net_dev 1872 drivers/net/ethernet/sfc/falcon/efx.c netif_tx_disable(efx->net_dev); net_dev 1924 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Channels are shared. " net_dev 1973 drivers/net/ethernet/sfc/falcon/efx.c netif_vdbg(efx, timer, efx->net_dev, net_dev 2000 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) net_dev 2002 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2023 drivers/net/ethernet/sfc/falcon/efx.c channel->napi_dev = efx->net_dev; net_dev 2059 drivers/net/ethernet/sfc/falcon/efx.c int ef4_net_open(struct net_device *net_dev) net_dev 2061 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2064 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, ifup, efx->net_dev, "opening device on CPU %d\n", net_dev 2086 drivers/net/ethernet/sfc/falcon/efx.c int ef4_net_stop(struct net_device *net_dev) net_dev 2088 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2090 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, ifdown, efx->net_dev, "closing on CPU %d\n", net_dev 2100 drivers/net/ethernet/sfc/falcon/efx.c static void ef4_net_stats(struct net_device *net_dev, net_dev 2103 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2111 drivers/net/ethernet/sfc/falcon/efx.c static void ef4_watchdog(struct net_device *net_dev) net_dev 2113 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2115 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, tx_err, efx->net_dev, net_dev 2124 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_change_mtu(struct net_device *net_dev, int new_mtu) net_dev 2126 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2133 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "changing MTU to %d\n", new_mtu); net_dev 2139 drivers/net/ethernet/sfc/falcon/efx.c net_dev->mtu = new_mtu; net_dev 2144 drivers/net/ethernet/sfc/falcon/efx.c netif_device_attach(efx->net_dev); net_dev 2148 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_set_mac_address(struct net_device *net_dev, void *data) net_dev 2150 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2157 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2164 drivers/net/ethernet/sfc/falcon/efx.c ether_addr_copy(old_addr, net_dev->dev_addr); net_dev 2165 drivers/net/ethernet/sfc/falcon/efx.c ether_addr_copy(net_dev->dev_addr, new_addr); net_dev 2169 drivers/net/ethernet/sfc/falcon/efx.c ether_addr_copy(net_dev->dev_addr, old_addr); net_dev 2183 drivers/net/ethernet/sfc/falcon/efx.c static void ef4_set_rx_mode(struct net_device *net_dev) net_dev 2185 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2192 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_set_features(struct net_device *net_dev, netdev_features_t data) net_dev 2194 drivers/net/ethernet/sfc/falcon/efx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 2198 drivers/net/ethernet/sfc/falcon/efx.c if (net_dev->features & ~data & NETIF_F_NTUPLE) { net_dev 2205 drivers/net/ethernet/sfc/falcon/efx.c if ((net_dev->features ^ data) & NETIF_F_HW_VLAN_CTAG_FILTER) { net_dev 2209 drivers/net/ethernet/sfc/falcon/efx.c ef4_set_rx_mode(net_dev); net_dev 2235 drivers/net/ethernet/sfc/falcon/efx.c strcpy(efx->name, efx->net_dev->name); net_dev 2243 drivers/net/ethernet/sfc/falcon/efx.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); net_dev 2245 drivers/net/ethernet/sfc/falcon/efx.c if ((net_dev->netdev_ops == &ef4_netdev_ops) && net_dev 2247 drivers/net/ethernet/sfc/falcon/efx.c ef4_update_name(netdev_priv(net_dev)); net_dev 2266 drivers/net/ethernet/sfc/falcon/efx.c struct net_device *net_dev = efx->net_dev; net_dev 2270 drivers/net/ethernet/sfc/falcon/efx.c net_dev->watchdog_timeo = 5 * HZ; net_dev 2271 drivers/net/ethernet/sfc/falcon/efx.c net_dev->irq = efx->pci_dev->irq; net_dev 2272 drivers/net/ethernet/sfc/falcon/efx.c net_dev->netdev_ops = &ef4_netdev_ops; net_dev 2273 drivers/net/ethernet/sfc/falcon/efx.c net_dev->ethtool_ops = &ef4_ethtool_ops; net_dev 2274 drivers/net/ethernet/sfc/falcon/efx.c net_dev->gso_max_segs = EF4_TSO_MAX_SEGS; net_dev 2275 drivers/net/ethernet/sfc/falcon/efx.c net_dev->min_mtu = EF4_MIN_MTU; net_dev 2276 drivers/net/ethernet/sfc/falcon/efx.c net_dev->max_mtu = EF4_MAX_MTU; net_dev 2287 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 2293 drivers/net/ethernet/sfc/falcon/efx.c rc = dev_alloc_name(net_dev, net_dev->name); net_dev 2299 drivers/net/ethernet/sfc/falcon/efx.c netif_carrier_off(net_dev); net_dev 2301 drivers/net/ethernet/sfc/falcon/efx.c rc = register_netdevice(net_dev); net_dev 2317 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2326 drivers/net/ethernet/sfc/falcon/efx.c unregister_netdevice(net_dev); net_dev 2330 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "could not register net dev\n"); net_dev 2336 drivers/net/ethernet/sfc/falcon/efx.c if (!efx->net_dev) net_dev 2339 drivers/net/ethernet/sfc/falcon/efx.c BUG_ON(netdev_priv(efx->net_dev) != efx); net_dev 2344 drivers/net/ethernet/sfc/falcon/efx.c unregister_netdev(efx->net_dev); net_dev 2384 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "failed to initialise NIC\n"); net_dev 2398 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, net_dev 2434 drivers/net/ethernet/sfc/falcon/efx.c netif_info(efx, drv, efx->net_dev, "resetting (%s)\n", net_dev 2442 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "failed to reset hardware\n"); net_dev 2473 drivers/net/ethernet/sfc/falcon/efx.c dev_close(efx->net_dev); net_dev 2474 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "has been disabled\n"); net_dev 2477 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "reset complete\n"); net_dev 2478 drivers/net/ethernet/sfc/falcon/efx.c netif_device_attach(efx->net_dev); net_dev 2544 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 2559 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "scheduling %s reset\n", net_dev 2564 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, net_dev 2636 drivers/net/ethernet/sfc/falcon/efx.c struct pci_dev *pci_dev, struct net_device *net_dev) net_dev 2655 drivers/net/ethernet/sfc/falcon/efx.c efx->net_dev = net_dev; net_dev 2666 drivers/net/ethernet/sfc/falcon/efx.c efx->mdio.dev = net_dev; net_dev 2762 drivers/net/ethernet/sfc/falcon/efx.c dev_close(efx->net_dev); net_dev 2774 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "shutdown successful\n"); net_dev 2777 drivers/net/ethernet/sfc/falcon/efx.c free_netdev(efx->net_dev); net_dev 2798 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Unable to read VPD\n"); net_dev 2805 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "VPD Read-only not found\n"); net_dev 2818 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Part number not found\n"); net_dev 2825 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Incomplete part number\n"); net_dev 2829 drivers/net/ethernet/sfc/falcon/efx.c netif_info(efx, drv, efx->net_dev, net_dev 2836 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Serial number not found\n"); net_dev 2843 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, drv, efx->net_dev, "Incomplete serial number\n"); net_dev 2871 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 2878 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, probe, efx->net_dev, net_dev 2917 drivers/net/ethernet/sfc/falcon/efx.c struct net_device *net_dev; net_dev 2922 drivers/net/ethernet/sfc/falcon/efx.c net_dev = alloc_etherdev_mqs(sizeof(*efx), EF4_MAX_CORE_TX_QUEUES, net_dev 2924 drivers/net/ethernet/sfc/falcon/efx.c if (!net_dev) net_dev 2926 drivers/net/ethernet/sfc/falcon/efx.c efx = netdev_priv(net_dev); net_dev 2931 drivers/net/ethernet/sfc/falcon/efx.c SET_NETDEV_DEV(net_dev, &pci_dev->dev); net_dev 2932 drivers/net/ethernet/sfc/falcon/efx.c rc = ef4_init_struct(efx, pci_dev, net_dev); net_dev 2936 drivers/net/ethernet/sfc/falcon/efx.c netif_info(efx, probe, efx->net_dev, net_dev 2950 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features |= (efx->type->offload_features | NETIF_F_SG | net_dev 2953 drivers/net/ethernet/sfc/falcon/efx.c net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG | net_dev 2956 drivers/net/ethernet/sfc/falcon/efx.c net_dev->hw_features = net_dev->features & ~efx->fixed_features; net_dev 2962 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER; net_dev 2963 drivers/net/ethernet/sfc/falcon/efx.c net_dev->features |= efx->fixed_features; net_dev 2969 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, probe, efx->net_dev, "initialisation successful\n"); net_dev 2976 drivers/net/ethernet/sfc/falcon/efx.c netif_warn(efx, probe, efx->net_dev, net_dev 2981 drivers/net/ethernet/sfc/falcon/efx.c netif_notice(efx, probe, efx->net_dev, net_dev 2995 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, drv, efx->net_dev, "initialisation failed. rc=%d\n", rc); net_dev 2996 drivers/net/ethernet/sfc/falcon/efx.c free_netdev(net_dev); net_dev 3038 drivers/net/ethernet/sfc/falcon/efx.c netif_device_attach(efx->net_dev); net_dev 3162 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, hw, efx->net_dev, net_dev 3183 drivers/net/ethernet/sfc/falcon/efx.c netif_err(efx, hw, efx->net_dev, net_dev 3187 drivers/net/ethernet/sfc/falcon/efx.c netif_dbg(efx, hw, efx->net_dev, net_dev 19 drivers/net/ethernet/sfc/falcon/efx.h int ef4_net_open(struct net_device *net_dev); net_dev 20 drivers/net/ethernet/sfc/falcon/efx.h int ef4_net_stop(struct net_device *net_dev); net_dev 29 drivers/net/ethernet/sfc/falcon/efx.h struct net_device *net_dev); net_dev 32 drivers/net/ethernet/sfc/falcon/efx.h int ef4_setup_tc(struct net_device *net_dev, enum tc_setup_type type, net_dev 164 drivers/net/ethernet/sfc/falcon/efx.h int ef4_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, net_dev 235 drivers/net/ethernet/sfc/falcon/efx.h netif_vdbg(channel->efx, intr, channel->efx->net_dev, net_dev 254 drivers/net/ethernet/sfc/falcon/efx.h struct net_device *dev = efx->net_dev; net_dev 90 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_phys_id(struct net_device *net_dev, net_dev 93 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 116 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_get_link_ksettings(struct net_device *net_dev, net_dev 119 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 140 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_set_link_ksettings(struct net_device *net_dev, net_dev 143 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 149 drivers/net/ethernet/sfc/falcon/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 160 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_drvinfo(struct net_device *net_dev, net_dev 163 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 170 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_regs_len(struct net_device *net_dev) net_dev 172 drivers/net/ethernet/sfc/falcon/ethtool.c return ef4_nic_get_regs_len(netdev_priv(net_dev)); net_dev 175 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_regs(struct net_device *net_dev, net_dev 178 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 184 drivers/net/ethernet/sfc/falcon/ethtool.c static u32 ef4_ethtool_get_msglevel(struct net_device *net_dev) net_dev 186 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 190 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) net_dev 192 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 387 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_sset_count(struct net_device *net_dev, net_dev 390 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 404 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_strings(struct net_device *net_dev, net_dev 407 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 430 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_stats(struct net_device *net_dev, net_dev 434 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 494 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_self_test(struct net_device *net_dev, net_dev 497 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 511 drivers/net/ethernet/sfc/falcon/ethtool.c netif_info(efx, drv, efx->net_dev, "starting %sline testing\n", net_dev 515 drivers/net/ethernet/sfc/falcon/ethtool.c already_up = (efx->net_dev->flags & IFF_UP); net_dev 517 drivers/net/ethernet/sfc/falcon/ethtool.c rc = dev_open(efx->net_dev, NULL); net_dev 519 drivers/net/ethernet/sfc/falcon/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 528 drivers/net/ethernet/sfc/falcon/ethtool.c dev_close(efx->net_dev); net_dev 530 drivers/net/ethernet/sfc/falcon/ethtool.c netif_info(efx, drv, efx->net_dev, "%s %sline self-tests\n", net_dev 543 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_nway_reset(struct net_device *net_dev) net_dev 545 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 579 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_coalesce(struct net_device *net_dev, net_dev 582 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 597 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_coalesce(struct net_device *net_dev, net_dev 600 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 639 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_ringparam(struct net_device *net_dev, net_dev 642 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 650 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_ringparam(struct net_device *net_dev, net_dev 653 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 662 drivers/net/ethernet/sfc/falcon/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 670 drivers/net/ethernet/sfc/falcon/ethtool.c netif_warn(efx, drv, efx->net_dev, net_dev 677 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_pauseparam(struct net_device *net_dev, net_dev 680 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 692 drivers/net/ethernet/sfc/falcon/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 699 drivers/net/ethernet/sfc/falcon/ethtool.c netif_dbg(efx, drv, efx->net_dev, net_dev 717 drivers/net/ethernet/sfc/falcon/ethtool.c netif_err(efx, drv, efx->net_dev, net_dev 735 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_pauseparam(struct net_device *net_dev, net_dev 738 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 745 drivers/net/ethernet/sfc/falcon/ethtool.c static void ef4_ethtool_get_wol(struct net_device *net_dev, net_dev 748 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 753 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_wol(struct net_device *net_dev, net_dev 756 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 760 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_reset(struct net_device *net_dev, u32 *flags) net_dev 762 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 946 drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_get_rxnfc(struct net_device *net_dev, net_dev 949 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1223 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_rxnfc(struct net_device *net_dev, net_dev 1226 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1244 drivers/net/ethernet/sfc/falcon/ethtool.c static u32 ef4_ethtool_get_rxfh_indir_size(struct net_device *net_dev) net_dev 1246 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1253 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_rxfh(struct net_device *net_dev, u32 *indir, u8 *key, net_dev 1256 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1265 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_set_rxfh(struct net_device *net_dev, const u32 *indir, net_dev 1268 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1280 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_module_eeprom(struct net_device *net_dev, net_dev 1284 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1297 drivers/net/ethernet/sfc/falcon/ethtool.c static int ef4_ethtool_get_module_info(struct net_device *net_dev, net_dev 1300 drivers/net/ethernet/sfc/falcon/ethtool.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 442 drivers/net/ethernet/sfc/falcon/falcon.c netif_vdbg(efx, intr, efx->net_dev, net_dev 448 drivers/net/ethernet/sfc/falcon/falcon.c netif_vdbg(efx, intr, efx->net_dev, net_dev 543 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 680 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1036 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1133 drivers/net/ethernet/sfc/falcon/falcon.c max_frame_len = EF4_MAX_FRAME_LEN(efx->net_dev->mtu); net_dev 1147 drivers/net/ethernet/sfc/falcon/falcon.c memcpy(®, &efx->net_dev->dev_addr[0], 4); net_dev 1149 drivers/net/ethernet/sfc/falcon/falcon.c memcpy(®, &efx->net_dev->dev_addr[4], 2); net_dev 1206 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, "bashing xaui\n"); net_dev 1291 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1314 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, net_dev 1320 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, "MAC reset failed\n"); net_dev 1449 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1557 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1567 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, "timed out waiting for GMII\n"); net_dev 1572 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mdio_write(struct net_device *net_dev, net_dev 1575 drivers/net/ethernet/sfc/falcon/falcon.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1580 drivers/net/ethernet/sfc/falcon/falcon.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1625 drivers/net/ethernet/sfc/falcon/falcon.c static int falcon_mdio_read(struct net_device *net_dev, net_dev 1628 drivers/net/ethernet/sfc/falcon/falcon.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 1656 drivers/net/ethernet/sfc/falcon/falcon.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1666 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, net_dev 1694 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, "Unknown PHY type %d\n", net_dev 1724 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, probe, efx->net_dev, net_dev 1761 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, rx_err, efx->net_dev, net_dev 1807 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, "Failed to read %s\n", net_dev 1819 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1824 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1838 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 1983 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, "performing %s hardware reset\n", net_dev 1990 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, drv, efx->net_dev, net_dev 1998 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, drv, efx->net_dev, net_dev 2026 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, "waiting for hardware reset\n"); net_dev 2034 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, drv, efx->net_dev, net_dev 2042 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 2046 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, "hardware reset complete\n"); net_dev 2079 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, net_dev 2131 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, net_dev 2140 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, hw, efx->net_dev, net_dev 2147 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, hw, efx->net_dev, "timed out waiting for SRAM reset\n"); net_dev 2206 drivers/net/ethernet/sfc/falcon/falcon.c ether_addr_copy(efx->net_dev->perm_addr, nvconfig->mac_address[0]); net_dev 2208 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, probe, efx->net_dev, "PHY is %d phy_id %d\n", net_dev 2239 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, probe, efx->net_dev, "Booted from %s\n", net_dev 2246 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, probe, efx->net_dev, net_dev 2301 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 2312 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 2318 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 2323 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 2339 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 2349 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, "failed to reset NIC\n"); net_dev 2360 drivers/net/ethernet/sfc/falcon/falcon.c netif_dbg(efx, probe, efx->net_dev, net_dev 2372 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, "NVRAM is invalid\n"); net_dev 2398 drivers/net/ethernet/sfc/falcon/falcon.c netif_err(efx, probe, efx->net_dev, net_dev 161 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_err(efx, hw, efx->net_dev, net_dev 301 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_info(efx, hw, efx->net_dev, "power-cycling PHY\n"); net_dev 327 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_info(efx, hw, efx->net_dev, net_dev 350 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_info(efx, hw, efx->net_dev, "timed out waiting for DSP boot\n"); net_dev 380 drivers/net/ethernet/sfc/falcon/falcon_boards.c } else if (efx->state != STATE_READY || netif_running(efx->net_dev)) { net_dev 405 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_info(efx, drv, efx->net_dev, "%s\n", __func__); net_dev 490 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_info(efx, hw, efx->net_dev, "PHY is powered on\n"); net_dev 757 drivers/net/ethernet/sfc/falcon/falcon_boards.c netif_err(efx, probe, efx->net_dev, "unknown board type %d\n", net_dev 145 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, net_dev 181 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, probe, efx->net_dev, net_dev 203 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, "unmapping special buffers %d-%d\n", net_dev 238 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, probe, efx->net_dev, net_dev 254 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 534 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 629 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 638 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 703 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, "failed to flush %d queues " net_dev 852 drivers/net/ethernet/sfc/falcon/farch.c netif_tx_lock(efx->net_dev); net_dev 854 drivers/net/ethernet/sfc/falcon/farch.c netif_tx_unlock(efx->net_dev); net_dev 858 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, tx_err, efx->net_dev, net_dev 920 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, rx_err, efx->net_dev, net_dev 963 drivers/net/ethernet/sfc/falcon/farch.c netif_info(efx, rx_err, efx->net_dev, net_dev 1129 drivers/net/ethernet/sfc/falcon/farch.c netif_info(efx, hw, efx->net_dev, net_dev 1177 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, "channel %d received " net_dev 1195 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, "channel %d TXQ %d flushed\n", net_dev 1200 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, "channel %d RXQ %d flushed\n", net_dev 1205 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 1210 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1214 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1219 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1224 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, rx_err, efx->net_dev, net_dev 1234 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, rx_err, efx->net_dev, net_dev 1241 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, tx_err, efx->net_dev, net_dev 1248 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1278 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(channel->efx, intr, channel->efx->net_dev, net_dev 1315 drivers/net/ethernet/sfc/falcon/farch.c netif_err(channel->efx, hw, channel->efx->net_dev, net_dev 1343 drivers/net/ethernet/sfc/falcon/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 1455 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, "SYSTEM ERROR "EF4_OWORD_FMT" status " net_dev 1466 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1485 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1489 drivers/net/ethernet/sfc/falcon/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1571 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, intr, efx->net_dev, net_dev 1592 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, intr, efx->net_dev, net_dev 2343 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 2465 drivers/net/ethernet/sfc/falcon/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 2845 drivers/net/ethernet/sfc/falcon/farch.c rps_may_expire_flow(efx->net_dev, table->spec[index].dmaq_id, net_dev 2858 drivers/net/ethernet/sfc/falcon/farch.c struct net_device *net_dev = efx->net_dev; net_dev 2867 drivers/net/ethernet/sfc/falcon/farch.c netif_addr_lock_bh(net_dev); net_dev 2869 drivers/net/ethernet/sfc/falcon/farch.c efx->unicast_filter = !(net_dev->flags & IFF_PROMISC); net_dev 2872 drivers/net/ethernet/sfc/falcon/farch.c if (net_dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { net_dev 2876 drivers/net/ethernet/sfc/falcon/farch.c netdev_for_each_mc_addr(ha, net_dev) { net_dev 2889 drivers/net/ethernet/sfc/falcon/farch.c netif_addr_unlock_bh(net_dev); net_dev 94 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 118 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 136 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 157 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 178 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 188 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 221 drivers/net/ethernet/sfc/falcon/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 59 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 88 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 105 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 128 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 134 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 139 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_vdbg(efx, hw, efx->net_dev, "Devices present: %x\n", devices); net_dev 203 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_vdbg(efx, drv, efx->net_dev, "Setting low power mode for MMD %d to %d\n", net_dev 323 drivers/net/ethernet/sfc/falcon/mdio_10g.c netif_err(efx, hw, efx->net_dev, net_dev 24 drivers/net/ethernet/sfc/falcon/mdio_10g.h return efx->mdio.mdio_read(efx->net_dev, efx->mdio.prtad, devad, addr); net_dev 30 drivers/net/ethernet/sfc/falcon/mdio_10g.h efx->mdio.mdio_write(efx->net_dev, efx->mdio.prtad, devad, addr, value); net_dev 51 drivers/net/ethernet/sfc/falcon/mdio_10g.h netif_dbg(efx, hw, efx->net_dev, "XGXS lane status: %x\n", net_dev 850 drivers/net/ethernet/sfc/falcon/net_driver.h struct net_device *net_dev; net_dev 906 drivers/net/ethernet/sfc/falcon/net_driver.h return efx->net_dev->reg_state == NETREG_REGISTERED; net_dev 1211 drivers/net/ethernet/sfc/falcon/net_driver.h return !(tx_queue->efx->net_dev->num_tc < 2 && net_dev 1303 drivers/net/ethernet/sfc/falcon/net_driver.h const struct net_device *net_dev = efx->net_dev; net_dev 1305 drivers/net/ethernet/sfc/falcon/net_driver.h return net_dev->features | net_dev->hw_features; net_dev 86 drivers/net/ethernet/sfc/falcon/nic.c netif_err(efx, drv, efx->net_dev, net_dev 96 drivers/net/ethernet/sfc/falcon/nic.c efx->net_dev->rx_cpu_rmap = net_dev 98 drivers/net/ethernet/sfc/falcon/nic.c if (!efx->net_dev->rx_cpu_rmap) { net_dev 113 drivers/net/ethernet/sfc/falcon/nic.c netif_err(efx, drv, efx->net_dev, net_dev 122 drivers/net/ethernet/sfc/falcon/nic.c rc = irq_cpu_rmap_add(efx->net_dev->rx_cpu_rmap, net_dev 134 drivers/net/ethernet/sfc/falcon/nic.c free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); net_dev 135 drivers/net/ethernet/sfc/falcon/nic.c efx->net_dev->rx_cpu_rmap = NULL; net_dev 151 drivers/net/ethernet/sfc/falcon/nic.c free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); net_dev 152 drivers/net/ethernet/sfc/falcon/nic.c efx->net_dev->rx_cpu_rmap = NULL; net_dev 518 drivers/net/ethernet/sfc/falcon/nic.c if (!(efx->net_dev->flags & IFF_UP) || !efx->rx_nodesc_drops_prev_state) net_dev 522 drivers/net/ethernet/sfc/falcon/nic.c efx->rx_nodesc_drops_prev_state = !!(efx->net_dev->flags & IFF_UP); net_dev 93 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_err(efx, hw, efx->net_dev, net_dev 148 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_dbg(efx, hw, efx->net_dev, net_dev 169 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_info(efx, probe, efx->net_dev, net_dev 203 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_dbg(efx, hw, efx->net_dev, "bashing QT2025C PMA/PMD\n"); net_dev 236 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_dbg(efx, hw, efx->net_dev, "Switching PHY to mode 0x%04x\n", net_dev 297 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_err(efx, hw, efx->net_dev, net_dev 335 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_err(efx, hw, efx->net_dev, "PHY reset timed out\n"); net_dev 364 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_err(efx, probe, efx->net_dev, "PHY init failed\n"); net_dev 369 drivers/net/ethernet/sfc/falcon/qt202x_phy.c netif_info(efx, probe, efx->net_dev, net_dev 349 drivers/net/ethernet/sfc/falcon/rx.c netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, net_dev 366 drivers/net/ethernet/sfc/falcon/rx.c netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, net_dev 402 drivers/net/ethernet/sfc/falcon/rx.c netif_err(efx, rx_err, efx->net_dev, net_dev 410 drivers/net/ethernet/sfc/falcon/rx.c netif_err(efx, rx_err, efx->net_dev, net_dev 439 drivers/net/ethernet/sfc/falcon/rx.c if (efx->net_dev->features & NETIF_F_RXHASH) net_dev 475 drivers/net/ethernet/sfc/falcon/rx.c skb = netdev_alloc_skb(efx->net_dev, net_dev 516 drivers/net/ethernet/sfc/falcon/rx.c skb->protocol = eth_type_trans(skb, efx->net_dev); net_dev 550 drivers/net/ethernet/sfc/falcon/rx.c netif_vdbg(efx, rx_status, efx->net_dev, net_dev 668 drivers/net/ethernet/sfc/falcon/rx.c if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM))) net_dev 690 drivers/net/ethernet/sfc/falcon/rx.c netif_dbg(efx, probe, efx->net_dev, net_dev 737 drivers/net/ethernet/sfc/falcon/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 779 drivers/net/ethernet/sfc/falcon/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 814 drivers/net/ethernet/sfc/falcon/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 830 drivers/net/ethernet/sfc/falcon/rx.c int ef4_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, net_dev 833 drivers/net/ethernet/sfc/falcon/rx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 881 drivers/net/ethernet/sfc/falcon/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 887 drivers/net/ethernet/sfc/falcon/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 915 drivers/net/ethernet/sfc/falcon/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 137 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); net_dev 142 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 152 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); net_dev 161 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); net_dev 165 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", net_dev 225 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 234 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 238 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 243 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 267 drivers/net/ethernet/sfc/falcon/selftest.c netif_info(efx, drv, efx->net_dev, net_dev 305 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 313 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 321 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 330 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 338 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 346 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 354 drivers/net/ethernet/sfc/falcon/selftest.c netif_vdbg(efx, drv, efx->net_dev, net_dev 363 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, "received packet:\n"); net_dev 366 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, "expected packet:\n"); net_dev 378 drivers/net/ethernet/sfc/falcon/selftest.c struct net_device *net_dev = efx->net_dev; net_dev 382 drivers/net/ethernet/sfc/falcon/selftest.c ether_addr_copy((u8 *)&payload->header.h_dest, net_dev->dev_addr); net_dev 439 drivers/net/ethernet/sfc/falcon/selftest.c netif_tx_lock_bh(efx->net_dev); net_dev 441 drivers/net/ethernet/sfc/falcon/selftest.c netif_tx_unlock_bh(efx->net_dev); net_dev 444 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 475 drivers/net/ethernet/sfc/falcon/selftest.c netif_tx_lock_bh(efx->net_dev); net_dev 486 drivers/net/ethernet/sfc/falcon/selftest.c netif_tx_unlock_bh(efx->net_dev); net_dev 495 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 506 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 542 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 569 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 645 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 653 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 734 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, hw, efx->net_dev, net_dev 767 drivers/net/ethernet/sfc/falcon/selftest.c netif_device_attach(efx->net_dev); net_dev 796 drivers/net/ethernet/sfc/falcon/selftest.c netif_err(efx, ifup, efx->net_dev, net_dev 800 drivers/net/ethernet/sfc/falcon/selftest.c netif_dbg(efx, ifup, efx->net_dev, net_dev 285 drivers/net/ethernet/sfc/falcon/tenxpress.c netif_err(efx, link, efx->net_dev, net_dev 72 drivers/net/ethernet/sfc/falcon/tx.c netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, net_dev 370 drivers/net/ethernet/sfc/falcon/tx.c netif_err(efx, tx_err, efx->net_dev, net_dev 394 drivers/net/ethernet/sfc/falcon/tx.c struct net_device *net_dev) net_dev 396 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 400 drivers/net/ethernet/sfc/falcon/tx.c EF4_WARN_ON_PARANOID(!netif_device_present(net_dev)); net_dev 419 drivers/net/ethernet/sfc/falcon/tx.c netdev_get_tx_queue(efx->net_dev, net_dev 425 drivers/net/ethernet/sfc/falcon/tx.c int ef4_setup_tc(struct net_device *net_dev, enum tc_setup_type type, net_dev 428 drivers/net/ethernet/sfc/falcon/tx.c struct ef4_nic *efx = netdev_priv(net_dev); net_dev 445 drivers/net/ethernet/sfc/falcon/tx.c if (num_tc == net_dev->num_tc) net_dev 449 drivers/net/ethernet/sfc/falcon/tx.c net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; net_dev 450 drivers/net/ethernet/sfc/falcon/tx.c net_dev->tc_to_txq[tc].count = efx->n_tx_channels; net_dev 453 drivers/net/ethernet/sfc/falcon/tx.c if (num_tc > net_dev->num_tc) { net_dev 472 drivers/net/ethernet/sfc/falcon/tx.c net_dev->num_tc = num_tc; net_dev 475 drivers/net/ethernet/sfc/falcon/tx.c rc = netif_set_real_num_tx_queues(net_dev, net_dev 487 drivers/net/ethernet/sfc/falcon/tx.c net_dev->num_tc = num_tc; net_dev 514 drivers/net/ethernet/sfc/falcon/tx.c likely(netif_device_present(efx->net_dev))) { net_dev 549 drivers/net/ethernet/sfc/falcon/tx.c netif_dbg(efx, probe, efx->net_dev, net_dev 586 drivers/net/ethernet/sfc/falcon/tx.c netif_dbg(efx, drv, efx->net_dev, net_dev 610 drivers/net/ethernet/sfc/falcon/tx.c netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, net_dev 635 drivers/net/ethernet/sfc/falcon/tx.c netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, net_dev 200 drivers/net/ethernet/sfc/falcon/txc43128_phy.c netif_err(efx, hw, efx->net_dev, TXCNAME ": reset timed out!\n"); net_dev 245 drivers/net/ethernet/sfc/falcon/txc43128_phy.c netif_err(efx, hw, efx->net_dev, TXCNAME": BIST error. " net_dev 251 drivers/net/ethernet/sfc/falcon/txc43128_phy.c netif_err(efx, hw, efx->net_dev, TXCNAME": BIST error. " net_dev 258 drivers/net/ethernet/sfc/falcon/txc43128_phy.c netif_info(efx, hw, efx->net_dev, TXCNAME": BIST pass\n"); net_dev 425 drivers/net/ethernet/sfc/falcon/txc43128_phy.c netif_info(efx, hw, efx->net_dev, net_dev 147 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, net_dev 183 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, probe, efx->net_dev, net_dev 205 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, "unmapping special buffers %d-%d\n", net_dev 247 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, probe, efx->net_dev, net_dev 263 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 516 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 611 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 620 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 696 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, "failed to flush %d queues " net_dev 842 drivers/net/ethernet/sfc/farch.c netif_tx_lock(efx->net_dev); net_dev 844 drivers/net/ethernet/sfc/farch.c netif_tx_unlock(efx->net_dev); net_dev 848 drivers/net/ethernet/sfc/farch.c netif_err(efx, tx_err, efx->net_dev, net_dev 906 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, rx_err, efx->net_dev, net_dev 922 drivers/net/ethernet/sfc/farch.c if (efx->net_dev->features & NETIF_F_RXALL) net_dev 952 drivers/net/ethernet/sfc/farch.c netif_info(efx, rx_err, efx->net_dev, net_dev 1117 drivers/net/ethernet/sfc/farch.c netif_info(efx, hw, efx->net_dev, net_dev 1165 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, "channel %d received " net_dev 1183 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, "channel %d TXQ %d flushed\n", net_dev 1191 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, "channel %d RXQ %d flushed\n", net_dev 1199 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 1204 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1208 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1213 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1218 drivers/net/ethernet/sfc/farch.c netif_err(efx, rx_err, efx->net_dev, net_dev 1226 drivers/net/ethernet/sfc/farch.c netif_err(efx, rx_err, efx->net_dev, net_dev 1239 drivers/net/ethernet/sfc/farch.c netif_err(efx, tx_err, efx->net_dev, net_dev 1251 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1280 drivers/net/ethernet/sfc/farch.c netif_vdbg(channel->efx, intr, channel->efx->net_dev, net_dev 1320 drivers/net/ethernet/sfc/farch.c netif_err(channel->efx, hw, channel->efx->net_dev, net_dev 1348 drivers/net/ethernet/sfc/farch.c netif_dbg(efx, hw, efx->net_dev, net_dev 1466 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, "SYSTEM ERROR "EFX_OWORD_FMT" status " net_dev 1477 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1494 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1498 drivers/net/ethernet/sfc/farch.c netif_err(efx, hw, efx->net_dev, net_dev 1580 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, intr, efx->net_dev, net_dev 1601 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, intr, efx->net_dev, net_dev 1705 drivers/net/ethernet/sfc/farch.c netif_err(efx, probe, efx->net_dev, net_dev 2406 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 2524 drivers/net/ethernet/sfc/farch.c netif_vdbg(efx, hw, efx->net_dev, net_dev 2935 drivers/net/ethernet/sfc/farch.c if (force || rps_may_expire_flow(efx->net_dev, spec.dmaq_id, net_dev 2954 drivers/net/ethernet/sfc/farch.c struct net_device *net_dev = efx->net_dev; net_dev 2963 drivers/net/ethernet/sfc/farch.c netif_addr_lock_bh(net_dev); net_dev 2965 drivers/net/ethernet/sfc/farch.c efx->unicast_filter = !(net_dev->flags & IFF_PROMISC); net_dev 2968 drivers/net/ethernet/sfc/farch.c if (net_dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) { net_dev 2972 drivers/net/ethernet/sfc/farch.c netdev_for_each_mc_addr(ha, net_dev) { net_dev 2985 drivers/net/ethernet/sfc/farch.c netif_addr_unlock_bh(net_dev); net_dev 106 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 130 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 148 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 169 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 190 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 200 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 236 drivers/net/ethernet/sfc/io.h netif_vdbg(efx, hw, efx->net_dev, net_dev 102 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, probe, efx->net_dev, net_dev 108 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, probe, efx->net_dev, net_dev 222 drivers/net/ethernet/sfc/mcdi.c netif_info(efx, hw, efx->net_dev, "MCDI RPC REQ:%s\n", buf); net_dev 316 drivers/net/ethernet/sfc/mcdi.c netif_info(efx, hw, efx->net_dev, "MCDI RPC RESP:%s\n", buf); net_dev 322 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "MC rebooted\n"); net_dev 325 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 576 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 665 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 670 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 721 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "MC reboot detected\n"); net_dev 722 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, "MC rebooted during command %d rc %d\n", net_dev 787 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, net_dev 791 drivers/net/ethernet/sfc/mcdi.c netif_warn(efx, hw, efx->net_dev, net_dev 828 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, net_dev 834 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, net_dev 845 drivers/net/ethernet/sfc/mcdi.c netif_cond_dbg(efx, hw, efx->net_dev, rc == -EPERM, err, net_dev 878 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, net_dev 1090 drivers/net/ethernet/sfc/mcdi.c netif_cond_dbg(efx, hw, efx->net_dev, rc == -EPERM, err, net_dev 1296 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, "MCDI is timing out; trying to recover\n"); net_dev 1310 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 1316 drivers/net/ethernet/sfc/mcdi.c netif_info(efx, wol, efx->net_dev, "MCDI PM event.\n"); net_dev 1333 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, hw, efx->net_dev, net_dev 1338 drivers/net/ethernet/sfc/mcdi.c netif_info(efx, hw, efx->net_dev, "MC Reboot\n"); net_dev 1342 drivers/net/ethernet/sfc/mcdi.c netif_info(efx, hw, efx->net_dev, "MC entered BIST mode\n"); net_dev 1376 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 1388 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 1445 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, probe, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 1469 drivers/net/ethernet/sfc/mcdi.c netif_dbg(efx, probe, efx->net_dev, net_dev 1512 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, probe, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 1566 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d len=%d\n", net_dev 1614 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", net_dev 1646 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 1696 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed type=%u\n", net_dev 1699 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 1752 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, net_dev 1761 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "R%.2d (?): 0x%.8x\n", net_dev 1915 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 1950 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 2063 drivers/net/ethernet/sfc/mcdi.c netif_cond_dbg(efx, hw, efx->net_dev, rc == -ENOSYS, err, net_dev 2169 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, drv, efx->net_dev, net_dev 2192 drivers/net/ethernet/sfc/mcdi.c netif_err(efx, drv, efx->net_dev, net_dev 128 drivers/net/ethernet/sfc/mcdi_mon.c netif_err(efx, hw, efx->net_dev, net_dev 69 drivers/net/ethernet/sfc/mcdi_port.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 114 drivers/net/ethernet/sfc/mcdi_port.c netif_err(efx, hw, efx->net_dev, "%s: failed rc=%d\n", __func__, rc); net_dev 118 drivers/net/ethernet/sfc/mcdi_port.c static int efx_mcdi_mdio_read(struct net_device *net_dev, net_dev 121 drivers/net/ethernet/sfc/mcdi_port.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 144 drivers/net/ethernet/sfc/mcdi_port.c static int efx_mcdi_mdio_write(struct net_device *net_dev, net_dev 147 drivers/net/ethernet/sfc/mcdi_port.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 554 drivers/net/ethernet/sfc/mcdi_port.c netif_err(efx, link, efx->net_dev, net_dev 708 drivers/net/ethernet/sfc/mcdi_port.c netif_warn(efx, hw, efx->net_dev, net_dev 1184 drivers/net/ethernet/sfc/mcdi_port.c efx->net_dev->dev_addr); net_dev 1187 drivers/net/ethernet/sfc/mcdi_port.c EFX_MAX_FRAME_LEN(efx->net_dev->mtu)); net_dev 1196 drivers/net/ethernet/sfc/mcdi_port.c !!(efx->net_dev->features & NETIF_F_RXFCS)); net_dev 1335 drivers/net/ethernet/sfc/mcdi_port.c netif_dbg(efx, probe, efx->net_dev, net_dev 775 drivers/net/ethernet/sfc/net_driver.h struct net_device *net_dev; net_dev 1024 drivers/net/ethernet/sfc/net_driver.h struct net_device *net_dev; net_dev 1097 drivers/net/ethernet/sfc/net_driver.h return efx->net_dev->reg_state == NETREG_REGISTERED; net_dev 1492 drivers/net/ethernet/sfc/net_driver.h return !(tx_queue->efx->net_dev->num_tc < 2 && net_dev 1593 drivers/net/ethernet/sfc/net_driver.h const struct net_device *net_dev = efx->net_dev; net_dev 1595 drivers/net/ethernet/sfc/net_driver.h return net_dev->features | net_dev->hw_features; net_dev 87 drivers/net/ethernet/sfc/nic.c netif_err(efx, drv, efx->net_dev, net_dev 97 drivers/net/ethernet/sfc/nic.c efx->net_dev->rx_cpu_rmap = net_dev 99 drivers/net/ethernet/sfc/nic.c if (!efx->net_dev->rx_cpu_rmap) { net_dev 114 drivers/net/ethernet/sfc/nic.c netif_err(efx, drv, efx->net_dev, net_dev 123 drivers/net/ethernet/sfc/nic.c rc = irq_cpu_rmap_add(efx->net_dev->rx_cpu_rmap, net_dev 135 drivers/net/ethernet/sfc/nic.c free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); net_dev 136 drivers/net/ethernet/sfc/nic.c efx->net_dev->rx_cpu_rmap = NULL; net_dev 152 drivers/net/ethernet/sfc/nic.c free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); net_dev 153 drivers/net/ethernet/sfc/nic.c efx->net_dev->rx_cpu_rmap = NULL; net_dev 525 drivers/net/ethernet/sfc/nic.c if (!(efx->net_dev->flags & IFF_UP) || !efx->rx_nodesc_drops_prev_state) net_dev 529 drivers/net/ethernet/sfc/nic.c efx->rx_nodesc_drops_prev_state = !!(efx->net_dev->flags & IFF_UP); net_dev 651 drivers/net/ethernet/sfc/ptp.c netif_info(efx, probe, efx->net_dev, "no PTP support\n"); net_dev 827 drivers/net/ethernet/sfc/ptp.c netif_info(efx, probe, efx->net_dev, "no PTP support\n"); net_dev 848 drivers/net/ethernet/sfc/ptp.c netif_err(efx, drv, efx->net_dev, net_dev 983 drivers/net/ethernet/sfc/ptp.c netif_warn(efx, drv, efx->net_dev, net_dev 998 drivers/net/ethernet/sfc/ptp.c netif_warn(efx, hw, efx->net_dev, net_dev 1171 drivers/net/ethernet/sfc/ptp.c netif_warn(efx, hw, efx->net_dev, net_dev 1553 drivers/net/ethernet/sfc/ptp.c netif_warn(efx, drv, efx->net_dev, net_dev 1745 drivers/net/ethernet/sfc/ptp.c if (netif_running(efx->net_dev)) net_dev 1849 drivers/net/ethernet/sfc/ptp.c netif_err(efx, hw, efx->net_dev, net_dev 1895 drivers/net/ethernet/sfc/ptp.c netif_err(efx, rx_err, efx->net_dev, "PTP event queue overflow\n"); net_dev 1908 drivers/net/ethernet/sfc/ptp.c netif_err(efx, hw, efx->net_dev, "PTP error %d\n", code); net_dev 1924 drivers/net/ethernet/sfc/ptp.c netif_warn(efx, drv, efx->net_dev, net_dev 1937 drivers/net/ethernet/sfc/ptp.c netif_err(efx, hw, efx->net_dev, net_dev 1956 drivers/net/ethernet/sfc/ptp.c netif_err(efx, hw, efx->net_dev, net_dev 1962 drivers/net/ethernet/sfc/ptp.c netif_err(efx, hw, efx->net_dev, net_dev 2046 drivers/net/ethernet/sfc/ptp.c netif_vdbg(efx, drv, efx->net_dev, net_dev 2203 drivers/net/ethernet/sfc/ptp.c netif_err(efx, drv, efx->net_dev, "Failed to restart PTP.\n"); net_dev 349 drivers/net/ethernet/sfc/rx.c netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, net_dev 365 drivers/net/ethernet/sfc/rx.c netif_vdbg(rx_queue->efx, rx_status, rx_queue->efx->net_dev, net_dev 400 drivers/net/ethernet/sfc/rx.c netif_err(efx, rx_err, efx->net_dev, net_dev 427 drivers/net/ethernet/sfc/rx.c if (efx->net_dev->features & NETIF_F_RXHASH) net_dev 464 drivers/net/ethernet/sfc/rx.c skb = netdev_alloc_skb(efx->net_dev, net_dev 505 drivers/net/ethernet/sfc/rx.c skb->protocol = eth_type_trans(skb, efx->net_dev); net_dev 539 drivers/net/ethernet/sfc/rx.c netif_vdbg(efx, rx_status, efx->net_dev, net_dev 666 drivers/net/ethernet/sfc/rx.c if (unlikely(!(efx->net_dev->features & NETIF_F_RXCSUM))) net_dev 688 drivers/net/ethernet/sfc/rx.c netif_dbg(efx, probe, efx->net_dev, net_dev 735 drivers/net/ethernet/sfc/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 777 drivers/net/ethernet/sfc/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 812 drivers/net/ethernet/sfc/rx.c netif_dbg(rx_queue->efx, drv, rx_queue->efx->net_dev, net_dev 832 drivers/net/ethernet/sfc/rx.c struct efx_nic *efx = netdev_priv(req->net_dev); net_dev 870 drivers/net/ethernet/sfc/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 877 drivers/net/ethernet/sfc/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 887 drivers/net/ethernet/sfc/rx.c dev_put(req->net_dev); net_dev 890 drivers/net/ethernet/sfc/rx.c int efx_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb, net_dev 893 drivers/net/ethernet/sfc/rx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 979 drivers/net/ethernet/sfc/rx.c dev_hold(req->net_dev = net_dev); net_dev 1010 drivers/net/ethernet/sfc/rx.c netif_info(efx, rx_status, efx->net_dev, net_dev 137 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); net_dev 142 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 152 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); net_dev 161 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); net_dev 165 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", net_dev 225 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 234 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 238 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 243 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 267 drivers/net/ethernet/sfc/selftest.c netif_info(efx, drv, efx->net_dev, net_dev 305 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 313 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 321 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 330 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 338 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 346 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 354 drivers/net/ethernet/sfc/selftest.c netif_vdbg(efx, drv, efx->net_dev, net_dev 363 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, "received packet:\n"); net_dev 366 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, "expected packet:\n"); net_dev 378 drivers/net/ethernet/sfc/selftest.c struct net_device *net_dev = efx->net_dev; net_dev 382 drivers/net/ethernet/sfc/selftest.c ether_addr_copy((u8 *)&payload->header.h_dest, net_dev->dev_addr); net_dev 439 drivers/net/ethernet/sfc/selftest.c netif_tx_lock_bh(efx->net_dev); net_dev 441 drivers/net/ethernet/sfc/selftest.c netif_tx_unlock_bh(efx->net_dev); net_dev 444 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 475 drivers/net/ethernet/sfc/selftest.c netif_tx_lock_bh(efx->net_dev); net_dev 486 drivers/net/ethernet/sfc/selftest.c netif_tx_unlock_bh(efx->net_dev); net_dev 495 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 506 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 542 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 569 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, drv, efx->net_dev, net_dev 645 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 653 drivers/net/ethernet/sfc/selftest.c netif_err(efx, drv, efx->net_dev, net_dev 734 drivers/net/ethernet/sfc/selftest.c netif_err(efx, hw, efx->net_dev, net_dev 796 drivers/net/ethernet/sfc/selftest.c netif_err(efx, ifup, efx->net_dev, net_dev 800 drivers/net/ethernet/sfc/selftest.c netif_dbg(efx, ifup, efx->net_dev, net_dev 221 drivers/net/ethernet/sfc/siena.c rc = efx_mcdi_get_board_cfg(efx, efx->net_dev->perm_addr, NULL, &caps); net_dev 270 drivers/net/ethernet/sfc/siena.c netif_err(efx, probe, efx->net_dev, net_dev 289 drivers/net/ethernet/sfc/siena.c netif_err(efx, probe, efx->net_dev, "failed to reset NIC\n"); net_dev 302 drivers/net/ethernet/sfc/siena.c netif_dbg(efx, probe, efx->net_dev, net_dev 311 drivers/net/ethernet/sfc/siena.c netif_err(efx, probe, efx->net_dev, net_dev 687 drivers/net/ethernet/sfc/siena.c rc = efx_mcdi_wol_filter_set_magic(efx, efx->net_dev->dev_addr, net_dev 703 drivers/net/ethernet/sfc/siena.c netif_err(efx, hw, efx->net_dev, "%s failed: type=%d rc=%d\n", net_dev 310 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, "Removed vf %s tx filter %d\n", net_dev 333 drivers/net/ethernet/sfc/siena_sriov.c netif_warn(efx, hw, efx->net_dev, net_dev 337 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, "Inserted vf %s tx filter %d\n", net_dev 354 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, "Removed vf %s rx filter %d\n", net_dev 373 drivers/net/ethernet/sfc/siena_sriov.c netif_warn(efx, hw, efx->net_dev, net_dev 377 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, "Inserted vf %s rx filter %d\n", net_dev 541 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 584 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 625 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 769 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 816 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 889 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 899 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, net_dev 904 drivers/net/ethernet/sfc/siena_sriov.c netif_dbg(efx, hw, efx->net_dev, net_dev 979 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 1021 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, drv, efx->net_dev, net_dev 1059 drivers/net/ethernet/sfc/siena_sriov.c netif_info(efx, probe, efx->net_dev, "no SR-IOV VFs probed\n"); net_dev 1287 drivers/net/ethernet/sfc/siena_sriov.c struct net_device *net_dev = efx->net_dev; net_dev 1332 drivers/net/ethernet/sfc/siena_sriov.c ether_addr_copy(vfdi_status->peers[0].mac_addr, net_dev->dev_addr); net_dev 1344 drivers/net/ethernet/sfc/siena_sriov.c netif_info(efx, probe, net_dev, net_dev 1415 drivers/net/ethernet/sfc/siena_sriov.c netif_vdbg(efx, hw, efx->net_dev, net_dev 1450 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 1466 drivers/net/ethernet/sfc/siena_sriov.c netif_info(efx, hw, efx->net_dev, net_dev 1484 drivers/net/ethernet/sfc/siena_sriov.c efx->net_dev->dev_addr); net_dev 1543 drivers/net/ethernet/sfc/siena_sriov.c netif_err(efx, hw, efx->net_dev, net_dev 11 drivers/net/ethernet/sfc/sriov.c int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) net_dev 13 drivers/net/ethernet/sfc/sriov.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 21 drivers/net/ethernet/sfc/sriov.c int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, net_dev 24 drivers/net/ethernet/sfc/sriov.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 40 drivers/net/ethernet/sfc/sriov.c int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, net_dev 43 drivers/net/ethernet/sfc/sriov.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 51 drivers/net/ethernet/sfc/sriov.c int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, net_dev 54 drivers/net/ethernet/sfc/sriov.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 62 drivers/net/ethernet/sfc/sriov.c int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, net_dev 65 drivers/net/ethernet/sfc/sriov.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 14 drivers/net/ethernet/sfc/sriov.h int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac); net_dev 15 drivers/net/ethernet/sfc/sriov.h int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, net_dev 17 drivers/net/ethernet/sfc/sriov.h int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, net_dev 19 drivers/net/ethernet/sfc/sriov.h int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, net_dev 21 drivers/net/ethernet/sfc/sriov.h int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, net_dev 95 drivers/net/ethernet/sfc/tx.c netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, net_dev 621 drivers/net/ethernet/sfc/tx.c netif_err(efx, tx_err, efx->net_dev, net_dev 645 drivers/net/ethernet/sfc/tx.c struct net_device *net_dev) net_dev 647 drivers/net/ethernet/sfc/tx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 651 drivers/net/ethernet/sfc/tx.c EFX_WARN_ON_PARANOID(!netif_device_present(net_dev)); net_dev 676 drivers/net/ethernet/sfc/tx.c netdev_get_tx_queue(efx->net_dev, net_dev 682 drivers/net/ethernet/sfc/tx.c int efx_setup_tc(struct net_device *net_dev, enum tc_setup_type type, net_dev 685 drivers/net/ethernet/sfc/tx.c struct efx_nic *efx = netdev_priv(net_dev); net_dev 702 drivers/net/ethernet/sfc/tx.c if (num_tc == net_dev->num_tc) net_dev 706 drivers/net/ethernet/sfc/tx.c net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels; net_dev 707 drivers/net/ethernet/sfc/tx.c net_dev->tc_to_txq[tc].count = efx->n_tx_channels; net_dev 710 drivers/net/ethernet/sfc/tx.c if (num_tc > net_dev->num_tc) { net_dev 729 drivers/net/ethernet/sfc/tx.c net_dev->num_tc = num_tc; net_dev 732 drivers/net/ethernet/sfc/tx.c rc = netif_set_real_num_tx_queues(net_dev, net_dev 744 drivers/net/ethernet/sfc/tx.c net_dev->num_tc = num_tc; net_dev 771 drivers/net/ethernet/sfc/tx.c likely(netif_device_present(efx->net_dev))) { net_dev 806 drivers/net/ethernet/sfc/tx.c netif_dbg(efx, probe, efx->net_dev, net_dev 843 drivers/net/ethernet/sfc/tx.c netif_dbg(efx, drv, efx->net_dev, net_dev 875 drivers/net/ethernet/sfc/tx.c netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, net_dev 900 drivers/net/ethernet/sfc/tx.c netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, net_dev 431 drivers/net/ethernet/sfc/tx_tso.c netif_err(efx, tx_err, efx->net_dev, net_dev 434 drivers/net/ethernet/sfc/tx_tso.c netif_err(efx, tx_err, efx->net_dev, "TSO failed, rc = %d\n", rc); net_dev 119 drivers/net/ethernet/sis/sis900.c static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex); net_dev 217 drivers/net/ethernet/sis/sis900.c static int sis900_open(struct net_device *net_dev); net_dev 218 drivers/net/ethernet/sis/sis900.c static int sis900_mii_probe (struct net_device * net_dev); net_dev 219 drivers/net/ethernet/sis/sis900.c static void sis900_init_rxfilter (struct net_device * net_dev); net_dev 221 drivers/net/ethernet/sis/sis900.c static int mdio_read(struct net_device *net_dev, int phy_id, int location); net_dev 222 drivers/net/ethernet/sis/sis900.c static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); net_dev 224 drivers/net/ethernet/sis/sis900.c static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); net_dev 225 drivers/net/ethernet/sis/sis900.c static void sis900_tx_timeout(struct net_device *net_dev); net_dev 226 drivers/net/ethernet/sis/sis900.c static void sis900_init_tx_ring(struct net_device *net_dev); net_dev 227 drivers/net/ethernet/sis/sis900.c static void sis900_init_rx_ring(struct net_device *net_dev); net_dev 229 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev); net_dev 230 drivers/net/ethernet/sis/sis900.c static int sis900_rx(struct net_device *net_dev); net_dev 231 drivers/net/ethernet/sis/sis900.c static void sis900_finish_xmit (struct net_device *net_dev); net_dev 233 drivers/net/ethernet/sis/sis900.c static int sis900_close(struct net_device *net_dev); net_dev 234 drivers/net/ethernet/sis/sis900.c static int mii_ioctl(struct net_device *net_dev, struct ifreq *rq, int cmd); net_dev 236 drivers/net/ethernet/sis/sis900.c static void set_rx_mode(struct net_device *net_dev); net_dev 237 drivers/net/ethernet/sis/sis900.c static void sis900_reset(struct net_device *net_dev); net_dev 238 drivers/net/ethernet/sis/sis900.c static void sis630_set_eq(struct net_device *net_dev, u8 revision); net_dev 240 drivers/net/ethernet/sis/sis900.c static u16 sis900_default_phy(struct net_device * net_dev); net_dev 241 drivers/net/ethernet/sis/sis900.c static void sis900_set_capability( struct net_device *net_dev ,struct mii_phy *phy); net_dev 242 drivers/net/ethernet/sis/sis900.c static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr); net_dev 243 drivers/net/ethernet/sis/sis900.c static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr); net_dev 257 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev) net_dev 259 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 274 drivers/net/ethernet/sis/sis900.c ((u16 *)(net_dev->dev_addr))[i] = read_eeprom(ioaddr, i+EEPROMMACAddr); net_dev 290 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev) net_dev 309 drivers/net/ethernet/sis/sis900.c ((u8 *)(net_dev->dev_addr))[i] = inb(0x71); net_dev 330 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev) net_dev 332 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 348 drivers/net/ethernet/sis/sis900.c *( ((u16 *)net_dev->dev_addr) + i) = sr16(rfdr); net_dev 374 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev) net_dev 376 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 383 drivers/net/ethernet/sis/sis900.c u16 *mac = (u16 *)net_dev->dev_addr; net_dev 429 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev; net_dev 458 drivers/net/ethernet/sis/sis900.c net_dev = alloc_etherdev(sizeof(struct sis900_private)); net_dev 459 drivers/net/ethernet/sis/sis900.c if (!net_dev) net_dev 461 drivers/net/ethernet/sis/sis900.c SET_NETDEV_DEV(net_dev, &pci_dev->dev); net_dev 475 drivers/net/ethernet/sis/sis900.c sis_priv = netdev_priv(net_dev); net_dev 482 drivers/net/ethernet/sis/sis900.c pci_set_drvdata(pci_dev, net_dev); net_dev 501 drivers/net/ethernet/sis/sis900.c net_dev->netdev_ops = &sis900_netdev_ops; net_dev 502 drivers/net/ethernet/sis/sis900.c net_dev->watchdog_timeo = TX_TIMEOUT; net_dev 503 drivers/net/ethernet/sis/sis900.c net_dev->ethtool_ops = &sis900_ethtool_ops; net_dev 510 drivers/net/ethernet/sis/sis900.c sis_priv->mii_info.dev = net_dev; net_dev 525 drivers/net/ethernet/sis/sis900.c ret = sis630e_get_mac_addr(pci_dev, net_dev); net_dev 527 drivers/net/ethernet/sis/sis900.c ret = sis635_get_mac_addr(pci_dev, net_dev); net_dev 529 drivers/net/ethernet/sis/sis900.c ret = sis96x_get_mac_addr(pci_dev, net_dev); net_dev 531 drivers/net/ethernet/sis/sis900.c ret = sis900_get_mac_addr(pci_dev, net_dev); net_dev 533 drivers/net/ethernet/sis/sis900.c if (!ret || !is_valid_ether_addr(net_dev->dev_addr)) { net_dev 534 drivers/net/ethernet/sis/sis900.c eth_hw_addr_random(net_dev); net_dev 544 drivers/net/ethernet/sis/sis900.c if (sis900_mii_probe(net_dev) == 0) { net_dev 558 drivers/net/ethernet/sis/sis900.c ret = register_netdev(net_dev); net_dev 564 drivers/net/ethernet/sis/sis900.c net_dev->name, card_name, ioaddr, pci_dev->irq, net_dev 565 drivers/net/ethernet/sis/sis900.c net_dev->dev_addr); net_dev 570 drivers/net/ethernet/sis/sis900.c printk(KERN_INFO "%s: Wake on LAN only available from suspend to RAM.", net_dev->name); net_dev 585 drivers/net/ethernet/sis/sis900.c free_netdev(net_dev); net_dev 598 drivers/net/ethernet/sis/sis900.c static int sis900_mii_probe(struct net_device *net_dev) net_dev 600 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 616 drivers/net/ethernet/sis/sis900.c mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); net_dev 637 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id0 = mdio_read(net_dev, phy_addr, MII_PHY_ID0); net_dev 638 drivers/net/ethernet/sis/sis900.c mii_phy->phy_id1 = mdio_read(net_dev, phy_addr, MII_PHY_ID1); net_dev 674 drivers/net/ethernet/sis/sis900.c sis900_default_phy( net_dev ); net_dev 679 drivers/net/ethernet/sis/sis900.c status = sis900_reset_phy(net_dev, sis_priv->cur_phy); net_dev 684 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200); net_dev 690 drivers/net/ethernet/sis/sis900.c poll_bit ^= (mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS) & poll_bit); net_dev 701 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1); net_dev 702 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22); net_dev 703 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00); net_dev 704 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0); net_dev 709 drivers/net/ethernet/sis/sis900.c netif_carrier_on(net_dev); net_dev 711 drivers/net/ethernet/sis/sis900.c netif_carrier_off(net_dev); net_dev 725 drivers/net/ethernet/sis/sis900.c static u16 sis900_default_phy(struct net_device * net_dev) net_dev 727 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 733 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); net_dev 734 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); net_dev 741 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_CONTROL); net_dev 742 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy->phy_addr, MII_CONTROL, net_dev 767 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, sis_priv->cur_phy, MII_CONTROL); net_dev 770 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, status); net_dev 771 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); net_dev 772 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); net_dev 787 drivers/net/ethernet/sis/sis900.c static void sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) net_dev 792 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); net_dev 793 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); net_dev 801 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy->phy_addr, MII_ANADV, cap); net_dev 896 drivers/net/ethernet/sis/sis900.c static int mdio_read(struct net_device *net_dev, int phy_id, int location) net_dev 899 drivers/net/ethernet/sis/sis900.c struct sis900_private *sp = netdev_priv(net_dev); net_dev 941 drivers/net/ethernet/sis/sis900.c static void mdio_write(struct net_device *net_dev, int phy_id, int location, net_dev 945 drivers/net/ethernet/sis/sis900.c struct sis900_private *sp = netdev_priv(net_dev); net_dev 995 drivers/net/ethernet/sis/sis900.c static u16 sis900_reset_phy(struct net_device *net_dev, int phy_addr) net_dev 1001 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); net_dev 1003 drivers/net/ethernet/sis/sis900.c mdio_write( net_dev, phy_addr, MII_CONTROL, MII_CNTL_RESET ); net_dev 1034 drivers/net/ethernet/sis/sis900.c sis900_open(struct net_device *net_dev) net_dev 1036 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1041 drivers/net/ethernet/sis/sis900.c sis900_reset(net_dev); net_dev 1044 drivers/net/ethernet/sis/sis900.c sis630_set_eq(net_dev, sis_priv->chipset_rev); net_dev 1047 drivers/net/ethernet/sis/sis900.c net_dev->name, net_dev); net_dev 1051 drivers/net/ethernet/sis/sis900.c sis900_init_rxfilter(net_dev); net_dev 1053 drivers/net/ethernet/sis/sis900.c sis900_init_tx_ring(net_dev); net_dev 1054 drivers/net/ethernet/sis/sis900.c sis900_init_rx_ring(net_dev); net_dev 1056 drivers/net/ethernet/sis/sis900.c set_rx_mode(net_dev); net_dev 1058 drivers/net/ethernet/sis/sis900.c netif_start_queue(net_dev); net_dev 1068 drivers/net/ethernet/sis/sis900.c sis900_check_mode(net_dev, sis_priv->mii); net_dev 1088 drivers/net/ethernet/sis/sis900.c sis900_init_rxfilter (struct net_device * net_dev) net_dev 1090 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1102 drivers/net/ethernet/sis/sis900.c u32 w = (u32) *((u16 *)(net_dev->dev_addr)+i); net_dev 1109 drivers/net/ethernet/sis/sis900.c net_dev->name, i, sr32(rfdr)); net_dev 1125 drivers/net/ethernet/sis/sis900.c sis900_init_tx_ring(struct net_device *net_dev) net_dev 1127 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1147 drivers/net/ethernet/sis/sis900.c net_dev->name, sr32(txdp)); net_dev 1159 drivers/net/ethernet/sis/sis900.c sis900_init_rx_ring(struct net_device *net_dev) net_dev 1161 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1182 drivers/net/ethernet/sis/sis900.c if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { net_dev 1206 drivers/net/ethernet/sis/sis900.c net_dev->name, sr32(rxdp)); net_dev 1236 drivers/net/ethernet/sis/sis900.c static void sis630_set_eq(struct net_device *net_dev, u8 revision) net_dev 1238 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1246 drivers/net/ethernet/sis/sis900.c if (netif_carrier_ok(net_dev)) { net_dev 1247 drivers/net/ethernet/sis/sis900.c reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); net_dev 1248 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, net_dev 1251 drivers/net/ethernet/sis/sis900.c eq_value = (0x00F8 & mdio_read(net_dev, net_dev 1282 drivers/net/ethernet/sis/sis900.c reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); net_dev 1285 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, reg14h); net_dev 1287 drivers/net/ethernet/sis/sis900.c reg14h = mdio_read(net_dev, sis_priv->cur_phy, MII_RESV); net_dev 1291 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, net_dev 1294 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, sis_priv->cur_phy, MII_RESV, net_dev 1310 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev = sis_priv->mii_info.dev; net_dev 1316 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); net_dev 1317 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); net_dev 1320 drivers/net/ethernet/sis/sis900.c if (!netif_carrier_ok(net_dev)) { net_dev 1323 drivers/net/ethernet/sis/sis900.c status = sis900_default_phy(net_dev); net_dev 1329 drivers/net/ethernet/sis/sis900.c sis900_read_mode(net_dev, &speed, &duplex); net_dev 1332 drivers/net/ethernet/sis/sis900.c sis630_set_eq(net_dev, sis_priv->chipset_rev); net_dev 1333 drivers/net/ethernet/sis/sis900.c netif_carrier_on(net_dev); net_dev 1339 drivers/net/ethernet/sis/sis900.c netif_carrier_off(net_dev); net_dev 1341 drivers/net/ethernet/sis/sis900.c printk(KERN_INFO "%s: Media Link Off\n", net_dev->name); net_dev 1346 drivers/net/ethernet/sis/sis900.c sis900_reset_phy(net_dev, sis_priv->cur_phy); net_dev 1348 drivers/net/ethernet/sis/sis900.c sis630_set_eq(net_dev, sis_priv->chipset_rev); net_dev 1370 drivers/net/ethernet/sis/sis900.c static void sis900_check_mode(struct net_device *net_dev, struct mii_phy *mii_phy) net_dev 1372 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1378 drivers/net/ethernet/sis/sis900.c sis900_set_capability(net_dev , mii_phy); net_dev 1379 drivers/net/ethernet/sis/sis900.c sis900_auto_negotiate(net_dev, sis_priv->cur_phy); net_dev 1450 drivers/net/ethernet/sis/sis900.c static void sis900_auto_negotiate(struct net_device *net_dev, int phy_addr) net_dev 1452 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1457 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); net_dev 1461 drivers/net/ethernet/sis/sis900.c printk(KERN_INFO "%s: Media Link Off\n", net_dev->name); net_dev 1463 drivers/net/ethernet/sis/sis900.c netif_carrier_off(net_dev); net_dev 1468 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, phy_addr, MII_CONTROL, net_dev 1485 drivers/net/ethernet/sis/sis900.c static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex) net_dev 1487 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1495 drivers/net/ethernet/sis/sis900.c status = mdio_read(net_dev, phy_addr, MII_STATUS); net_dev 1501 drivers/net/ethernet/sis/sis900.c autoadv = mdio_read(net_dev, phy_addr, MII_ANADV); net_dev 1502 drivers/net/ethernet/sis/sis900.c autorec = mdio_read(net_dev, phy_addr, MII_ANLPAR); net_dev 1517 drivers/net/ethernet/sis/sis900.c if (mdio_read(net_dev, phy_addr, MII_CONTROL) & MII_CNTL_FDX) net_dev 1519 drivers/net/ethernet/sis/sis900.c if (mdio_read(net_dev, phy_addr, 0x0019) & 0x01) net_dev 1525 drivers/net/ethernet/sis/sis900.c net_dev->name, net_dev 1540 drivers/net/ethernet/sis/sis900.c static void sis900_tx_timeout(struct net_device *net_dev) net_dev 1542 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1549 drivers/net/ethernet/sis/sis900.c net_dev->name, sr32(cr), sr32(isr)); net_dev 1571 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_dropped++; net_dev 1575 drivers/net/ethernet/sis/sis900.c netif_wake_queue(net_dev); net_dev 1579 drivers/net/ethernet/sis/sis900.c netif_trans_update(net_dev); /* prevent tx timeout */ net_dev 1599 drivers/net/ethernet/sis/sis900.c sis900_start_xmit(struct sk_buff *skb, struct net_device *net_dev) net_dev 1601 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1621 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_dropped++; net_dev 1638 drivers/net/ethernet/sis/sis900.c netif_stop_queue(net_dev); net_dev 1641 drivers/net/ethernet/sis/sis900.c netif_start_queue(net_dev); net_dev 1645 drivers/net/ethernet/sis/sis900.c netif_stop_queue(net_dev); net_dev 1653 drivers/net/ethernet/sis/sis900.c net_dev->name, skb->data, (int)skb->len, entry); net_dev 1669 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev = dev_instance; net_dev 1670 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1689 drivers/net/ethernet/sis/sis900.c sis900_rx(net_dev); net_dev 1693 drivers/net/ethernet/sis/sis900.c sis900_finish_xmit(net_dev); net_dev 1699 drivers/net/ethernet/sis/sis900.c "status %#8.8x.\n", net_dev->name, status); net_dev 1706 drivers/net/ethernet/sis/sis900.c net_dev->name, status); net_dev 1714 drivers/net/ethernet/sis/sis900.c net_dev->name, sr32(isr)); net_dev 1730 drivers/net/ethernet/sis/sis900.c static int sis900_rx(struct net_device *net_dev) net_dev 1732 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1765 drivers/net/ethernet/sis/sis900.c net_dev->name, rx_status, data_size); net_dev 1766 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_errors++; net_dev 1768 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_over_errors++; net_dev 1770 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_length_errors++; net_dev 1772 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_frame_errors++; net_dev 1774 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_crc_errors++; net_dev 1787 drivers/net/ethernet/sis/sis900.c if ((skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE)) == NULL) { net_dev 1795 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_dropped++; net_dev 1807 drivers/net/ethernet/sis/sis900.c net_dev->name, sis_priv->cur_rx, net_dev 1816 drivers/net/ethernet/sis/sis900.c rx_skb->protocol = eth_type_trans(rx_skb, net_dev); net_dev 1821 drivers/net/ethernet/sis/sis900.c net_dev->stats.multicast++; net_dev 1822 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_bytes += rx_size; net_dev 1823 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_packets++; net_dev 1851 drivers/net/ethernet/sis/sis900.c skb = netdev_alloc_skb(net_dev, RX_BUF_SIZE); net_dev 1857 drivers/net/ethernet/sis/sis900.c net_dev->stats.rx_dropped++; net_dev 1889 drivers/net/ethernet/sis/sis900.c static void sis900_finish_xmit (struct net_device *net_dev) net_dev 1891 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1913 drivers/net/ethernet/sis/sis900.c net_dev->name, tx_status); net_dev 1914 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_errors++; net_dev 1916 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_fifo_errors++; net_dev 1918 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_aborted_errors++; net_dev 1920 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_carrier_errors++; net_dev 1922 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_window_errors++; net_dev 1925 drivers/net/ethernet/sis/sis900.c net_dev->stats.collisions += (tx_status & COLCNT) >> 16; net_dev 1926 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_bytes += tx_status & DSIZE; net_dev 1927 drivers/net/ethernet/sis/sis900.c net_dev->stats.tx_packets++; net_dev 1940 drivers/net/ethernet/sis/sis900.c if (sis_priv->tx_full && netif_queue_stopped(net_dev) && net_dev 1945 drivers/net/ethernet/sis/sis900.c netif_wake_queue (net_dev); net_dev 1957 drivers/net/ethernet/sis/sis900.c static int sis900_close(struct net_device *net_dev) net_dev 1959 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 1965 drivers/net/ethernet/sis/sis900.c netif_stop_queue(net_dev); net_dev 1976 drivers/net/ethernet/sis/sis900.c free_irq(pdev->irq, net_dev); net_dev 2011 drivers/net/ethernet/sis/sis900.c static void sis900_get_drvinfo(struct net_device *net_dev, net_dev 2014 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2022 drivers/net/ethernet/sis/sis900.c static u32 sis900_get_msglevel(struct net_device *net_dev) net_dev 2024 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2028 drivers/net/ethernet/sis/sis900.c static void sis900_set_msglevel(struct net_device *net_dev, u32 value) net_dev 2030 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2034 drivers/net/ethernet/sis/sis900.c static u32 sis900_get_link(struct net_device *net_dev) net_dev 2036 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2040 drivers/net/ethernet/sis/sis900.c static int sis900_get_link_ksettings(struct net_device *net_dev, net_dev 2043 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2050 drivers/net/ethernet/sis/sis900.c static int sis900_set_link_ksettings(struct net_device *net_dev, net_dev 2053 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2061 drivers/net/ethernet/sis/sis900.c static int sis900_nway_reset(struct net_device *net_dev) net_dev 2063 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2078 drivers/net/ethernet/sis/sis900.c static int sis900_set_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) net_dev 2080 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2090 drivers/net/ethernet/sis/sis900.c printk(KERN_DEBUG "%s: Wake on LAN disabled\n", net_dev->name); net_dev 2109 drivers/net/ethernet/sis/sis900.c printk(KERN_DEBUG "%s: Wake on LAN enabled\n", net_dev->name); net_dev 2114 drivers/net/ethernet/sis/sis900.c static void sis900_get_wol(struct net_device *net_dev, struct ethtool_wolinfo *wol) net_dev 2116 drivers/net/ethernet/sis/sis900.c struct sis900_private *sp = netdev_priv(net_dev); net_dev 2136 drivers/net/ethernet/sis/sis900.c static int sis900_read_eeprom(struct net_device *net_dev, u8 *buf) net_dev 2138 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2214 drivers/net/ethernet/sis/sis900.c static int mii_ioctl(struct net_device *net_dev, struct ifreq *rq, int cmd) net_dev 2216 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2225 drivers/net/ethernet/sis/sis900.c data->val_out = mdio_read(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f); net_dev 2229 drivers/net/ethernet/sis/sis900.c mdio_write(net_dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in); net_dev 2367 drivers/net/ethernet/sis/sis900.c static void set_rx_mode(struct net_device *net_dev) net_dev 2369 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2382 drivers/net/ethernet/sis/sis900.c if (net_dev->flags & IFF_PROMISC) { net_dev 2387 drivers/net/ethernet/sis/sis900.c } else if ((netdev_mc_count(net_dev) > multicast_filter_limit) || net_dev 2388 drivers/net/ethernet/sis/sis900.c (net_dev->flags & IFF_ALLMULTI)) { net_dev 2400 drivers/net/ethernet/sis/sis900.c netdev_for_each_mc_addr(ha, net_dev) { net_dev 2420 drivers/net/ethernet/sis/sis900.c if (net_dev->flags & IFF_LOOPBACK) { net_dev 2442 drivers/net/ethernet/sis/sis900.c static void sis900_reset(struct net_device *net_dev) net_dev 2444 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2475 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev = pci_get_drvdata(pci_dev); net_dev 2476 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2478 drivers/net/ethernet/sis/sis900.c unregister_netdev(net_dev); net_dev 2492 drivers/net/ethernet/sis/sis900.c free_netdev(net_dev); net_dev 2500 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev = pci_get_drvdata(pci_dev); net_dev 2501 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2504 drivers/net/ethernet/sis/sis900.c if(!netif_running(net_dev)) net_dev 2507 drivers/net/ethernet/sis/sis900.c netif_stop_queue(net_dev); net_dev 2508 drivers/net/ethernet/sis/sis900.c netif_device_detach(net_dev); net_dev 2521 drivers/net/ethernet/sis/sis900.c struct net_device *net_dev = pci_get_drvdata(pci_dev); net_dev 2522 drivers/net/ethernet/sis/sis900.c struct sis900_private *sis_priv = netdev_priv(net_dev); net_dev 2525 drivers/net/ethernet/sis/sis900.c if(!netif_running(net_dev)) net_dev 2530 drivers/net/ethernet/sis/sis900.c sis900_init_rxfilter(net_dev); net_dev 2532 drivers/net/ethernet/sis/sis900.c sis900_init_tx_ring(net_dev); net_dev 2533 drivers/net/ethernet/sis/sis900.c sis900_init_rx_ring(net_dev); net_dev 2535 drivers/net/ethernet/sis/sis900.c set_rx_mode(net_dev); net_dev 2537 drivers/net/ethernet/sis/sis900.c netif_device_attach(net_dev); net_dev 2538 drivers/net/ethernet/sis/sis900.c netif_start_queue(net_dev); net_dev 2548 drivers/net/ethernet/sis/sis900.c sis900_check_mode(net_dev, sis_priv->mii); net_dev 1243 drivers/net/ethernet/sun/sunbmac.c struct net_device *net_dev = bp->dev; net_dev 1248 drivers/net/ethernet/sun/sunbmac.c unregister_netdev(net_dev); net_dev 1259 drivers/net/ethernet/sun/sunbmac.c free_netdev(net_dev); net_dev 3219 drivers/net/ethernet/sun/sunhme.c struct net_device *net_dev = hp->dev; net_dev 3221 drivers/net/ethernet/sun/sunhme.c unregister_netdev(net_dev); net_dev 3228 drivers/net/ethernet/sun/sunhme.c free_netdev(net_dev); net_dev 3289 drivers/net/ethernet/sun/sunhme.c struct net_device *net_dev = hp->dev; net_dev 3291 drivers/net/ethernet/sun/sunhme.c unregister_netdev(net_dev); net_dev 3305 drivers/net/ethernet/sun/sunhme.c free_netdev(net_dev); net_dev 939 drivers/net/ethernet/sun/sunqe.c struct net_device *net_dev = qp->dev; net_dev 941 drivers/net/ethernet/sun/sunqe.c unregister_netdev(net_dev); net_dev 950 drivers/net/ethernet/sun/sunqe.c free_netdev(net_dev); net_dev 1375 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c static int gelic_wl_get_nick(struct net_device *net_dev, net_dev 217 drivers/net/hyperv/hyperv_net.h struct netvsc_device *net_dev, net_dev 461 drivers/net/hyperv/rndis_filter.c struct netvsc_device *net_dev, net_dev 473 drivers/net/hyperv/rndis_filter.c return rndis_filter_receive_data(ndev, net_dev, nvchan, net_dev 479 drivers/net/hyperv/rndis_filter.c rndis_filter_receive_response(ndev, net_dev, rndis_msg); net_dev 1432 drivers/net/hyperv/rndis_filter.c struct netvsc_device *net_dev) net_dev 1434 drivers/net/hyperv/rndis_filter.c struct rndis_device *rndis_dev = net_dev->extension; net_dev 1437 drivers/net/hyperv/rndis_filter.c rndis_filter_halt_device(net_dev, rndis_dev); net_dev 393 drivers/net/wimax/i2400m/control.c struct net_device *net_dev = wimax_dev->net_dev; net_dev 400 drivers/net/wimax/i2400m/control.c netif_carrier_on(net_dev); net_dev 403 drivers/net/wimax/i2400m/control.c netif_carrier_off(net_dev); net_dev 411 drivers/net/wimax/i2400m/control.c netif_carrier_on(net_dev); net_dev 26 drivers/net/wimax/i2400m/debugfs.c *val = netif_queue_stopped(i2400m->wimax_dev.net_dev); net_dev 209 drivers/net/wimax/i2400m/driver.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 224 drivers/net/wimax/i2400m/driver.c if (!memcmp(net_dev->perm_addr, ddi->mac_address, net_dev 230 drivers/net/wimax/i2400m/driver.c dev_warn(dev, "boot mode reported %pM\n", net_dev->perm_addr); net_dev 236 drivers/net/wimax/i2400m/driver.c net_dev->addr_len = ETH_ALEN; net_dev 237 drivers/net/wimax/i2400m/driver.c memcpy(net_dev->perm_addr, ddi->mac_address, ETH_ALEN); net_dev 238 drivers/net/wimax/i2400m/driver.c memcpy(net_dev->dev_addr, ddi->mac_address, ETH_ALEN); net_dev 273 drivers/net/wimax/i2400m/driver.c struct net_device *net_dev = wimax_dev->net_dev; net_dev 328 drivers/net/wimax/i2400m/driver.c net_dev, i2400m, result); net_dev 352 drivers/net/wimax/i2400m/driver.c net_dev, i2400m, result); net_dev 495 drivers/net/wimax/i2400m/driver.c netif_tx_disable(i2400m->wimax_dev.net_dev); net_dev 817 drivers/net/wimax/i2400m/driver.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 824 drivers/net/wimax/i2400m/driver.c if (net_dev->reg_state == NETREG_REGISTERED) { net_dev 825 drivers/net/wimax/i2400m/driver.c netif_tx_disable(net_dev); net_dev 826 drivers/net/wimax/i2400m/driver.c netif_carrier_off(net_dev); net_dev 849 drivers/net/wimax/i2400m/driver.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 885 drivers/net/wimax/i2400m/driver.c result = register_netdev(net_dev); /* Okey dokey, bring it up */ net_dev 891 drivers/net/wimax/i2400m/driver.c netif_carrier_off(net_dev); net_dev 897 drivers/net/wimax/i2400m/driver.c result = wimax_dev_add(&i2400m->wimax_dev, net_dev); net_dev 902 drivers/net/wimax/i2400m/driver.c result = sysfs_create_group(&net_dev->dev.kobj, &i2400m_dev_attr_group); net_dev 918 drivers/net/wimax/i2400m/driver.c sysfs_remove_group(&i2400m->wimax_dev.net_dev->dev.kobj, net_dev 923 drivers/net/wimax/i2400m/driver.c unregister_netdev(net_dev); net_dev 949 drivers/net/wimax/i2400m/driver.c netif_stop_queue(i2400m->wimax_dev.net_dev); net_dev 957 drivers/net/wimax/i2400m/driver.c sysfs_remove_group(&i2400m->wimax_dev.net_dev->dev.kobj, net_dev 960 drivers/net/wimax/i2400m/driver.c unregister_netdev(i2400m->wimax_dev.net_dev); net_dev 1026 drivers/net/wimax/i2400m/fw.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 1054 drivers/net/wimax/i2400m/fw.c net_dev->addr_len = ETH_ALEN; net_dev 1055 drivers/net/wimax/i2400m/fw.c memcpy(net_dev->dev_addr, ack_buf.ack_pl, ETH_ALEN); net_dev 672 drivers/net/wimax/i2400m/i2400m.h struct i2400m *net_dev_to_i2400m(struct net_device *net_dev) net_dev 674 drivers/net/wimax/i2400m/i2400m.h return wimax_dev_to_i2400m(netdev_priv(net_dev)); net_dev 794 drivers/net/wimax/i2400m/i2400m.h void i2400m_netdev_setup(struct net_device *net_dev); net_dev 862 drivers/net/wimax/i2400m/i2400m.h dev_hold(i2400m->wimax_dev.net_dev); net_dev 869 drivers/net/wimax/i2400m/i2400m.h dev_put(i2400m->wimax_dev.net_dev); net_dev 896 drivers/net/wimax/i2400m/i2400m.h return i2400m->wimax_dev.net_dev->dev.parent; net_dev 86 drivers/net/wimax/i2400m/netdev.c int i2400m_open(struct net_device *net_dev) net_dev 89 drivers/net/wimax/i2400m/netdev.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 92 drivers/net/wimax/i2400m/netdev.c d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400m); net_dev 101 drivers/net/wimax/i2400m/netdev.c net_dev, i2400m, result); net_dev 107 drivers/net/wimax/i2400m/netdev.c int i2400m_stop(struct net_device *net_dev) net_dev 109 drivers/net/wimax/i2400m/netdev.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 112 drivers/net/wimax/i2400m/netdev.c d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400m); net_dev 114 drivers/net/wimax/i2400m/netdev.c d_fnend(3, dev, "(net_dev %p [i2400m %p]) = 0\n", net_dev, i2400m); net_dev 142 drivers/net/wimax/i2400m/netdev.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 161 drivers/net/wimax/i2400m/netdev.c if (unlikely(!netif_carrier_ok(net_dev))) net_dev 174 drivers/net/wimax/i2400m/netdev.c net_dev->watchdog_timeo - HZ/2); net_dev 186 drivers/net/wimax/i2400m/netdev.c netif_wake_queue(net_dev); net_dev 260 drivers/net/wimax/i2400m/netdev.c int i2400m_net_wake_tx(struct i2400m *i2400m, struct net_device *net_dev, net_dev 267 drivers/net/wimax/i2400m/netdev.c d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev); net_dev 280 drivers/net/wimax/i2400m/netdev.c netif_stop_queue(net_dev); net_dev 296 drivers/net/wimax/i2400m/netdev.c skb, netif_queue_stopped(net_dev)); net_dev 299 drivers/net/wimax/i2400m/netdev.c d_fnend(3, dev, "(skb %p net_dev %p) = %d\n", skb, net_dev, result); net_dev 313 drivers/net/wimax/i2400m/netdev.c int i2400m_net_tx(struct i2400m *i2400m, struct net_device *net_dev, net_dev 320 drivers/net/wimax/i2400m/netdev.c i2400m, net_dev, skb); net_dev 322 drivers/net/wimax/i2400m/netdev.c netif_trans_update(net_dev); net_dev 329 drivers/net/wimax/i2400m/netdev.c i2400m, net_dev, skb, result); net_dev 354 drivers/net/wimax/i2400m/netdev.c struct net_device *net_dev) net_dev 356 drivers/net/wimax/i2400m/netdev.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 360 drivers/net/wimax/i2400m/netdev.c d_fnstart(3, dev, "(skb %p net_dev %p)\n", skb, net_dev); net_dev 366 drivers/net/wimax/i2400m/netdev.c result = i2400m_net_wake_tx(i2400m, net_dev, skb); net_dev 368 drivers/net/wimax/i2400m/netdev.c result = i2400m_net_tx(i2400m, net_dev, skb); net_dev 371 drivers/net/wimax/i2400m/netdev.c net_dev->stats.tx_dropped++; net_dev 373 drivers/net/wimax/i2400m/netdev.c net_dev->stats.tx_packets++; net_dev 374 drivers/net/wimax/i2400m/netdev.c net_dev->stats.tx_bytes += skb->len; net_dev 377 drivers/net/wimax/i2400m/netdev.c d_fnend(3, dev, "(skb %p net_dev %p) = %d\n", skb, net_dev, result); net_dev 383 drivers/net/wimax/i2400m/netdev.c void i2400m_tx_timeout(struct net_device *net_dev) net_dev 392 drivers/net/wimax/i2400m/netdev.c net_dev->stats.tx_errors++; net_dev 404 drivers/net/wimax/i2400m/netdev.c void i2400m_rx_fake_eth_header(struct net_device *net_dev, net_dev 407 drivers/net/wimax/i2400m/netdev.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 410 drivers/net/wimax/i2400m/netdev.c memcpy(eth_hdr->h_dest, net_dev->dev_addr, sizeof(eth_hdr->h_dest)); net_dev 456 drivers/net/wimax/i2400m/netdev.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 470 drivers/net/wimax/i2400m/netdev.c skb = __netdev_alloc_skb(net_dev, buf_len, GFP_KERNEL); net_dev 473 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_dropped++; net_dev 478 drivers/net/wimax/i2400m/netdev.c i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev, net_dev 482 drivers/net/wimax/i2400m/netdev.c skb->dev = i2400m->wimax_dev.net_dev; net_dev 484 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_packets++; net_dev 485 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_bytes += buf_len; net_dev 521 drivers/net/wimax/i2400m/netdev.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 529 drivers/net/wimax/i2400m/netdev.c i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev, net_dev 533 drivers/net/wimax/i2400m/netdev.c skb->dev = i2400m->wimax_dev.net_dev; net_dev 535 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_packets++; net_dev 536 drivers/net/wimax/i2400m/netdev.c net_dev->stats.rx_bytes += skb->len; net_dev 559 drivers/net/wimax/i2400m/netdev.c static void i2400m_get_drvinfo(struct net_device *net_dev, net_dev 562 drivers/net/wimax/i2400m/netdev.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 567 drivers/net/wimax/i2400m/netdev.c if (net_dev->dev.parent) net_dev 568 drivers/net/wimax/i2400m/netdev.c strlcpy(info->bus_info, dev_name(net_dev->dev.parent), net_dev 582 drivers/net/wimax/i2400m/netdev.c void i2400m_netdev_setup(struct net_device *net_dev) net_dev 584 drivers/net/wimax/i2400m/netdev.c d_fnstart(3, NULL, "(net_dev %p)\n", net_dev); net_dev 585 drivers/net/wimax/i2400m/netdev.c ether_setup(net_dev); net_dev 586 drivers/net/wimax/i2400m/netdev.c net_dev->mtu = I2400M_MAX_MTU; net_dev 587 drivers/net/wimax/i2400m/netdev.c net_dev->min_mtu = 0; net_dev 588 drivers/net/wimax/i2400m/netdev.c net_dev->max_mtu = I2400M_MAX_MTU; net_dev 589 drivers/net/wimax/i2400m/netdev.c net_dev->tx_queue_len = I2400M_TX_QLEN; net_dev 590 drivers/net/wimax/i2400m/netdev.c net_dev->features = net_dev 593 drivers/net/wimax/i2400m/netdev.c net_dev->flags = net_dev 597 drivers/net/wimax/i2400m/netdev.c net_dev->watchdog_timeo = I2400M_TX_TIMEOUT; net_dev 598 drivers/net/wimax/i2400m/netdev.c net_dev->netdev_ops = &i2400m_netdev_ops; net_dev 599 drivers/net/wimax/i2400m/netdev.c net_dev->ethtool_ops = &i2400m_ethtool_ops; net_dev 600 drivers/net/wimax/i2400m/netdev.c d_fnend(3, NULL, "(net_dev %p) = void\n", net_dev); net_dev 985 drivers/net/wimax/i2400m/rx.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 1011 drivers/net/wimax/i2400m/rx.c net_dev->stats.rx_dropped++; net_dev 334 drivers/net/wimax/i2400m/usb-rx.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 359 drivers/net/wimax/i2400m/usb-rx.c rx_skb = __netdev_alloc_skb(net_dev, rx_size, GFP_KERNEL); net_dev 328 drivers/net/wimax/i2400m/usb.c static void i2400mu_get_drvinfo(struct net_device *net_dev, net_dev 331 drivers/net/wimax/i2400m/usb.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 347 drivers/net/wimax/i2400m/usb.c void i2400mu_netdev_setup(struct net_device *net_dev) net_dev 349 drivers/net/wimax/i2400m/usb.c struct i2400m *i2400m = net_dev_to_i2400m(net_dev); net_dev 352 drivers/net/wimax/i2400m/usb.c i2400m_netdev_setup(net_dev); net_dev 353 drivers/net/wimax/i2400m/usb.c net_dev->ethtool_ops = &i2400mu_ethtool_ops; net_dev 414 drivers/net/wimax/i2400m/usb.c struct net_device *net_dev; net_dev 428 drivers/net/wimax/i2400m/usb.c net_dev = alloc_netdev(sizeof(*i2400mu), "wmx%d", NET_NAME_UNKNOWN, net_dev 430 drivers/net/wimax/i2400m/usb.c if (net_dev == NULL) { net_dev 434 drivers/net/wimax/i2400m/usb.c SET_NETDEV_DEV(net_dev, dev); net_dev 435 drivers/net/wimax/i2400m/usb.c SET_NETDEV_DEVTYPE(net_dev, &i2400mu_type); net_dev 436 drivers/net/wimax/i2400m/usb.c i2400m = net_dev_to_i2400m(net_dev); net_dev 438 drivers/net/wimax/i2400m/usb.c i2400m->wimax_dev.net_dev = net_dev; net_dev 507 drivers/net/wimax/i2400m/usb.c free_netdev(net_dev); net_dev 525 drivers/net/wimax/i2400m/usb.c struct net_device *net_dev = i2400m->wimax_dev.net_dev; net_dev 534 drivers/net/wimax/i2400m/usb.c free_netdev(net_dev); net_dev 544 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, net_dev 546 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, addr, val); net_dev 558 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, net_dev 563 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, net_dev 585 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_memory(priv->net_dev, addr, total_length, val); net_dev 609 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, net_dev 612 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, addr, *val); net_dev 694 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, priv->reset_backoff); net_dev 695 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_carrier_off(priv->net_dev); net_dev 696 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_stop_queue(priv->net_dev); net_dev 710 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 810 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 844 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, address, &data1); net_dev 852 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x32, net_dev 854 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x36, net_dev 856 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x32, net_dev 858 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_DOMAIN_1_OFFSET + 0x36, net_dev 926 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 934 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_RESET_REG, &r); net_dev 944 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_GP_CNTRL, net_dev 952 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_GP_CNTRL, &r); net_dev 961 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_GP_CNTRL, &r); net_dev 962 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_GP_CNTRL, net_dev 992 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, priv->fatal_error); net_dev 1000 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1009 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1020 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1027 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1032 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, net_dev 1036 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, 0); net_dev 1042 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1047 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, net_dev 1055 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1063 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1081 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, address, 0); net_dev 1084 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, address, 0); net_dev 1087 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, address, 0); net_dev 1090 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, address, 0); net_dev 1093 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_dword(priv->net_dev, address, 0); net_dev 1107 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_INTA_MASK, IPW_INTERRUPT_MASK); net_dev 1115 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_INTA_MASK, 0x0); net_dev 1124 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_ORDINALS_TABLE_1, net_dev 1127 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_ORDINALS_TABLE_2, net_dev 1130 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, ord->table1_addr, &ord->table1_size); net_dev 1131 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, ord->table2_addr, &ord->table2_size); net_dev 1149 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_GPIO, reg); net_dev 1169 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_GPIO, ®); net_dev 1205 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, addr + 0xFC, &val); net_dev 1216 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, addr + 0x20, &val); net_dev 1250 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1264 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, 0); net_dev 1273 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_INTA, &inta); net_dev 1278 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_INTA, net_dev 1289 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_INTA, net_dev 1297 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_INTA, &inta); net_dev 1298 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_INTA_MASK, &inta_mask); net_dev 1302 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_INTA, inta); net_dev 1310 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1315 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_GPIO, &gpio); net_dev 1319 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_GPIO, gpio); net_dev 1353 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 1361 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_RESET_REG, ®); net_dev 1375 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 1417 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, IPW2100_CONTROL_REG, &val1); net_dev 1418 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, IPW2100_COMMAND, &val2); net_dev 1460 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1530 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 1551 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 1560 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_RESET_REG, ®); net_dev 1569 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1572 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 1726 drivers/net/wireless/intel/ipw2x00/ipw2100.c "switch\n", priv->net_dev->name); net_dev 1750 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1761 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1772 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1785 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1793 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1812 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1822 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1869 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 1882 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); net_dev 1885 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_carrier_off(priv->net_dev); net_dev 1886 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_stop_queue(priv->net_dev); net_dev 1958 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_INFO(": %s: Restarting adapter.\n", priv->net_dev->name); net_dev 1976 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); net_dev 2056 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, essid_len, essid, net_dev 2139 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_carrier_off(priv->net_dev); net_dev 2140 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_stop_queue(priv->net_dev); net_dev 2154 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 2173 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); net_dev 2335 drivers/net/wireless/intel/ipw2x00/ipw2100.c "buffer %d\n", priv->net_dev->name, i); net_dev 2361 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_nic_dword(priv->net_dev, i, &tmp); net_dev 2417 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_REG_RESET_REG, net_dev 2422 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_RESET_REG, ®); net_dev 2434 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, match, net_dev 2438 drivers/net/wireless/intel/ipw2x00/ipw2100.c "Firmware.\n", priv->net_dev->name); net_dev 2445 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->stats.rx_errors++; net_dev 2452 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 2526 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 2673 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_RX_READ_INDEX, &r); net_dev 2674 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_RX_WRITE_INDEX, &w); net_dev 2711 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, frame_types[frame_type], net_dev 2762 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, net_dev 2842 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 2850 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_TX_QUEUE_READ_INDEX, net_dev 2852 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_MEM_HOST_SHARED_TX_QUEUE_WRITE_INDEX, net_dev 2856 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 2915 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, txq->oldest, packet->index); net_dev 2939 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_wake_queue(priv->net_dev); net_dev 2943 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_trans_update(priv->net_dev); net_dev 2952 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, txq->oldest, packet->index); net_dev 2992 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, i); net_dev 3055 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, net_dev 3092 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 3203 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, net_dev 3212 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 3241 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, priv->fatal_error); net_dev 3245 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, tmp); net_dev 3350 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_INTA_MASK, &inta_mask); net_dev 3351 drivers/net/wireless/intel/ipw2x00/ipw2100.c read_register(priv->net_dev, IPW_REG_INTA, &inta); net_dev 3393 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->stats.tx_carrier_errors++; net_dev 3448 drivers/net/wireless/intel/ipw2x00/ipw2100.c "buffers.\n", priv->net_dev->name); net_dev 3798 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 3819 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 3860 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 3917 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 4017 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 4023 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->type = ARPHRD_ETHER; net_dev 4026 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->type = ARPHRD_ETHER; net_dev 4031 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; net_dev 4044 drivers/net/wireless/intel/ipw2x00/ipw2100.c printk(KERN_INFO "%s: Resetting on mode change.\n", priv->net_dev->name); net_dev 4220 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 4395 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, base, q->nic); net_dev 4396 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, size, q->entries); net_dev 4397 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, r, q->oldest); net_dev 4398 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, w, q->next); net_dev 4426 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 4445 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 4644 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_register(priv->net_dev, IPW_MEM_HOST_SHARED_RX_STATUS_BASE, net_dev 4691 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(priv->net_dev->dev_addr, addr, ETH_ALEN); net_dev 4692 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_INFO("card MAC is %pM\n", priv->net_dev->dev_addr); net_dev 4718 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); net_dev 4720 drivers/net/wireless/intel/ipw2x00/ipw2100.c memcpy(cmd.host_command_parameters, priv->net_dev->dev_addr, net_dev 4756 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 5335 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 5406 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, wep_key->idx); net_dev 5409 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, wep_key->idx, wep_key->len, net_dev 5414 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, wep_key->idx, wep_key->len, net_dev 5423 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 5460 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, err); net_dev 5952 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 5959 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 6036 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev = dev; net_dev 6295 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 6353 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 6404 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 6431 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 8293 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_carrier_on(priv->net_dev); net_dev 8294 drivers/net/wireless/intel/ipw2x00/ipw2100.c netif_wake_queue(priv->net_dev); net_dev 8310 drivers/net/wireless/intel/ipw2x00/ipw2100.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); net_dev 8377 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name); net_dev 8399 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->net_dev->name, fw_name); net_dev 8489 drivers/net/wireless/intel/ipw2x00/ipw2100.c write_nic_memory(priv->net_dev, addr, len, firmware_data); net_dev 8517 drivers/net/wireless/intel/ipw2x00/ipw2100.c struct net_device *dev = priv->net_dev; net_dev 554 drivers/net/wireless/intel/ipw2x00/ipw2100.h struct net_device *net_dev; net_dev 1477 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *dev = priv->net_dev; net_dev 1945 drivers/net/wireless/intel/ipw2x00/ipw2200.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); net_dev 2315 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->name, mac); net_dev 3981 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_carrier_off(priv->net_dev); net_dev 4453 drivers/net/wireless/intel/ipw2x00/ipw2200.c wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); net_dev 5028 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_wake_queue(priv->net_dev); net_dev 5192 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->name); net_dev 7680 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *dev = priv->net_dev; net_dev 7695 drivers/net/wireless/intel/ipw2x00/ipw2200.c } else if (unlikely(!netif_running(priv->net_dev))) { net_dev 7730 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *dev = priv->net_dev; net_dev 7758 drivers/net/wireless/intel/ipw2x00/ipw2200.c } else if (unlikely(!netif_running(priv->net_dev))) { net_dev 8095 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ether_addr_equal(header->addr2, priv->net_dev->dev_addr)) net_dev 8104 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->dev_addr); net_dev 8108 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ether_addr_equal(header->addr3, priv->net_dev->dev_addr)) net_dev 8117 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->dev_addr); net_dev 8365 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->stats.rx_errors++; net_dev 8507 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_ETHER; net_dev 8514 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; net_dev 8516 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211; net_dev 8522 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_ETHER; net_dev 8764 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_ETHER; net_dev 8768 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; net_dev 8770 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211; net_dev 9805 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211_RADIOTAP; net_dev 9807 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_IEEE80211; net_dev 9818 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->type = ARPHRD_ETHER; net_dev 10276 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_stop_queue(priv->net_dev); net_dev 10423 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev->name, priv->mac_addr); net_dev 10592 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_carrier_on(priv->net_dev); net_dev 10621 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_carrier_off(priv->net_dev); net_dev 10806 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_send_adapter_address(priv, priv->net_dev->dev_addr)) net_dev 11200 drivers/net/wireless/intel/ipw2x00/ipw2200.c memcpy(priv->net_dev->dev_addr, priv->mac_addr, ETH_ALEN); net_dev 11306 drivers/net/wireless/intel/ipw2x00/ipw2200.c netif_carrier_off(priv->net_dev); net_dev 11604 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *net_dev; net_dev 11610 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev = alloc_libipw(sizeof(struct ipw_priv), 0); net_dev 11611 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (net_dev == NULL) { net_dev 11616 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv = libipw_priv(net_dev); net_dev 11617 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->ieee = netdev_priv(net_dev); net_dev 11619 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->net_dev = net_dev; net_dev 11682 drivers/net/wireless/intel/ipw2x00/ipw2200.c SET_NETDEV_DEV(net_dev, &pdev->dev); net_dev 11700 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->netdev_ops = &ipw_netdev_ops; net_dev 11702 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->wireless_data = &priv->wireless_data; net_dev 11703 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->wireless_handlers = &ipw_wx_handler_def; net_dev 11704 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->ethtool_ops = &ipw_ethtool_ops; net_dev 11706 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->min_mtu = 68; net_dev 11707 drivers/net/wireless/intel/ipw2x00/ipw2200.c net_dev->max_mtu = LIBIPW_DATA_LEN; net_dev 11724 drivers/net/wireless/intel/ipw2x00/ipw2200.c err = ipw_wdev_init(net_dev); net_dev 11730 drivers/net/wireless/intel/ipw2x00/ipw2200.c err = register_netdev(net_dev); net_dev 11742 drivers/net/wireless/intel/ipw2x00/ipw2200.c unregister_netdev(priv->net_dev); net_dev 11770 drivers/net/wireless/intel/ipw2x00/ipw2200.c free_libipw(priv->net_dev, 0); net_dev 11792 drivers/net/wireless/intel/ipw2x00/ipw2200.c unregister_netdev(priv->net_dev); net_dev 11853 drivers/net/wireless/intel/ipw2x00/ipw2200.c free_libipw(priv->net_dev, 0); net_dev 11861 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *dev = priv->net_dev; net_dev 11883 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct net_device *dev = priv->net_dev; net_dev 1170 drivers/net/wireless/intel/ipw2x00/ipw2200.h struct net_device *net_dev; net_dev 614 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct net_device *net_dev, net_dev 617 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct ethsw_port_priv *port_priv = netdev_priv(net_dev); net_dev 619 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct device *dev = net_dev->dev.parent; net_dev 623 drivers/staging/fsl-dpaa2/ethsw/ethsw.c .dev = net_dev, net_dev 642 drivers/staging/fsl-dpaa2/ethsw/ethsw.c netdev_err(net_dev, "dma_map_single() failed\n"); net_dev 650 drivers/staging/fsl-dpaa2/ethsw/ethsw.c netdev_err(net_dev, "dpsw_fdb_dump() = %d\n", err); net_dev 171 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write GCR_B_REG\n"); net_dev 192 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write WAKEUP_REG\n"); net_dev 211 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write WAKEUP_REG\n"); net_dev 238 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, net_dev 258 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "read INT_PENDING_REG\n"); net_dev 266 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write GCR_B_REG\n"); net_dev 298 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "tx buffer overflow\n"); net_dev 331 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "unknown event=%04X\n", hdr->event); net_dev 337 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write DATA_WINDOW\n"); net_dev 343 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write WRITE_STATUS_REG\n"); net_dev 363 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, net_dev 390 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "unknown event=%04X\n", hdr->event); net_dev 432 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "rx buffer overflow\n"); net_dev 451 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write READ_STATUS_REG\n"); net_dev 464 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write READ_STATUS_REG\n"); net_dev 467 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "IS_HIF_CONF true !!\n"); net_dev 485 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "wait after DOZE\n"); net_dev 492 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "wait after WAKEUP\n"); net_dev 523 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "read WSTATUS_RSIZE_REG psstatus=%d\n", net_dev 555 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "read INT_PENDING_REG\n"); net_dev 568 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "read GCR_B_REG\n"); net_dev 584 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "read WSTATUS_RSIZE_REG\n"); net_dev 683 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "data compare error (%d)\n", ret); net_dev 766 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "MAC firmware running ...\n"); net_dev 791 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "firmware can't start\n"); net_dev 832 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "wait time out!! SME_START\n"); net_dev 842 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "wait time out!! wireless parameter set\n"); net_dev 846 drivers/staging/ks7010/ks7010_sdio.c netdev_dbg(priv->net_dev, "DEVICE READY!!\n"); net_dev 913 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write INT_PENDING_REG\n"); net_dev 921 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "write INT_ENABLE_REG\n"); net_dev 932 drivers/staging/ks7010/ks7010_sdio.c priv->net_dev = netdev; net_dev 1011 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, net_dev 1022 drivers/staging/ks7010/ks7010_sdio.c netdev_err(priv->net_dev, "create_workqueue failed !!\n"); net_dev 1029 drivers/staging/ks7010/ks7010_sdio.c ret = register_netdev(priv->net_dev); net_dev 1090 drivers/staging/ks7010/ks7010_sdio.c ks_wlan_net_stop(priv->net_dev); net_dev 1109 drivers/staging/ks7010/ks7010_sdio.c unregister_netdev(priv->net_dev); net_dev 1112 drivers/staging/ks7010/ks7010_sdio.c free_netdev(priv->net_dev); net_dev 82 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "wake up timeout or interrupted !!!\n"); net_dev 106 drivers/staging/ks7010/ks_hostif.c struct net_device *netdev = priv->net_dev; net_dev 158 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, net_dev 163 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "Link AP\n" net_dev 321 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, net_dev 353 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "invalid data format\n"); net_dev 366 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "TKIP: protocol=%04X: size=%u\n", net_dev 386 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "MIC FAILURE\n"); net_dev 408 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, IWEVCUSTOM, &wrqu, net_dev 441 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "invalid : source is own mac address !!\n"); net_dev 442 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, net_dev 472 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "SNAP, rx_ind_size = %d\n", net_dev 492 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "NETBEUI/NetBIOS rx_ind_size=%d\n", net_dev 509 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "invalid data format\n"); net_dev 519 drivers/staging/ks7010/ks_hostif.c skb->dev = priv->net_dev; net_dev 529 drivers/staging/ks7010/ks_hostif.c struct net_device *dev = priv->net_dev; net_dev 541 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "attribute=%08X, status=%08X\n", net_dev 566 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "tx_mode=%d, rx_mode=%d, tx_gain=%d, rx_gain=%d\n", net_dev 583 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "mib_attribute=%08x\n", net_dev 600 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "error :: attribute=%08X, status=%08X\n", net_dev 714 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); net_dev 716 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, " scan_ind_count=%d\n", priv->scan_ind_count); net_dev 726 drivers/staging/ks7010/ks_hostif.c struct net_device *netdev = priv->net_dev; net_dev 744 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "unknown connect_code=%d :: scan_ind_count=%d\n", net_dev 767 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "disconnect :: scan_ind_count=%d\n", net_dev 780 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, net_dev 800 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, " scan_ind_count=%d :: aplist.size=%d\n", net_dev 806 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, " count over :: scan_ind_count=%d\n", net_dev 816 drivers/staging/ks7010/ks_hostif.c struct net_device *netdev = priv->net_dev; net_dev 907 drivers/staging/ks7010/ks_hostif.c wireless_send_event(priv->net_dev, IWEVCUSTOM, &wrqu, buf); net_dev 914 drivers/staging/ks7010/ks_hostif.c struct net_device *dev = priv->net_dev; net_dev 918 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "result=%d :: scan_ind_count=%d\n", net_dev 948 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "phyinfo confirm rssi=%d signal=%d\n", net_dev 956 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "\n rssi=%u\n" net_dev 972 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, "mic_failure=%u\n", net_dev 1037 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "undefined event[%04X]\n", event); net_dev 1081 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "bad length skb_len=%d\n", skb_len); net_dev 1089 drivers/staging/ks7010/ks_hostif.c if (netif_queue_stopped(priv->net_dev)) net_dev 1090 drivers/staging/ks7010/ks_hostif.c netif_wake_queue(priv->net_dev); net_dev 1099 drivers/staging/ks7010/ks_hostif.c if (!netif_queue_stopped(priv->net_dev)) net_dev 1100 drivers/staging/ks7010/ks_hostif.c netif_stop_queue(priv->net_dev); net_dev 1118 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, net_dev 1219 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, net_dev 1514 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "invalid mode %ld\n", (long)mode); net_dev 1879 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, net_dev 1888 drivers/staging/ks7010/ks_hostif.c netdev_dbg(priv->net_dev, net_dev 1900 drivers/staging/ks7010/ks_hostif.c struct net_device *dev = priv->net_dev; net_dev 2083 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, net_dev 2238 drivers/staging/ks7010/ks_hostif.c netdev_err(priv->net_dev, "sme queue buffer overflow\n"); net_dev 440 drivers/staging/ks7010/ks_wlan.h struct net_device *net_dev; net_dev 64 drivers/staging/ks7010/ks_wlan_net.c netdev_dbg(priv->net_dev, "in_interrupt = %ld\n", in_interrupt()); net_dev 81 drivers/staging/ks7010/ks_wlan_net.c netdev_dbg(priv->net_dev, "wait time out!!\n"); net_dev 2546 drivers/staging/ks7010/ks_wlan_net.c if (netif_queue_stopped(priv->net_dev)) net_dev 2547 drivers/staging/ks7010/ks_wlan_net.c netif_wake_queue(priv->net_dev); net_dev 396 include/net/wimax.h struct net_device *net_dev; net_dev 431 include/net/wimax.h struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev) net_dev 433 include/net/wimax.h return netdev_priv(net_dev); net_dev 439 include/net/wimax.h return wimax_dev->net_dev->dev.parent; net_dev 84 net/atm/br2684.c struct net_device *net_dev; net_dev 103 net/atm/br2684.c static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) net_dev 105 net/atm/br2684.c return netdev_priv(net_dev); net_dev 110 net/atm/br2684.c return list_entry(le, struct br2684_dev, br2684_devs)->net_dev; net_dev 127 net/atm/br2684.c struct net_device *net_dev; net_dev 131 net/atm/br2684.c net_dev = list_entry_brdev(lh); net_dev 132 net/atm/br2684.c if (BRPRIV(net_dev)->number == s->spec.devnum) net_dev 133 net/atm/br2684.c return net_dev; net_dev 138 net/atm/br2684.c net_dev = list_entry_brdev(lh); net_dev 139 net/atm/br2684.c if (!strncmp(net_dev->name, s->spec.ifname, IFNAMSIZ)) net_dev 140 net/atm/br2684.c return net_dev; net_dev 152 net/atm/br2684.c struct net_device *net_dev; net_dev 161 net/atm/br2684.c net_dev = list_entry_brdev(lh); net_dev 163 net/atm/br2684.c list_for_each_entry(brvcc, &BRPRIV(net_dev)->brvccs, brvccs) { net_dev 168 net/atm/br2684.c netif_carrier_off(net_dev); net_dev 170 net/atm/br2684.c netif_carrier_on(net_dev); net_dev 426 net/atm/br2684.c struct net_device *net_dev = brvcc->device; net_dev 427 net/atm/br2684.c struct br2684_dev *brdev = BRPRIV(net_dev); net_dev 438 net/atm/br2684.c unregister_netdev(net_dev); net_dev 439 net/atm/br2684.c free_netdev(net_dev); net_dev 475 net/atm/br2684.c skb->protocol = eth_type_trans(skb, net_dev); net_dev 497 net/atm/br2684.c skb->protocol = eth_type_trans(skb, net_dev); net_dev 505 net/atm/br2684.c skb->dev = net_dev; net_dev 510 net/atm/br2684.c if (unlikely(!(net_dev->flags & IFF_UP))) net_dev 512 net/atm/br2684.c net_dev->stats.rx_packets++; net_dev 513 net/atm/br2684.c net_dev->stats.rx_bytes += skb->len; net_dev 519 net/atm/br2684.c net_dev->stats.rx_dropped++; net_dev 522 net/atm/br2684.c net_dev->stats.rx_errors++; net_dev 535 net/atm/br2684.c struct net_device *net_dev; net_dev 552 net/atm/br2684.c net_dev = br2684_find_dev(&be.ifspec); net_dev 553 net/atm/br2684.c if (net_dev == NULL) { net_dev 558 net/atm/br2684.c brdev = BRPRIV(net_dev); net_dev 581 net/atm/br2684.c memcpy(net_dev->dev_addr, esi, net_dev->addr_len); net_dev 583 net/atm/br2684.c net_dev->dev_addr[2] = 1; net_dev 587 net/atm/br2684.c brvcc->device = net_dev; net_dev 603 net/atm/br2684.c netif_carrier_off(net_dev); net_dev 605 net/atm/br2684.c netif_carrier_on(net_dev); net_dev 637 net/atm/br2684.c brdev->net_dev = netdev; net_dev 648 net/atm/br2684.c brdev->net_dev = netdev; net_dev 787 net/atm/br2684.c const struct net_device *net_dev = brdev->net_dev; net_dev 791 net/atm/br2684.c net_dev->name, net_dev 793 net/atm/br2684.c net_dev->dev_addr, net_dev 839 net/atm/br2684.c struct net_device *net_dev; net_dev 852 net/atm/br2684.c net_dev = list_entry_brdev(br2684_devs.next); net_dev 853 net/atm/br2684.c brdev = BRPRIV(net_dev); net_dev 860 net/atm/br2684.c unregister_netdev(net_dev); net_dev 861 net/atm/br2684.c free_netdev(net_dev); net_dev 249 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr); net_dev 251 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr); net_dev 377 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->name, net_dev 378 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr); net_dev 1184 net/batman-adv/bat_iv_ogm.c batadv_ogm_packet->tq, if_incoming->net_dev->name, net_dev 1185 net/batman-adv/bat_iv_ogm.c if_outgoing ? if_outgoing->net_dev->name : "DEFAULT"); net_dev 1290 net/batman-adv/bat_iv_ogm.c if_outgoing ? if_outgoing->net_dev->name : "DEFAULT", net_dev 1532 net/batman-adv/bat_iv_ogm.c if (!batadv_compare_eth(if_incoming->net_dev->dev_addr, net_dev 1601 net/batman-adv/bat_iv_ogm.c ethhdr->h_source, if_incoming->net_dev->name, net_dev 1602 net/batman-adv/bat_iv_ogm.c if_incoming->net_dev->dev_addr, ogm_packet->orig, net_dev 1616 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr)) net_dev 1620 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr)) net_dev 1624 net/batman-adv/bat_iv_ogm.c hard_iface->net_dev->dev_addr)) net_dev 1861 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming->net_dev->name); net_dev 1952 net/batman-adv/bat_iv_ogm.c neigh_node->if_incoming->net_dev->ifindex) || net_dev 2126 net/batman-adv/bat_iv_ogm.c hardif_neigh->if_incoming->net_dev->name, net_dev 2138 net/batman-adv/bat_iv_ogm.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 2147 net/batman-adv/bat_iv_ogm.c if (hard_iface->soft_iface != net_dev) net_dev 2234 net/batman-adv/bat_iv_ogm.c hardif_neigh->if_incoming->net_dev->ifindex) || net_dev 2583 net/batman-adv/bat_iv_ogm.c router->if_incoming->net_dev->name, net_dev 2679 net/batman-adv/bat_iv_ogm.c router->if_incoming->net_dev->name) || net_dev 171 net/batman-adv/bat_v.c throughput % 10, hardif_neigh->if_incoming->net_dev->name); net_dev 182 net/batman-adv/bat_v.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 192 net/batman-adv/bat_v.c if (hard_iface->soft_iface != net_dev) net_dev 237 net/batman-adv/bat_v.c hardif_neigh->if_incoming->net_dev->ifindex) || net_dev 390 net/batman-adv/bat_v.c neigh_node->if_incoming->net_dev->name); net_dev 458 net/batman-adv/bat_v.c neigh_node->if_incoming->net_dev->ifindex) || net_dev 858 net/batman-adv/bat_v.c router->if_incoming->net_dev->name, net_dev 972 net/batman-adv/bat_v.c router->if_incoming->net_dev->name)) { net_dev 89 net/batman-adv/bat_v_elp.c real_netdev = batadv_get_real_netdev(hard_iface->net_dev); net_dev 121 net/batman-adv/bat_v_elp.c ret = __ethtool_get_link_ksettings(hard_iface->net_dev, &link_settings); net_dev 152 net/batman-adv/bat_v_elp.c hard_iface->net_dev->name, net_dev 241 net/batman-adv/bat_v_elp.c hard_iface->net_dev->name, neigh->addr); net_dev 293 net/batman-adv/bat_v_elp.c hard_iface->net_dev->name, net_dev 420 net/batman-adv/bat_v_elp.c primary_iface->net_dev->dev_addr); net_dev 162 net/batman-adv/bat_v_ogm.c unsigned int max = min_t(unsigned int, hard_iface->net_dev->mtu, net_dev 331 net/batman-adv/bat_v_ogm.c hard_iface->net_dev->name, type); net_dev 341 net/batman-adv/bat_v_ogm.c hard_iface->net_dev->name, net_dev 342 net/batman-adv/bat_v_ogm.c hard_iface->net_dev->dev_addr); net_dev 447 net/batman-adv/bat_v_ogm.c ether_addr_copy(ogm_packet->orig, primary_iface->net_dev->dev_addr); net_dev 561 net/batman-adv/bat_v_ogm.c skb = netdev_alloc_skb_ip_align(if_outgoing->net_dev, net_dev 576 net/batman-adv/bat_v_ogm.c if_outgoing->net_dev->name, ntohl(ogm_forward->throughput), net_dev 577 net/batman-adv/bat_v_ogm.c ogm_forward->ttl, if_incoming->net_dev->name); net_dev 876 net/batman-adv/bat_v_ogm.c ethhdr->h_source, if_incoming->net_dev->name, net_dev 877 net/batman-adv/bat_v_ogm.c if_incoming->net_dev->dev_addr, ogm_packet->orig, net_dev 955 net/batman-adv/bat_v_ogm.c ogm_packet->orig, hard_iface->net_dev->name, net_dev 363 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 566 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 599 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 901 net/batman-adv/bridge_loop_avoidance.c if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) net_dev 931 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr)) net_dev 977 net/batman-adv/bridge_loop_avoidance.c if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) net_dev 1033 net/batman-adv/bridge_loop_avoidance.c if (batadv_compare_eth(backbone_addr, primary_if->net_dev->dev_addr)) net_dev 1290 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr)) net_dev 1333 net/batman-adv/bridge_loop_avoidance.c group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); net_dev 1357 net/batman-adv/bridge_loop_avoidance.c oldif->net_dev->dev_addr)) net_dev 1361 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr); net_dev 1395 net/batman-adv/bridge_loop_avoidance.c void batadv_bla_status_update(struct net_device *net_dev) net_dev 1397 net/batman-adv/bridge_loop_avoidance.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 1470 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr)) net_dev 1539 net/batman-adv/bridge_loop_avoidance.c crc = crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN); net_dev 1791 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 1866 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 1874 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr); net_dev 1898 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 1975 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr); net_dev 1990 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr, net_dev 2036 net/batman-adv/bridge_loop_avoidance.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 2037 net/batman-adv/bridge_loop_avoidance.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 2052 net/batman-adv/bridge_loop_avoidance.c primary_addr = primary_if->net_dev->dev_addr; net_dev 2055 net/batman-adv/bridge_loop_avoidance.c net_dev->name, primary_addr, net_dev 2106 net/batman-adv/bridge_loop_avoidance.c u8 *primary_addr = primary_if->net_dev->dev_addr; net_dev 2270 net/batman-adv/bridge_loop_avoidance.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 2271 net/batman-adv/bridge_loop_avoidance.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 2286 net/batman-adv/bridge_loop_avoidance.c primary_addr = primary_if->net_dev->dev_addr; net_dev 2289 net/batman-adv/bridge_loop_avoidance.c net_dev->name, primary_addr, net_dev 2342 net/batman-adv/bridge_loop_avoidance.c u8 *primary_addr = primary_if->net_dev->dev_addr; net_dev 2536 net/batman-adv/bridge_loop_avoidance.c primary_if->net_dev->dev_addr)) net_dev 56 net/batman-adv/bridge_loop_avoidance.h void batadv_bla_status_update(struct net_device *net_dev); net_dev 62 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 66 net/batman-adv/debugfs.c return single_open(file, batadv_hardif_neigh_seq_print_text, net_dev); net_dev 71 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 75 net/batman-adv/debugfs.c return single_open(file, batadv_orig_seq_print_text, net_dev); net_dev 89 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 93 net/batman-adv/debugfs.c return single_open(file, batadv_orig_hardif_seq_print_text, net_dev); net_dev 98 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 102 net/batman-adv/debugfs.c return single_open(file, batadv_gw_client_seq_print_text, net_dev); net_dev 107 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 111 net/batman-adv/debugfs.c return single_open(file, batadv_tt_global_seq_print_text, net_dev); net_dev 117 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 122 net/batman-adv/debugfs.c net_dev); net_dev 128 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 133 net/batman-adv/debugfs.c net_dev); net_dev 148 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 152 net/batman-adv/debugfs.c return single_open(file, batadv_dat_cache_seq_print_text, net_dev); net_dev 158 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 162 net/batman-adv/debugfs.c return single_open(file, batadv_tt_local_seq_print_text, net_dev); net_dev 173 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 176 net/batman-adv/debugfs.c return single_open(file, batadv_nc_nodes_seq_print_text, net_dev); net_dev 190 net/batman-adv/debugfs.c struct net_device *net_dev = (struct net_device *)inode->i_private; net_dev 194 net/batman-adv/debugfs.c return single_open(file, batadv_mcast_flags_seq_print_text, net_dev); net_dev 320 net/batman-adv/debugfs.c struct net *net = dev_net(hard_iface->net_dev); net_dev 326 net/batman-adv/debugfs.c hard_iface->debug_dir = debugfs_create_dir(hard_iface->net_dev->name, net_dev 332 net/batman-adv/debugfs.c hard_iface->debug_dir, hard_iface->net_dev, net_dev 342 net/batman-adv/debugfs.c const char *name = hard_iface->net_dev->name; net_dev 359 net/batman-adv/debugfs.c struct net *net = dev_net(hard_iface->net_dev); net_dev 762 net/batman-adv/distributed-arp-table.c void batadv_dat_status_update(struct net_device *net_dev) net_dev 764 net/batman-adv/distributed-arp-table.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 853 net/batman-adv/distributed-arp-table.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 854 net/batman-adv/distributed-arp-table.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 867 net/batman-adv/distributed-arp-table.c seq_printf(seq, "Distributed ARP Table (%s):\n", net_dev->name); net_dev 27 net/batman-adv/distributed-arp-table.h void batadv_dat_status_update(struct net_device *net_dev); net_dev 69 net/batman-adv/distributed-arp-table.h addr = batadv_choose_orig(primary_if->net_dev->dev_addr, net_dev 104 net/batman-adv/distributed-arp-table.h static inline void batadv_dat_status_update(struct net_device *net_dev) net_dev 374 net/batman-adv/fragmentation.c if (total_size > neigh_node->if_incoming->net_dev->mtu) { net_dev 446 net/batman-adv/fragmentation.c unsigned int mtu = neigh_node->if_incoming->net_dev->mtu; net_dev 495 net/batman-adv/fragmentation.c ether_addr_copy(frag_header.orig, primary_if->net_dev->dev_addr); net_dev 525 net/batman-adv/gateway_client.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 526 net/batman-adv/gateway_client.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 534 net/batman-adv/gateway_client.c BATADV_SOURCE_VERSION, primary_if->net_dev->name, net_dev 535 net/batman-adv/gateway_client.c primary_if->net_dev->dev_addr, net_dev->name, net_dev 36 net/batman-adv/gateway_common.c bool batadv_parse_throughput(struct net_device *net_dev, char *buff, net_dev 57 net/batman-adv/gateway_common.c batadv_err(net_dev, net_dev 67 net/batman-adv/gateway_common.c batadv_err(net_dev, net_dev 82 net/batman-adv/gateway_common.c batadv_err(net_dev, net_dev 103 net/batman-adv/gateway_common.c static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, net_dev 113 net/batman-adv/gateway_common.c ret = batadv_parse_throughput(net_dev, buff, "download gateway speed", net_dev 120 net/batman-adv/gateway_common.c ret = batadv_parse_throughput(net_dev, slash_ptr + 1, net_dev 167 net/batman-adv/gateway_common.c ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, net_dev 170 net/batman-adv/gateway_common.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 180 net/batman-adv/gateway_common.c ret = batadv_parse_gw_bandwidth(net_dev, buff, &down_new, &up_new); net_dev 197 net/batman-adv/gateway_common.c batadv_info(net_dev, net_dev 30 net/batman-adv/gateway_common.h ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, net_dev 35 net/batman-adv/gateway_common.h bool batadv_parse_throughput(struct net_device *net_dev, char *buff, net_dev 54 net/batman-adv/hard-interface.c dev_put(hard_iface->net_dev); net_dev 66 net/batman-adv/hard-interface.c batadv_hardif_get_by_netdev(const struct net_device *net_dev) net_dev 72 net/batman-adv/hard-interface.c if (hard_iface->net_dev == net_dev && net_dev 149 net/batman-adv/hard-interface.c static bool batadv_is_on_batman_iface(const struct net_device *net_dev) net_dev 151 net/batman-adv/hard-interface.c struct net *net = dev_net(net_dev); net_dev 157 net/batman-adv/hard-interface.c if (batadv_softif_is_valid(net_dev)) net_dev 161 net/batman-adv/hard-interface.c if (dev_get_iflink(net_dev) == 0 || net_dev 162 net/batman-adv/hard-interface.c dev_get_iflink(net_dev) == net_dev->ifindex) net_dev 165 net/batman-adv/hard-interface.c parent_net = batadv_getlink_net(net_dev, net); net_dev 169 net/batman-adv/hard-interface.c dev_get_iflink(net_dev)); net_dev 176 net/batman-adv/hard-interface.c if (batadv_mutual_parents(net_dev, net, parent_dev, parent_net)) net_dev 184 net/batman-adv/hard-interface.c static bool batadv_is_valid_iface(const struct net_device *net_dev) net_dev 186 net/batman-adv/hard-interface.c if (net_dev->flags & IFF_LOOPBACK) net_dev 189 net/batman-adv/hard-interface.c if (net_dev->type != ARPHRD_ETHER) net_dev 192 net/batman-adv/hard-interface.c if (net_dev->addr_len != ETH_ALEN) net_dev 196 net/batman-adv/hard-interface.c if (batadv_is_on_batman_iface(net_dev)) net_dev 493 net/batman-adv/hard-interface.c if (hard_iface->net_dev->flags & IFF_UP) net_dev 499 net/batman-adv/hard-interface.c static void batadv_check_known_mac_addr(const struct net_device *net_dev) net_dev 509 net/batman-adv/hard-interface.c if (hard_iface->net_dev == net_dev) net_dev 512 net/batman-adv/hard-interface.c if (!batadv_compare_eth(hard_iface->net_dev->dev_addr, net_dev 513 net/batman-adv/hard-interface.c net_dev->dev_addr)) net_dev 517 net/batman-adv/hard-interface.c net_dev->dev_addr, hard_iface->net_dev->name); net_dev 544 net/batman-adv/hard-interface.c hard_iface->net_dev->hard_header_len); net_dev 547 net/batman-adv/hard-interface.c hard_iface->net_dev->needed_headroom); net_dev 550 net/batman-adv/hard-interface.c hard_iface->net_dev->needed_tailroom); net_dev 583 net/batman-adv/hard-interface.c min_mtu = min_t(int, hard_iface->net_dev->mtu, min_mtu); net_dev 651 net/batman-adv/hard-interface.c hard_iface->net_dev->name); net_dev 673 net/batman-adv/hard-interface.c hard_iface->net_dev->name); net_dev 698 net/batman-adv/hard-interface.c ret = master->netdev_ops->ndo_del_slave(master, slave->net_dev); net_dev 749 net/batman-adv/hard-interface.c master = netdev_master_upper_dev_get(hard_iface->net_dev); net_dev 757 net/batman-adv/hard-interface.c ret = netdev_master_upper_dev_link(hard_iface->net_dev, net_dev 771 net/batman-adv/hard-interface.c hard_iface->batman_adv_ptype.dev = hard_iface->net_dev; net_dev 775 net/batman-adv/hard-interface.c hard_iface->net_dev->name); net_dev 778 net/batman-adv/hard-interface.c hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) net_dev 781 net/batman-adv/hard-interface.c hard_iface->net_dev->name, hard_iface->net_dev->mtu, net_dev 785 net/batman-adv/hard-interface.c hard_iface->net_dev->mtu < ETH_DATA_LEN + max_header_len) net_dev 788 net/batman-adv/hard-interface.c hard_iface->net_dev->name, hard_iface->net_dev->mtu, net_dev 796 net/batman-adv/hard-interface.c hard_iface->net_dev->name); net_dev 807 net/batman-adv/hard-interface.c netdev_upper_dev_unlink(hard_iface->net_dev, soft_iface); net_dev 861 net/batman-adv/hard-interface.c hard_iface->net_dev->name); net_dev 884 net/batman-adv/hard-interface.c netdev_upper_dev_unlink(hard_iface->net_dev, hard_iface->soft_iface); net_dev 904 net/batman-adv/hard-interface.c batadv_hardif_add_interface(struct net_device *net_dev) net_dev 911 net/batman-adv/hard-interface.c if (!batadv_is_valid_iface(net_dev)) net_dev 914 net/batman-adv/hard-interface.c dev_hold(net_dev); net_dev 920 net/batman-adv/hard-interface.c ret = batadv_sysfs_add_hardif(&hard_iface->hardif_obj, net_dev); net_dev 924 net/batman-adv/hard-interface.c hard_iface->net_dev = net_dev; net_dev 938 net/batman-adv/hard-interface.c hard_iface->wifi_flags = batadv_wifi_flags_evaluate(net_dev); net_dev 944 net/batman-adv/hard-interface.c batadv_check_known_mac_addr(hard_iface->net_dev); net_dev 954 net/batman-adv/hard-interface.c dev_put(net_dev); net_dev 1002 net/batman-adv/hard-interface.c struct net_device *net_dev) net_dev 1008 net/batman-adv/hard-interface.c batadv_sysfs_add_meshif(net_dev); net_dev 1009 net/batman-adv/hard-interface.c bat_priv = netdev_priv(net_dev); net_dev 1013 net/batman-adv/hard-interface.c batadv_debugfs_rename_meshif(net_dev); net_dev 1023 net/batman-adv/hard-interface.c struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); net_dev 1028 net/batman-adv/hard-interface.c if (batadv_softif_is_valid(net_dev)) net_dev 1029 net/batman-adv/hard-interface.c return batadv_hard_if_event_softif(event, net_dev); net_dev 1031 net/batman-adv/hard-interface.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 1034 net/batman-adv/hard-interface.c hard_iface = batadv_hardif_add_interface(net_dev); net_dev 1062 net/batman-adv/hard-interface.c batadv_check_known_mac_addr(hard_iface->net_dev); net_dev 1075 net/batman-adv/hard-interface.c hard_iface->wifi_flags = batadv_wifi_flags_evaluate(net_dev); net_dev 98 net/batman-adv/hard-interface.h batadv_hardif_get_by_netdev(const struct net_device *net_dev); net_dev 250 net/batman-adv/icmp_socket.c addr = neigh_node->if_incoming->net_dev->dev_addr; net_dev 272 net/batman-adv/icmp_socket.c ether_addr_copy(icmp_header->orig, primary_if->net_dev->dev_addr); net_dev 121 net/batman-adv/log.h #define batadv_info(net_dev, fmt, arg...) \ net_dev 123 net/batman-adv/log.h struct net_device *_netdev = (net_dev); \ net_dev 135 net/batman-adv/log.h #define batadv_err(net_dev, fmt, arg...) \ net_dev 137 net/batman-adv/log.h struct net_device *_netdev = (net_dev); \ net_dev 300 net/batman-adv/main.c if (batadv_compare_eth(hard_iface->net_dev->dev_addr, addr)) { net_dev 320 net/batman-adv/main.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 321 net/batman-adv/main.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 329 net/batman-adv/main.c net_dev->name); net_dev 338 net/batman-adv/main.c net_dev->name); net_dev 2107 net/batman-adv/multicast.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 2108 net/batman-adv/multicast.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 263 net/batman-adv/netlink.c hard_iface = primary_if->net_dev; net_dev 802 net/batman-adv/netlink.c struct net_device *net_dev = hard_iface->net_dev; net_dev 817 net/batman-adv/netlink.c net_dev->ifindex) || net_dev 819 net/batman-adv/netlink.c net_dev->name) || net_dev 821 net/batman-adv/netlink.c net_dev->dev_addr)) net_dev 110 net/batman-adv/network-coding.c void batadv_nc_status_update(struct net_device *net_dev) net_dev 112 net/batman-adv/network-coding.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 1890 net/batman-adv/network-coding.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 1891 net/batman-adv/network-coding.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 20 net/batman-adv/network-coding.h void batadv_nc_status_update(struct net_device *net_dev); net_dev 46 net/batman-adv/network-coding.h static inline void batadv_nc_status_update(struct net_device *net_dev) net_dev 703 net/batman-adv/originator.c neigh_addr, orig_node->orig, hard_iface->net_dev->name); net_dev 746 net/batman-adv/originator.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 747 net/batman-adv/originator.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 755 net/batman-adv/originator.c BATADV_SOURCE_VERSION, primary_if->net_dev->name, net_dev 756 net/batman-adv/originator.c primary_if->net_dev->dev_addr, net_dev->name, net_dev 1109 net/batman-adv/originator.c neigh->addr, if_outgoing->net_dev->name); net_dev 1153 net/batman-adv/originator.c orig_node->orig, if_outgoing->net_dev->name); net_dev 1205 net/batman-adv/originator.c if_incoming->net_dev->name); net_dev 1396 net/batman-adv/originator.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 1397 net/batman-adv/originator.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 1405 net/batman-adv/originator.c BATADV_SOURCE_VERSION, primary_if->net_dev->name, net_dev 1406 net/batman-adv/originator.c primary_if->net_dev->dev_addr, net_dev->name, net_dev 1432 net/batman-adv/originator.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 1436 net/batman-adv/originator.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 1456 net/batman-adv/originator.c BATADV_SOURCE_VERSION, hard_iface->net_dev->name, net_dev 1457 net/batman-adv/originator.c hard_iface->net_dev->dev_addr, net_dev 257 net/batman-adv/routing.c ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); net_dev 325 net/batman-adv/routing.c ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); net_dev 775 net/batman-adv/routing.c orig_addr = primary_if->net_dev->dev_addr; net_dev 906 net/batman-adv/routing.c ether_addr_copy(unicast_packet->dest, primary_if->net_dev->dev_addr); net_dev 1160 net/batman-adv/routing.c batadv_batman_skb_recv(skb, recv_if->net_dev, net_dev 76 net/batman-adv/send.c if (unlikely(!hard_iface->net_dev)) net_dev 79 net/batman-adv/send.c if (!(hard_iface->net_dev->flags & IFF_UP)) { net_dev 81 net/batman-adv/send.c hard_iface->net_dev->name); net_dev 92 net/batman-adv/send.c ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); net_dev 99 net/batman-adv/send.c skb->dev = hard_iface->net_dev; net_dev 196 net/batman-adv/send.c skb->len > neigh_node->if_incoming->net_dev->mtu) { net_dev 306 net/batman-adv/send.c ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); net_dev 924 net/batman-adv/send.c hard_iface->net_dev->name, type); net_dev 983 net/batman-adv/send.c __func__, hard_iface->net_dev->name); net_dev 345 net/batman-adv/soft-interface.c primary_if->net_dev->dev_addr); net_dev 1135 net/batman-adv/soft-interface.c bool batadv_softif_is_valid(const struct net_device *net_dev) net_dev 1137 net/batman-adv/soft-interface.c if (net_dev->netdev_ops->ndo_start_xmit == batadv_interface_tx) net_dev 24 net/batman-adv/soft-interface.h bool batadv_softif_is_valid(const struct net_device *net_dev); net_dev 65 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(obj); net_dev 67 net/batman-adv/sysfs.c return netdev_priv(net_dev); net_dev 141 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ net_dev 142 net/batman-adv/sysfs.c struct batadv_priv *bat_priv = netdev_priv(net_dev); \ net_dev 147 net/batman-adv/sysfs.c &bat_priv->_name, net_dev); \ net_dev 180 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ net_dev 181 net/batman-adv/sysfs.c struct batadv_priv *bat_priv = netdev_priv(net_dev); \ net_dev 187 net/batman-adv/sysfs.c &bat_priv->_var, net_dev, \ net_dev 264 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ net_dev 270 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); \ net_dev 278 net/batman-adv/sysfs.c net_dev); \ net_dev 293 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ net_dev 298 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); \ net_dev 319 net/batman-adv/sysfs.c struct net_device *net_dev, net_dev 341 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Invalid parameter received: %s\n", net_dev 349 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Changing from: %s to: %s\n", attr_name, net_dev 363 net/batman-adv/sysfs.c atomic_t *attr_store, struct net_device *net_dev) net_dev 368 net/batman-adv/sysfs.c ret = batadv_store_bool_attr(buff, count, net_dev, attr->name, net_dev 371 net/batman-adv/sysfs.c post_func(net_dev); net_dev 377 net/batman-adv/sysfs.c struct net_device *net_dev, net_dev 389 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Invalid parameter received: %s\n", net_dev 395 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Value is too small: %lu min: %u\n", net_dev 401 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: Value is too big: %lu max: %u\n", net_dev 412 net/batman-adv/sysfs.c batadv_info(net_dev, "%s: %sChanging from: %i to: %lu\n", net_dev 424 net/batman-adv/sysfs.c struct net_device *net_dev, net_dev 429 net/batman-adv/sysfs.c ret = batadv_store_uint_attr(buff, count, net_dev, slave_dev, net_dev 432 net/batman-adv/sysfs.c post_func(net_dev); net_dev 446 net/batman-adv/sysfs.c static void batadv_post_gw_reselect(struct net_device *net_dev) net_dev 448 net/batman-adv/sysfs.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 490 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 491 net/batman-adv/sysfs.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 520 net/batman-adv/sysfs.c batadv_info(net_dev, net_dev 541 net/batman-adv/sysfs.c batadv_info(net_dev, "Changing gw mode from: %s to: %s\n", net_dev 639 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 647 net/batman-adv/sysfs.c length = batadv_gw_bandwidth_set(net_dev, buff, count); net_dev 687 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 688 net/batman-adv/sysfs.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 718 net/batman-adv/sysfs.c batadv_info(net_dev, net_dev 944 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 951 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 977 net/batman-adv/sysfs.c static int batadv_store_mesh_iface_finish(struct net_device *net_dev, net_dev 980 net/batman-adv/sysfs.c struct net *net = dev_net(net_dev); net_dev 987 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 1035 net/batman-adv/sysfs.c ret = batadv_store_mesh_iface_finish(store_work->net_dev, net_dev 1041 net/batman-adv/sysfs.c store_work->soft_iface_name, store_work->net_dev->name, net_dev 1044 net/batman-adv/sysfs.c dev_put(store_work->net_dev); net_dev 1052 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 1070 net/batman-adv/sysfs.c dev_hold(net_dev); net_dev 1072 net/batman-adv/sysfs.c store_work->net_dev = net_dev; net_dev 1084 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 1090 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 1134 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 1143 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 1150 net/batman-adv/sysfs.c ret = batadv_parse_throughput(net_dev, buff, "throughput_override", net_dev 1161 net/batman-adv/sysfs.c "throughput_override", net_dev->name, net_dev 1181 net/batman-adv/sysfs.c struct net_device *net_dev = batadv_kobj_to_netdev(kobj); net_dev 1187 net/batman-adv/sysfs.c hard_iface = batadv_hardif_get_by_netdev(net_dev); net_dev 682 net/batman-adv/tp_meter.c batadv_tp_send_msg(tp_vars, primary_if->net_dev->dev_addr, net_dev 720 net/batman-adv/tp_meter.c dev_addr = primary_if->net_dev->dev_addr; net_dev 859 net/batman-adv/tp_meter.c err = batadv_tp_send_msg(tp_vars, primary_if->net_dev->dev_addr, net_dev 1190 net/batman-adv/tp_meter.c ether_addr_copy(icmp->orig, primary_if->net_dev->dev_addr); net_dev 1076 net/batman-adv/translation-table.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 1077 net/batman-adv/translation-table.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 1096 net/batman-adv/translation-table.c net_dev->name, (u8)atomic_read(&bat_priv->tt.vn)); net_dev 1976 net/batman-adv/translation-table.c struct net_device *net_dev = (struct net_device *)seq->private; net_dev 1977 net/batman-adv/translation-table.c struct batadv_priv *bat_priv = netdev_priv(net_dev); net_dev 1991 net/batman-adv/translation-table.c net_dev->name); net_dev 3194 net/batman-adv/translation-table.c batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr, net_dev 3451 net/batman-adv/translation-table.c batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr, net_dev 3782 net/batman-adv/translation-table.c batadv_tvlv_unicast_send(bat_priv, primary_if->net_dev->dev_addr, net_dev 191 net/batman-adv/types.h struct net_device *net_dev; net_dev 2464 net/batman-adv/types.h struct net_device *net_dev; net_dev 18 net/wimax/debugfs.c struct net_device *net_dev = wimax_dev->net_dev; net_dev 22 net/wimax/debugfs.c snprintf(buf, sizeof(buf), "wimax:%s", net_dev->name); net_dev 80 net/wimax/id-table.c if (wimax_dev->net_dev->ifindex == ifindex) { net_dev 81 net/wimax/id-table.c dev_hold(wimax_dev->net_dev); net_dev 126 net/wimax/id-table.c __func__, wimax_dev, wimax_dev->net_dev->ifindex); net_dev 130 net/wimax/op-msg.c wimax_dev->net_dev->ifindex); net_dev 387 net/wimax/op-msg.c dev_put(wimax_dev->net_dev); net_dev 63 net/wimax/op-reset.c dev_hold(wimax_dev->net_dev); net_dev 72 net/wimax/op-reset.c dev_put(wimax_dev->net_dev); net_dev 104 net/wimax/op-reset.c dev_put(wimax_dev->net_dev); net_dev 427 net/wimax/op-rfkill.c dev_put(wimax_dev->net_dev); net_dev 48 net/wimax/op-state-get.c dev_put(wimax_dev->net_dev); net_dev 124 net/wimax/stack.c wimax_dev->net_dev->ifindex); net_dev 264 net/wimax/stack.c netif_tx_disable(wimax_dev->net_dev); net_dev 265 net/wimax/stack.c netif_carrier_off(wimax_dev->net_dev); net_dev 297 net/wimax/stack.c netif_carrier_on(wimax_dev->net_dev); net_dev 298 net/wimax/stack.c netif_wake_queue(wimax_dev->net_dev); net_dev 465 net/wimax/stack.c int wimax_dev_add(struct wimax_dev *wimax_dev, struct net_device *net_dev) net_dev 468 net/wimax/stack.c struct device *dev = net_dev->dev.parent; net_dev 471 net/wimax/stack.c d_fnstart(3, dev, "(wimax_dev %p net_dev %p)\n", wimax_dev, net_dev); net_dev 476 net/wimax/stack.c wimax_dev->net_dev = net_dev; net_dev 490 net/wimax/stack.c net_dev->dev_addr, net_dev->addr_len); net_dev 492 net/wimax/stack.c net_dev->name, addr_str); net_dev 493 net/wimax/stack.c d_fnend(3, dev, "(wimax_dev %p net_dev %p) = 0\n", wimax_dev, net_dev); net_dev 498 net/wimax/stack.c wimax_dev, net_dev, result);