Searched refs:sdma_mask (Results 1 – 2 of 2) sorted by relevance
530 return sde->tx_ring[sde->tx_head & sde->sdma_mask]; in get_txhead()547 head = sde->descq_head & sde->sdma_mask; in sdma_flush_descq()548 tail = sde->descq_tail & sde->sdma_mask; in sdma_flush_descq()551 head = ++sde->descq_head & sde->sdma_mask; in sdma_flush_descq()555 sde->tx_ring[sde->tx_head++ & sde->sdma_mask] = NULL; in sdma_flush_descq()1385 sde->sdma_mask = (1 << sde->sdma_shift) - 1; in sdma_init()1686 swhead = sde->descq_head & sde->sdma_mask; in sdma_gethead()1688 swtail = READ_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_gethead()1803 swhead = sde->descq_head & sde->sdma_mask; in sdma_make_progress()1807 swhead = ++sde->descq_head & sde->sdma_mask; in sdma_make_progress()[all …]
292 u32 sdma_mask; member