Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_debug.h20 #define mfc_debug(level, fmt, args...) \ macro
27 #define mfc_debug(level, fmt, args...) macro
30 #define mfc_debug_enter() mfc_debug(5, "enter\n")
31 #define mfc_debug_leave() mfc_debug(5, "leave\n")
Ds5p_mfc_ctrl.c178 mfc_debug(2, "Base Address : %pad\n", in s5p_mfc_init_memctrl()
185 mfc_debug(2, "Bank1: %pad, Bank2: %pad\n", in s5p_mfc_init_memctrl()
217 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_init_hw()
225 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_init_hw()
242 mfc_debug(2, "Will now wait for completion of firmware transfer\n"); in s5p_mfc_init_hw()
258 mfc_debug(2, "Ok, now will wait for completion of hardware init\n"); in s5p_mfc_init_hw()
280 mfc_debug(2, "MFC F/W version : %02xyy, %02xmm, %02xdd\n", in s5p_mfc_init_hw()
340 mfc_debug(2, "Write command to wakeup MFCV8\n"); in s5p_mfc_v8_wait_wakeup()
386 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_wakeup()
395 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_wakeup()
[all …]
Ds5p_mfc_opr_v6.c71 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v6()
73 mfc_debug(2, "Totals bufs: %d\n", ctx->total_dpb_count); in s5p_mfc_alloc_codec_buffers_v6()
126 mfc_debug(2, "recon luma size: %zu chroma size: %zu\n", in s5p_mfc_alloc_codec_buffers_v6()
137 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
156 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
176 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
193 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
205 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
221 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
227 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
[all …]
Ds5p_mfc_opr_v5.c70 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v5()
72 mfc_debug(2, "Totals bufs: %d\n", ctx->total_dpb_count); in s5p_mfc_alloc_codec_buffers_v5()
93 mfc_debug(2, "recon luma size: %d chroma size: %d\n", in s5p_mfc_alloc_codec_buffers_v5()
280 mfc_debug(2, in s5p_mfc_dec_calc_dpb_size_v5()
469 mfc_debug(2, "Frm size: %d ch: %d mv: %d\n", frame_size_lu, frame_size_ch, in s5p_mfc_set_dec_frame_buffer_v5()
473 mfc_debug(2, "Luma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v5()
477 mfc_debug(2, "\tChroma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v5()
482 mfc_debug(2, "\tBuf2: %zx, size: %d\n", in s5p_mfc_set_dec_frame_buffer_v5()
490 mfc_debug(2, "Buf1: %zu, buf_size1: %d\n", buf_addr1, buf_size1); in s5p_mfc_set_dec_frame_buffer_v5()
491 mfc_debug(2, "Buf 1/2 size after: %d/%d (frames %d)\n", in s5p_mfc_set_dec_frame_buffer_v5()
[all …]
Ds5p_mfc_opr.c45 mfc_debug(3, "Allocating priv: %zu\n", b->size); in s5p_mfc_alloc_priv_buf()
72 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_priv_buf()
84 mfc_debug(3, "Allocating generic buf: %zu\n", b->size); in s5p_mfc_alloc_generic_buf()
91 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_generic_buf()
Ds5p_mfc_intr.c37 mfc_debug(1, "Finished waiting (dev->int_type:%d, command: %d)\n", in s5p_mfc_wait_for_done_dev()
75 mfc_debug(1, "Finished waiting (ctx->int_type:%d, command: %d)\n", in s5p_mfc_wait_for_done_ctx()
Ds5p_mfc_dec.c272 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready()
379 mfc_debug(2, "%s-- with error\n", __func__); in vidioc_g_fmt()
392 mfc_debug(2, "Type is %d\n", f->type); in vidioc_try_fmt()
450 mfc_debug(2, "The codec number is: %d\n", ctx->codec_mode); in vidioc_s_fmt()
483 mfc_debug(2, "Freeing buffers\n"); in reqbufs_output()
498 mfc_debug(2, "Allocating %d buffers for OUTPUT queue\n", in reqbufs_output()
531 mfc_debug(2, "Freeing buffers\n"); in reqbufs_capture()
539 mfc_debug(2, "Allocating %d buffers for CAPTURE queue\n", in reqbufs_capture()
585 mfc_debug(2, "Only V4L2_MEMORY_MMAP is supported\n"); in vidioc_reqbufs()
611 mfc_debug(2, "State: %d, buf->type: %d\n", ctx->state, buf->type); in vidioc_querybuf()
[all …]
Ds5p_mfc_pm.c64 mfc_debug(3, "+ %d\n", atomic_read(&clk_ref)); in s5p_mfc_clock_on()
72 mfc_debug(3, "- %d\n", atomic_read(&clk_ref)); in s5p_mfc_clock_off()
Ds5p_mfc.c229 mfc_debug(2, "Cleaning up buffer: %d\n", in s5p_mfc_handle_frame_all_extracted()
294 mfc_debug(2, "Unexpected frame type: %d\n", in s5p_mfc_handle_frame_copy_time()
375 mfc_debug(2, "Frame Status: %x\n", dst_frame_status); in s5p_mfc_handle_frame()
418 mfc_debug(2, "No frame decode\n"); in s5p_mfc_handle_frame()
432 mfc_debug(2, "Running again the same buffer\n"); in s5p_mfc_handle_frame()
435 mfc_debug(2, "MFC needs next buffer\n"); in s5p_mfc_handle_frame()
607 mfc_debug(2, "Stream completed\n"); in s5p_mfc_handle_stream_complete()
645 mfc_debug(1, "Int reason: %d (err: %08x)\n", reason, err); in s5p_mfc_irq()
726 mfc_debug(2, "Unknown int reason\n"); in s5p_mfc_irq()
746 mfc_debug(2, "Exit via irq_cleanup_hw\n"); in s5p_mfc_irq()
[all …]
Ds5p_mfc_cmd_v6.c20 mfc_debug(2, "Issue the command: %d\n", cmd); in s5p_mfc_cmd_host2risc_v6()
73 mfc_debug(2, "Requested codec mode: %d\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v6()
Ds5p_mfc_cmd_v5.c78 mfc_debug(2, "Getting instance number (codec: %d)\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v5()
136 mfc_debug(2, "Returning instance number %d\n", ctx->inst_no); in s5p_mfc_close_inst_cmd_v5()
Ds5p_mfc_enc.c1096 mfc_debug(2, "src=%d, dst=%d, state=%d\n", in s5p_mfc_ctx_ready()
1110 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready()
1127 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in cleanup_ref_queue()
1224 mfc_debug(2, "Encoded slice type: %d\n", slice_type); in enc_post_frame_start()
1225 mfc_debug(2, "Encoded stream size: %d\n", strm_size); in enc_post_frame_start()
1226 mfc_debug(2, "Display order: %d\n", in enc_post_frame_start()
1270 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in enc_post_frame_start()
1355 mfc_debug(2, "f->type = %d ctx->state = %d\n", f->type, ctx->state); in vidioc_g_fmt()
1455 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt()
1456 mfc_debug(2, "fmt - w: %d, h: %d, ctx - w: %d, h: %d\n", in vidioc_s_fmt()
[all …]