Home
last modified time | relevance | path

Searched refs:pdev_idx (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Ddbring.c53 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish()
190 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup()
204 u8 pdev_idx, in ath11k_dbring_get_cap() argument
217 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap()
239 u8 pdev_idx, rbm; in ath11k_dbring_buffer_release_event() local
246 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
248 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event()
249 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event()
261 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event()
264 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath11k_dbring_buffer_release_event()
Dpeer.c30 u8 pdev_idx, const u8 *addr) in ath11k_peer_find_by_pdev_idx() argument
37 if (peer->pdev_idx != pdev_idx) in ath11k_peer_find_by_pdev_idx()
223 peer = ath11k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, param->peer_addr); in ath11k_peer_create()
255 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
Ddp_rx.h62 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx);
63 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
Dhw.h183 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument
186 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
Ddebugfs.c713 u8 i, pdev_idx; in ath11k_debugfs_dump_soc_ring_bp_stats() local
733 for (pdev_idx = 0; pdev_idx < MAX_RADIOS; pdev_idx++) { in ath11k_debugfs_dump_soc_ring_bp_stats()
735 &ab->soc_stats.bp_stats.lmac_ring_bp_stats[i][pdev_idx]; in ath11k_debugfs_dump_soc_ring_bp_stats()
743 pdev_idx); in ath11k_debugfs_dump_soc_ring_bp_stats()
1059 snprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath11k_debugfs_register()
Dpeer.h16 u8 pdev_idx; member
Dhw.c15 static u8 ath11k_hw_ipq8074_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq8074_mac_from_pdev_id() argument
17 switch (pdev_idx) { in ath11k_hw_ipq8074_mac_from_pdev_id()
29 static u8 ath11k_hw_ipq6018_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq6018_mac_from_pdev_id() argument
31 return pdev_idx; in ath11k_hw_ipq6018_mac_from_pdev_id()
Ddbring.h74 u8 pdev_idx,
Dspectral.c909 ar->pdev_idx); in ath11k_spectral_debug_register()
919 ar->pdev_idx); in ath11k_spectral_debug_register()
930 ar->pdev_idx); in ath11k_spectral_debug_register()
941 ar->pdev_idx); in ath11k_spectral_debug_register()
972 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
Dwmi.c2307 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd()
5394 int ret = 0, pdev_idx; in ath11k_reg_chan_list_event() local
5418 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event()
5420 if (pdev_idx >= ab->num_radios) { in ath11k_reg_chan_list_event()
5426 pdev_idx < ab->hw_params.num_rxmda_per_pdev) in ath11k_reg_chan_list_event()
5435 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event()
5436 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_chan_list_event()
5444 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event()
5446 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_chan_list_event()
5465 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_chan_list_event()
[all …]
Ddp_tx.c145 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx()
435 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_tx_complete_msdu()
Dreg.c207 pdev_id = ar->pdev_idx; in ath11k_regd_update()
Dcore.h499 u8 pdev_idx; member
Dcore.c749 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_core_halt()
Ddp_rx.c1577 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local
1602 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath11k_htt_backpressure_event_handler()
1604 if (ring_id >= HTT_SW_LMAC_RING_IDX_MAX || pdev_idx >= MAX_RADIOS) in ath11k_htt_backpressure_event_handler()
1607 bp_stats = &ab->soc_stats.bp_stats.lmac_ring_bp_stats[ring_id][pdev_idx]; in ath11k_htt_backpressure_event_handler()
3552 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
Dmac.c4208 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath11k_mac_op_start()
4209 &ab->pdevs[ar->pdev_idx]); in ath11k_mac_op_start()
4257 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_mac_op_stop()
5950 reg_cap = &ar->ab->hal_reg_cap[ar->pdev_idx]; in ath11k_mac_setup_channels_rates()
6380 ar->pdev_idx = i; in ath11k_mac_allocate()