Searched refs:status_ring (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | ce.c | 278 if (!(pipe->dest_ring || pipe->status_ring)) in ath12k_ce_rx_post_pipe() 334 srng = &ab->hal.srng_list[pipe->status_ring->hal_ring_id]; in ath12k_ce_completed_recv_next() 613 pipe->status_ring = ring; in ath12k_ce_alloc_pipe() 868 if (pipe->status_ring) { in ath12k_ce_init_pipes() 869 ret = ath12k_ce_init_ring(ab, pipe->status_ring, i, in ath12k_ce_init_pipes() 878 pipe->status_ring->write_index = 0; in ath12k_ce_init_pipes() 879 pipe->status_ring->sw_index = 0; in ath12k_ce_init_pipes() 917 if (pipe->status_ring) { in ath12k_ce_free_pipes() 921 pipe->status_ring->nentries * desc_sz + in ath12k_ce_free_pipes() 923 pipe->status_ring->base_addr_owner_space, in ath12k_ce_free_pipes() [all …]
|
H A D | dp_tx.c | 542 struct hal_srng *status_ring = &ab->hal.srng_list[hal_ring_id]; in ath12k_dp_tx_completion_handler() local 551 spin_lock_bh(&status_ring->lock); in ath12k_dp_tx_completion_handler() 553 ath12k_hal_srng_access_begin(ab, status_ring); in ath12k_dp_tx_completion_handler() 556 desc = ath12k_hal_srng_dst_get_next_entry(ab, status_ring); in ath12k_dp_tx_completion_handler() 566 if (ath12k_hal_srng_dst_peek(ab, status_ring) && in ath12k_dp_tx_completion_handler() 572 ath12k_hal_srng_access_end(ab, status_ring); in ath12k_dp_tx_completion_handler() 574 spin_unlock_bh(&status_ring->lock); in ath12k_dp_tx_completion_handler()
|
H A D | ce.h | 154 struct ath12k_ce_ring *status_ring; member
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | ce.c | 327 if (!(pipe->dest_ring || pipe->status_ring)) in ath11k_ce_rx_post_pipe() 384 srng = &ab->hal.srng_list[pipe->status_ring->hal_ring_id]; in ath11k_ce_completed_recv_next() 683 pipe->status_ring = ring; in ath11k_ce_alloc_pipe() 956 if (pipe->status_ring) { in ath11k_ce_init_pipes() 957 ret = ath11k_ce_init_ring(ab, pipe->status_ring, i, in ath11k_ce_init_pipes() 966 pipe->status_ring->write_index = 0; in ath11k_ce_init_pipes() 967 pipe->status_ring->sw_index = 0; in ath11k_ce_init_pipes() 1011 if (pipe->status_ring) { in ath11k_ce_free_pipes() 1014 ce_ring = pipe->status_ring; in ath11k_ce_free_pipes() 1016 pipe->status_ring->nentries * desc_sz + in ath11k_ce_free_pipes() [all …]
|
H A D | dp_tx.c | 699 struct hal_srng *status_ring = &ab->hal.srng_list[hal_ring_id]; in ath11k_dp_tx_completion_handler() local 707 spin_lock_bh(&status_ring->lock); in ath11k_dp_tx_completion_handler() 709 ath11k_hal_srng_access_begin(ab, status_ring); in ath11k_dp_tx_completion_handler() 713 (desc = ath11k_hal_srng_dst_get_next_entry(ab, status_ring))) { in ath11k_dp_tx_completion_handler() 720 if (unlikely((ath11k_hal_srng_dst_peek(ab, status_ring) != NULL) && in ath11k_dp_tx_completion_handler() 727 ath11k_hal_srng_access_end(ab, status_ring); in ath11k_dp_tx_completion_handler() 729 spin_unlock_bh(&status_ring->lock); in ath11k_dp_tx_completion_handler()
|
H A D | ce.h | 180 struct ath11k_ce_ring *status_ring; member
|