Searched refs:refill_idx (Results 1 – 3 of 3) sorted by relevance
134 droq->refill_idx = 0; in octeon_droq_reset_indices()394 u32 refill_index = droq->refill_idx; in octeon_droq_refill_pullup_descs()398 droq->recv_buf_list[droq->refill_idx].buffer = in octeon_droq_refill_pullup_descs()400 droq->recv_buf_list[droq->refill_idx].data = in octeon_droq_refill_pullup_descs()402 desc_ring[droq->refill_idx].buffer_ptr = in octeon_droq_refill_pullup_descs()407 droq->refill_idx = incr_index(droq->refill_idx, in octeon_droq_refill_pullup_descs()412 } while (droq->recv_buf_list[droq->refill_idx].buffer); in octeon_droq_refill_pullup_descs()445 if (!droq->recv_buf_list[droq->refill_idx].buffer) { in octeon_droq_refill()447 &droq->recv_buf_list[droq->refill_idx].pg_info; in octeon_droq_refill()462 droq->recv_buf_list[droq->refill_idx].buffer = in octeon_droq_refill()[all …]
268 u32 refill_idx; member
83 u32 refill_idx, i; in octep_oq_refill() local85 refill_idx = oq->host_refill_idx; in octep_oq_refill()94 desc_ring[refill_idx].buffer_ptr = dma_map_page(oq->dev, page, 0, in octep_oq_refill()96 if (dma_mapping_error(oq->dev, desc_ring[refill_idx].buffer_ptr)) { in octep_oq_refill()104 oq->buff_info[refill_idx].page = page; in octep_oq_refill()105 refill_idx++; in octep_oq_refill()106 if (refill_idx == oq->max_count) in octep_oq_refill()107 refill_idx = 0; in octep_oq_refill()109 oq->host_refill_idx = refill_idx; in octep_oq_refill()