Searched refs:sdma_mask (Results 1 – 2 of 2) sorted by relevance
572 return sde->tx_ring[sde->tx_head & sde->sdma_mask]; in get_txhead()589 head = sde->descq_head & sde->sdma_mask; in sdma_flush_descq()590 tail = sde->descq_tail & sde->sdma_mask; in sdma_flush_descq()593 head = ++sde->descq_head & sde->sdma_mask; in sdma_flush_descq()597 sde->tx_ring[sde->tx_head++ & sde->sdma_mask] = NULL; in sdma_flush_descq()1427 sde->sdma_mask = (1 << sde->sdma_shift) - 1; in sdma_init()1728 swhead = sde->descq_head & sde->sdma_mask; in sdma_gethead()1730 swtail = READ_ONCE(sde->descq_tail) & sde->sdma_mask; in sdma_gethead()1845 swhead = sde->descq_head & sde->sdma_mask; in sdma_make_progress()1849 swhead = ++sde->descq_head & sde->sdma_mask; in sdma_make_progress()[all …]
333 u32 sdma_mask; member