Home
last modified time | relevance | path

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

/linux/drivers/media/platform/qcom/iris/
H A Diris_hfi_queue.c15 u32 write_idx = queue->write_idx * sizeof(u32); in iris_hfi_queue_write() local
20 if (write_idx < read_idx) in iris_hfi_queue_write()
21 empty_space = read_idx - write_idx; in iris_hfi_queue_write()
23 empty_space = IFACEQ_QUEUE_SIZE - (write_idx - read_idx); in iris_hfi_queue_write()
29 new_write_idx = write_idx + packet_size; in iris_hfi_queue_write()
30 write_ptr = (u32 *)((u8 *)qinfo->kernel_vaddr + write_idx); in iris_hfi_queue_write()
49 queue->write_idx = new_write_idx / sizeof(u32); in iris_hfi_queue_write()
60 u32 write_idx = queue->write_idx * sizeof(u32); in iris_hfi_queue_read() local
70 if (read_idx == write_idx) { in iris_hfi_queue_read()
99 new_read_idx = write_idx; in iris_hfi_queue_read()
[all …]
/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()
/linux/drivers/net/ethernet/atheros/alx/
H A Dalx.h66 u16 write_idx, read_idx; member
82 u16 write_idx, read_idx; member
/linux/drivers/crypto/cavium/nitrox/
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()
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_droq.h263 u32 write_idx; member
H A Docteon_droq.c129 droq->write_idx = 0; in octeon_droq_reset_indices()
/linux/drivers/md/bcache/
H A Dbtree.h167 BTREE_FLAG(write_idx);
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dmsgbuf.c133 __le16 write_idx; member
141 __le16 write_idx; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c2973 uint32_t stream_idx, write_idx, payload_idx; in dcn401_update_cursor_offload_pipe() local
2979 write_idx = cs->offload_streams[stream_idx].write_idx + 1; /* new payload (+1) */ in dcn401_update_cursor_offload_pipe()
2980 payload_idx = write_idx % ARRAY_SIZE(cs->offload_streams[stream_idx].payloads); in dcn401_update_cursor_offload_pipe()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h839 uint32_t write_idx; /**< The index of the last written payload. */ member