/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.h | 2236 u32 pdev_id; member 2360 __le32 pdev_id; member 2370 __le32 pdev_id; member 2541 __le32 pdev_id; member 2635 __le16 pdev_id; member 2638 __le32 pdev_id; member 2662 __le32 pdev_id; member 2698 u32 pdev_id; member 2712 __le32 pdev_id; member 2901 u32 pdev_id; member [all …]
|
H A D | wmi.c | 506 pdev->pdev_id = le32_to_cpu(mac_caps->pdev_id); in ath12k_pull_mac_phy_cap_svc_ready_ext() 512 fw_pdev->pdev_id = le32_to_cpu(mac_caps->pdev_id); in ath12k_pull_mac_phy_cap_svc_ready_ext() 839 cmd->pdev_id = cpu_to_le32(args->pdev_id); in ath12k_wmi_vdev_create() 880 macaddr, args->pdev_id); in ath12k_wmi_vdev_create() 1232 cmd->pdev_id = cpu_to_le32(arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain() 1237 arg->current_rd_5g, arg->dfs_domain, arg->pdev_id); in ath12k_wmi_send_pdev_set_regdomain() 1397 u32 param_value, u8 pdev_id) in ath12k_wmi_pdev_set_param() argument 1411 cmd->pdev_id = cpu_to_le32(pdev_id); in ath12k_wmi_pdev_set_param() 1417 param_id, pdev_id, param_value); in ath12k_wmi_pdev_set_param() 1459 u32 pdev_id) in ath12k_wmi_pdev_suspend() argument [all …]
|
H A D | dbring.c | 126 arg.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath12k_dbring_wmi_cfg_setup() 177 ring->pdev_id = db_cap->pdev_id; in ath12k_dbring_buf_setup() 219 if (pdev_idx == ab->db_caps[i].pdev_id && in ath12k_dbring_get_cap() 248 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); in ath12k_dbring_buffer_release_event()
|
H A D | dbring.h | 35 u32 pdev_id; member 50 u32 pdev_id; member
|
H A D | reg.c | 126 arg->pdev_id = ar->pdev->pdev_id; in ath12k_reg_update_chan_list() 212 int ret, regd_len, pdev_id; 216 pdev_id = ar->pdev_idx; 226 if (ab->default_regd[pdev_id]) { 227 regd = ab->default_regd[pdev_id]; 238 regd = ab->new_regd[pdev_id];
|
H A D | mac.h | 68 struct ath12k *ath12k_mac_get_ar_by_pdev_id(struct ath12k_base *ab, u32 pdev_id);
|
H A D | dp_tx.c | 354 u8 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_free_txbuf() local 365 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_free_txbuf() 548 u8 mac_id, pdev_id; in ath12k_dp_tx_completion_handler() local 617 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_tx_completion_handler() 618 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_tx_completion_handler() 1007 cmd->hdr.pdev_mask = 1 << ar->pdev->pdev_id; in ath12k_dp_tx_htt_h2t_ext_stats_req()
|
H A D | core.h | 442 u32 pdev_id; member 641 u32 pdev_id; member 648 u32 pdev_id; member
|
H A D | mac.c | 587 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 597 if (WARN_ON(pdev_id > ab->num_radios)) in ath12k_mac_get_ar_by_pdev_id() 603 if (pdev && pdev->pdev_id == pdev_id) in ath12k_mac_get_ar_by_pdev_id() 661 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc() 671 txpower, ar->pdev->pdev_id); in ath12k_mac_txpower_recalc() 732 ar->pdev->pdev_id); in ath12k_mac_set_kickout() 938 arg.pdev_id = pdev->pdev_id; in ath12k_mac_monitor_vdev_create() 2530 param_value, ar->pdev->pdev_id); in ath12k_mac_op_bss_info_changed() 2727 ath12k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id); in ath12k_mac_op_bss_info_changed() 2729 ath12k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath12k_mac_op_bss_info_changed() [all …]
|
H A D | dp_rx.c | 1565 u8 pdev_id; in ath12k_htt_pull_ppdu_stats() local 1570 pdev_id = le32_get_bits(msg->info, HTT_T2H_PPDU_STATS_INFO_PDEV_ID); in ath12k_htt_pull_ppdu_stats() 1574 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_pull_ppdu_stats() 1651 u8 pdev_id; in ath12k_htt_mlo_offset_event_handler() local 1654 pdev_id = u32_get_bits(__le32_to_cpu(msg->info), in ath12k_htt_mlo_offset_event_handler() 1656 ar = ath12k_mac_get_ar_by_pdev_id(ab, pdev_id); in ath12k_htt_mlo_offset_event_handler() 1659 ath12k_warn(ab, "invalid pdev id %d on htt mlo offset\n", pdev_id); in ath12k_htt_mlo_offset_event_handler() 2554 u8 mac_id, pdev_id; in ath12k_dp_rx_process_received_packets() local 2565 pdev_id = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, mac_id); in ath12k_dp_rx_process_received_packets() 2566 ar = ab->pdevs[pdev_id].ar; in ath12k_dp_rx_process_received_packets() [all …]
|
H A D | hw.h | 192 u8 (*get_hw_mac_from_pdev_id)(int pdev_id);
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | wmi.h | 2218 u32 pdev_id; member 2295 u32 pdev_id; member 2302 u32 pdev_id; member 2486 u32 pdev_id; member 2555 u32 pdev_id; member 2599 u32 pdev_id; member 2611 u32 pdev_id; member 2876 u32 pdev_id; member 3072 u32 pdev_id; member 3085 u32 pdev_id; member [all …]
|
H A D | wmi.c | 434 pdev->pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext() 439 ab->target_pdev_ids[ab->target_pdev_count].pdev_id = mac_phy_caps->pdev_id; in ath11k_pull_mac_phy_cap_svc_ready_ext() 785 cmd->pdev_id = param->pdev_id; in ath11k_wmi_vdev_create() 838 macaddr, param->pdev_id); in ath11k_wmi_vdev_create() 1225 cmd->pdev_id = param->pdev_id; in ath11k_wmi_send_pdev_set_regdomain() 1237 param->current_rd_5g, param->dfs_domain, param->pdev_id); in ath11k_wmi_send_pdev_set_regdomain() 1391 u32 param_value, u8 pdev_id) in ath11k_wmi_pdev_set_param() argument 1405 cmd->pdev_id = pdev_id; in ath11k_wmi_pdev_set_param() 1417 param_id, pdev_id, param_value); in ath11k_wmi_pdev_set_param() 1454 u32 pdev_id) in ath11k_wmi_pdev_suspend() argument [all …]
|
H A D | testmode.c | 107 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 D | dbring.c | 161 param.pdev_id = DP_SW2HW_MACID(ring->pdev_id); in ath11k_dbring_wmi_cfg_setup() 212 ring->pdev_id = db_cap->pdev_id; in ath11k_dbring_buf_setup() 254 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap() 283 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
|
H A D | reg.c | 167 params->pdev_id = ar->pdev->pdev_id; in ath11k_reg_update_chan_list() 253 int ret, regd_len, pdev_id; in ath11k_regd_update() local 257 pdev_id = ar->pdev_idx; in ath11k_regd_update() 262 if (ab->new_regd[pdev_id]) { in ath11k_regd_update() 263 regd = ab->new_regd[pdev_id]; in ath11k_regd_update() 270 if (ab->default_regd[pdev_id]) { in ath11k_regd_update() 271 regd = ab->default_regd[pdev_id]; in ath11k_regd_update()
|
H A D | dbring.h | 39 u32 pdev_id; member 54 u32 pdev_id; member
|
H A D | debugfs.c | 213 int ath11k_debugfs_get_fw_stats(struct ath11k *ar, u32 pdev_id, in ath11k_debugfs_get_fw_stats() argument 227 req_param.pdev_id = pdev_id; in ath11k_debugfs_get_fw_stats() 237 pdev_id, vdev_id, stats_id); in ath11k_debugfs_get_fw_stats() 266 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_pdev_stats() 336 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_vdev_stats() 409 req_param.pdev_id = ar->pdev->pdev_id; in ath11k_open_bcn_stats() 1545 ret = ath11k_wmi_pdev_set_param(ar, param, ps_state_enable, pdev->pdev_id); in ath11k_write_ps_state_enable() 1723 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog() 1728 ath11k_wmi_send_twt_enable_cmd(ar, ar->pdev->pdev_id, &twt_params); in ath11k_write_twt_add_dialog() 1741 ath11k_wmi_send_twt_disable_cmd(ar, ar->pdev->pdev_id); in ath11k_write_twt_add_dialog() [all …]
|
H A D | debugfs.h | 82 u8 pdev_id; member 275 int ath11k_debugfs_get_fw_stats(struct ath11k *ar, u32 pdev_id, 384 u32 pdev_id, u32 vdev_id, u32 stats_id) in ath11k_debugfs_get_fw_stats() argument
|
H A D | thermal.c | 138 param.pdev_id = ar->pdev->pdev_id; in ath11k_thermal_set_throttling()
|
H A D | mac.c | 632 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 642 if (WARN_ON(pdev_id > ab->num_radios)) in ath11k_mac_get_ar_by_pdev_id() 651 if (pdev && pdev->pdev_id == pdev_id) in ath11k_mac_get_ar_by_pdev_id() 691 u8 pdev_id = ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() local 695 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 701 return ab->target_pdev_ids[i].pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 704 return pdev_id; in ath11k_mac_get_target_pdev_id_from_vif() 716 return ar->ab->target_pdev_ids[0].pdev_id; in ath11k_mac_get_target_pdev_id() 770 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc() 780 txpower, ar->pdev->pdev_id); in ath11k_mac_txpower_recalc() [all …]
|
H A D | mac.h | 160 struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id);
|
H A D | dp_tx.c | 1154 u32 pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() local 1169 pdev_id = ath11k_mac_get_target_pdev_id(ar); in ath11k_dp_tx_htt_h2t_ext_stats_req() 1171 pdev_id = ar->pdev->pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req() 1173 cmd->hdr.pdev_mask = 1 << pdev_id; in ath11k_dp_tx_htt_h2t_ext_stats_req()
|
H A D | core.h | 569 u32 pdev_id; member 791 u32 pdev_id; member 904 u32 pdev_id; member
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-tlv.h | 1681 __le32 pdev_id; member 1811 __le32 pdev_id; /* not used */ member 1818 __le32 pdev_id; member 1822 __le32 pdev_id; /* not used yet */ member 1828 __le32 pdev_id; /* not used yet */ member 1919 __le32 pdev_id; /* not used yet */ member 1924 __le32 pdev_id; /* not used yet */ member 2095 __le32 pdev_id; member
|