Lines Matching refs:priv_num
830 u8 priv_num; member
1245 for (i = 0; i < adapter->priv_num; i++) { in mwifiex_get_priv_by_id()
1252 return ((i < adapter->priv_num) ? adapter->priv[i] : NULL); in mwifiex_get_priv_by_id()
1265 for (i = 0; i < adapter->priv_num; i++) { in mwifiex_get_priv()
1273 return ((i < adapter->priv_num) ? adapter->priv[i] : NULL); in mwifiex_get_priv()
1284 for (i = 0; i < adapter->priv_num; i++) { in mwifiex_get_unused_priv()
1292 return ((i < adapter->priv_num) ? adapter->priv[i] : NULL); in mwifiex_get_unused_priv()
1332 struct mwifiex_private *priv_num; in mwifiex_is_any_intf_active() local
1335 for (i = 0; i < priv->adapter->priv_num; i++) { in mwifiex_is_any_intf_active()
1336 priv_num = priv->adapter->priv[i]; in mwifiex_is_any_intf_active()
1337 if (priv_num) { in mwifiex_is_any_intf_active()
1338 if ((GET_BSS_ROLE(priv_num) == MWIFIEX_BSS_ROLE_UAP && in mwifiex_is_any_intf_active()
1339 priv_num->bss_started) || in mwifiex_is_any_intf_active()
1340 (GET_BSS_ROLE(priv_num) == MWIFIEX_BSS_ROLE_STA && in mwifiex_is_any_intf_active()
1341 priv_num->media_connected)) in mwifiex_is_any_intf_active()