Searched refs:write_idx (Results 1 – 10 of 10) sorted by relevance
80 next = cur = rxq->write_idx; in alx_refill_rx_ring()135 rxq->write_idx = cur; in alx_refill_rx_ring()160 if (txq->write_idx >= txq->read_idx) in alx_tpd_avail()161 return txq->count + txq->read_idx - txq->write_idx - 1; in alx_tpd_avail()162 return txq->read_idx - txq->write_idx - 1; in alx_tpd_avail()462 np->txq->write_idx = 0; in alx_init_ring_ptrs()470 np->rxq->write_idx = 0; in alx_init_ring_ptrs()501 txq->write_idx = 0; in alx_free_txring_buf()529 rxq->write_idx = 0; in alx_free_rxring_buf()1441 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb()[all …]
66 u16 write_idx, read_idx; member82 u16 write_idx, read_idx; member
67 unsigned int write_idx; member216 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity()219 list->read_idx, list->write_idx); in check_list_validity()243 list->fb_list[list->write_idx].vdec_fb_va = (u64)(uintptr_t)fb; in put_fb_to_free()244 list->write_idx = (list->write_idx == H264_MAX_FB_NUM - 1) ? in put_fb_to_free()245 0 : list->write_idx + 1; in put_fb_to_free()
86 u32 write_idx; member200 wr_idx = qhdr->write_idx; in venus_write_queue()237 qhdr->write_idx = new_wr_idx; in venus_write_queue()265 wr_idx = qhdr->write_idx; in venus_read_queue()308 new_rd_idx = qhdr->write_idx; in venus_read_queue()320 wr_idx = qhdr->write_idx; in venus_read_queue()700 qhdr->write_idx = 0; in venus_set_qhdr_defaults()870 return abs(qhdr->read_idx - qhdr->write_idx); in venus_get_queue_size()
38 int write_idx; member
39 cmdq->write_idx = 0; in cmdq_common_init()
444 idx = cmdq->write_idx; in post_se_instr()460 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr()
266 u32 write_idx; member
133 droq->write_idx = 0; in octeon_droq_reset_indices()
165 BTREE_FLAG(write_idx);