Lines Matching refs:num_desc
1641 if (tx->num_desc) { in __sdma_txclean()
1649 for (i = 1 + skip; i < tx->num_desc; i++) in __sdma_txclean()
1651 tx->num_desc = 0; in __sdma_txclean()
1748 u32 num_desc; in sdma_desc_avail() local
1755 num_desc = iowait_get_all_desc(wait); in sdma_desc_avail()
1756 if (num_desc > avail) in sdma_desc_avail()
1758 avail -= num_desc; in sdma_desc_avail()
2283 for (i = 1; i < tx->num_desc; i++, descp++) { in submit_tx()
2307 sde->desc_avail -= tx->num_desc; in submit_tx()
2323 if (tx->num_desc <= sde->desc_avail) in sdma_check_progress()
2372 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txreq()
2392 iowait_inc_wait_count(wait, tx->num_desc); in sdma_send_txreq()
2449 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txlist()
2488 iowait_inc_wait_count(wait, tx->num_desc); in sdma_send_txlist()
3021 if (unlikely((tx->num_desc == (MAX_DESC - 1)))) { in _extend_sdma_tx_descs()
3036 if (unlikely(tx->num_desc == MAX_DESC)) in _extend_sdma_tx_descs()
3047 for (i = 0; i < tx->num_desc; i++) in _extend_sdma_tx_descs()
3163 tx->num_desc++; in _pad_sdma_tx_descs()
3164 if ((unlikely(tx->num_desc == tx->desc_limit))) { in _pad_sdma_tx_descs()
3206 tx->num_desc++; in _sdma_txreq_ahgadd()
3210 tx->num_desc++; in _sdma_txreq_ahgadd()
3215 tx->num_desc++; in _sdma_txreq_ahgadd()