Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/verisilicon/
H A 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()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A 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()
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A 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()
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()
1471 txq->write_idx = 0; in alx_map_tx_skb()
1495 txq->write_idx = 0; in alx_map_tx_skb()
1517 txq->write_idx = 0; in alx_map_tx_skb()
[all …]
H A Dalx.h66 u16 write_idx, read_idx; member
82 u16 write_idx, read_idx; member
/openbmc/linux/drivers/net/ethernet/broadcom/
H A 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 …]
/openbmc/u-boot/drivers/crypto/fsl/
H A Djr.h78 int write_idx; member
H A Djr.c142 jr->write_idx = 0; in jr_sw_cleanup()
/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c38 cmdq->write_idx = 0; in nitrox_cmdq_init()
55 cmdq->write_idx = 0; in nitrox_cmdq_reset()
H A Dnitrox_dev.h58 int write_idx; member
H A 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()
/openbmc/linux/drivers/media/platform/qcom/venus/
H A 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()
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h263 u32 write_idx; member
H A Docteon_droq.c134 droq->write_idx = 0; in octeon_droq_reset_indices()
/openbmc/linux/drivers/md/bcache/
H A Dbtree.h167 BTREE_FLAG(write_idx);
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c133 __le16 write_idx; member
141 __le16 write_idx; member
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c4052 const int write_idx = read_idx + (0x800 / sizeof(u64)); in vmx_update_msr_bitmap_x2apic() local
4086 msr_bitmap[write_idx] = ~0ull; in vmx_update_msr_bitmap_x2apic()