Searched refs:pdev_idx (Results 1 – 16 of 16) sorted by relevance
/linux-6.1.9/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 | peer.h | 17 u8 pdev_idx; member
|
D | dbring.h | 74 u8 pdev_idx,
|
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 | 285 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument 288 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() 1565 snprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath11k_debugfs_register()
|
D | peer.c | 436 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
|
D | wmi.c | 2406 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd() 6499 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() 6542 pdev_idx < ab->hw_params.num_rxmda_per_pdev) in ath11k_reg_chan_list_event() 6551 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event() 6552 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_chan_list_event() 6560 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event() 6562 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() 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()
|
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 | 646 u8 pdev_idx; member
|
D | dp_rx.c | 1638 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local 1663 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath11k_htt_backpressure_event_handler() 1665 if (ring_id >= HTT_SW_LMAC_RING_IDX_MAX || pdev_idx >= MAX_RADIOS) in ath11k_htt_backpressure_event_handler() 1668 bp_stats = &ab->soc_stats.bp_stats.lmac_ring_bp_stats[ring_id][pdev_idx]; in ath11k_htt_backpressure_event_handler() 3695 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
|
D | core.c | 1609 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_core_halt()
|
D | mac.c | 5905 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath11k_mac_op_start() 5906 &ab->pdevs[ar->pdev_idx]); in ath11k_mac_op_start() 5951 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_mac_op_stop() 8690 reg_cap = &ar->ab->hal_reg_cap[ar->pdev_idx]; in ath11k_mac_setup_channels_rates() 9216 ar->pdev_idx = i; in ath11k_mac_allocate()
|