/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | dbring.c | 54 cookie = u32_encode_bits(ar->pdev_idx, DP_RXDMA_BUF_COOKIE_PDEV_ID) | in ath12k_dbring_bufs_replenish() 192 ring_num, ar->pdev_idx, num_entries); in ath12k_dbring_srng_setup() 206 u8 pdev_idx, in ath12k_dbring_get_cap() argument 219 if (pdev_idx == ab->db_caps[i].pdev_id && in ath12k_dbring_get_cap() 241 u8 pdev_idx, rbm; in ath12k_dbring_buffer_release_event() local 248 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); in ath12k_dbring_buffer_release_event() 250 if (pdev_idx >= ab->num_radios) { in ath12k_dbring_buffer_release_event() 251 ath12k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath12k_dbring_buffer_release_event() 263 ar = ab->pdevs[pdev_idx].ar; in ath12k_dbring_buffer_release_event() 266 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath12k_dbring_buffer_release_event()
|
D | peer.c | 31 u8 pdev_idx, const u8 *addr) in ath12k_peer_find_by_pdev_idx() argument 38 if (peer->pdev_idx != pdev_idx) in ath12k_peer_find_by_pdev_idx() 280 peer = ath12k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, arg->peer_addr); in ath12k_peer_create() 326 peer->pdev_idx = ar->pdev_idx; in ath12k_peer_create()
|
D | dp_rx.h | 108 int ath12k_dp_rx_pdev_alloc(struct ath12k_base *ab, int pdev_idx); 109 void ath12k_dp_rx_pdev_free(struct ath12k_base *ab, int pdev_idx);
|
D | hw.h | 202 int pdev_idx) in ath12k_hw_get_mac_from_pdev_id() argument 205 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
|
D | dbring.h | 75 u8 pdev_idx,
|
D | peer.h | 29 u8 pdev_idx; member
|
D | wmi.c | 2254 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd() 2461 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd() 5412 int ret = 0, pdev_idx, i, j; in ath12k_reg_chan_list_event() local 5437 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event() 5439 if (pdev_idx >= ab->num_radios) { in ath12k_reg_chan_list_event() 5445 pdev_idx < ab->hw_params->num_rxmda_per_pdev) in ath12k_reg_chan_list_event() 5454 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_chan_list_event() 5455 !memcmp(ab->default_regd[pdev_idx]->alpha2, in ath12k_reg_chan_list_event() 5463 if (ab->default_regd[pdev_idx] && in ath12k_reg_chan_list_event() 5465 ab->default_regd[pdev_idx]->alpha2) && in ath12k_reg_chan_list_event() [all …]
|
D | hw.c | 18 static u8 ath12k_hw_qcn9274_mac_from_pdev_id(int pdev_idx) in ath12k_hw_qcn9274_mac_from_pdev_id() argument 20 return pdev_idx; in ath12k_hw_qcn9274_mac_from_pdev_id()
|
D | dp_tx.c | 253 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx() 469 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath12k_dp_tx_complete_msdu()
|
D | core.h | 514 u8 pdev_idx; member
|
D | reg.c | 207 pdev_id = ar->pdev_idx; in ath12k_regd_update()
|
D | core.c | 672 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_core_halt()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | dbring.c | 83 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish() 227 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup() 241 u8 pdev_idx, in ath11k_dbring_get_cap() argument 254 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap() 276 u8 pdev_idx, rbm, module_id; in ath11k_dbring_buffer_release_event() local 283 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event() 286 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event() 287 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event() 299 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event() 302 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath11k_dbring_buffer_release_event()
|
D | dp_rx.h | 63 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx); 64 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
|
D | dbring.h | 74 u8 pdev_idx,
|
D | peer.h | 17 u8 pdev_idx; member
|
D | spectral.c | 946 ar->pdev_idx); in ath11k_spectral_debug_register() 956 ar->pdev_idx); in ath11k_spectral_debug_register() 967 ar->pdev_idx); in ath11k_spectral_debug_register() 978 ar->pdev_idx); in ath11k_spectral_debug_register() 1009 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
|
D | hw.h | 298 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument 301 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
|
D | debugfs.c | 733 u8 i, pdev_idx; in ath11k_debugfs_dump_soc_ring_bp_stats() local 753 for (pdev_idx = 0; pdev_idx < MAX_RADIOS; pdev_idx++) { in ath11k_debugfs_dump_soc_ring_bp_stats() 755 &ab->soc_stats.bp_stats.lmac_ring_bp_stats[i][pdev_idx]; in ath11k_debugfs_dump_soc_ring_bp_stats() 763 pdev_idx); in ath11k_debugfs_dump_soc_ring_bp_stats() 1597 snprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath11k_debugfs_register()
|
D | peer.c | 437 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
|
D | wmi.c | 2449 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd() 7080 int ret = 0, pdev_idx, i, j; in ath11k_reg_chan_list_event() local 7110 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event() 7117 ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event() 7123 if (pdev_idx >= ab->num_radios) { in ath11k_reg_chan_list_event() 7129 pdev_idx < ab->hw_params.num_rxmda_per_pdev) in ath11k_reg_chan_list_event() 7138 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event() 7139 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_chan_list_event() 7147 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event() 7149 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_chan_list_event() [all …]
|
D | dp_tx.c | 139 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx() 568 if (unlikely(!rcu_access_pointer(ab->pdevs_active[ar->pdev_idx]))) { in ath11k_dp_tx_complete_msdu() 1048 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
|
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()
|
D | reg.c | 248 pdev_id = ar->pdev_idx; in ath11k_regd_update()
|
D | core.h | 658 u8 pdev_idx; member
|