Home
last modified time | relevance | path

Searched refs:hardware_index (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c37 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index) in vdec_msg_queue_init_ctx() argument
43 ctx->hardware_index = hardware_index; in vdec_msg_queue_init_ctx()
46 static struct list_head *vdec_get_buf_list(int hardware_index, struct vdec_lat_buf *buf) in vdec_get_buf_list() argument
48 switch (hardware_index) { in vdec_get_buf_list()
58 static void vdec_msg_queue_inc(struct vdec_msg_queue *msg_queue, int hardware_index) in vdec_msg_queue_inc() argument
60 if (hardware_index == MTK_VDEC_CORE) in vdec_msg_queue_inc()
66 static void vdec_msg_queue_dec(struct vdec_msg_queue *msg_queue, int hardware_index) in vdec_msg_queue_dec() argument
68 if (hardware_index == MTK_VDEC_CORE) in vdec_msg_queue_dec()
78 head = vdec_get_buf_list(msg_ctx->hardware_index, buf); in vdec_msg_queue_qbuf()
80 mtk_v4l2_vdec_err(buf->ctx, "fail to qbuf: %d", msg_ctx->hardware_index); in vdec_msg_queue_qbuf()
[all …]
H A Dvdec_msg_queue.h48 int hardware_index; member
141 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index);