/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | power.c | 655 struct iwl_power_vifs *vifs) in iwl_mvm_power_set_pm() argument 671 if (vifs->bss_vif) in iwl_mvm_power_set_pm() 672 bss_mvmvif = iwl_mvm_vif_from_mac80211(vifs->bss_vif); in iwl_mvm_power_set_pm() 674 if (vifs->p2p_vif) in iwl_mvm_power_set_pm() 675 p2p_mvmvif = iwl_mvm_vif_from_mac80211(vifs->p2p_vif); in iwl_mvm_power_set_pm() 677 if (vifs->ap_vif) in iwl_mvm_power_set_pm() 678 ap_mvmvif = iwl_mvm_vif_from_mac80211(vifs->ap_vif); in iwl_mvm_power_set_pm() 685 if (vifs->bss_active && !vifs->p2p_active && !vifs->ap_active) { in iwl_mvm_power_set_pm() 691 if (vifs->p2p_active && !vifs->bss_active && !vifs->ap_active) { in iwl_mvm_power_set_pm() 696 if (vifs->bss_active && vifs->p2p_active) in iwl_mvm_power_set_pm() [all …]
|
D | mac80211.c | 3894 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_swap() argument 3899 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_swap() 3900 __iwl_mvm_remove_chanctx(mvm, vifs[0].old_ctx); in iwl_mvm_switch_vif_chanctx_swap() 3902 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 3908 ret = __iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].new_ctx, in iwl_mvm_switch_vif_chanctx_swap() 3923 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_switch_vif_chanctx_swap() 3926 if (__iwl_mvm_add_chanctx(mvm, vifs[0].old_ctx)) { in iwl_mvm_switch_vif_chanctx_swap() 3931 if (__iwl_mvm_assign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, in iwl_mvm_switch_vif_chanctx_swap() 3951 struct ieee80211_vif_chanctx_switch *vifs) in iwl_mvm_switch_vif_chanctx_reassign() argument 3956 __iwl_mvm_unassign_vif_chanctx(mvm, vifs[0].vif, vifs[0].old_ctx, true); in iwl_mvm_switch_vif_chanctx_reassign() [all …]
|
/Linux-v4.19/net/mac80211/ |
D | driver-ops.c | 248 struct ieee80211_vif_chanctx_switch *vifs, in drv_switch_vif_chanctx() argument 261 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 265 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx() 276 trace_drv_switch_vif_chanctx(local, vifs, n_vifs, mode); in drv_switch_vif_chanctx() 278 vifs, n_vifs, mode); in drv_switch_vif_chanctx() 284 container_of(vifs[i].new_ctx, in drv_switch_vif_chanctx() 288 container_of(vifs[i].old_ctx, in drv_switch_vif_chanctx()
|
D | trace.h | 1529 #define SWITCH_ENTRY_ASSIGN(to, from) local_vifs[i].to = vifs[i].from 1534 struct ieee80211_vif_chanctx_switch *vifs, 1536 TP_ARGS(local, vifs, n_vifs, mode), 1542 __dynamic_array(u8, vifs, 1552 __get_dynamic_array(vifs); 1558 sdata = container_of(vifs[i].vif,
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_mr.c | 67 struct mlxsw_sp_mr_vif vifs[MAXVIFS]; member 320 &mr_table->vifs[i]); in mlxsw_sp_mr_route_create() 323 if (mr_table->vifs[i].dev && in mlxsw_sp_mr_route_create() 324 mr_table->vifs[i].dev->mtu < mr_route->min_mtu) in mlxsw_sp_mr_route_create() 325 mr_route->min_mtu = mr_table->vifs[i].dev->mtu; in mlxsw_sp_mr_route_create() 329 &mr_table->vifs[mfc->mfc_parent]); in mlxsw_sp_mr_route_create() 674 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_add() 685 struct mlxsw_sp_mr_vif *mr_vif = &mr_table->vifs[vif_index]; in mlxsw_sp_mr_vif_del() 701 if (mr_table->vifs[vif_index].dev == dev) in mlxsw_sp_mr_dev_vif_lookup() 702 return &mr_table->vifs[vif_index]; in mlxsw_sp_mr_dev_vif_lookup() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | netdev.c | 31 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 161 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx() 298 if (!wil->vifs[i]) in wil_vif_find_free_mid() 425 if (wil->vifs[vif->mid]) { in wil_vif_add() 444 wil->vifs[vif->mid] = vif; in wil_vif_add() 509 vif = wil->vifs[mid]; in wil_vif_remove() 530 wil->vifs[mid] = NULL; in wil_vif_remove()
|
D | pm.c | 30 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_wake_connected_net_queues() 44 struct wil6210_vif *vif = wil->vifs[i]; in wil_pm_stop_all_net_queues() 127 struct wil6210_vif *vif = wil->vifs[i]; in wil_can_suspend()
|
D | main.c | 589 vif = wil->vifs[i]; in wil_bcast_fini_all() 1360 struct wil6210_vif *vif = wil->vifs[i]; in wil_abort_scan_all_vifs() 1421 vif = wil->vifs[i]; in wil_restore_vifs() 1505 vif = wil->vifs[i]; in wil_reset()
|
D | rx_reorder.c | 112 vif = wil->vifs[mid]; in wil_rx_reorder()
|
D | txrx_edma.c | 767 vif = wil->vifs[mid]; in wil_check_bar() 1067 struct wil6210_vif *vif = wil->vifs[mid]; in wil_rx_handle_edma() 1177 vif = wil->vifs[txdata->mid]; in wil_tx_sring_handler()
|
D | debugfs.c | 1493 vif = (mid < wil->max_vifs) ? wil->vifs[mid] : NULL; in wil_link_debugfs_show() 1778 vif = wil->vifs[i]; in wil_mids_debugfs_show() 2010 vif = wil->vifs[i]; in wil_link_stats_debugfs_show() 2066 vif = wil->vifs[i]; in wil_link_stats_write()
|
D | pcie_bus.c | 179 vif = wil->vifs[i]; in wil_remove_all_additional_vifs()
|
D | cfg80211.c | 434 if (wil->vifs[i]) { in wil_cfg80211_validate_add_iface() 435 wdev = vif_to_wdev(wil->vifs[i]); in wil_cfg80211_validate_add_iface() 455 struct wil6210_vif *vif_pos = wil->vifs[i]; in wil_cfg80211_validate_change_iface()
|
/Linux-v4.19/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 419 if (!adapter->vifs[i] || in rsi_mac80211_add_interface() 420 !memcmp(vif->addr, adapter->vifs[i]->addr, ETH_ALEN)) { in rsi_mac80211_add_interface() 431 adapter->vifs[vap_idx] = vif; in rsi_mac80211_add_interface() 487 if (!adapter->vifs[i]) in rsi_mac80211_remove_interface() 489 if (vif == adapter->vifs[i]) { in rsi_mac80211_remove_interface() 493 adapter->vifs[i] = NULL; in rsi_mac80211_remove_interface() 525 vif = adapter->vifs[i]; in rsi_channel_change() 624 vif = adapter->vifs[i]; in rsi_mac80211_config() 1024 if (vif == adapter->vifs[ii]) in rsi_mac80211_ampdu_action() 1253 vif = adapter->vifs[i]; in rsi_fill_rx_status() [all …]
|
D | rsi_main.h | 311 struct ieee80211_vif *vifs[RSI_MAX_VIFS]; member
|
D | rsi_91x_core.c | 359 vif = adapter->vifs[i]; in rsi_get_vif()
|
D | rsi_91x_hal.c | 427 vif = adapter->vifs[i]; in rsi_prepare_beacon()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | channel.c | 119 INIT_LIST_HEAD(&ctx->vifs); in ath_chanctx_init() 169 list_for_each_entry(avp, &ctx->vifs, list) { in ath_is_go_chanctx_present() 280 list_for_each_entry(avp, &ctx->vifs, list) { in ath_chanctx_check_active() 297 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_check_active() 867 if (!ctx->assigned || list_empty(&ctx->vifs)) in ath_chanctx_get_oper_chan() 1154 list_for_each_entry(avp, &sc->cur_chan->vifs, list) { in ath_chanctx_send_ps_frame() 1348 INIT_LIST_HEAD(&ctx->vifs); in ath9k_offchannel_init()
|
D | main.c | 992 list_for_each_entry(avp, &ctx->vifs, list) { in ath9k_update_bssid_mask() 1024 list_for_each_entry(avp, &ctx->vifs, list) in ath9k_calculate_iter_data() 1276 list_add_tail(&avp->list, &avp->chanctx->vifs); in ath9k_add_interface() 2508 list_add_tail(&avp->list, &ctx->vifs); in ath9k_assign_vif_chanctx()
|
D | ath9k.h | 336 struct list_head vifs; member
|
/Linux-v4.19/drivers/net/wireless/ath/carl9170/ |
D | main.c | 691 ar->vifs++; in carl9170_op_add_interface() 749 ar->vifs--; in carl9170_op_add_interface() 755 if (ar->vifs > 1) in carl9170_op_add_interface() 777 ar->vifs--; in carl9170_op_remove_interface() 793 if (ar->vifs) { in carl9170_op_remove_interface() 817 if (ar->vifs == 1) in carl9170_op_remove_interface() 1824 ar->vifs = 0; in carl9170_alloc()
|
D | carl9170.h | 305 unsigned int vifs; member
|
D | debug.c | 443 ar->vifs, ar->fw.vif_num); in carl9170_debugfs_vif_dump_read()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 7355 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_rx_channel() argument 7366 WARN_ON(ctx && vifs); in ath10k_mac_update_rx_channel() 7367 WARN_ON(vifs && !n_vifs); in ath10k_mac_update_rx_channel() 7385 if (vifs) in ath10k_mac_update_rx_channel() 7386 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 7405 struct ieee80211_vif_chanctx_switch *vifs, in ath10k_mac_update_vif_chan() argument 7421 arvif = (void *)vifs[i].vif->drv_priv; in ath10k_mac_update_vif_chan() 7426 vifs[i].old_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 7427 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 7428 vifs[i].old_ctx->def.width, in ath10k_mac_update_vif_chan() [all …]
|
/Linux-v4.19/net/ipv4/ |
D | ipmr.c | 2725 struct nlattr *vifs, *af; in ipmr_rtm_dumplink() local 2752 vifs = nla_nest_start(skb, IPMRA_TABLE_VIFS); in ipmr_rtm_dumplink() 2753 if (!vifs) { in ipmr_rtm_dumplink() 2762 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink() 2772 nla_nest_end(skb, vifs); in ipmr_rtm_dumplink()
|