Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ath/ath12k/
H 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()
H 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()
H 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);
H A Dhw.h236 int pdev_idx) in ath12k_hw_get_mac_from_pdev_id() argument
239 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
H A Ddbring.h75 u8 pdev_idx,
H A Dpeer.h29 u8 pdev_idx; member
H A Ddebugfs.c78 scnprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath12k_debugfs_register()
H A Dhw.c22 static u8 ath12k_hw_qcn9274_mac_from_pdev_id(int pdev_idx) in ath12k_hw_qcn9274_mac_from_pdev_id() argument
24 return pdev_idx; in ath12k_hw_qcn9274_mac_from_pdev_id()
H A Dmac.c1319 ar->pdev_idx, ret); in ath12k_mac_op_config()
4911 ar->pdev_idx, ret); in ath12k_mac_conf_tx()
4918 ar->pdev_idx, ret); in ath12k_mac_conf_tx()
6030 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath12k_mac_start()
6031 &ab->pdevs[ar->pdev_idx]); in ath12k_mac_start()
6081 ar->pdev_idx, ret); in ath12k_mac_op_start()
6141 ar->pdev_idx, param); in ath12k_mac_rfkill_enable_radio()
6182 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_mac_stop()
7064 ar->pdev_idx, params->action, ret); in ath12k_mac_op_ampdu_action()
8761 reg_cap = &ar->ab->hal_reg_cap[ar->pdev_idx]; in ath12k_mac_setup_channels_rates()
[all …]
H A Dwmi.c2346 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd()
2553 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd()
5694 int ret = 0, pdev_idx, i, j; in ath12k_reg_chan_list_event() local
5719 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event()
5721 if (pdev_idx >= ab->num_radios) { in ath12k_reg_chan_list_event()
5727 pdev_idx < ab->hw_params->num_rxdma_per_pdev) in ath12k_reg_chan_list_event()
5736 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5737 !memcmp(ab->default_regd[pdev_idx]->alpha2, in ath12k_reg_chan_list_event()
5745 if (ab->default_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5747 ab->default_regd[pdev_idx]->alpha2) && in ath12k_reg_chan_list_event()
[all …]
H A Dcore.h587 u8 pdev_idx; member
967 u8 pdev_idx; member
H A Ddp_tx.c375 tx_desc->mac_id = ar->pdev_idx; in ath12k_dp_tx()
605 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath12k_dp_tx_complete_msdu()
H A Dreg.c237 pdev_id = ar->pdev_idx; in ath12k_regd_update()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c247 pdev_id = ar->pdev_idx; in ath11k_regd_update()
841 int pdev_idx; in ath11k_reg_handle_chan_list() local
856 pdev_idx = reg_info->phy_id; in ath11k_reg_handle_chan_list()
863 ab->default_regd[pdev_idx]) { in ath11k_reg_handle_chan_list()
869 if (pdev_idx >= ab->num_radios) { in ath11k_reg_handle_chan_list()
879 pdev_idx < ab->hw_params.num_rxdma_per_pdev) in ath11k_reg_handle_chan_list()
887 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_handle_chan_list()
888 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_handle_chan_list()
896 if (ab->default_regd[pdev_idx] && in ath11k_reg_handle_chan_list()
898 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_handle_chan_list()
[all …]
H A Ddbring.c84 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish()
228 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup()
242 u8 pdev_idx, in ath11k_dbring_get_cap() argument
255 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap()
277 u8 pdev_idx, rbm, module_id; in ath11k_dbring_buffer_release_event() local
284 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event()
287 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event()
288 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event()
300 ar = ab->pdevs[pdev_idx].ar; in ath11k_dbring_buffer_release_event()
303 if (!rcu_dereference(ab->pdevs_active[pdev_idx])) { in ath11k_dbring_buffer_release_event()
H A Ddp_rx.h64 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx);
65 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
H A Ddbring.h75 u8 pdev_idx,
H A Dpeer.h17 u8 pdev_idx; member
H A Dspectral.c937 ar->pdev_idx); in ath11k_spectral_debug_register()
947 ar->pdev_idx); in ath11k_spectral_debug_register()
958 ar->pdev_idx); in ath11k_spectral_debug_register()
969 ar->pdev_idx); in ath11k_spectral_debug_register()
1000 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
H A Dhw.h299 int pdev_idx) in ath11k_hw_get_mac_from_pdev_id() argument
302 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
H A Ddebugfs.c734 u8 i, pdev_idx; in ath11k_debugfs_dump_soc_ring_bp_stats() local
754 for (pdev_idx = 0; pdev_idx < MAX_RADIOS; pdev_idx++) { in ath11k_debugfs_dump_soc_ring_bp_stats()
756 &ab->soc_stats.bp_stats.lmac_ring_bp_stats[i][pdev_idx]; in ath11k_debugfs_dump_soc_ring_bp_stats()
764 pdev_idx); in ath11k_debugfs_dump_soc_ring_bp_stats()
1598 snprintf(pdev_name, sizeof(pdev_name), "%s%u", "mac", ar->pdev_idx); in ath11k_debugfs_register()
H A Dpeer.c437 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
H A Ddp_tx.c139 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx()
572 if (unlikely(!rcu_access_pointer(ab->pdevs_active[ar->pdev_idx]))) { in ath11k_dp_tx_complete_msdu()
1056 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
H 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()
H A Dcore.h706 u8 pdev_idx; member

12