| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | dbring.c | 55 cookie = u32_encode_bits(ar->pdev_idx, DP_RXDMA_BUF_COOKIE_PDEV_ID) | in ath12k_dbring_bufs_replenish() 193 ring_num, ar->pdev_idx, num_entries); in ath12k_dbring_srng_setup() 207 u8 pdev_idx, in ath12k_dbring_get_cap() argument 220 if (pdev_idx == ab->db_caps[i].pdev_id && in ath12k_dbring_get_cap() 242 u8 pdev_idx, rbm; in ath12k_dbring_buffer_release_event() local 249 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); in ath12k_dbring_buffer_release_event() 251 if (pdev_idx >= ab->num_radios) { in ath12k_dbring_buffer_release_event() 252 ath12k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath12k_dbring_buffer_release_event() 264 ar = ab->pdevs[pdev_idx].ar; in ath12k_dbring_buffer_release_event() 267 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath12k_dbring_buffer_release_event()
|
| H A D | reg.c | 301 reg_cap = &ab->hal_reg_cap[ar->pdev_idx]; 360 pdev_id = ar->pdev_idx; 906 int pdev_idx = reg_info->phy_id; 917 if (pdev_idx >= ab->num_radios) { 923 pdev_idx < ab->hw_params->num_rxdma_per_pdev) 932 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && 933 !memcmp(ab->default_regd[pdev_idx]->alpha2, 946 int pdev_idx = reg_info->phy_id; 962 ar = ab->pdevs[pdev_idx].ar; 963 kfree(ab->new_regd[pdev_idx]); [all …]
|
| H A D | peer.c | 47 u8 pdev_idx, const u8 *addr) in ath12k_peer_find_by_pdev_idx() argument 54 if (peer->pdev_idx != pdev_idx) in ath12k_peer_find_by_pdev_idx() 335 peer = ath12k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, arg->peer_addr); in ath12k_peer_create() 381 peer->pdev_idx = ar->pdev_idx; in ath12k_peer_create()
|
| H A D | dp_rx.h | 143 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx); 144 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx);
|
| H A D | hw.h | 239 int pdev_idx) in ath12k_hw_get_mac_from_pdev_id() argument 242 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
|
| H A D | dbring.h | 75 u8 pdev_idx,
|
| H A D | peer.h | 31 u8 pdev_idx; member
|
| H A D | core.h | 781 u8 pdev_idx; member 1004 u8 pdev_idx; member 1271 u8 pdev_idx; member
|
| H A D | mac.c | 6918 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_handle_link_sta_state() 7793 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 7800 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 9467 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath12k_mac_start() 9468 &ab->pdevs[ar->pdev_idx]); in ath12k_mac_start() 9525 ar->pdev_idx, ret); in ath12k_mac_op_start() 9585 ar->pdev_idx, param); in ath12k_mac_rfkill_enable_radio() 9639 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_mac_stop() 10444 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_op_add_interface() 11754 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_parse_tx_pwr_env() [all …]
|
| H A D | hw.c | 23 static u8 ath12k_hw_qcn9274_mac_from_pdev_id(int pdev_idx) in ath12k_hw_qcn9274_mac_from_pdev_id() argument 25 return pdev_idx; in ath12k_hw_qcn9274_mac_from_pdev_id()
|
| H A D | dp_tx.c | 423 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx() 861 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath12k_dp_tx_complete_msdu() 1353 pdev_mask = 1 << (i + ar->pdev_idx); in ath12k_dp_tx_htt_h2t_ppdu_stats_req()
|
| H A D | core.c | 1073 ar->pdev_idx, ret); in __ath12k_mac_mlo_ready() 1078 ar->pdev_idx); in __ath12k_mac_mlo_ready() 1456 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_core_halt()
|
| H A D | wmi.c | 2783 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd() 3041 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd() 7023 u8 pdev_idx = 255; in ath12k_reg_chan_list_event() local 7054 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event() 7055 if (ab->reg_info[pdev_idx]) { in ath12k_reg_chan_list_event() 7056 ath12k_reg_reset_reg_info(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 7057 kfree(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 7062 ab->reg_info[pdev_idx] = reg_info; in ath12k_reg_chan_list_event() 7093 if (pdev_idx != 255) in ath12k_reg_chan_list_event() 7094 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event() [all …]
|
| H A D | dp_rx.c | 2669 rx_status->band, channel_num, center_freq, ar->pdev_idx); in ath12k_dp_rx_h_ppdu() 2894 hw_links[hw_link_id].pdev_idx); in ath12k_dp_rx_process_received_packets() 3771 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath12k_dp_process_rx_err_buf() 3920 hw_links[hw_link_id].pdev_idx); in ath12k_dp_rx_process_err() 4412 hw_links[hw_link_id].pdev_idx); in ath12k_dp_rx_process_wbm_err()
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | dbring.c | 85 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish() 229 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup() 243 u8 pdev_idx, in ath11k_dbring_get_cap() argument 256 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap() 278 u8 pdev_idx, rbm, module_id; in ath11k_dbring_buffer_release_event() local 285 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event() 288 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event() 289 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event() 301 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event() 304 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath11k_dbring_buffer_release_event()
|
| H A D | reg.c | 254 pdev_id = ar->pdev_idx; in ath11k_regd_update() 894 int pdev_idx; in ath11k_reg_handle_chan_list() local 909 pdev_idx = reg_info->phy_id; in ath11k_reg_handle_chan_list() 916 ab->default_regd[pdev_idx]) { in ath11k_reg_handle_chan_list() 922 if (pdev_idx >= ab->num_radios) { in ath11k_reg_handle_chan_list() 932 pdev_idx < ab->hw_params.num_rxdma_per_pdev) in ath11k_reg_handle_chan_list() 940 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_handle_chan_list() 941 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_handle_chan_list() 949 if (ab->default_regd[pdev_idx] && in ath11k_reg_handle_chan_list() 951 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_handle_chan_list() [all …]
|
| H A D | dp_rx.h | 64 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx); 65 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
|
| H A D | peer.h | 17 u8 pdev_idx; member
|
| H A D | dbring.h | 80 u8 pdev_idx,
|
| H A D | spectral.c | 938 ar->pdev_idx); in ath11k_spectral_debug_register() 948 ar->pdev_idx); in ath11k_spectral_debug_register() 959 ar->pdev_idx); in ath11k_spectral_debug_register() 970 ar->pdev_idx); in ath11k_spectral_debug_register() 1001 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
|
| H A D | hw.h | 304 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument 307 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
|
| H A D | debugfs.c | 614 u8 i, pdev_idx; in ath11k_debugfs_dump_soc_ring_bp_stats() local 634 for (pdev_idx = 0; pdev_idx < MAX_RADIOS; pdev_idx++) { in ath11k_debugfs_dump_soc_ring_bp_stats() 636 &ab->soc_stats.bp_stats.lmac_ring_bp_stats[i][pdev_idx]; in ath11k_debugfs_dump_soc_ring_bp_stats() 644 pdev_idx); in ath11k_debugfs_dump_soc_ring_bp_stats() 1478 snprintf(pdev_name, sizeof(pdev_name), "%s%u", "mac", ar->pdev_idx); in ath11k_debugfs_register()
|
| H A D | peer.c | 437 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
|
| H A D | dp_tx.c | 148 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx() 589 if (unlikely(!rcu_access_pointer(ab->pdevs_active[ar->pdev_idx]))) { in ath11k_dp_tx_complete_msdu() 1073 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
|
| H A D | hw.c | 18 static u8 ath11k_hw_ipq8074_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq8074_mac_from_pdev_id() argument 20 switch (pdev_idx) { in ath11k_hw_ipq8074_mac_from_pdev_id() 32 static u8 ath11k_hw_ipq6018_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq6018_mac_from_pdev_id() argument 34 return pdev_idx; in ath11k_hw_ipq6018_mac_from_pdev_id()
|