Home
last modified time | relevance | path

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

/linux-6.12.1/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_opr_v6.c73 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v6()
75 mfc_debug(2, "Totals bufs: %d\n", ctx->total_dpb_count); in s5p_mfc_alloc_codec_buffers_v6()
160 mfc_debug(2, "recon luma size: %zu chroma size: %zu\n", in s5p_mfc_alloc_codec_buffers_v6()
171 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
190 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
210 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()
239 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
255 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
261 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6()
[all …]
Ds5p_mfc_ctrl.c184 mfc_debug(2, "Base Address : %pad\n", in s5p_mfc_init_memctrl()
191 mfc_debug(2, "Bank1: %pad, Bank2: %pad\n", in s5p_mfc_init_memctrl()
223 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_init_hw()
231 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_init_hw()
248 mfc_debug(2, "Will now wait for completion of firmware transfer\n"); in s5p_mfc_init_hw()
264 mfc_debug(2, "Ok, now will wait for completion of hardware init\n"); in s5p_mfc_init_hw()
286 mfc_debug(2, "MFC F/W version : %02xyy, %02xmm, %02xdd\n", in s5p_mfc_init_hw()
346 mfc_debug(2, "Write command to wakeup MFCV8\n"); in s5p_mfc_v8_wait_wakeup()
392 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_wakeup()
401 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_wakeup()
[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.c42 mfc_debug(3, "Allocating priv: %zu\n", b->size); in s5p_mfc_alloc_priv_buf()
69 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_priv_buf()
81 mfc_debug(3, "Allocating generic buf: %zu\n", b->size); in s5p_mfc_alloc_generic_buf()
88 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_generic_buf()
Ds5p_mfc_dec.c286 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready()
398 mfc_debug(2, "%s-- with error\n", __func__); in vidioc_g_fmt()
411 mfc_debug(2, "Type is %d\n", f->type); in vidioc_try_fmt()
469 mfc_debug(2, "The codec number is: %d\n", ctx->codec_mode); in vidioc_s_fmt()
502 mfc_debug(2, "Freeing buffers\n"); in reqbufs_output()
517 mfc_debug(2, "Allocating %d buffers for OUTPUT queue\n", in reqbufs_output()
550 mfc_debug(2, "Freeing buffers\n"); in reqbufs_capture()
558 mfc_debug(2, "Allocating %d buffers for CAPTURE queue\n", in reqbufs_capture()
604 mfc_debug(2, "Only V4L2_MEMORY_MMAP is supported\n"); in vidioc_reqbufs()
630 mfc_debug(2, "State: %d, buf->type: %d\n", ctx->state, buf->type); in vidioc_querybuf()
[all …]
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.c235 mfc_debug(2, "Cleaning up buffer: %d\n", in s5p_mfc_handle_frame_all_extracted()
304 mfc_debug(2, "Unexpected frame type: %d\n", in s5p_mfc_handle_frame_copy_time()
387 mfc_debug(2, "Frame Status: %x\n", dst_frame_status); in s5p_mfc_handle_frame()
430 mfc_debug(2, "No frame decode\n"); in s5p_mfc_handle_frame()
444 mfc_debug(2, "Running again the same buffer\n"); in s5p_mfc_handle_frame()
447 mfc_debug(2, "MFC needs next buffer\n"); in s5p_mfc_handle_frame()
624 mfc_debug(2, "Stream completed\n"); in s5p_mfc_handle_stream_complete()
662 mfc_debug(1, "Int reason: %d (err: %08x)\n", reason, err); in s5p_mfc_irq()
743 mfc_debug(2, "Unknown int reason\n"); in s5p_mfc_irq()
763 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_enc.c1110 mfc_debug(2, "src=%d, dst=%d, state=%d\n", in s5p_mfc_ctx_ready()
1124 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready()
1141 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in cleanup_ref_queue()
1242 mfc_debug(2, "Encoded slice type: %d\n", slice_type); in enc_post_frame_start()
1243 mfc_debug(2, "Encoded stream size: %d\n", strm_size); in enc_post_frame_start()
1244 mfc_debug(2, "Display order: %d\n", in enc_post_frame_start()
1304 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in enc_post_frame_start()
1395 mfc_debug(2, "f->type = %d ctx->state = %d\n", f->type, ctx->state); in vidioc_g_fmt()
1503 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt()
1504 mfc_debug(2, "fmt - w: %d, h: %d, ctx - w: %d, h: %d\n", in vidioc_s_fmt()
[all …]
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()