Searched refs:desc_avail (Results 1 – 22 of 22) sorted by relevance
38 return wq->ring.desc_avail; in vnic_wq_copy_desc_avail()43 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use()57 wq->ring.desc_avail--; in vnic_wq_copy_post()79 wq->ring.desc_avail += cnt; in vnic_wq_copy_desc_process()96 wq->ring.desc_avail++; in vnic_wq_copy_service()
108 return rq->ring.desc_avail; in vnic_rq_desc_avail()114 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()145 rq->ring.desc_avail--; in vnic_rq_post()172 rq->ring.desc_avail += count; in vnic_rq_return_descs()197 rq->ring.desc_avail++; in vnic_rq_service()
101 return wq->ring.desc_avail; in vnic_wq_desc_avail()107 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()138 wq->ring.desc_avail--; in vnic_wq_post()154 wq->ring.desc_avail++; in vnic_wq_service()
106 unsigned int desc_avail; member
180 rq->ring.desc_avail++; in vnic_rq_clean()
236 wq->ring.desc_avail++; in vnic_wq_clean()
241 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
155 wq->ring.desc_avail += (fnic->fw_ack_index[0] in free_wq_copy_descs()158 wq->ring.desc_avail += (wq->ring.desc_count in free_wq_copy_descs()
100 return rq->ring.desc_avail; in vnic_rq_desc_avail()106 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()134 rq->ring.desc_avail--; in vnic_rq_post()156 rq->ring.desc_avail += count; in vnic_rq_return_descs()181 rq->ring.desc_avail++; in vnic_rq_service()
106 return wq->ring.desc_avail; in vnic_wq_desc_avail()112 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()151 wq->ring.desc_avail -= desc_skip_cnt; in vnic_wq_post()167 wq->ring.desc_avail++; in vnic_wq_service()
207 wq->ring.desc_avail++; in vnic_wq_clean()
198 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
70 unsigned int desc_avail; member
214 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
811 wq->ring.desc_avail++; in enic_queue_wq_skb()
88 return wq->ring.desc_avail; in svnic_wq_desc_avail()94 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used()125 wq->ring.desc_avail--; in svnic_wq_post()141 wq->ring.desc_avail++; in svnic_wq_service()
170 long desc_avail = 0; in snic_queue_wq_desc() local188 desc_avail = snic_wqdesc_avail(snic, q_num, req->hdr.type); in snic_queue_wq_desc()189 if (desc_avail <= 0) { in snic_queue_wq_desc()
64 unsigned int desc_avail; member
227 wq->ring.desc_avail++; in svnic_wq_clean()
245 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
317 u16 desc_avail; member861 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_progress()862 if (tx->num_desc > sde->desc_avail) in sdma_progress()
604 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_sw_clean_up_task()1383 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_init()2307 sde->desc_avail -= tx->num_desc; in submit_tx()2322 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()2323 if (tx->num_desc <= sde->desc_avail) in sdma_check_progress()2333 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()2372 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txreq()2449 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txlist()