Searched refs:desc_avail (Results 1 – 22 of 22) sorted by relevance
26 return wq->ring.desc_avail; in vnic_wq_copy_desc_avail()31 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use()45 wq->ring.desc_avail--; in vnic_wq_copy_post()67 wq->ring.desc_avail += cnt; in vnic_wq_copy_desc_process()84 wq->ring.desc_avail++; in vnic_wq_copy_service()
96 return rq->ring.desc_avail; in vnic_rq_desc_avail()102 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()133 rq->ring.desc_avail--; in vnic_rq_post()160 rq->ring.desc_avail += count; in vnic_rq_return_descs()185 rq->ring.desc_avail++; in vnic_rq_service()
89 return wq->ring.desc_avail; in vnic_wq_desc_avail()95 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()126 wq->ring.desc_avail--; in vnic_wq_post()142 wq->ring.desc_avail++; in vnic_wq_service()
94 unsigned int desc_avail; member
168 rq->ring.desc_avail++; in vnic_rq_clean()
224 wq->ring.desc_avail++; in vnic_wq_clean()
229 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
143 wq->ring.desc_avail += (fnic->fw_ack_index[0] in free_wq_copy_descs()146 wq->ring.desc_avail += (wq->ring.desc_count in free_wq_copy_descs()
87 return rq->ring.desc_avail; in vnic_rq_desc_avail()93 return rq->ring.desc_count - rq->ring.desc_avail - 1; in vnic_rq_desc_used()121 rq->ring.desc_avail--; in vnic_rq_post()143 rq->ring.desc_avail += count; in vnic_rq_return_descs()168 rq->ring.desc_avail++; in vnic_rq_service()
93 return wq->ring.desc_avail; in vnic_wq_desc_avail()99 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used()138 wq->ring.desc_avail -= desc_skip_cnt; in vnic_wq_post()154 wq->ring.desc_avail++; in vnic_wq_service()
185 rq->ring.desc_avail = rq->ring.desc_count - 1; in vnic_rq_clean()
194 wq->ring.desc_avail++; in vnic_wq_clean()
57 unsigned int desc_avail; member
201 ring->desc_avail = ring->desc_count - 1; in vnic_dev_alloc_desc_ring()
810 wq->ring.desc_avail++; in enic_queue_wq_skb()
74 return wq->ring.desc_avail; in svnic_wq_desc_avail()80 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used()111 wq->ring.desc_avail--; in svnic_wq_post()127 wq->ring.desc_avail++; in svnic_wq_service()
156 long desc_avail = 0; in snic_queue_wq_desc() local174 desc_avail = snic_wqdesc_avail(snic, q_num, req->hdr.type); in snic_queue_wq_desc()175 if (desc_avail <= 0) { in snic_queue_wq_desc()
50 unsigned int desc_avail; member
213 wq->ring.desc_avail++; in svnic_wq_clean()
231 ring->desc_avail = ring->desc_count - 1; in svnic_dev_alloc_desc_ring()
317 u16 desc_avail; member884 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_progress()885 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()2305 sde->desc_avail -= tx->num_desc; in submit_tx()2320 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()2321 if (tx->num_desc <= sde->desc_avail) in sdma_check_progress()2331 sde->desc_avail = sdma_descq_freecnt(sde); in sdma_check_progress()2370 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txreq()2447 if (unlikely(tx->num_desc > sde->desc_avail)) in sdma_send_txlist()