Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dvdec_msg_queue.c34 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index) in vdec_msg_queue_init_ctx() argument
40 ctx->hardware_index = hardware_index; in vdec_msg_queue_init_ctx()
43 static struct list_head *vdec_get_buf_list(int hardware_index, struct vdec_lat_buf *buf) in vdec_get_buf_list() argument
45 switch (hardware_index) { in vdec_get_buf_list()
59 head = vdec_get_buf_list(msg_ctx->hardware_index, buf); in vdec_msg_queue_qbuf()
61 mtk_v4l2_err("fail to qbuf: %d", msg_ctx->hardware_index); in vdec_msg_queue_qbuf()
69 if (msg_ctx->hardware_index != MTK_VDEC_CORE) in vdec_msg_queue_qbuf()
76 msg_ctx->hardware_index, buf, msg_ctx->ready_num); in vdec_msg_queue_qbuf()
104 msg_ctx->hardware_index, msg_ctx->ready_num); in vdec_msg_queue_dqbuf()
107 if (msg_ctx->hardware_index == MTK_VDEC_CORE) in vdec_msg_queue_dqbuf()
[all …]
Dvdec_msg_queue.h38 int hardware_index; member
105 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index);