Searched refs:pnpi (Results 1 – 2 of 2) sorted by relevance
55 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local61 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()62 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()63 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()72 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local78 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()80 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()81 if (!pnpi->priv) { in rtw_alloc_etherdev()87 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()94 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local[all …]
2127 struct rtw_netdev_priv_indicator *pnpi; in rtw_cfg80211_add_monitor_if() local2154 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()2155 pnpi->priv = padapter; in rtw_cfg80211_add_monitor_if()2156 pnpi->sizeof_priv = sizeof(struct adapter); in rtw_cfg80211_add_monitor_if()