Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath11k/
A Ddbring.c52 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish()
188 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup()
202 u8 pdev_idx, in ath11k_dbring_get_cap() argument
215 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap()
237 u8 pdev_idx, rbm; in ath11k_dbring_buffer_release_event() local
244 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
246 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event()
247 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event()
259 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event()
262 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath11k_dbring_buffer_release_event()
A 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()
266 peer = ath11k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, param->peer_addr); in ath11k_peer_create()
312 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
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 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()
1077 snprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath11k_debugfs_register()
A Dhw.h237 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument
240 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
A Dpeer.h16 u8 pdev_idx; member
A 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()
A Ddbring.h74 u8 pdev_idx,
A Dwmi.c5829 int ret = 0, pdev_idx; in ath11k_reg_chan_list_event() local
5853 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event()
5860 ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event()
5866 if (pdev_idx >= ab->num_radios) { in ath11k_reg_chan_list_event()
5881 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event()
5890 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event()
5903 if (ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event()
5911 ar = ab->pdevs[pdev_idx].ar; in ath11k_reg_chan_list_event()
5912 kfree(ab->new_regd[pdev_idx]); in ath11k_reg_chan_list_event()
5913 ab->new_regd[pdev_idx] = regd; in ath11k_reg_chan_list_event()
[all …]
A Dhw.c17 static u8 ath11k_hw_ipq8074_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq8074_mac_from_pdev_id() argument
19 switch (pdev_idx) { in ath11k_hw_ipq8074_mac_from_pdev_id()
31 static u8 ath11k_hw_ipq6018_mac_from_pdev_id(int pdev_idx) in ath11k_hw_ipq6018_mac_from_pdev_id() argument
33 return pdev_idx; in ath11k_hw_ipq6018_mac_from_pdev_id()
A Ddp_tx.c141 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx()
440 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_tx_complete_msdu()
A Dreg.c205 pdev_id = ar->pdev_idx; in ath11k_regd_update()
A Dcore.h519 u8 pdev_idx; member
A Dcore.c1007 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_core_halt()
A Ddp_rx.c1644 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local
1669 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath11k_htt_backpressure_event_handler()
1671 if (ring_id >= HTT_SW_LMAC_RING_IDX_MAX || pdev_idx >= MAX_RADIOS) in ath11k_htt_backpressure_event_handler()
1674 bp_stats = &ab->soc_stats.bp_stats.lmac_ring_bp_stats[ring_id][pdev_idx]; in ath11k_htt_backpressure_event_handler()
3717 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
A Dmac.c5291 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath11k_mac_op_start()
5292 &ab->pdevs[ar->pdev_idx]); in ath11k_mac_op_start()
5331 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_mac_op_stop()
7386 reg_cap = &ar->ab->hal_reg_cap[ar->pdev_idx]; in ath11k_mac_setup_channels_rates()
7843 ar->pdev_idx = i; in ath11k_mac_allocate()

Completed in 653 milliseconds