| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/ |
| H A D | dbring.c | 52 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()
|
| H A D | peer.c | 30 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() 264 peer = ath11k_peer_find_by_pdev_idx(ar->ab, ar->pdev_idx, param->peer_addr); in ath11k_peer_create() 310 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
|
| H A 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);
|
| H A D | debugfs.c | 713 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()
|
| H A D | hw.h | 183 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()
|
| H A D | hw.c | 15 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()
|
| H A D | peer.h | 16 u8 pdev_idx; member
|
| H A D | spectral.c | 910 ar->pdev_idx); in ath11k_spectral_debug_register() 920 ar->pdev_idx); in ath11k_spectral_debug_register() 931 ar->pdev_idx); in ath11k_spectral_debug_register() 942 ar->pdev_idx); in ath11k_spectral_debug_register() 973 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
|
| H A D | dbring.h | 74 u8 pdev_idx,
|
| H A D | wmi.c | 2278 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd() 5340 int ret = 0, pdev_idx; in ath11k_reg_chan_list_event() local 5364 pdev_idx = reg_info->phy_id; in ath11k_reg_chan_list_event() 5371 ab->default_regd[pdev_idx]) { in ath11k_reg_chan_list_event() 5377 if (pdev_idx >= ab->num_radios) { in ath11k_reg_chan_list_event() 5383 pdev_idx < ab->hw_params.num_rxmda_per_pdev) in ath11k_reg_chan_list_event() 5392 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_chan_list_event() 5393 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_chan_list_event() 5401 if (ab->default_regd[pdev_idx] && in ath11k_reg_chan_list_event() 5403 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_chan_list_event() [all …]
|
| H A D | dp_tx.c | 144 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx() 434 if (!rcu_dereference(ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_tx_complete_msdu() 897 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
|
| H A D | core.h | 502 u8 pdev_idx; member
|
| H A D | reg.c | 208 pdev_id = ar->pdev_idx; in ath11k_regd_update()
|
| H A D | core.c | 750 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_core_halt()
|
| H A D | dp_rx.c | 1595 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local 1620 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath11k_htt_backpressure_event_handler() 1622 if (ring_id >= HTT_SW_LMAC_RING_IDX_MAX || pdev_idx >= MAX_RADIOS) in ath11k_htt_backpressure_event_handler() 1625 bp_stats = &ab->soc_stats.bp_stats.lmac_ring_bp_stats[ring_id][pdev_idx]; in ath11k_htt_backpressure_event_handler() 3577 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
|
| H A D | mac.c | 4261 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath11k_mac_op_start() 4262 &ab->pdevs[ar->pdev_idx]); in ath11k_mac_op_start() 4301 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_mac_op_stop() 6020 reg_cap = &ar->ab->hal_reg_cap[ar->pdev_idx]; in ath11k_mac_setup_channels_rates() 6453 ar->pdev_idx = i; in ath11k_mac_allocate()
|
| /OK3568_Linux_fs/kernel/drivers/tty/serdev/ |
| H A D | serdev-ttyport.c | 305 unsigned long pdev_idx; in serdev_tty_port_register() local 310 &pdev_idx) && pdev_idx == idx) { in serdev_tty_port_register()
|