Searched refs:pnetdev (Results 1 – 4 of 4) sorted by relevance
76 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) in rtw_netif_queue_stopped() argument78 return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && in rtw_netif_queue_stopped()79 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && in rtw_netif_queue_stopped()80 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && in rtw_netif_queue_stopped()81 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3))); in rtw_netif_queue_stopped()84 static inline void rtw_netif_wake_queue(struct net_device *pnetdev) in rtw_netif_wake_queue() argument86 netif_tx_wake_all_queues(pnetdev); in rtw_netif_wake_queue()89 static inline void rtw_netif_start_queue(struct net_device *pnetdev) in rtw_netif_start_queue() argument91 netif_tx_start_all_queues(pnetdev); in rtw_netif_start_queue()94 static inline void rtw_netif_stop_queue(struct net_device *pnetdev) in rtw_netif_stop_queue() argument[all …]
25 struct net_device *pnetdev; in rtw_alloc_etherdev_with_old_priv() local28 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev_with_old_priv()29 if (!pnetdev) in rtw_alloc_etherdev_with_old_priv()32 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()37 return pnetdev; in rtw_alloc_etherdev_with_old_priv()42 struct net_device *pnetdev; in rtw_alloc_etherdev() local45 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev()46 if (!pnetdev) in rtw_alloc_etherdev()49 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()53 free_netdev(pnetdev); in rtw_alloc_etherdev()[all …]
2274 struct net_device *pnetdev; in nicvf_remove() local2280 pnetdev = nic->pnicvf->netdev; in nicvf_remove()2285 if (pnetdev && (pnetdev->reg_state == NETREG_REGISTERED)) in nicvf_remove()2286 unregister_netdev(pnetdev); in nicvf_remove()
877 netif_carrier_on(padapter->pnetdev); in rtw_indicate_connect()899 netif_carrier_off(padapter->pnetdev); in rtw_indicate_disconnect()1224 netdev_dbg(adapter->pnetdev, in rtw_joinbss_event_prehandle()