Home
last modified time | relevance | path

Searched refs:pdev_id (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/sys/contrib/dev/athk/ath12k/
H A Dtestmode.c94 u32 data_pos, pdev_id; in ath12k_tm_process_event() local
103 pdev_id = DP_HW2SW_MACID(le32_to_cpu(ftm_msg->seg_hdr.pdev_id)); in ath12k_tm_process_event()
105 if (pdev_id >= ab->num_radios) { in ath12k_tm_process_event()
110 ar = ab->pdevs[pdev_id].ar; in ath12k_tm_process_event()
262 ftm_cmd->seg_hdr.pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_tm_cmd_process_ftm()
329 cmd->pdev_id = cpu_to_le32(ar->pdev->pdev_id); in ath12k_tm_cmd_wmi()
H A Dwmi.h2355 u32 pdev_id; member
2489 __le32 pdev_id; member
2499 __le32 pdev_id; member
2832 __le32 pdev_id; member
2868 u32 pdev_id; member
2885 __le32 pdev_id; member
3149 u32 pdev_id; member
3281 __le32 pdev_id; member
3294 __le32 pdev_id; member
3300 __le32 pdev_id; member
[all …]
H A Dwmi.c535 pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
542 fw_pdev->pdev_id = ath12k_wmi_mac_phy_get_pdev_id(mac_caps); in ath12k_pull_mac_phy_cap_svc_ready_ext()
903 u32 vdev_id, u32 pdev_id) in ath12k_wmi_send_stats_request_cmd() argument
920 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_send_stats_request_cmd()
930 stats_id, vdev_id, pdev_id); in ath12k_wmi_send_stats_request_cmd()
972 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create()
1033 macaddr, args->pdev_id); in ath12k_wmi_vdev_create()
1492 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain()
1497 arg->current_rd_5g, arg->dfs_domain, arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain()
1657 u32 param_value, u8 pdev_id) in ath12k_wmi_pdev_set_param() argument
[all …]
H A Ddbring.c127 arg.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath12k_dbring_wmi_cfg_setup()
178 ring->pdev_id = db_cap->pdev_id; in ath12k_dbring_buf_setup()
220 if (pdev_idx == ab->db_caps[i].pdev_id && in ath12k_dbring_get_cap()
249 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); in ath12k_dbring_buffer_release_event()
H A Ddbring.h35 u32 pdev_id; member
50 u32 pdev_id; member
H A Dreg.c178 arg->pdev_id = ar->pdev->pdev_id; in ath12k_reg_update_chan_list()
285 int ret, regd_len, pdev_id;
360 pdev_id = ar->pdev_idx;
370 if (ab->default_regd[pdev_id]) {
371 regd = ab->default_regd[pdev_id];
382 regd = ab->new_regd[pdev_id];
H A Ddp_tx.c553 u8 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, desc_params->mac_id); in ath12k_dp_tx_free_txbuf() local
556 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_free_txbuf()
1012 u8 pdev_id; in ath12k_dp_tx_completion_handler() local
1094 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, desc_params.mac_id); in ath12k_dp_tx_completion_handler()
1095 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_completion_handler()
1527 u32 pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req() local
1539 pdev_id = ath12k_mac_get_target_pdev_id(ar); in ath12k_dp_tx_htt_h2t_ext_stats_req()
1540 cmd->hdr.pdev_mask = 1 << pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req()
H A Ddp_rx.c1793 u8 pdev_id; in ath12k_htt_pull_ppdu_stats() local
1805 pdev_id = le32_get_bits(msg->info, HTT_T2H_PPDU_STATS_INFO_PDEV_ID); in ath12k_htt_pull_ppdu_stats()
1809 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_pull_ppdu_stats()
1896 u8 pdev_id; in ath12k_htt_mlo_offset_event_handler() local
1899 pdev_id = u32_get_bits(__le32_to_cpu(msg->info), in ath12k_htt_mlo_offset_event_handler()
1903 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_mlo_offset_event_handler()
2877 u8 hw_link_id, pdev_id; in ath12k_dp_rx_process_received_packets() local
2893 pdev_id = ath12k_hw_mac_id_to_pdev_id(partner_ab->hw_params, in ath12k_dp_rx_process_received_packets()
2895 ar = partner_ab->pdevs[pdev_id].ar; in ath12k_dp_rx_process_received_packets()
2896 if (!rcu_dereference(partner_ab->pdevs_active[pdev_id])) { in ath12k_dp_rx_process_received_packets()
[all …]
H A Dmac.c830 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id) in ath12k_mac_get_ar_by_pdev_id() argument
840 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id()
849 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id()
974 u8 pdev_id = ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif() local
978 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
984 return ab->fw_pdev[i].pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
987 return pdev_id; in ath12k_mac_get_target_pdev_id_from_vif()
996 return ar->pdev->pdev_id; in ath12k_mac_get_target_pdev_id()
1005 return ar->ab->fw_pdev[0].pdev_id; in ath12k_mac_get_target_pdev_id()
1062 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc()
[all …]
H A Dmac.h171 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
H A Ddebugfs_htt_stats.h301 u8 pdev_id; member
1657 __le32 pdev_id; member
1689 __le32 pdev_id; member
1699 __le32 pdev_id; member
1929 __le32 pdev_id; member
1990 __le32 pdev_id; member
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dwmi.h2236 u32 pdev_id; member
2313 u32 pdev_id; member
2320 u32 pdev_id; member
2504 u32 pdev_id; member
2573 u32 pdev_id; member
2616 u32 pdev_id; member
2628 u32 pdev_id; member
2893 u32 pdev_id; member
3089 u32 pdev_id; member
3102 u32 pdev_id; member
[all …]
H A Dwmi.c439 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
444 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext()
790 cmd->pdev_id = param->pdev_id; in ath11k_wmi_vdev_create()
843 macaddr, param->pdev_id); in ath11k_wmi_vdev_create()
1230 cmd->pdev_id = param->pdev_id; in ath11k_wmi_send_pdev_set_regdomain()
1242 param->current_rd_5g, param->dfs_domain, param->pdev_id); in ath11k_wmi_send_pdev_set_regdomain()
1396 u32 param_value, u8 pdev_id) in ath11k_wmi_pdev_set_param() argument
1410 cmd->pdev_id = pdev_id; in ath11k_wmi_pdev_set_param()
1422 param_id, pdev_id, param_value); in ath11k_wmi_pdev_set_param()
1459 u32 pdev_id) in ath11k_wmi_pdev_suspend() argument
[all …]
H A Dtestmode.c107 u32 pdev_id; in ath11k_tm_process_event() local
113 pdev_id = DP_HW2SW_MACID(ftm_msg->seg_hdr.pdev_id); in ath11k_tm_process_event()
115 if (pdev_id >= ab->num_radios) { in ath11k_tm_process_event()
117 pdev_id); in ath11k_tm_process_event()
121 ar = ab->pdevs[pdev_id].ar; in ath11k_tm_process_event()
348 *ptr = ar->pdev->pdev_id; in ath11k_tm_cmd_wmi()
H A Ddbring.c163 param.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath11k_dbring_wmi_cfg_setup()
214 ring->pdev_id = db_cap->pdev_id; in ath11k_dbring_buf_setup()
256 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap()
285 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
H A Ddbring.h40 u32 pdev_id; member
55 u32 pdev_id; member
H A Ddebugfs.c147 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_pdev_stats()
217 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_vdev_stats()
290 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_bcn_stats()
1426 ret = ath11k_wmi_pdev_set_param(ar, param, ps_state_enable, pdev->pdev_id); in ath11k_write_ps_state_enable()
1604 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog()
1609 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog()
1622 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog()
1624 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog()
1669 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_del_dialog()
1671 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_del_dialog()
H A Dreg.c154 params->pdev_id = ar->pdev->pdev_id; in ath11k_reg_update_chan_list()
250 int ret, regd_len, pdev_id; in ath11k_regd_update() local
254 pdev_id = ar->pdev_idx; in ath11k_regd_update()
259 if (ab->new_regd[pdev_id]) { in ath11k_regd_update()
260 regd = ab->new_regd[pdev_id]; in ath11k_regd_update()
267 if (ab->default_regd[pdev_id]) { in ath11k_regd_update()
268 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
H A Dthermal.c139 param.pdev_id = ar->pdev->pdev_id; in ath11k_thermal_set_throttling()
H A Dmac.c630 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id) in ath11k_mac_get_ar_by_pdev_id() argument
640 if (WARN_ON(pdev_id > ab->num_radios)) in ath11k_mac_get_ar_by_pdev_id()
649 if (pdev && pdev->pdev_id == pdev_id) in ath11k_mac_get_ar_by_pdev_id()
689 u8 pdev_id = ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() local
693 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif()
699 return ab->target_pdev_ids[i].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif()
702 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif()
714 return ar->ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id()
768 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc()
778 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc()
[all …]
H A Dmac.h161 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
H A Ddp_tx.c1163 u32 pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() local
1178 pdev_id = ath11k_mac_get_target_pdev_id(ar); in ath11k_dp_tx_htt_h2t_ext_stats_req()
1180 pdev_id = ar->pdev->pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
1182 cmd->hdr.pdev_mask = 1 << pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
H A Dcore.h624 u32 pdev_id; member
851 u32 pdev_id; member
973 u32 pdev_id; member
H A Ddebugfs.h83 u8 pdev_id; member
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dwmi-tlv.h1682 __le32 pdev_id; member
1812 __le32 pdev_id; /* not used */ member
1819 __le32 pdev_id; member
1823 __le32 pdev_id; /* not used yet */ member
1829 __le32 pdev_id; /* not used yet */ member
1920 __le32 pdev_id; /* not used yet */ member
1925 __le32 pdev_id; /* not used yet */ member
2096 __le32 pdev_id; member

12