Lines Matching full:ab

16 static void ath11k_dp_htt_htc_tx_complete(struct ath11k_base *ab,  in ath11k_dp_htt_htc_tx_complete()  argument
24 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_cleanup() local
29 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
30 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_cleanup()
32 ath11k_warn(ab, "failed to lookup peer %pM on vdev %d\n", in ath11k_dp_peer_cleanup()
34 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
41 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_cleanup()
46 struct ath11k_base *ab = ar->ab; in ath11k_dp_peer_setup() local
58 ath11k_warn(ab, "failed to set default routing %d peer :%pM vdev_id :%d\n", in ath11k_dp_peer_setup()
67 ath11k_warn(ab, "failed to setup rxd tid queue for tid %d: %d\n", in ath11k_dp_peer_setup()
75 ath11k_warn(ab, "failed to setup rx defrag context\n"); in ath11k_dp_peer_setup()
85 spin_lock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
87 peer = ath11k_peer_find(ab, vdev_id, addr); in ath11k_dp_peer_setup()
89 ath11k_warn(ab, "failed to find the peer to del rx tid\n"); in ath11k_dp_peer_setup()
90 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
97 spin_unlock_bh(&ab->base_lock); in ath11k_dp_peer_setup()
102 void ath11k_dp_srng_cleanup(struct ath11k_base *ab, struct dp_srng *ring) in ath11k_dp_srng_cleanup() argument
108 dma_unmap_single(ab->dev, ring->paddr_unaligned, ring->size, in ath11k_dp_srng_cleanup()
112 dma_free_coherent(ab->dev, ring->size, ring->vaddr_unaligned, in ath11k_dp_srng_cleanup()
133 static int ath11k_dp_srng_calculate_msi_group(struct ath11k_base *ab, in ath11k_dp_srng_calculate_msi_group() argument
141 grp_mask = &ab->hw_params.ring_mask->rx_wbm_rel[0]; in ath11k_dp_srng_calculate_msi_group()
144 grp_mask = &ab->hw_params.ring_mask->tx[0]; in ath11k_dp_srng_calculate_msi_group()
148 grp_mask = &ab->hw_params.ring_mask->rx_err[0]; in ath11k_dp_srng_calculate_msi_group()
151 grp_mask = &ab->hw_params.ring_mask->rx[0]; in ath11k_dp_srng_calculate_msi_group()
154 grp_mask = &ab->hw_params.ring_mask->reo_status[0]; in ath11k_dp_srng_calculate_msi_group()
158 grp_mask = &ab->hw_params.ring_mask->rx_mon_status[0]; in ath11k_dp_srng_calculate_msi_group()
161 grp_mask = &ab->hw_params.ring_mask->rxdma2host[0]; in ath11k_dp_srng_calculate_msi_group()
164 grp_mask = &ab->hw_params.ring_mask->host2rxdma[0]; in ath11k_dp_srng_calculate_msi_group()
184 static void ath11k_dp_srng_msi_setup(struct ath11k_base *ab, in ath11k_dp_srng_msi_setup() argument
192 ret = ath11k_get_user_msi_vector(ab, "DP", in ath11k_dp_srng_msi_setup()
198 msi_group_number = ath11k_dp_srng_calculate_msi_group(ab, type, in ath11k_dp_srng_msi_setup()
201 ath11k_dbg(ab, ATH11K_DBG_PCI, in ath11k_dp_srng_msi_setup()
210 ath11k_dbg(ab, ATH11K_DBG_PCI, in ath11k_dp_srng_msi_setup()
215 ath11k_get_msi_address(ab, &addr_lo, &addr_hi); in ath11k_dp_srng_msi_setup()
224 int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, in ath11k_dp_srng_setup() argument
229 int entry_sz = ath11k_hal_srng_get_entrysize(ab, type); in ath11k_dp_srng_setup()
230 int max_entries = ath11k_hal_srng_get_max_entries(ab, type); in ath11k_dp_srng_setup()
242 if (ab->hw_params.alloc_cacheable_memory) { in ath11k_dp_srng_setup()
258 ring->paddr_unaligned = dma_map_single(ab->dev, in ath11k_dp_srng_setup()
262 if (dma_mapping_error(ab->dev, ring->paddr_unaligned)) { in ath11k_dp_srng_setup()
271 ring->vaddr_unaligned = dma_alloc_coherent(ab->dev, ring->size, in ath11k_dp_srng_setup()
285 ath11k_dp_srng_msi_setup(ab, &params, type, ring_num + mac_id); in ath11k_dp_srng_setup()
330 ath11k_warn(ab, "Not a valid ring type in dp :%d\n", type); in ath11k_dp_srng_setup()
339 ret = ath11k_hal_srng_setup(ab, type, ring_num, mac_id, &params); in ath11k_dp_srng_setup()
341 ath11k_warn(ab, "failed to setup srng: %d ring_id %d\n", in ath11k_dp_srng_setup()
351 void ath11k_dp_stop_shadow_timers(struct ath11k_base *ab) in ath11k_dp_stop_shadow_timers() argument
355 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_stop_shadow_timers()
358 for (i = 0; i < ab->hw_params.max_tx_ring; i++) in ath11k_dp_stop_shadow_timers()
359 ath11k_dp_shadow_stop_timer(ab, &ab->dp.tx_ring_timer[i]); in ath11k_dp_stop_shadow_timers()
361 ath11k_dp_shadow_stop_timer(ab, &ab->dp.reo_cmd_timer); in ath11k_dp_stop_shadow_timers()
364 static void ath11k_dp_srng_common_cleanup(struct ath11k_base *ab) in ath11k_dp_srng_common_cleanup() argument
366 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_srng_common_cleanup()
369 ath11k_dp_stop_shadow_timers(ab); in ath11k_dp_srng_common_cleanup()
370 ath11k_dp_srng_cleanup(ab, &dp->wbm_desc_rel_ring); in ath11k_dp_srng_common_cleanup()
371 ath11k_dp_srng_cleanup(ab, &dp->tcl_cmd_ring); in ath11k_dp_srng_common_cleanup()
372 ath11k_dp_srng_cleanup(ab, &dp->tcl_status_ring); in ath11k_dp_srng_common_cleanup()
373 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_srng_common_cleanup()
374 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_data_ring); in ath11k_dp_srng_common_cleanup()
375 ath11k_dp_srng_cleanup(ab, &dp->tx_ring[i].tcl_comp_ring); in ath11k_dp_srng_common_cleanup()
377 ath11k_dp_srng_cleanup(ab, &dp->reo_reinject_ring); in ath11k_dp_srng_common_cleanup()
378 ath11k_dp_srng_cleanup(ab, &dp->rx_rel_ring); in ath11k_dp_srng_common_cleanup()
379 ath11k_dp_srng_cleanup(ab, &dp->reo_except_ring); in ath11k_dp_srng_common_cleanup()
380 ath11k_dp_srng_cleanup(ab, &dp->reo_cmd_ring); in ath11k_dp_srng_common_cleanup()
381 ath11k_dp_srng_cleanup(ab, &dp->reo_status_ring); in ath11k_dp_srng_common_cleanup()
384 static int ath11k_dp_srng_common_setup(struct ath11k_base *ab) in ath11k_dp_srng_common_setup() argument
386 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_srng_common_setup()
391 ret = ath11k_dp_srng_setup(ab, &dp->wbm_desc_rel_ring, in ath11k_dp_srng_common_setup()
395 ath11k_warn(ab, "failed to set up wbm2sw_release ring :%d\n", in ath11k_dp_srng_common_setup()
400 ret = ath11k_dp_srng_setup(ab, &dp->tcl_cmd_ring, HAL_TCL_CMD, 0, 0, in ath11k_dp_srng_common_setup()
403 ath11k_warn(ab, "failed to set up tcl_cmd ring :%d\n", ret); in ath11k_dp_srng_common_setup()
407 ret = ath11k_dp_srng_setup(ab, &dp->tcl_status_ring, HAL_TCL_STATUS, in ath11k_dp_srng_common_setup()
410 ath11k_warn(ab, "failed to set up tcl_status ring :%d\n", ret); in ath11k_dp_srng_common_setup()
414 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_srng_common_setup()
415 tcl_num = ab->hw_params.hal_params->tcl2wbm_rbm_map[i].tcl_ring_num; in ath11k_dp_srng_common_setup()
416 wbm_num = ab->hw_params.hal_params->tcl2wbm_rbm_map[i].wbm_ring_num; in ath11k_dp_srng_common_setup()
418 ret = ath11k_dp_srng_setup(ab, &dp->tx_ring[i].tcl_data_ring, in ath11k_dp_srng_common_setup()
420 ab->hw_params.tx_ring_size); in ath11k_dp_srng_common_setup()
422 ath11k_warn(ab, "failed to set up tcl_data ring (%d) :%d\n", in ath11k_dp_srng_common_setup()
427 ret = ath11k_dp_srng_setup(ab, &dp->tx_ring[i].tcl_comp_ring, in ath11k_dp_srng_common_setup()
431 ath11k_warn(ab, "failed to set up tcl_comp ring (%d) :%d\n", in ath11k_dp_srng_common_setup()
436 srng = &ab->hal.srng_list[dp->tx_ring[i].tcl_data_ring.ring_id]; in ath11k_dp_srng_common_setup()
437 ath11k_hal_tx_init_data_ring(ab, srng); in ath11k_dp_srng_common_setup()
439 ath11k_dp_shadow_init_timer(ab, &dp->tx_ring_timer[i], in ath11k_dp_srng_common_setup()
444 ret = ath11k_dp_srng_setup(ab, &dp->reo_reinject_ring, HAL_REO_REINJECT, in ath11k_dp_srng_common_setup()
447 ath11k_warn(ab, "failed to set up reo_reinject ring :%d\n", in ath11k_dp_srng_common_setup()
452 ret = ath11k_dp_srng_setup(ab, &dp->rx_rel_ring, HAL_WBM2SW_RELEASE, in ath11k_dp_srng_common_setup()
455 ath11k_warn(ab, "failed to set up rx_rel ring :%d\n", ret); in ath11k_dp_srng_common_setup()
459 ret = ath11k_dp_srng_setup(ab, &dp->reo_except_ring, HAL_REO_EXCEPTION, in ath11k_dp_srng_common_setup()
462 ath11k_warn(ab, "failed to set up reo_exception ring :%d\n", in ath11k_dp_srng_common_setup()
467 ret = ath11k_dp_srng_setup(ab, &dp->reo_cmd_ring, HAL_REO_CMD, in ath11k_dp_srng_common_setup()
470 ath11k_warn(ab, "failed to set up reo_cmd ring :%d\n", ret); in ath11k_dp_srng_common_setup()
474 srng = &ab->hal.srng_list[dp->reo_cmd_ring.ring_id]; in ath11k_dp_srng_common_setup()
475 ath11k_hal_reo_init_cmd_ring(ab, srng); in ath11k_dp_srng_common_setup()
477 ath11k_dp_shadow_init_timer(ab, &dp->reo_cmd_timer, in ath11k_dp_srng_common_setup()
481 ret = ath11k_dp_srng_setup(ab, &dp->reo_status_ring, HAL_REO_STATUS, in ath11k_dp_srng_common_setup()
484 ath11k_warn(ab, "failed to set up reo_status ring :%d\n", ret); in ath11k_dp_srng_common_setup()
491 ab->hw_params.hw_ops->reo_setup(ab); in ath11k_dp_srng_common_setup()
496 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_srng_common_setup()
501 static void ath11k_dp_scatter_idle_link_desc_cleanup(struct ath11k_base *ab) in ath11k_dp_scatter_idle_link_desc_cleanup() argument
503 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_scatter_idle_link_desc_cleanup()
511 dma_free_coherent(ab->dev, HAL_WBM_IDLE_SCATTER_BUF_SIZE_MAX, in ath11k_dp_scatter_idle_link_desc_cleanup()
517 static int ath11k_dp_scatter_idle_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_scatter_idle_link_desc_setup() argument
523 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_scatter_idle_link_desc_setup()
537 ath11k_hal_srng_get_entrysize(ab, HAL_WBM_IDLE_LINK); in ath11k_dp_scatter_idle_link_desc_setup()
544 slist[i].vaddr = dma_alloc_coherent(ab->dev, in ath11k_dp_scatter_idle_link_desc_setup()
581 ath11k_hal_setup_link_idle_list(ab, slist, num_scatter_buf, in ath11k_dp_scatter_idle_link_desc_setup()
587 ath11k_dp_scatter_idle_link_desc_cleanup(ab); in ath11k_dp_scatter_idle_link_desc_setup()
593 ath11k_dp_link_desc_bank_free(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_free() argument
600 dma_free_coherent(ab->dev, in ath11k_dp_link_desc_bank_free()
609 static int ath11k_dp_link_desc_bank_alloc(struct ath11k_base *ab, in ath11k_dp_link_desc_bank_alloc() argument
614 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_link_desc_bank_alloc()
624 dma_alloc_coherent(ab->dev, desc_sz, in ath11k_dp_link_desc_bank_alloc()
643 ath11k_dp_link_desc_bank_free(ab, dp->link_desc_banks); in ath11k_dp_link_desc_bank_alloc()
648 void ath11k_dp_link_desc_cleanup(struct ath11k_base *ab, in ath11k_dp_link_desc_cleanup() argument
652 ath11k_dp_link_desc_bank_free(ab, desc_bank); in ath11k_dp_link_desc_cleanup()
655 ath11k_dp_srng_cleanup(ab, ring); in ath11k_dp_link_desc_cleanup()
656 ath11k_dp_scatter_idle_link_desc_cleanup(ab); in ath11k_dp_link_desc_cleanup()
660 static int ath11k_wbm_idle_ring_setup(struct ath11k_base *ab, u32 *n_link_desc) in ath11k_wbm_idle_ring_setup() argument
662 struct ath11k_dp *dp = &ab->dp; in ath11k_wbm_idle_ring_setup()
687 ret = ath11k_dp_srng_setup(ab, &dp->wbm_idle_ring, in ath11k_wbm_idle_ring_setup()
690 ath11k_warn(ab, "failed to setup wbm_idle_ring: %d\n", ret); in ath11k_wbm_idle_ring_setup()
696 int ath11k_dp_link_desc_setup(struct ath11k_base *ab, in ath11k_dp_link_desc_setup() argument
729 ret = ath11k_dp_link_desc_bank_alloc(ab, link_desc_banks, in ath11k_dp_link_desc_setup()
735 entry_sz = ath11k_hal_srng_get_entrysize(ab, ring_type); in ath11k_dp_link_desc_setup()
741 ret = ath11k_dp_scatter_idle_link_desc_setup(ab, tot_mem_sz, in ath11k_dp_link_desc_setup()
746 ath11k_warn(ab, "failed to setup scatting idle list descriptor :%d\n", in ath11k_dp_link_desc_setup()
756 ath11k_hal_srng_access_begin(ab, srng); in ath11k_dp_link_desc_setup()
765 (desc = ath11k_hal_srng_src_get_next_entry(ab, srng))) { in ath11k_dp_link_desc_setup()
773 ath11k_hal_srng_access_end(ab, srng); in ath11k_dp_link_desc_setup()
780 ath11k_dp_link_desc_bank_free(ab, link_desc_banks); in ath11k_dp_link_desc_setup()
785 int ath11k_dp_service_srng(struct ath11k_base *ab, in ath11k_dp_service_srng() argument
796 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_service_srng()
797 if (BIT(ab->hw_params.hal_params->tcl2wbm_rbm_map[i].wbm_ring_num) & in ath11k_dp_service_srng()
798 ab->hw_params.ring_mask->tx[grp_id]) in ath11k_dp_service_srng()
799 ath11k_dp_tx_completion_handler(ab, i); in ath11k_dp_service_srng()
802 if (ab->hw_params.ring_mask->rx_err[grp_id]) { in ath11k_dp_service_srng()
803 work_done = ath11k_dp_process_rx_err(ab, napi, budget); in ath11k_dp_service_srng()
810 if (ab->hw_params.ring_mask->rx_wbm_rel[grp_id]) { in ath11k_dp_service_srng()
811 work_done = ath11k_dp_rx_process_wbm_err(ab, in ath11k_dp_service_srng()
821 if (ab->hw_params.ring_mask->rx[grp_id]) { in ath11k_dp_service_srng()
822 i = fls(ab->hw_params.ring_mask->rx[grp_id]) - 1; in ath11k_dp_service_srng()
823 work_done = ath11k_dp_process_rx(ab, i, napi, in ath11k_dp_service_srng()
831 if (ab->hw_params.ring_mask->rx_mon_status[grp_id]) { in ath11k_dp_service_srng()
832 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_service_srng()
833 for (j = 0; j < ab->hw_params.num_rxdma_per_pdev; j++) { in ath11k_dp_service_srng()
834 int id = i * ab->hw_params.num_rxdma_per_pdev + j; in ath11k_dp_service_srng()
836 if (ab->hw_params.ring_mask->rx_mon_status[grp_id] & in ath11k_dp_service_srng()
839 ath11k_dp_rx_process_mon_rings(ab, in ath11k_dp_service_srng()
852 if (ab->hw_params.ring_mask->reo_status[grp_id]) in ath11k_dp_service_srng()
853 ath11k_dp_process_reo_status(ab); in ath11k_dp_service_srng()
855 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_service_srng()
856 for (j = 0; j < ab->hw_params.num_rxdma_per_pdev; j++) { in ath11k_dp_service_srng()
857 int id = i * ab->hw_params.num_rxdma_per_pdev + j; in ath11k_dp_service_srng()
859 if (ab->hw_params.ring_mask->rxdma2host[grp_id] & BIT(id)) { in ath11k_dp_service_srng()
860 work_done = ath11k_dp_process_rxdma_err(ab, id, budget); in ath11k_dp_service_srng()
868 if (ab->hw_params.ring_mask->host2rxdma[grp_id] & BIT(id)) { in ath11k_dp_service_srng()
869 struct ath11k *ar = ath11k_ab_to_ar(ab, id); in ath11k_dp_service_srng()
873 hal_params = ab->hw_params.hal_params; in ath11k_dp_service_srng()
874 ath11k_dp_rxbufs_replenish(ab, id, rx_ring, 0, in ath11k_dp_service_srng()
886 void ath11k_dp_pdev_free(struct ath11k_base *ab) in ath11k_dp_pdev_free() argument
891 del_timer_sync(&ab->mon_reap_timer); in ath11k_dp_pdev_free()
893 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_free()
894 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_free()
895 ath11k_dp_rx_pdev_free(ab, i); in ath11k_dp_pdev_free()
901 void ath11k_dp_pdev_pre_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_pre_alloc() argument
908 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_pre_alloc()
909 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_pre_alloc()
916 for (j = 0; j < ab->hw_params.num_rxdma_per_pdev; j++) { in ath11k_dp_pdev_pre_alloc()
925 int ath11k_dp_pdev_alloc(struct ath11k_base *ab) in ath11k_dp_pdev_alloc() argument
932 for (i = 0; i < ab->num_radios; i++) { in ath11k_dp_pdev_alloc()
933 ar = ab->pdevs[i].ar; in ath11k_dp_pdev_alloc()
934 ret = ath11k_dp_rx_pdev_alloc(ab, i); in ath11k_dp_pdev_alloc()
936 ath11k_warn(ab, "failed to allocate pdev rx for pdev_id :%d\n", in ath11k_dp_pdev_alloc()
942 ath11k_warn(ab, "failed to initialize mon pdev %d\n", in ath11k_dp_pdev_alloc()
951 ath11k_dp_pdev_free(ab); in ath11k_dp_pdev_alloc()
971 status = ath11k_htc_connect_service(&dp->ab->htc, &conn_req, in ath11k_dp_htt_connect()
991 if (arvif->ar->ab->hw_params.htt_peer_map_v2) { in ath11k_dp_update_vdev_search()
1026 struct ath11k_base *ab = ctx; in ath11k_dp_tx_pending_cleanup() local
1029 dma_unmap_single(ab->dev, ATH11K_SKB_CB(msdu)->paddr, msdu->len, in ath11k_dp_tx_pending_cleanup()
1037 void ath11k_dp_free(struct ath11k_base *ab) in ath11k_dp_free() argument
1039 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_free()
1042 ath11k_dp_link_desc_cleanup(ab, dp->link_desc_banks, in ath11k_dp_free()
1045 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_free()
1047 ath11k_dp_reo_cmd_list_cleanup(ab); in ath11k_dp_free()
1049 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_free()
1052 ath11k_dp_tx_pending_cleanup, ab); in ath11k_dp_free()
1061 int ath11k_dp_alloc(struct ath11k_base *ab) in ath11k_dp_alloc() argument
1063 struct ath11k_dp *dp = &ab->dp; in ath11k_dp_alloc()
1070 dp->ab = ab; in ath11k_dp_alloc()
1079 ret = ath11k_wbm_idle_ring_setup(ab, &n_link_desc); in ath11k_dp_alloc()
1081 ath11k_warn(ab, "failed to setup wbm_idle_ring: %d\n", ret); in ath11k_dp_alloc()
1085 srng = &ab->hal.srng_list[dp->wbm_idle_ring.ring_id]; in ath11k_dp_alloc()
1087 ret = ath11k_dp_link_desc_setup(ab, dp->link_desc_banks, in ath11k_dp_alloc()
1090 ath11k_warn(ab, "failed to setup link desc: %d\n", ret); in ath11k_dp_alloc()
1094 ret = ath11k_dp_srng_common_setup(ab); in ath11k_dp_alloc()
1100 for (i = 0; i < ab->hw_params.max_tx_ring; i++) { in ath11k_dp_alloc()
1115 ath11k_hal_tx_set_dscp_tid_map(ab, i); in ath11k_dp_alloc()
1122 ath11k_dp_srng_common_cleanup(ab); in ath11k_dp_alloc()
1125 ath11k_dp_link_desc_cleanup(ab, dp->link_desc_banks, in ath11k_dp_alloc()
1135 struct ath11k_base *ab = update_timer->ab; in ath11k_dp_shadow_timer_handler() local
1136 struct hal_srng *srng = &ab->hal.srng_list[update_timer->ring_id]; in ath11k_dp_shadow_timer_handler()
1151 ath11k_hal_srng_shadow_update_hp_tp(ab, srng); in ath11k_dp_shadow_timer_handler()
1157 void ath11k_dp_shadow_start_timer(struct ath11k_base *ab, in ath11k_dp_shadow_start_timer() argument
1163 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_start_timer()
1177 void ath11k_dp_shadow_stop_timer(struct ath11k_base *ab, in ath11k_dp_shadow_stop_timer() argument
1180 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_stop_timer()
1189 void ath11k_dp_shadow_init_timer(struct ath11k_base *ab, in ath11k_dp_shadow_init_timer() argument
1193 if (!ab->hw_params.supports_shadow_regs) in ath11k_dp_shadow_init_timer()
1198 update_timer->ab = ab; in ath11k_dp_shadow_init_timer()