Home
last modified time | relevance | path

Searched refs:write_idx (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/atheros/alx/
Dmain.c80 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 …]
Dalx.h66 u16 write_idx, read_idx; member
82 u16 write_idx, read_idx; member
/Linux-v4.19/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c67 unsigned int write_idx; member
216 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()
/Linux-v4.19/drivers/media/platform/qcom/venus/
Dhfi_venus.c86 u32 write_idx; member
200 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()
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_dev.h38 int write_idx; member
Dnitrox_lib.c39 cmdq->write_idx = 0; in cmdq_common_init()
Dnitrox_reqmgr.c444 idx = cmdq->write_idx; in post_se_instr()
460 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h266 u32 write_idx; member
Docteon_droq.c133 droq->write_idx = 0; in octeon_droq_reset_indices()
/Linux-v4.19/drivers/md/bcache/
Dbtree.h165 BTREE_FLAG(write_idx);