Home
last modified time | relevance | path

Searched refs:mtk_v4l2_debug (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateful.c79 mtk_v4l2_debug(3, "[%d]", ctx->id); in get_display_buffer()
87 mtk_v4l2_debug(3, "No display frame buffer"); in get_display_buffer()
96 mtk_v4l2_debug(2, "[%d]status=%x queue id=%d to done_list %d", in get_display_buffer()
127 mtk_v4l2_debug(3, " No free frame buffer"); in get_free_buffer()
131 mtk_v4l2_debug(3, "[%d] tmp_frame_addr = 0x%p", ctx->id, in get_free_buffer()
149 mtk_v4l2_debug(2, "[%d]status=%x queue id=%d to rdy_queue %d", in get_free_buffer()
164 mtk_v4l2_debug(2, in get_free_buffer()
179 mtk_v4l2_debug(3, "[%d]status=%x err queue id=%d %d %d", in get_free_buffer()
209 mtk_v4l2_debug(1, "[%d]", ctx->id); in mtk_vdec_queue_res_chg_event()
239 mtk_v4l2_debug(1, "Update cap fourcc(%d -> %d)", in mtk_vdec_update_fmt()
[all …]
Dmtk_vcodec_util.c43 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_alloc()
44 mtk_v4l2_debug(3, "[%d] - dma = 0x%lx", ctx->id, in mtk_vcodec_mem_alloc()
46 mtk_v4l2_debug(3, "[%d] size = 0x%lx", ctx->id, size); in mtk_vcodec_mem_alloc()
65 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_free()
66 mtk_v4l2_debug(3, "[%d] - dma = 0x%lx", ctx->id, in mtk_vcodec_mem_free()
68 mtk_v4l2_debug(3, "[%d] size = 0x%lx", ctx->id, size); in mtk_vcodec_mem_free()
Dmtk_vcodec_dec_stateless.c145 mtk_v4l2_debug(2, "free frame buffer id:%d to done list", in mtk_vdec_stateless_cap_to_disp()
161 mtk_v4l2_debug(1, "[%d] dst_buf empty!!", ctx->id); in vdec_get_cap_buffer()
179 mtk_v4l2_debug(1, "id=%d Framebuf pfb=%p VA=%p Y_DMA=%pad C_DMA=%pad Size=%zx frame_count = %d", in vdec_get_cap_buffer()
210 mtk_v4l2_debug(1, "[%d] no available source buffer", ctx->id); in mtk_vdec_worker()
219 mtk_v4l2_debug(3, "[%d] (%d) id=%d, vb=%p", ctx->id, in mtk_vdec_worker()
232 mtk_v4l2_debug(3, "[%d] Bitstream VA=%p DMA=%pad Size=%zx vb=%p", in mtk_vdec_worker()
271 mtk_v4l2_debug(3, "[%d] (%d) id=%d, vb=%p", ctx->id, vb->vb2_queue->type, vb->index, vb); in vb2ops_vdec_stateless_buf_queue()
282 mtk_v4l2_debug(1, "Init driver from init to header."); in vb2ops_vdec_stateless_buf_queue()
284 mtk_v4l2_debug(3, "[%d] already init driver %d", ctx->id, ctx->state); in vb2ops_vdec_stateless_buf_queue()
329 mtk_v4l2_debug(1, "No buffer provided with the request"); in fops_media_request_validate()
[all …]
Dmtk_vcodec_enc.c54 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_BITRATE val = %d", in vidioc_venc_s_ctrl()
60 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_B_FRAMES val = %d", in vidioc_venc_s_ctrl()
65 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE val = %d", in vidioc_venc_s_ctrl()
70 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_MAX_QP val = %d", in vidioc_venc_s_ctrl()
75 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_HEADER_MODE val = %d", in vidioc_venc_s_ctrl()
80 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE val = %d", in vidioc_venc_s_ctrl()
85 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_PROFILE val = %d", in vidioc_venc_s_ctrl()
90 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_LEVEL val = %d", in vidioc_venc_s_ctrl()
95 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_I_PERIOD val = %d", in vidioc_venc_s_ctrl()
101 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_GOP_SIZE val = %d", in vidioc_venc_s_ctrl()
[all …]
Dvdec_msg_queue.c75 mtk_v4l2_debug(3, "enqueue buf type: %d addr: 0x%p num: %d", in vdec_msg_queue_qbuf()
103 mtk_v4l2_debug(3, "queue is NULL, type:%d num: %d", in vdec_msg_queue_dqbuf()
132 mtk_v4l2_debug(3, "dqueue buf type:%d addr: 0x%p num: %d", in vdec_msg_queue_dqbuf()
143 mtk_v4l2_debug(3, "update ube rprt (0x%llx)", ube_rptr); in vdec_msg_queue_update_ube_rptr()
151 mtk_v4l2_debug(3, "update ube wprt: (0x%llx 0x%llx) offset: 0x%llx", in vdec_msg_queue_update_ube_wptr()
167 mtk_v4l2_debug(3, "success to get lat buf: %d", in vdec_msg_queue_wait_lat_buf_full()
225 mtk_v4l2_debug(3, "re-schedule to decode for core: %d", in vdec_msg_queue_core_work()
Dmtk_vcodec_util.h39 #define mtk_v4l2_debug(level, fmt, args...) pr_debug(fmt, ##args) macro
41 #define mtk_v4l2_debug_enter() mtk_v4l2_debug(3, "+")
42 #define mtk_v4l2_debug_leave() mtk_v4l2_debug(3, "-")
Dmtk_vcodec_dec_drv.c74 mtk_v4l2_debug(3, in mtk_vcodec_dec_irq_handler()
99 mtk_v4l2_debug(2, "reg[%d] base=%p", i, dev->reg_base[i]); in mtk_vcodec_get_reg_bases()
212 mtk_v4l2_debug(0, "decoder capability %x", dev->dec_capability); in fops_vcodec_open()
220 mtk_v4l2_debug(0, "%s decoder [%d]", dev_name(&dev->plat_dev->dev), in fops_vcodec_open()
243 mtk_v4l2_debug(0, "[%d] decoder", ctx->id); in fops_vcodec_release()
427 mtk_v4l2_debug(0, "media registered as /dev/media%d", vfd_dec->minor); in mtk_vcodec_probe()
430 mtk_v4l2_debug(0, "decoder registered as /dev/video%d", vfd_dec->minor); in mtk_vcodec_probe()
Dmtk_vcodec_dec.c65 mtk_v4l2_debug(1, "decoder cmd=%u", cmd->cmd); in vidioc_decoder_cmd()
73 mtk_v4l2_debug(1, "Output stream is off. No need to flush."); in vidioc_decoder_cmd()
77 mtk_v4l2_debug(1, "Capture stream is off. No need to flush."); in vidioc_decoder_cmd()
269 mtk_v4l2_debug(0, in vidioc_try_fmt()
413 mtk_v4l2_debug(3, "[%d]", ctx->id); in vidioc_vdec_s_fmt()
521mtk_v4l2_debug(2, "[%d] vdec_if_init() num_plane = %d wxh=%dx%d pic wxh=%dx%d sz[0]=0x%x sz[1]=0x%… in vidioc_vdec_s_fmt()
547 mtk_v4l2_debug(1, "%x, %d %d %d %d %d %d", in vidioc_enum_framesizes()
686 mtk_v4l2_debug(1, "[%d] type=%d state=%d Format information could not be read, not ready yet!", in vidioc_vdec_g_fmt()
723 mtk_v4l2_debug(1, in vb2ops_vdec_queue_setup()
737 mtk_v4l2_debug(3, "[%d] (%d) id=%d", in vb2ops_vdec_buf_prepare()
[all …]
Dmtk_vcodec_enc_drv.c97 mtk_v4l2_debug(1, "id=%d coreid:%d", ctx->id, dev->venc_pdata->core_id); in mtk_vcodec_enc_irq_handler()
171 mtk_v4l2_debug(0, "encoder capability %x", dev->enc_capability); in fops_vcodec_open()
174 mtk_v4l2_debug(2, "Create instance [%d]@%p m2m_ctx=%p ", in fops_vcodec_open()
180 mtk_v4l2_debug(0, "%s encoder [%d]", dev_name(&dev->plat_dev->dev), in fops_vcodec_open()
203 mtk_v4l2_debug(1, "[%d] encoder", ctx->id); in fops_vcodec_release()
358 mtk_v4l2_debug(0, "encoder %d registered as /dev/video%d", in mtk_vcodec_probe()
Dmtk_vcodec_fw_vpu.c64 mtk_v4l2_debug(0, "[%d] Change to state MTK_STATE_ABORT", in mtk_vcodec_vpu_reset_handler()
Dmtk_vcodec_dec_hw.c92 mtk_v4l2_debug(3, "wake up ctx %d, dec_done_status=%x", in mtk_vdec_hw_irq_handler()
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_if.c192 mtk_v4l2_debug(3, "size = 0x%x", buf_sz); in alloc_mv_buf()
248 mtk_v4l2_debug(1, "ResChg: (%d %d) : old(%d, %d) -> new(%d, %d)", in get_pic_info()
Dvdec_h264_req_multi_if.c297 mtk_v4l2_debug(3, "cur poc = %d\n", dec_params->bottom_field_order_cnt); in vdec_h264_slice_fill_decode_reflist()
317 mtk_v4l2_debug(3, "size = 0x%x", buf_sz); in vdec_h264_slice_alloc_mv_buf()
375 mtk_v4l2_debug(1, "resChg: (%d %d) : old(%d, %d) -> new(%d, %d)", in vdec_h264_slice_get_pic_info()