Searched refs:nentries_mask (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 431 unsigned int nentries_mask = src_ring->nentries_mask; in _ath10k_ce_send_nolock() local 442 if (unlikely(CE_RING_DELTA(nentries_mask, in _ath10k_ce_send_nolock() 467 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in _ath10k_ce_send_nolock() 488 unsigned int nentries_mask = src_ring->nentries_mask; in _ath10k_ce_send_nolock_64() local 508 if (unlikely(CE_RING_DELTA(nentries_mask, in _ath10k_ce_send_nolock_64() 543 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in _ath10k_ce_send_nolock_64() 593 src_ring->write_index &= src_ring->nentries_mask; in __ath10k_ce_send_revert() 626 delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, in ath10k_ce_num_free_src_entries() 640 unsigned int nentries_mask = dest_ring->nentries_mask; in __ath10k_ce_rx_num_free_bufs() local 646 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs() [all …]
|
D | ce.h | 63 unsigned int nentries_mask; member 360 #define CE_RING_DELTA(nentries_mask, fromidx, toidx) \ argument 361 (((int)(toidx) - (int)(fromidx)) & (nentries_mask)) 363 #define CE_RING_IDX_INCR(nentries_mask, idx) (((idx) + 1) & (nentries_mask)) argument 364 #define CE_RING_IDX_ADD(nentries_mask, idx, num) \ argument 365 (((idx) + (num)) & (nentries_mask))
|
D | pci.c | 1357 unsigned int nentries_mask; in ath10k_pci_hif_tx_sg() local 1364 nentries_mask = src_ring->nentries_mask; in ath10k_pci_hif_tx_sg() 1368 if (unlikely(CE_RING_DELTA(nentries_mask, in ath10k_pci_hif_tx_sg()
|
/Linux-v6.6/drivers/net/wireless/ath/ath12k/ |
D | ce.c | 229 unsigned int nentries_mask = ring->nentries_mask; in ath12k_ce_rx_buf_enqueue_pipe() local 257 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath12k_ce_rx_buf_enqueue_pipe() 326 unsigned int nentries_mask; in ath12k_ce_completed_recv_next() local 332 nentries_mask = pipe->dest_ring->nentries_mask; in ath12k_ce_completed_recv_next() 355 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath12k_ce_completed_recv_next() 415 unsigned int nentries_mask; in ath12k_ce_completed_send_next() local 421 nentries_mask = pipe->src_ring->nentries_mask; in ath12k_ce_completed_send_next() 439 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath12k_ce_completed_send_next() 554 ce_ring->nentries_mask = nentries - 1; in ath12k_ce_alloc_ring() 645 unsigned int nentries_mask; in ath12k_ce_send() local [all …]
|
D | ce.h | 48 #define CE_RING_IDX_INCR(nentries_mask, idx) (((idx) + 1) & (nentries_mask)) argument 102 unsigned int nentries_mask; member
|
/Linux-v6.6/drivers/net/wireless/ath/ath11k/ |
D | ce.c | 278 unsigned int nentries_mask = ring->nentries_mask; in ath11k_ce_rx_buf_enqueue_pipe() local 306 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe() 375 unsigned int nentries_mask; in ath11k_ce_completed_recv_next() local 382 nentries_mask = pipe->dest_ring->nentries_mask; in ath11k_ce_completed_recv_next() 405 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next() 464 unsigned int nentries_mask; in ath11k_ce_completed_send_next() local 471 nentries_mask = pipe->src_ring->nentries_mask; in ath11k_ce_completed_send_next() 489 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_send_next() 624 ce_ring->nentries_mask = nentries - 1; in ath11k_ce_alloc_ring() 718 unsigned int nentries_mask; in ath11k_ce_send() local [all …]
|
D | ce.h | 59 #define CE_RING_IDX_INCR(nentries_mask, idx) (((idx) + 1) & (nentries_mask)) argument 128 unsigned int nentries_mask; member
|