Lines Matching refs:ndev
372 struct net_device *ndev = wil_to_ndev(wil); in wil_vring_reap_rx() local
432 if (ndev->type == ARPHRD_IEEE80211_RADIOTAP) in wil_vring_reap_rx()
436 if (ndev->type != ARPHRD_ETHER) in wil_vring_reap_rx()
493 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_refill() local
497 int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? in wil_rx_refill()
519 void wil_netif_rx_any(struct sk_buff *skb, struct net_device *ndev) in wil_netif_rx_any() argument
522 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_netif_rx_any()
569 xmit_skb->dev = ndev; in wil_netif_rx_any()
580 skb->protocol = eth_type_trans(skb, ndev); in wil_netif_rx_any()
587 ndev->stats.rx_dropped++; in wil_netif_rx_any()
591 ndev->stats.rx_packets++; in wil_netif_rx_any()
593 ndev->stats.rx_bytes += len; in wil_netif_rx_any()
596 ndev->stats.multicast++; in wil_netif_rx_any()
607 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_handle() local
620 skb->dev = ndev; in wil_rx_handle()
625 wil_netif_rx_any(skb, ndev); in wil_rx_handle()
1256 netdev_tx_t wil_start_xmit(struct sk_buff *skb, struct net_device *ndev) in wil_start_xmit() argument
1258 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_start_xmit()
1315 ndev->stats.tx_dropped++; in wil_start_xmit()
1346 struct net_device *ndev = wil_to_ndev(wil); in wil_tx_complete() local
1414 ndev->stats.tx_packets++; in wil_tx_complete()
1415 ndev->stats.tx_bytes += skb->len; in wil_tx_complete()
1421 ndev->stats.tx_errors++; in wil_tx_complete()