Home
last modified time | relevance | path

Searched refs:msg_queue (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dvdec_msg_queue.c73 &buf->ctx->msg_queue.core_work); in vdec_msg_queue_qbuf()
139 void vdec_msg_queue_update_ube_rptr(struct vdec_msg_queue *msg_queue, uint64_t ube_rptr) in vdec_msg_queue_update_ube_rptr() argument
141 spin_lock(&msg_queue->lat_ctx.ready_lock); in vdec_msg_queue_update_ube_rptr()
142 msg_queue->wdma_rptr_addr = ube_rptr; in vdec_msg_queue_update_ube_rptr()
144 spin_unlock(&msg_queue->lat_ctx.ready_lock); in vdec_msg_queue_update_ube_rptr()
147 void vdec_msg_queue_update_ube_wptr(struct vdec_msg_queue *msg_queue, uint64_t ube_wptr) in vdec_msg_queue_update_ube_wptr() argument
149 spin_lock(&msg_queue->lat_ctx.ready_lock); in vdec_msg_queue_update_ube_wptr()
150 msg_queue->wdma_wptr_addr = ube_wptr; in vdec_msg_queue_update_ube_wptr()
152 msg_queue->wdma_rptr_addr, msg_queue->wdma_wptr_addr, in vdec_msg_queue_update_ube_wptr()
154 spin_unlock(&msg_queue->lat_ctx.ready_lock); in vdec_msg_queue_update_ube_wptr()
[all …]
Dvdec_msg_queue.h96 int vdec_msg_queue_init(struct vdec_msg_queue *msg_queue,
129 void vdec_msg_queue_update_ube_rptr(struct vdec_msg_queue *msg_queue, uint64_t ube_rptr);
136 void vdec_msg_queue_update_ube_wptr(struct vdec_msg_queue *msg_queue, uint64_t ube_wptr);
145 bool vdec_msg_queue_wait_lat_buf_full(struct vdec_msg_queue *msg_queue);
152 void vdec_msg_queue_deinit(struct vdec_msg_queue *msg_queue,
Dmtk_vcodec_drv.h327 struct vdec_msg_queue msg_queue; member
/linux-6.1.9/ipc/
Dmsg.c49 struct msg_queue { struct
102 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object()
109 return container_of(ipcp, struct msg_queue, q_perm); in msq_obtain_object()
112 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check()
120 return container_of(ipcp, struct msg_queue, q_perm); in msq_obtain_object_check()
123 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid()
131 struct msg_queue *msq = container_of(p, struct msg_queue, q_perm); in msg_rcu_free()
146 struct msg_queue *msq; in newque()
187 static inline bool msg_fits_inqueue(struct msg_queue *msq, size_t msgsz) in msg_fits_inqueue()
193 static inline void ss_add(struct msg_queue *msq, in ss_add()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_multi_if.c451 vdec_msg_queue_deinit(&inst->ctx->msg_queue, inst->ctx); in vdec_h264_slice_deinit()
496 lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_h264_slice_core_decode()
498 lat_buf->ctx->msg_queue.wdma_addr.dma_addr + in vdec_h264_slice_core_decode()
499 lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_h264_slice_core_decode()
540 vdec_msg_queue_update_ube_rptr(&lat_buf->ctx->msg_queue, share_info->trans_end); in vdec_h264_slice_core_decode()
583 if (vdec_msg_queue_init(&inst->ctx->msg_queue, inst->ctx, in vdec_h264_slice_lat_decode()
590 vdec_msg_queue_wait_lat_buf_full(&inst->ctx->msg_queue); in vdec_h264_slice_lat_decode()
597 lat_buf = vdec_msg_queue_dqbuf(&inst->ctx->msg_queue.lat_ctx); in vdec_h264_slice_lat_decode()
641 inst->vsi->wdma_start_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_h264_slice_lat_decode()
642 inst->vsi->wdma_end_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr + in vdec_h264_slice_lat_decode()
[all …]
Dvdec_vp9_req_lat_if.c1006 vsi->ube.dma_addr = lat_buf->ctx->msg_queue.wdma_addr.dma_addr; in vdec_vp9_slice_setup_lat_buffer()
1007 vsi->ube.size = lat_buf->ctx->msg_queue.wdma_addr.size; in vdec_vp9_slice_setup_lat_buffer()
1008 vsi->trans.dma_addr = lat_buf->ctx->msg_queue.wdma_wptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1010 vsi->trans.dma_addr_end = lat_buf->ctx->msg_queue.wdma_rptr_addr; in vdec_vp9_slice_setup_lat_buffer()
1925 vdec_msg_queue_deinit(&instance->ctx->msg_queue, instance->ctx); in vdec_vp9_slice_deinit()
1936 vdec_msg_queue_wait_lat_buf_full(&instance->ctx->msg_queue); in vdec_vp9_slice_flush()
2061 if (vdec_msg_queue_init(&ctx->msg_queue, ctx, in vdec_vp9_slice_lat_decode()
2070 lat_buf = vdec_msg_queue_dqbuf(&instance->ctx->msg_queue.lat_ctx); in vdec_vp9_slice_lat_decode()
2119 vdec_msg_queue_update_ube_wptr(&ctx->msg_queue, in vdec_vp9_slice_lat_decode()
2121 ctx->msg_queue.wdma_addr.dma_addr); in vdec_vp9_slice_lat_decode()
[all …]
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.h41 struct vchiq_header *msg_queue[MSG_QUEUE_SIZE]; member
Dvchiq_core.h239 struct vchiq_header *msg_queue[VCHIQ_MAX_SLOTS]; member
Dvchiq_dev.c257 header = user_service->msg_queue[user_service->msg_remove & in vchiq_ioc_dequeue_message()
1261 header = user_service->msg_queue[m]; in vchiq_release()
Dvchiq_arm.c1136 user_service->msg_queue[user_service->msg_insert & in service_callback()
Dvchiq_core.c2314 service->msg_queue[pos] = header; in vchiq_msg_queue_push()
2339 header = service->msg_queue[pos]; in vchiq_msg_hold()
/linux-6.1.9/Documentation/security/
Dlsm.rst85 msg_msg <msg_msg>`, struct msg_queue, and struct shmid_kernel