Home
last modified time | relevance | path

Searched refs:pnpi (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c30 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local
36 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()
37 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()
45 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local
50 pnpi = netdev_priv(netdev); in rtw_free_netdev()
52 if (!pnpi->priv) in rtw_free_netdev()
55 vfree(pnpi->priv); in rtw_free_netdev()
/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c207 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local
213 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()
214 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()
215 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()
224 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local
230 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()
232 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()
233 if (!pnpi->priv) { in rtw_alloc_etherdev()
239 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()
246 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local
[all …]
Dioctl_cfg80211.c2592 struct rtw_netdev_priv_indicator *pnpi; in rtw_cfg80211_add_monitor_if() local
2623 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()
2624 pnpi->priv = padapter; in rtw_cfg80211_add_monitor_if()
2625 pnpi->sizeof_priv = sizeof(struct adapter); in rtw_cfg80211_add_monitor_if()