Searched refs:hardware_index (Results 1 – 2 of 2) sorted by relevance
37 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index) in vdec_msg_queue_init_ctx() argument43 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() argument48 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() argument60 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() argument68 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 …]
48 int hardware_index; member141 void vdec_msg_queue_init_ctx(struct vdec_msg_queue_ctx *ctx, int hardware_index);