Searched refs:pnpi (Results 1 – 2 of 2) sorted by relevance
54 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local60 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()61 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()62 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()71 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local77 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()79 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()80 if (!pnpi->priv) { in rtw_alloc_etherdev()86 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()93 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local[all …]
2125 struct rtw_netdev_priv_indicator *pnpi; in rtw_cfg80211_add_monitor_if() local2151 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()2152 pnpi->priv = padapter; in rtw_cfg80211_add_monitor_if()2153 pnpi->sizeof_priv = sizeof(struct adapter); in rtw_cfg80211_add_monitor_if()