Home
last modified time | relevance | path

Searched refs:nentries_mask (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dce.c278 unsigned int nentries_mask = src_ring->nentries_mask; in ath10k_ce_send_nolock() local
289 if (unlikely(CE_RING_DELTA(nentries_mask, in ath10k_ce_send_nolock()
314 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath10k_ce_send_nolock()
347 src_ring->write_index &= src_ring->nentries_mask; in __ath10k_ce_send_revert()
378 delta = CE_RING_DELTA(pipe->src_ring->nentries_mask, in ath10k_ce_num_free_src_entries()
391 unsigned int nentries_mask = dest_ring->nentries_mask; in __ath10k_ce_rx_num_free_bufs() local
397 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs()
405 unsigned int nentries_mask = dest_ring->nentries_mask; in __ath10k_ce_rx_post_buf() local
414 if (CE_RING_DELTA(nentries_mask, write_index, sw_index - 1) == 0) in __ath10k_ce_rx_post_buf()
421 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in __ath10k_ce_rx_post_buf()
[all …]
Dce.h58 unsigned int nentries_mask; member
415 #define CE_RING_DELTA(nentries_mask, fromidx, toidx) \ argument
416 (((int)(toidx)-(int)(fromidx)) & (nentries_mask))
418 #define CE_RING_IDX_INCR(nentries_mask, idx) (((idx) + 1) & (nentries_mask)) argument
Dpci.c1259 unsigned int nentries_mask; in ath10k_pci_hif_tx_sg() local
1266 nentries_mask = src_ring->nentries_mask; in ath10k_pci_hif_tx_sg()
1270 if (unlikely(CE_RING_DELTA(nentries_mask, in ath10k_pci_hif_tx_sg()