Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Ddbring.c54 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()
A Dpeer.c31 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()
A Ddp_rx.h108 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);
A Dhw.h200 int pdev_idx) in ath12k_hw_get_mac_from_pdev_id() argument
203 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
A Ddbring.h75 u8 pdev_idx,
A Dpeer.h29 u8 pdev_idx; member
A Dhw.c18 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()
A Dwmi.c5135 int ret = 0, pdev_idx, i, j; in ath12k_reg_chan_list_event() local
5160 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event()
5162 if (pdev_idx >= ab->num_radios) { in ath12k_reg_chan_list_event()
5177 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5186 if (ab->default_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5207 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event()
5208 kfree(ab->new_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5209 ab->new_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
5217 kfree(ab->default_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5219 ab->default_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
[all …]
A Ddp_tx.c249 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx()
461 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath12k_dp_tx_complete_msdu()
A Dcore.h512 u8 pdev_idx; member
A Dreg.c207 pdev_id = ar->pdev_idx; in ath12k_regd_update()
A Dcore.c672 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_core_halt()
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Ddbring.c83 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()
A Ddp_rx.h63 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);
A Dpeer.h17 u8 pdev_idx; member
A Ddbring.h74 u8 pdev_idx,
A Dspectral.c946 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()
A Dhw.h297 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument
300 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
A Ddebugfs.c733 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()
A Dpeer.c436 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
A Dwmi.c6499 int ret = 0, pdev_idx; in ath11k_reg_chan_list_event() local
6523 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event()
6530 ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event()
6536 if (pdev_idx >= ab->num_radios) { in ath11k_reg_chan_list_event()
6551 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event()
6560 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event()
6573 if (ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event()
6581 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_chan_list_event()
6582 kfree(ab->new_regd[pdev_idx]); in ath11k_reg_chan_list_event()
6583 ab->new_regd[pdev_idx] = regd; in ath11k_reg_chan_list_event()
[all …]
A Ddp_tx.c139 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx()
537 if (unlikely(!rcu_access_pointer(ab->pdevs_active[ar->pdev_idx]))) { in ath11k_dp_tx_complete_msdu()
1021 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
A Dhw.c18 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()
A Dreg.c248 pdev_id = ar->pdev_idx; in ath11k_regd_update()
A Dcore.h655 u8 pdev_idx; member

Completed in 81 milliseconds

12