Lines Matching refs:netdev

94 		netif_dbg(pdata, drv, pdata->netdev,  in xlgmac_set_mac_reg()
254 netif_dbg(pdata, drv, pdata->netdev, "%s promiscuous mode\n", in xlgmac_set_promiscuous_mode()
266 if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) in xlgmac_set_promiscuous_mode()
284 netif_dbg(pdata, drv, pdata->netdev, "%s allmulti mode\n", in xlgmac_set_all_multicast_mode()
297 struct net_device *netdev = pdata->netdev; in xlgmac_set_mac_addn_addrs() local
305 if (netdev_uc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()
308 netdev_for_each_uc_addr(ha, netdev) { in xlgmac_set_mac_addn_addrs()
313 if (netdev_mc_count(netdev) > addn_macs) { in xlgmac_set_mac_addn_addrs()
316 netdev_for_each_mc_addr(ha, netdev) { in xlgmac_set_mac_addn_addrs()
332 struct net_device *netdev = pdata->netdev; in xlgmac_set_mac_hash_table() local
343 netdev_for_each_uc_addr(ha, netdev) { in xlgmac_set_mac_hash_table()
349 netdev_for_each_mc_addr(ha, netdev) { in xlgmac_set_mac_hash_table()
377 xlgmac_set_mac_address(pdata, pdata->netdev->dev_addr); in xlgmac_config_mac_address()
397 val = (pdata->netdev->mtu > XLGMAC_STD_PACKET_MTU) ? 1 : 0; in xlgmac_config_jumbo_enable()
407 if (pdata->netdev->features & NETIF_F_RXCSUM) in xlgmac_config_checksum_offload()
428 if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_FILTER) in xlgmac_config_vlan_support()
433 if (pdata->netdev->features & NETIF_F_HW_VLAN_CTAG_RX) in xlgmac_config_vlan_support()
441 struct net_device *netdev = pdata->netdev; in xlgmac_config_rx_mode() local
444 pr_mode = ((netdev->flags & IFF_PROMISC) != 0); in xlgmac_config_rx_mode()
445 am_mode = ((netdev->flags & IFF_ALLMULTI) != 0); in xlgmac_config_rx_mode()
492 netdev_info(pdata->netdev, in xlgmac_prepare_tx_stop()
597 netdev_info(pdata->netdev, in xlgmac_prepare_rx_stop()
764 netif_dbg(pdata, tx_queued, pdata->netdev, in xlgmac_dev_xmit()
793 netif_dbg(pdata, tx_queued, pdata->netdev, in xlgmac_dev_xmit()
999 netif_xmit_stopped(netdev_get_tx_queue(pdata->netdev, in xlgmac_dev_xmit()
1520 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1534 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1559 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1566 netif_dbg(pdata, drv, pdata->netdev, in xlgmac_config_queue_mapping()
1647 netif_info(pdata, drv, pdata->netdev, in xlgmac_config_tx_fifo_size()
1669 netif_info(pdata, drv, pdata->netdev, in xlgmac_config_rx_fifo_size()
2436 if (pdata->netdev->features & NETIF_F_RXHASH) in xlgmac_config_rss()
2442 netdev_err(pdata->netdev, in xlgmac_config_rss()
2642 struct net_device *netdev = pdata->netdev; in xlgmac_dev_read() local
2763 if (netdev->features & NETIF_F_RXCSUM) in xlgmac_dev_read()
2777 netif_dbg(pdata, rx_status, netdev, "err=%u, etlt=%#x\n", err, etlt); in xlgmac_dev_read()
2782 (netdev->features & NETIF_F_HW_VLAN_CTAG_RX)) { in xlgmac_dev_read()
2792 netif_dbg(pdata, rx_status, netdev, "vlan-ctag=%#06x\n", in xlgmac_dev_read()