Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c74 int vdec_msg_queue_qbuf(struct vdec_msg_queue_ctx *msg_ctx, struct vdec_lat_buf *buf) in vdec_msg_queue_qbuf() argument
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()
84 spin_lock(&msg_ctx->ready_lock); in vdec_msg_queue_qbuf()
85 list_add_tail(head, &msg_ctx->ready_queue); in vdec_msg_queue_qbuf()
86 msg_ctx->ready_num++; in vdec_msg_queue_qbuf()
88 vdec_msg_queue_inc(&buf->ctx->msg_queue, msg_ctx->hardware_index); in vdec_msg_queue_qbuf()
89 if (msg_ctx->hardware_index != MTK_VDEC_CORE) { in vdec_msg_queue_qbuf()
90 wake_up_all(&msg_ctx->ready_to_use); in vdec_msg_queue_qbuf()
99 msg_ctx->hardware_index, buf, msg_ctx->ready_num); in vdec_msg_queue_qbuf()
[all …]
/linux/fs/ecryptfs/
H A Decryptfs_kernel.h596 struct ecryptfs_msg_ctx **msg_ctx);
597 int ecryptfs_wait_for_response(struct ecryptfs_msg_ctx *msg_ctx,
609 struct ecryptfs_msg_ctx **msg_ctx) in ecryptfs_send_message() argument
613 static inline int ecryptfs_wait_for_response(struct ecryptfs_msg_ctx *msg_ctx, in ecryptfs_wait_for_response() argument
663 struct ecryptfs_msg_ctx *msg_ctx, u8 msg_type,
665 void ecryptfs_msg_ctx_alloc_to_free(struct ecryptfs_msg_ctx *msg_ctx);