Home
last modified time | relevance | path

Searched refs:vdev_id (Results 1 – 25 of 36) sorted by relevance

12

/linux/drivers/net/wireless/ath/ath12k/
H A Dpeer.c14 u32 vdev_id, const u8 *addr) in ath12k_peer_delete_wait_register() argument
16 wait->vdev_id = vdev_id; in ath12k_peer_delete_wait_register()
33 void ath12k_peer_delete_resp_signal(struct ath12k *ar, u32 vdev_id, const u8 *addr) in ath12k_peer_delete_resp_signal() argument
40 if (wait->vdev_id == vdev_id && in ath12k_peer_delete_resp_signal()
48 vdev_id, addr); in ath12k_peer_delete_resp_signal()
61 static int ath12k_wait_for_dp_link_peer_common(struct ath12k_base *ab, int vdev_id, in ath12k_wait_for_dp_link_peer_common() argument
72 vdev_id, in ath12k_wait_for_dp_link_peer_common()
86 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id) in ath12k_peer_cleanup() argument
96 if (peer->vdev_id != vdev_id) in ath12k_peer_cleanup()
100 peer->addr, vdev_id); in ath12k_peer_cleanup()
[all …]
H A Dwmi.h2932 __le32 vdev_id; member
2977 __le32 vdev_id; member
2986 __le32 vdev_id; member
2990 u32 vdev_id; member
3000 __le32 vdev_id; member
3010 __le32 vdev_id; member
3015 __le32 vdev_id; member
3041 __le32 vdev_id; member
3130 u32 vdev_id; member
3151 u32 vdev_id; member
[all …]
H A Dwow.c110 ret = ath12k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath12k_wow_vif_cleanup()
113 wow_wakeup_event(i), arvif->vdev_id, ret); in ath12k_wow_vif_cleanup()
119 ret = ath12k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath12k_wow_vif_cleanup()
122 i, arvif->vdev_id, ret); in ath12k_wow_vif_cleanup()
144 arvif->vdev_id, ret); in ath12k_wow_cleanup()
267 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert() argument
275 pno->vdev_id = vdev_id; in ath12k_wow_pno_check_and_convert()
404 ret = ath12k_wow_pno_check_and_convert(ar, arvif->vdev_id, in ath12k_wow_vif_set_wakeups()
407 ath12k_wmi_wow_config_pno(ar, arvif->vdev_id, pno); in ath12k_wow_vif_set_wakeups()
445 ret = ath12k_wmi_wow_add_pattern(ar, arvif->vdev_id, in ath12k_wow_vif_set_wakeups()
[all …]
H A Dwmi.c796 u32 vdev_id = arvif->vdev_id; in ath12k_wmi_mgmt_send() local
828 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send()
875 u32 vdev_id, u32 pdev_id) in ath12k_wmi_send_stats_request_cmd() argument
891 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_send_stats_request_cmd()
902 stats_id, vdev_id, pdev_id); in ath12k_wmi_send_stats_request_cmd()
936 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create()
1005 int ath12k_wmi_vdev_delete(struct ath12k *ar, u8 vdev_id) in ath12k_wmi_vdev_delete() argument
1032 ath12k_wmi_vdev_stop(struct ath12k * ar,u8 vdev_id) ath12k_wmi_vdev_stop() argument
1060 ath12k_wmi_vdev_down(struct ath12k * ar,u8 vdev_id) ath12k_wmi_vdev_down() argument
1397 ath12k_wmi_send_peer_delete_cmd(struct ath12k * ar,const u8 * peer_addr,u8 vdev_id) ath12k_wmi_send_peer_delete_cmd() argument
1468 ath12k_wmi_set_peer_param(struct ath12k * ar,const u8 * peer_addr,u32 vdev_id,u32 param_id,u32 param_val) ath12k_wmi_set_peer_param() argument
1503 ath12k_wmi_send_peer_flush_tids_cmd(struct ath12k * ar,u8 peer_addr[ETH_ALEN],u32 peer_tid_bitmap,u8 vdev_id) ath12k_wmi_send_peer_flush_tids_cmd() argument
1537 ath12k_wmi_peer_rx_reorder_queue_setup(struct ath12k * ar,int vdev_id,const u8 * addr,dma_addr_t paddr,u8 tid,u8 ba_window_size_valid,u32 ba_window_size) ath12k_wmi_peer_rx_reorder_queue_setup() argument
1646 ath12k_wmi_pdev_set_ps_mode(struct ath12k * ar,int vdev_id,u32 enable) ath12k_wmi_pdev_set_ps_mode() argument
1809 ath12k_wmi_set_sta_ps_param(struct ath12k * ar,u32 vdev_id,u32 param,u32 param_value) ath12k_wmi_set_sta_ps_param() argument
1871 ath12k_wmi_vdev_set_param_cmd(struct ath12k * ar,u32 vdev_id,u32 param_id,u32 param_value) ath12k_wmi_vdev_set_param_cmd() argument
1934 ath12k_wmi_send_bcn_offload_control_cmd(struct ath12k * ar,u32 vdev_id,u32 bcn_ctrl_op) ath12k_wmi_send_bcn_offload_control_cmd() argument
1966 ath12k_wmi_p2p_go_bcn_ie(struct ath12k * ar,u32 vdev_id,const u8 * p2p_ie) ath12k_wmi_p2p_go_bcn_ie() argument
2020 u32 vdev_id = arvif->vdev_id; ath12k_wmi_bcn_tmpl() local
2998 ath12k_wmi_send_wmm_update_cmd(struct ath12k * ar,u32 vdev_id,struct wmi_wmm_params_all_arg * param) ath12k_wmi_send_wmm_update_cmd() argument
3240 ath12k_wmi_delba_send(struct ath12k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 initiator,u32 reason) ath12k_wmi_delba_send() argument
3276 ath12k_wmi_addba_set_resp(struct ath12k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 status) ath12k_wmi_addba_set_resp() argument
3312 ath12k_wmi_addba_send(struct ath12k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 buf_size) ath12k_wmi_addba_send() argument
3347 ath12k_wmi_addba_clear_resp(struct ath12k * ar,u32 vdev_id,const u8 * mac) ath12k_wmi_addba_clear_resp() argument
3573 ath12k_wmi_send_11d_scan_stop_cmd(struct ath12k * ar,u32 vdev_id) ath12k_wmi_send_11d_scan_stop_cmd() argument
3688 ath12k_wmi_send_obss_spr_cmd(struct ath12k * ar,u32 vdev_id,struct ieee80211_he_obss_pd * he_obss_pd) ath12k_wmi_send_obss_spr_cmd() argument
3855 ath12k_wmi_obss_color_cfg_cmd(struct ath12k * ar,u32 vdev_id,u8 bss_color,u32 period,bool enable) ath12k_wmi_obss_color_cfg_cmd() argument
3897 ath12k_wmi_send_bss_color_change_enable_cmd(struct ath12k * ar,u32 vdev_id,bool enable) ath12k_wmi_send_bss_color_change_enable_cmd() argument
3931 ath12k_wmi_fils_discovery_tmpl(struct ath12k * ar,u32 vdev_id,struct sk_buff * tmpl) ath12k_wmi_fils_discovery_tmpl() argument
3972 ath12k_wmi_probe_resp_tmpl(struct ath12k * ar,u32 vdev_id,struct sk_buff * tmpl) ath12k_wmi_probe_resp_tmpl() argument
4023 ath12k_wmi_fils_discovery(struct ath12k * ar,u32 vdev_id,u32 interval,bool unsol_bcast_probe_resp_enabled) ath12k_wmi_fils_discovery() argument
4063 u32 vdev_id, evt_type; ath12k_wmi_obss_color_collision_event() local
4503 ath12k_wmi_vdev_spectral_enable(struct ath12k * ar,u32 vdev_id,u32 trigger,u32 enable) ath12k_wmi_vdev_spectral_enable() argument
6286 ath12k_pull_vdev_del_resp_ev(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath12k_pull_vdev_del_resp_ev() argument
6312 ath12k_pull_bcn_tx_status_ev(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id,u32 * tx_status) ath12k_pull_bcn_tx_status_ev() argument
6338 ath12k_pull_vdev_stopped_param_tlv(struct ath12k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath12k_pull_vdev_stopped_param_tlv() argument
7111 u32 vdev_id; ath12k_peer_delete_resp_event() local
7140 u32 vdev_id = 0; ath12k_vdev_delete_resp_event() local
7223 u32 vdev_id, tx_status; ath12k_bcn_tx_status_event() local
7246 u32 vdev_id = 0; ath12k_vdev_stopped_event() local
7457 ath12k_get_ar_on_scan_state(struct ath12k_base * ab,u32 vdev_id,enum ath12k_scan_state state) ath12k_get_ar_on_scan_state() argument
7625 u32 vdev_id; ath12k_roam_event() local
8512 int vdev_id; ath12k_wmi_tlv_rssi_chain_parse() local
9411 int ret, vdev_id; ath12k_wmi_p2p_noa_event() local
10886 ath12k_wmi_wow_add_wakeup_event(struct ath12k * ar,u32 vdev_id,enum wmi_wow_wakeup_event event,u32 enable) ath12k_wmi_wow_add_wakeup_event() argument
10919 ath12k_wmi_wow_add_pattern(struct ath12k * ar,u32 vdev_id,u32 pattern_id,const u8 * pattern,const u8 * mask,int pattern_len,int pattern_offset) ath12k_wmi_wow_add_pattern() argument
11018 ath12k_wmi_wow_del_pattern(struct ath12k * ar,u32 vdev_id,u32 pattern_id) ath12k_wmi_wow_del_pattern() argument
11050 ath12k_wmi_op_gen_config_pno_start(struct ath12k * ar,u32 vdev_id,struct wmi_pno_scan_req_arg * pno) ath12k_wmi_op_gen_config_pno_start() argument
11156 ath12k_wmi_op_gen_config_pno_stop(struct ath12k * ar,u32 vdev_id) ath12k_wmi_op_gen_config_pno_stop() argument
11178 ath12k_wmi_wow_config_pno(struct ath12k * ar,u32 vdev_id,struct wmi_pno_scan_req_arg * pno_scan) ath12k_wmi_wow_config_pno() argument
11577 ath12k_wmi_send_vdev_set_tpc_power(struct ath12k * ar,u32 vdev_id,struct ath12k_reg_tpc_power_info * param) ath12k_wmi_send_vdev_set_tpc_power() argument
[all...]
H A Dmac.c780 if (arvif->vdev_id == arvif_iter->vdev_id && in ath12k_get_arvif_iter()
788 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif() argument
796 arvif_iter.vdev_id = vdev_id; in ath12k_mac_get_arvif()
805 ath12k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath12k_mac_get_arvif()
813 u32 vdev_id) in ath12k_mac_get_arvif_by_vdev_id() argument
822 (pdev->ar->allocated_vdev_map & (1LL << vdev_id))) { in ath12k_mac_get_arvif_by_vdev_id()
823 arvif = ath12k_mac_get_arvif(pdev->ar, vdev_id); in ath12k_mac_get_arvif_by_vdev_id()
832 struct ath12k *ath12k_mac_get_ar_by_vdev_id(struct ath12k_base *ab, u32 vdev_id) in ath12k_mac_get_ar_by_vdev_id() argument
1328 ath12k_monitor_vdev_up(struct ath12k * ar,int vdev_id) ath12k_monitor_vdev_up() argument
1347 ath12k_mac_monitor_vdev_start(struct ath12k * ar,int vdev_id,struct cfg80211_chan_def * chandef) ath12k_mac_monitor_vdev_start() argument
7522 u8 vdev_id; ath12k_mac_mlo_sta_set_link_active() local
10282 ath12k_mac_11d_scan_start(struct ath12k * ar,u32 vdev_id) ath12k_mac_11d_scan_start() argument
10328 u32 vdev_id; ath12k_mac_11d_scan_stop() local
10426 int ret, vdev_id; ath12k_mac_vdev_create() local
[all...]
H A Ddp_peer.c22 int vdev_id, const u8 *addr) in ath12k_dp_link_peer_find_by_vdev_and_addr() argument
29 if (peer->vdev_id != vdev_id) in ath12k_dp_link_peer_find_by_vdev_and_addr()
104 bool ath12k_dp_link_peer_exist_by_vdev_id(struct ath12k_dp *dp, int vdev_id) in ath12k_dp_link_peer_exist_by_vdev_id() argument
111 if (vdev_id == peer->vdev_id) { in ath12k_dp_link_peer_exist_by_vdev_id()
149 peer->vdev_id, peer->addr, peer_id); in ath12k_dp_link_peer_unmap_event()
158 void ath12k_dp_link_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id, in ath12k_dp_link_peer_map_event() argument
166 peer = ath12k_dp_link_peer_find_by_vdev_and_addr(dp, vdev_id, mac_addr); in ath12k_dp_link_peer_map_event()
172 peer->vdev_id = vdev_id; in ath12k_dp_link_peer_map_event()
179 ar = ath12k_mac_get_ar_by_vdev_id(ab, vdev_id); in ath12k_dp_link_peer_map_event()
192 vdev_id, mac_addr, peer_id); in ath12k_dp_link_peer_map_event()
[all …]
H A Dpeer.h14 u32 vdev_id; member
19 void ath12k_peer_delete_resp_signal(struct ath12k *ar, u32 vdev_id, const u8 *addr);
22 void ath12k_peer_cleanup(struct ath12k *ar, u32 vdev_id);
23 int ath12k_peer_delete(struct ath12k *ar, u32 vdev_id, u8 *addr);
H A Ddp_peer.h75 int vdev_id; member
120 void ath12k_dp_link_peer_map_event(struct ath12k_base *ab, u8 vdev_id, u16 peer_id,
153 int vdev_id, const u8 *addr);
156 bool ath12k_dp_link_peer_exist_by_vdev_id(struct ath12k_dp *dp, int vdev_id);
H A Ddp_rx.c598 int ath12k_dp_rx_peer_tid_setup(struct ath12k *ar, const u8 *peer_mac, int vdev_id, in ath12k_dp_rx_peer_tid_setup()
611 peer = ath12k_dp_link_peer_find_by_vdev_and_addr(dp, vdev_id, peer_mac); in ath12k_dp_rx_peer_tid_setup()
651 ret = ath12k_wmi_peer_rx_reorder_queue_setup(ar, vdev_id, in ath12k_dp_rx_peer_tid_setup()
706 ret = ath12k_wmi_peer_rx_reorder_queue_setup(ar, vdev_id, peer_mac, in ath12k_dp_rx_peer_tid_setup()
721 int vdev_id; in ath12k_dp_rx_ampdu_start()
731 vdev_id = arsta->arvif->vdev_id; in ath12k_dp_rx_ampdu_start()
733 ret = ath12k_dp_rx_peer_tid_setup(ar, arsta->addr, vdev_id, in ath12k_dp_rx_ampdu_start()
752 int vdev_id; in ath12k_dp_rx_ampdu_stop()
763 vdev_id in ath12k_dp_rx_ampdu_stop()
594 ath12k_dp_rx_peer_tid_setup(struct ath12k * ar,const u8 * peer_mac,int vdev_id,u8 tid,u32 ba_win_sz,u16 ssn,enum hal_pn_type pn_type) ath12k_dp_rx_peer_tid_setup() argument
717 int vdev_id; ath12k_dp_rx_ampdu_start() local
748 int vdev_id; ath12k_dp_rx_ampdu_stop() local
1466 ath12k_dp_rx_peer_frag_setup(struct ath12k * ar,const u8 * peer_mac,int vdev_id) ath12k_dp_rx_peer_frag_setup() argument
[all...]
H A Ddp.c20 void ath12k_dp_peer_cleanup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_cleanup() argument
29 peer = ath12k_dp_link_peer_find_by_vdev_and_addr(dp, vdev_id, addr); in ath12k_dp_peer_cleanup()
32 addr, vdev_id); in ath12k_dp_peer_cleanup()
47 int ath12k_dp_peer_setup(struct ath12k *ar, int vdev_id, const u8 *addr) in ath12k_dp_peer_setup() argument
57 ret = ath12k_wmi_set_peer_param(ar, addr, vdev_id, in ath12k_dp_peer_setup()
62 ath12k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath12k_dp_peer_setup()
63 ret, addr, vdev_id); in ath12k_dp_peer_setup()
68 ret = ath12k_dp_rx_peer_tid_setup(ar, addr, vdev_id, tid, 1, 0, in ath12k_dp_peer_setup()
77 ret = ath12k_dp_rx_peer_frag_setup(ar, addr, vdev_id); in ath12k_dp_peer_setup()
90 peer = ath12k_dp_link_peer_find_by_vdev_and_addr(dp, vdev_id, add in ath12k_dp_peer_setup()
[all...]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h73 struct sk_buff *(*gen_vdev_create)(struct ath10k *ar, u32 vdev_id,
77 struct sk_buff *(*gen_vdev_delete)(struct ath10k *ar, u32 vdev_id);
81 struct sk_buff *(*gen_vdev_stop)(struct ath10k *ar, u32 vdev_id);
82 struct sk_buff *(*gen_vdev_up)(struct ath10k *ar, u32 vdev_id, u32 aid,
84 struct sk_buff *(*gen_vdev_down)(struct ath10k *ar, u32 vdev_id);
85 struct sk_buff *(*gen_vdev_set_param)(struct ath10k *ar, u32 vdev_id,
91 struct sk_buff *(*gen_vdev_spectral_enable)(struct ath10k *ar, u32 vdev_id,
93 struct sk_buff *(*gen_vdev_wmm_conf)(struct ath10k *ar, u32 vdev_id,
95 struct sk_buff *(*gen_peer_create)(struct ath10k *ar, u32 vdev_id,
98 struct sk_buff *(*gen_peer_delete)(struct ath10k *ar, u32 vdev_id,
[all …]
H A Dmac.c246 .vdev_id = arvif->vdev_id, in ath10k_send_key()
351 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_install_peer_wep_keys()
410 arvif->vdev_id, in ath10k_install_peer_wep_keys()
415 arvif->vdev_id, ret); in ath10k_install_peer_wep_keys()
435 peer = ath10k_peer_find(ar, arvif->vdev_id, addr); in ath10k_clear_peer_keys()
556 arvif->vdev_id, key->keyidx); in ath10k_mac_vif_update_wep_key()
561 arvif->vdev_id, peer->addr, ret); in ath10k_mac_vif_update_wep_key()
715 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() argument
722 ret = ath10k_wait_for_peer_deleted(ar, vdev_id, addr); in ath10k_wait_for_peer_delete_done()
738 u32 vdev_id, in ath10k_peer_create() argument
[all …]
H A Dtxrx.c150 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find() argument
158 if (peer->vdev_id != vdev_id) in ath10k_peer_find()
185 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common() argument
194 mapped = !!ath10k_peer_find(ar, vdev_id, addr); in ath10k_wait_for_peer_common()
207 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created() argument
209 return ath10k_wait_for_peer_common(ar, vdev_id, addr, true); in ath10k_wait_for_peer_created()
212 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted() argument
214 return ath10k_wait_for_peer_common(ar, vdev_id, addr, false); in ath10k_wait_for_peer_deleted()
231 peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); in ath10k_peer_map_event()
237 peer->vdev_id = ev->vdev_id; in ath10k_peer_map_event()
[all …]
H A Dp2p.c117 u32 vdev_id; member
127 if (arvif->vdev_id != arg->vdev_id) in ath10k_p2p_noa_update_vdev_iter()
133 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, in ath10k_p2p_noa_update_by_vdev_id() argument
137 .vdev_id = vdev_id, in ath10k_p2p_noa_update_by_vdev_id()
H A Dtxrx.h14 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id,
17 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id,
19 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
H A Dspectral.c183 int vdev_id; in ath10k_spectral_scan_trigger() local
190 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_trigger()
195 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger()
201 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_trigger()
215 int vdev_id, count, res = 0; in ath10k_spectral_scan_config() local
223 vdev_id = arvif->vdev_id; in ath10k_spectral_scan_config()
228 res = ath10k_wmi_vdev_spectral_enable(ar, vdev_id, in ath10k_spectral_scan_config()
244 arg.vdev_id = vdev_id; in ath10k_spectral_scan_config()
H A Dwmi.c1889 arvif->vdev_id, in ath10k_wmi_tx_beacon_nowait()
1982 u32 vdev_id; in ath10k_wmi_op_gen_mgmt_tx() local
1992 vdev_id = arvif->vdev_id; in ath10k_wmi_op_gen_mgmt_tx()
1994 vdev_id = 0; in ath10k_wmi_op_gen_mgmt_tx()
2030 cmd->hdr.vdev_id = __cpu_to_le32(vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
2210 arg->vdev_id = ev->vdev_id; in ath10k_wmi_op_pull_scan_ev()
2223 u32 vdev_id; in ath10k_wmi_event_scan() local
3851 int ret, vdev_id = 0; ath10k_wmi_event_host_swba() local
4561 u32 vdev_id; ath10k_wmi_event_roam() local
5221 int vdev_id; ath10k_wmi_handle_tdls_peer_event() local
7140 ath10k_wmi_op_gen_vdev_create(struct ath10k * ar,u32 vdev_id,enum wmi_vdev_type type,enum wmi_vdev_subtype subtype,const u8 macaddr[ETH_ALEN]) ath10k_wmi_op_gen_vdev_create() argument
7165 ath10k_wmi_op_gen_vdev_delete(struct ath10k * ar,u32 vdev_id) ath10k_wmi_op_gen_vdev_delete() argument
7237 ath10k_wmi_op_gen_vdev_stop(struct ath10k * ar,u32 vdev_id) ath10k_wmi_op_gen_vdev_stop() argument
7254 ath10k_wmi_op_gen_vdev_up(struct ath10k * ar,u32 vdev_id,u32 aid,const u8 * bssid) ath10k_wmi_op_gen_vdev_up() argument
7276 ath10k_wmi_op_gen_vdev_down(struct ath10k * ar,u32 vdev_id) ath10k_wmi_op_gen_vdev_down() argument
7294 ath10k_wmi_op_gen_vdev_set_param(struct ath10k * ar,u32 vdev_id,u32 param_id,u32 param_value) ath10k_wmi_op_gen_vdev_set_param() argument
7394 ath10k_wmi_op_gen_vdev_spectral_enable(struct ath10k * ar,u32 vdev_id,u32 trigger,u32 enable) ath10k_wmi_op_gen_vdev_spectral_enable() argument
7413 ath10k_wmi_op_gen_peer_create(struct ath10k * ar,u32 vdev_id,const u8 peer_addr[ETH_ALEN],enum wmi_peer_type peer_type) ath10k_wmi_op_gen_peer_create() argument
7436 ath10k_wmi_op_gen_peer_delete(struct ath10k * ar,u32 vdev_id,const u8 peer_addr[ETH_ALEN]) ath10k_wmi_op_gen_peer_delete() argument
7457 ath10k_wmi_op_gen_peer_flush(struct ath10k * ar,u32 vdev_id,const u8 peer_addr[ETH_ALEN],u32 tid_bitmap) ath10k_wmi_op_gen_peer_flush() argument
7479 ath10k_wmi_op_gen_peer_set_param(struct ath10k * ar,u32 vdev_id,const u8 * peer_addr,enum wmi_peer_param param_id,u32 param_value) ath10k_wmi_op_gen_peer_set_param() argument
7547 ath10k_wmi_op_gen_set_psmode(struct ath10k * ar,u32 vdev_id,enum wmi_sta_ps_mode psmode) ath10k_wmi_op_gen_set_psmode() argument
7568 ath10k_wmi_op_gen_set_sta_ps(struct ath10k * ar,u32 vdev_id,enum wmi_sta_powersave_param param_id,u32 value) ath10k_wmi_op_gen_set_sta_ps() argument
7591 ath10k_wmi_op_gen_set_ap_ps(struct ath10k * ar,u32 vdev_id,const u8 * mac,enum wmi_ap_ps_peer_param param_id,u32 value) ath10k_wmi_op_gen_set_ap_ps() argument
7880 ath10k_wmi_op_gen_beacon_dma(struct ath10k * ar,u32 vdev_id,const void * bcn,size_t bcn_len,u32 bcn_paddr,bool dtim_zero,bool deliver_cab) ath10k_wmi_op_gen_beacon_dma() argument
8118 ath10k_wmi_op_gen_addba_clear_resp(struct ath10k * ar,u32 vdev_id,const u8 * mac) ath10k_wmi_op_gen_addba_clear_resp() argument
8142 ath10k_wmi_op_gen_addba_send(struct ath10k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 buf_size) ath10k_wmi_op_gen_addba_send() argument
8168 ath10k_wmi_op_gen_addba_set_resp(struct ath10k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 status) ath10k_wmi_op_gen_addba_set_resp() argument
8194 ath10k_wmi_op_gen_delba_send(struct ath10k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 initiator,u32 reason) ath10k_wmi_op_gen_delba_send() argument
8892 ath10k_wmi_10_4_gen_update_fw_tdls_state(struct ath10k * ar,u32 vdev_id,enum wmi_tdls_state state) ath10k_wmi_10_4_gen_update_fw_tdls_state() argument
[all...]
H A Dmac.h35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
52 void ath10k_mac_handle_beacon_miss(struct ath10k *ar, u32 vdev_id);
53 void ath10k_mac_handle_tx_pause_vdev(struct ath10k *ar, u32 vdev_id,
H A Dp2p.h14 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id,
/linux/drivers/net/wireless/ath/ath11k/
H A Dwmi.c662 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument
688 cmd->vdev_id = vdev_id; in ath11k_wmi_mgmt_send()
752 cmd->vdev_id = param->if_id; in ath11k_wmi_vdev_create()
806 int ath11k_wmi_vdev_delete(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_delete() argument
820 cmd->vdev_id = vdev_id; in ath11k_wmi_vdev_delete()
828 ath11k_dbg(ar->ab, ATH11K_DBG_WMI, "cmd vdev delete id %d\n", vdev_id); in ath11k_wmi_vdev_delete()
833 int ath11k_wmi_vdev_stop(struct ath11k *ar, u8 vdev_id) in ath11k_wmi_vdev_stop() argument
848 cmd->vdev_id in ath11k_wmi_vdev_stop()
861 ath11k_wmi_vdev_down(struct ath11k * ar,u8 vdev_id) ath11k_wmi_vdev_down() argument
1034 ath11k_wmi_vdev_up(struct ath11k * ar,u32 vdev_id,u32 aid,const u8 * bssid,u8 * tx_bssid,u32 nontx_profile_idx,u32 nontx_profile_cnt) ath11k_wmi_vdev_up() argument
1122 ath11k_wmi_send_peer_delete_cmd(struct ath11k * ar,const u8 * peer_addr,u8 vdev_id) ath11k_wmi_send_peer_delete_cmd() argument
1194 ath11k_wmi_set_peer_param(struct ath11k * ar,const u8 * peer_addr,u32 vdev_id,u32 param_id,u32 param_val) ath11k_wmi_set_peer_param() argument
1262 ath11k_wmi_peer_rx_reorder_queue_setup(struct ath11k * ar,int vdev_id,const u8 * addr,dma_addr_t paddr,u8 tid,u8 ba_window_size_valid,u32 ba_window_size) ath11k_wmi_peer_rx_reorder_queue_setup() argument
1373 ath11k_wmi_pdev_set_ps_mode(struct ath11k * ar,int vdev_id,enum wmi_sta_ps_mode psmode) ath11k_wmi_pdev_set_ps_mode() argument
1538 ath11k_wmi_set_sta_ps_param(struct ath11k * ar,u32 vdev_id,u32 param,u32 param_value) ath11k_wmi_set_sta_ps_param() argument
1604 ath11k_wmi_vdev_set_param_cmd(struct ath11k * ar,u32 vdev_id,u32 param_id,u32 param_value) ath11k_wmi_vdev_set_param_cmd() argument
1700 ath11k_wmi_send_bcn_offload_control_cmd(struct ath11k * ar,u32 vdev_id,u32 bcn_ctrl_op) ath11k_wmi_send_bcn_offload_control_cmd() argument
1733 ath11k_wmi_p2p_go_bcn_ie(struct ath11k * ar,u32 vdev_id,const u8 * p2p_ie) ath11k_wmi_p2p_go_bcn_ie() argument
1772 ath11k_wmi_bcn_tmpl(struct ath11k * ar,u32 vdev_id,struct ieee80211_mutable_offsets * offs,struct sk_buff * bcn,u32 ema_params) ath11k_wmi_bcn_tmpl() argument
2454 ath11k_wmi_send_vdev_set_tpc_power(struct ath11k * ar,u32 vdev_id,struct ath11k_reg_tpc_power_info * param) ath11k_wmi_send_vdev_set_tpc_power() argument
2691 ath11k_wmi_send_wmm_update_cmd_tlv(struct ath11k * ar,u32 vdev_id,struct wmi_wmm_params_all_arg * param,enum wmi_wmm_params_type wmm_param_type) ath11k_wmi_send_wmm_update_cmd_tlv() argument
2797 ath11k_wmi_delba_send(struct ath11k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 initiator,u32 reason) ath11k_wmi_delba_send() argument
2833 ath11k_wmi_addba_set_resp(struct ath11k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 status) ath11k_wmi_addba_set_resp() argument
2869 ath11k_wmi_addba_send(struct ath11k * ar,u32 vdev_id,const u8 * mac,u32 tid,u32 buf_size) ath11k_wmi_addba_send() argument
2904 ath11k_wmi_addba_clear_resp(struct ath11k * ar,u32 vdev_id,const u8 * mac) ath11k_wmi_addba_clear_resp() argument
3184 ath11k_wmi_send_11d_scan_stop_cmd(struct ath11k * ar,u32 vdev_id) ath11k_wmi_send_11d_scan_stop_cmd() argument
3565 ath11k_wmi_send_obss_spr_cmd(struct ath11k * ar,u32 vdev_id,struct ieee80211_he_obss_pd * he_obss_pd) ath11k_wmi_send_obss_spr_cmd() argument
3837 ath11k_wmi_send_obss_color_collision_cfg_cmd(struct ath11k * ar,u32 vdev_id,u8 bss_color,u32 period,bool enable) ath11k_wmi_send_obss_color_collision_cfg_cmd() argument
3882 ath11k_wmi_send_bss_color_change_enable_cmd(struct ath11k * ar,u32 vdev_id,bool enable) ath11k_wmi_send_bss_color_change_enable_cmd() argument
3918 ath11k_wmi_fils_discovery_tmpl(struct ath11k * ar,u32 vdev_id,struct sk_buff * tmpl) ath11k_wmi_fils_discovery_tmpl() argument
3966 ath11k_wmi_peer_set_cfr_capture_conf(struct ath11k * ar,u32 vdev_id,const u8 * mac_addr,struct wmi_peer_cfr_capture_conf_arg * arg) ath11k_wmi_peer_set_cfr_capture_conf() argument
4006 ath11k_wmi_probe_resp_tmpl(struct ath11k * ar,u32 vdev_id,struct sk_buff * tmpl) ath11k_wmi_probe_resp_tmpl() argument
4063 ath11k_wmi_fils_discovery(struct ath11k * ar,u32 vdev_id,u32 interval,bool unsol_bcast_probe_resp_enabled) ath11k_wmi_fils_discovery() argument
4536 ath11k_wmi_vdev_spectral_enable(struct ath11k * ar,u32 vdev_id,u32 trigger,u32 enable) ath11k_wmi_vdev_spectral_enable() argument
5857 ath11k_pull_vdev_del_resp_ev(struct ath11k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath11k_pull_vdev_del_resp_ev() argument
5885 ath11k_pull_bcn_tx_status_ev(struct ath11k_base * ab,struct sk_buff * skb,u32 * vdev_id,u32 * tx_status) ath11k_pull_bcn_tx_status_ev() argument
5913 ath11k_pull_vdev_stopped_param_tlv(struct ath11k_base * ab,struct sk_buff * skb,u32 * vdev_id) ath11k_pull_vdev_stopped_param_tlv() argument
7386 u32 vdev_id = 0; ath11k_vdev_delete_resp_event() local
7469 u32 vdev_id, tx_status; ath11k_bcn_tx_status_event() local
7596 u32 vdev_id = 0; ath11k_vdev_stopped_event() local
7766 ath11k_get_ar_on_scan_state(struct ath11k_base * ab,u32 vdev_id,enum ath11k_scan_state state) ath11k_get_ar_on_scan_state() argument
7872 u32 vdev_id; ath11k_peer_sta_kickout_event() local
8787 int vdev_id; ath11k_wmi_p2p_noa_event() local
9325 ath11k_wmi_hw_data_filter_cmd(struct ath11k * ar,u32 vdev_id,u32 filter_bitmap,bool enable) ath11k_wmi_hw_data_filter_cmd() argument
9454 ath11k_wmi_wow_add_wakeup_event(struct ath11k * ar,u32 vdev_id,enum wmi_wow_wakeup_event event,u32 enable) ath11k_wmi_wow_add_wakeup_event() argument
9488 ath11k_wmi_wow_add_pattern(struct ath11k * ar,u32 vdev_id,u32 pattern_id,const u8 * pattern,const u8 * mask,int pattern_len,int pattern_offset) ath11k_wmi_wow_add_pattern() argument
9600 ath11k_wmi_wow_del_pattern(struct ath11k * ar,u32 vdev_id,u32 pattern_id) ath11k_wmi_wow_del_pattern() argument
9635 ath11k_wmi_op_gen_config_pno_start(struct ath11k * ar,u32 vdev_id,struct wmi_pno_scan_req * pno) ath11k_wmi_op_gen_config_pno_start() argument
9747 ath11k_wmi_op_gen_config_pno_stop(struct ath11k * ar,u32 vdev_id) ath11k_wmi_op_gen_config_pno_stop() argument
9770 ath11k_wmi_wow_config_pno(struct ath11k * ar,u32 vdev_id,struct wmi_pno_scan_req * pno_scan) ath11k_wmi_wow_config_pno() argument
[all...]
H A Dmac.c569 if (arvif->vdev_id == arvif_iter->vdev_id) in ath11k_get_arvif_iter()
573 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() argument
579 arvif_iter.vdev_id = vdev_id; in ath11k_mac_get_arvif()
587 ath11k_warn(ar->ab, "No VIF found for vdev %d\n", vdev_id); in ath11k_mac_get_arvif()
595 u32 vdev_id) in ath11k_mac_get_arvif_by_vdev_id() argument
604 (pdev->ar->allocated_vdev_map & (1LL << vdev_id))) { in ath11k_mac_get_arvif_by_vdev_id()
605 arvif = ath11k_mac_get_arvif(pdev->ar, vdev_id); in ath11k_mac_get_arvif_by_vdev_id()
614 struct ath11k *ath11k_mac_get_ar_by_vdev_id(struct ath11k_base *ab, u32 vdev_id) in ath11k_mac_get_ar_by_vdev_id() argument
939 ath11k_mac_monitor_vdev_start(struct ath11k * ar,int vdev_id,struct cfg80211_chan_def * chandef) ath11k_mac_monitor_vdev_start() argument
1785 u32 *vdev_id = data; ath11k_mac_handle_beacon_miss_iter() local
1807 ath11k_mac_handle_beacon_miss(struct ath11k * ar,u32 vdev_id) ath11k_mac_handle_beacon_miss() argument
4105 ath11k_mac_get_fw_stats(struct ath11k * ar,u32 pdev_id,u32 vdev_id,u32 stats_id) ath11k_mac_get_fw_stats() argument
6947 ath11k_mac_11d_scan_start(struct ath11k * ar,u32 vdev_id) ath11k_mac_11d_scan_start() argument
6997 u32 vdev_id; ath11k_mac_11d_scan_stop() local
[all...]
/linux/drivers/platform/mellanox/
H A Dmlxbf-tmfifo.c74 * @vdev_id: vring virtio id (VIRTIO_ID_xxx)
93 int vdev_id; member
283 vring->vdev_id = tm_vdev->vdev.id.device; in mlxbf_tmfifo_alloc_vrings()
429 if (desc && is_rx && vring->vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_next_pkt()
520 static int mlxbf_tmfifo_get_tx_avail(struct mlxbf_tmfifo *fifo, int vdev_id) in mlxbf_tmfifo_get_tx_avail() argument
527 if (vdev_id == VIRTIO_ID_NET) in mlxbf_tmfifo_get_tx_avail()
662 int vdev_id, hdr_len; in mlxbf_tmfifo_rxtx_header() local
676 vdev_id = VIRTIO_ID_NET; in mlxbf_tmfifo_rxtx_header()
678 config = &fifo->vdev[vdev_id]->config.net; in mlxbf_tmfifo_rxtx_header()
686 vdev_id in mlxbf_tmfifo_rxtx_header()
1191 mlxbf_tmfifo_create_vdev(struct device * dev,struct mlxbf_tmfifo * fifo,int vdev_id,u64 features,void * config,u32 size) mlxbf_tmfifo_create_vdev() argument
1257 mlxbf_tmfifo_delete_vdev(struct mlxbf_tmfifo * fifo,int vdev_id) mlxbf_tmfifo_delete_vdev() argument
[all...]
/linux/drivers/iommu/iommufd/
H A Ddriver.c94 unsigned long vdev_id) in iommufd_viommu_find_dev() argument
100 vdev = xa_load(&viommu->vdevs, vdev_id); in iommufd_viommu_find_dev()
107 struct device *dev, unsigned long *vdev_id) in iommufd_viommu_get_vdev_id() argument
113 if (WARN_ON_ONCE(!vdev_id)) in iommufd_viommu_get_vdev_id()
119 *vdev_id = vdev->virt_id; in iommufd_viommu_get_vdev_id()
/linux/tools/testing/selftests/iommu/
H A Diommufd.c2926 uint32_t vdev_id; in TEST_F()
2945 test_cmd_vdevice_alloc(viommu_id, dev_id, 0x99, &vdev_id); in TEST_F()
2994 uint32_t vdev_id = 0; in TEST_F()
3033 /* Set vdev_id to 0x99, unset it, and set to 0x88 */ in TEST_F()
3034 test_cmd_vdevice_alloc(viommu_id, dev_id, 0x99, &vdev_id); in TEST_F()
3048 &vdev_id); in TEST_F()
3050 test_ioctl_destroy(vdev_id); in TEST_F()
3053 test_cmd_vdevice_alloc(viommu_id, dev_id, 0x88, &vdev_id); in TEST_F()
3065 test_ioctl_destroy(vdev_id); in TEST_F()
3077 uint32_t vdev_id in TEST_F()
2884 uint32_t vdev_id; TEST_F() local
2952 uint32_t vdev_id = 0; TEST_F() local
3003 uint32_t vdev_id = 0; TEST_F() local
3226 uint32_t vdev_id = 0; TEST_F() local
[all...]
H A Diommufd_utils.h1005 __u64 virt_id, __u32 *vdev_id) in _test_cmd_vdevice_alloc() argument
1018 if (vdev_id) in _test_cmd_vdevice_alloc()
1019 *vdev_id = cmd.out_vdevice_id; in _test_cmd_vdevice_alloc()
1023 #define test_cmd_vdevice_alloc(viommu_id, idev_id, virt_id, vdev_id) \ argument
1025 virt_id, vdev_id))
1026 #define test_err_vdevice_alloc(_errno, viommu_id, idev_id, virt_id, vdev_id) \ argument
1029 virt_id, vdev_id))

12