Home
last modified time | relevance | path

Searched refs:sw_index (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Dce.c435 unsigned int sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock() local
446 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
492 unsigned int sw_index; in _ath10k_ce_send_nolock_64() local
507 sw_index = ath10k_ce_src_ring_read_index_from_ddr(ar, ce_state->id); in _ath10k_ce_send_nolock_64()
509 sw_index = src_ring->sw_index; in _ath10k_ce_send_nolock_64()
512 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
588 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
631 pipe->src_ring->sw_index - 1); in ath10k_ce_num_free_src_entries()
645 unsigned int sw_index = dest_ring->sw_index; in __ath10k_ce_rx_num_free_bufs() local
649 return CE_RING_DELTA(nentries_mask, write_index, sw_index - 1); in __ath10k_ce_rx_num_free_bufs()
[all …]
H A Dce.h76 unsigned int sw_index; member
322 u32 sw_index, dma_addr_t *bufferp,
H A Dpci.c1361 unsigned int sw_index; in ath10k_pci_hif_tx_sg() local
1368 sw_index = src_ring->sw_index; in ath10k_pci_hif_tx_sg()
1372 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/linux/drivers/net/wireless/ath/ath12k/
H A Dce.c115 unsigned int sw_index; in ath12k_ce_completed_recv_next() local
121 sw_index = pipe->dest_ring->sw_index; in ath12k_ce_completed_recv_next()
138 *skb = pipe->dest_ring->skb[sw_index]; in ath12k_ce_completed_recv_next()
139 pipe->dest_ring->skb[sw_index] = NULL; in ath12k_ce_completed_recv_next()
141 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath12k_ce_completed_recv_next()
142 pipe->dest_ring->sw_index = sw_index; in ath12k_ce_completed_recv_next()
200 unsigned int sw_index; in ath12k_ce_completed_send_next() local
206 sw_index = pipe->src_ring->sw_index; in ath12k_ce_completed_send_next()
221 skb = pipe->src_ring->skb[sw_index]; in ath12k_ce_completed_send_next()
223 pipe->src_ring->skb[sw_index] = NULL; in ath12k_ce_completed_send_next()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Dce.c377 unsigned int sw_index; in ath11k_ce_completed_recv_next() local
384 sw_index = pipe->dest_ring->sw_index; in ath11k_ce_completed_recv_next()
401 *skb = pipe->dest_ring->skb[sw_index]; in ath11k_ce_completed_recv_next()
402 pipe->dest_ring->skb[sw_index] = NULL; in ath11k_ce_completed_recv_next()
404 sw_index = CE_RING_IDX_INCR(nentries_mask, sw_index); in ath11k_ce_completed_recv_next()
405 pipe->dest_ring->sw_index = sw_index; in ath11k_ce_completed_recv_next()
462 unsigned int sw_index; in ath11k_ce_completed_send_next() local
469 sw_index = pipe->src_ring->sw_index; in ath11k_ce_completed_send_next()
484 skb = pipe->src_ring->skb[sw_index]; in ath11k_ce_completed_send_next()
486 pipe->src_ring->skb[sw_index] = NULL; in ath11k_ce_completed_send_next()
[all …]
H A Dce.h141 unsigned int sw_index; member
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.h68 u8 sw_index; /* software index number */ member
H A Dfile_ops.c978 hfi1_cdbg(PROC, "allocated send context %u(%u)", uctxt->sc->sw_index, in allocate_ctxt()
/linux/net/dsa/
H A Ddsa.c180 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
190 if (dp->ds->index != sw_index) in dsa_switch_find()