Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_h264.c413 int write_idx = 0; in deduplicate_reflist() local
417 write_idx = b->num_valid; in deduplicate_reflist()
423 reflist[write_idx++] = reflist[i]; in deduplicate_reflist()
430 if (WARN_ON(write_idx > 16)) in deduplicate_reflist()
431 write_idx = 16; in deduplicate_reflist()
434 for (; write_idx < 16; write_idx++) in deduplicate_reflist()
435 reflist[write_idx].index = 15; in deduplicate_reflist()
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_if.c61 unsigned int write_idx; member
208 list->write_idx >= H264_MAX_FB_NUM) { in check_list_validity()
211 list->read_idx, list->write_idx); in check_list_validity()
235 list->fb_list[list->write_idx].vdec_fb_va = (u64)(uintptr_t)fb; in put_fb_to_free()
236 list->write_idx = (list->write_idx == H264_MAX_FB_NUM - 1) ? in put_fb_to_free()
237 0 : list->write_idx + 1; in put_fb_to_free()
/linux-6.6.21/drivers/net/ethernet/atheros/alx/
Dmain.c79 next = cur = rxq->write_idx; in alx_refill_rx_ring()
134 rxq->write_idx = cur; in alx_refill_rx_ring()
159 if (txq->write_idx >= txq->read_idx) in alx_tpd_avail()
160 return txq->count + txq->read_idx - txq->write_idx - 1; in alx_tpd_avail()
161 return txq->read_idx - txq->write_idx - 1; in alx_tpd_avail()
461 np->txq->write_idx = 0; in alx_init_ring_ptrs()
469 np->rxq->write_idx = 0; in alx_init_ring_ptrs()
500 txq->write_idx = 0; in alx_free_txring_buf()
528 rxq->write_idx = 0; in alx_free_rxring_buf()
1464 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-6.6.21/drivers/net/ethernet/broadcom/
Dbcm4908_enet.c64 int write_idx; member
316 ring->write_idx = 0; in bcm4908_enet_dma_ring_init()
537 if (ring->read_idx <= ring->write_idx) in bcm4908_enet_start_xmit()
538 free_buf_descs = ring->read_idx - ring->write_idx + ring->length; in bcm4908_enet_start_xmit()
540 free_buf_descs = ring->read_idx - ring->write_idx; in bcm4908_enet_start_xmit()
547 buf_desc = &ring->buf_desc[ring->write_idx]; in bcm4908_enet_start_xmit()
553 slot = &ring->slots[ring->write_idx]; in bcm4908_enet_start_xmit()
565 if (ring->write_idx + 1 == ring->length - 1) in bcm4908_enet_start_xmit()
575 if (++ring->write_idx == ring->length - 1) in bcm4908_enet_start_xmit()
576 ring->write_idx = 0; in bcm4908_enet_start_xmit()
[all …]
/linux-6.6.21/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c38 cmdq->write_idx = 0; in nitrox_cmdq_init()
55 cmdq->write_idx = 0; in nitrox_cmdq_reset()
Dnitrox_dev.h58 int write_idx; member
Dnitrox_reqmgr.c296 idx = cmdq->write_idx; in post_se_instr()
310 cmdq->write_idx = incr_index(idx, 1, ndev->qlen); in post_se_instr()
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_venus.c72 u32 write_idx; member
185 wr_idx = qhdr->write_idx; in venus_write_queue()
227 qhdr->write_idx = new_wr_idx; in venus_write_queue()
255 wr_idx = qhdr->write_idx; in venus_read_queue()
303 new_rd_idx = qhdr->write_idx; in venus_read_queue()
315 wr_idx = qhdr->write_idx; in venus_read_queue()
760 qhdr->write_idx = 0; in venus_set_qhdr_defaults()
928 return abs(qhdr->read_idx - qhdr->write_idx); in venus_get_queue_size()
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h263 u32 write_idx; member
Docteon_droq.c134 droq->write_idx = 0; in octeon_droq_reset_indices()
/linux-6.6.21/drivers/md/bcache/
Dbtree.h167 BTREE_FLAG(write_idx);
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c133 __le16 write_idx; member
141 __le16 write_idx; member
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.c4050 const int write_idx = read_idx + (0x800 / sizeof(u64)); in vmx_update_msr_bitmap_x2apic() local
4084 msr_bitmap[write_idx] = ~0ull; in vmx_update_msr_bitmap_x2apic()