/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_debug.h | 23 #define mfc_debug(level, fmt, args...) \ macro 30 #define mfc_debug(level, fmt, args...) macro 33 #define mfc_debug_enter() mfc_debug(5, "enter\n") 34 #define mfc_debug_leave() mfc_debug(5, "leave\n")
|
D | s5p_mfc_ctrl.c | 182 mfc_debug(2, "Base Address : %pad\n", in s5p_mfc_init_memctrl() 189 mfc_debug(2, "Bank1: %pad, Bank2: %pad\n", in s5p_mfc_init_memctrl() 221 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_init_hw() 229 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_init_hw() 246 mfc_debug(2, "Will now wait for completion of firmware transfer\n"); in s5p_mfc_init_hw() 262 mfc_debug(2, "Ok, now will wait for completion of hardware init\n"); in s5p_mfc_init_hw() 284 mfc_debug(2, "MFC F/W version : %02xyy, %02xmm, %02xdd\n", in s5p_mfc_init_hw() 344 mfc_debug(2, "Write command to wakeup MFCV8\n"); in s5p_mfc_v8_wait_wakeup() 390 mfc_debug(2, "MFC reset..\n"); in s5p_mfc_wakeup() 399 mfc_debug(2, "Done MFC reset..\n"); in s5p_mfc_wakeup() [all …]
|
D | s5p_mfc_opr_v6.c | 74 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v6() 76 mfc_debug(2, "Totals bufs: %d\n", ctx->total_dpb_count); in s5p_mfc_alloc_codec_buffers_v6() 129 mfc_debug(2, "recon luma size: %zu chroma size: %zu\n", in s5p_mfc_alloc_codec_buffers_v6() 140 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 159 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 179 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 196 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 208 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 224 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() 230 mfc_debug(2, "Use min scratch buffer size\n"); in s5p_mfc_alloc_codec_buffers_v6() [all …]
|
D | s5p_mfc_opr_v5.c | 73 mfc_debug(2, "Luma size:%d Chroma size:%d MV size:%d\n", in s5p_mfc_alloc_codec_buffers_v5() 75 mfc_debug(2, "Totals bufs: %d\n", ctx->total_dpb_count); in s5p_mfc_alloc_codec_buffers_v5() 96 mfc_debug(2, "recon luma size: %d chroma size: %d\n", in s5p_mfc_alloc_codec_buffers_v5() 283 mfc_debug(2, in s5p_mfc_dec_calc_dpb_size_v5() 472 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() 476 mfc_debug(2, "Luma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v5() 480 mfc_debug(2, "\tChroma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v5() 485 mfc_debug(2, "\tBuf2: %zx, size: %d\n", in s5p_mfc_set_dec_frame_buffer_v5() 493 mfc_debug(2, "Buf1: %zu, buf_size1: %d\n", buf_addr1, buf_size1); in s5p_mfc_set_dec_frame_buffer_v5() 494 mfc_debug(2, "Buf 1/2 size after: %d/%d (frames %d)\n", in s5p_mfc_set_dec_frame_buffer_v5() [all …]
|
D | s5p_mfc_opr.c | 48 mfc_debug(3, "Allocating priv: %zu\n", b->size); in s5p_mfc_alloc_priv_buf() 75 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_priv_buf() 87 mfc_debug(3, "Allocating generic buf: %zu\n", b->size); in s5p_mfc_alloc_generic_buf() 94 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); in s5p_mfc_alloc_generic_buf()
|
D | s5p_mfc_intr.c | 40 mfc_debug(1, "Finished waiting (dev->int_type:%d, command: %d)\n", in s5p_mfc_wait_for_done_dev() 78 mfc_debug(1, "Finished waiting (ctx->int_type:%d, command: %d)\n", in s5p_mfc_wait_for_done_ctx()
|
D | s5p_mfc_dec.c | 257 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready() 376 mfc_debug(2, "%s-- with error\n", __func__); in vidioc_g_fmt() 389 mfc_debug(2, "Type is %d\n", f->type); in vidioc_try_fmt() 447 mfc_debug(2, "The codec number is: %d\n", ctx->codec_mode); in vidioc_s_fmt() 480 mfc_debug(2, "Freeing buffers\n"); in reqbufs_output() 495 mfc_debug(2, "Allocating %d buffers for OUTPUT queue\n", in reqbufs_output() 528 mfc_debug(2, "Freeing buffers\n"); in reqbufs_capture() 536 mfc_debug(2, "Allocating %d buffers for CAPTURE queue\n", in reqbufs_capture() 582 mfc_debug(2, "Only V4L2_MEMORY_MMAP is supported\n"); in vidioc_reqbufs() 608 mfc_debug(2, "State: %d, buf->type: %d\n", ctx->state, buf->type); in vidioc_querybuf() [all …]
|
D | s5p_mfc_pm.c | 63 mfc_debug(3, "+ %d\n", atomic_read(&clk_ref)); in s5p_mfc_clock_on() 71 mfc_debug(3, "- %d\n", atomic_read(&clk_ref)); in s5p_mfc_clock_off()
|
D | s5p_mfc.c | 233 mfc_debug(2, "Cleaning up buffer: %d\n", in s5p_mfc_handle_frame_all_extracted() 298 mfc_debug(2, "Unexpected frame type: %d\n", in s5p_mfc_handle_frame_copy_time() 379 mfc_debug(2, "Frame Status: %x\n", dst_frame_status); in s5p_mfc_handle_frame() 422 mfc_debug(2, "No frame decode\n"); in s5p_mfc_handle_frame() 436 mfc_debug(2, "Running again the same buffer\n"); in s5p_mfc_handle_frame() 439 mfc_debug(2, "MFC needs next buffer\n"); in s5p_mfc_handle_frame() 610 mfc_debug(2, "Stream completed\n"); in s5p_mfc_handle_stream_complete() 648 mfc_debug(1, "Int reason: %d (err: %08x)\n", reason, err); in s5p_mfc_irq() 729 mfc_debug(2, "Unknown int reason\n"); in s5p_mfc_irq() 749 mfc_debug(2, "Exit via irq_cleanup_hw\n"); in s5p_mfc_irq() [all …]
|
D | s5p_mfc_cmd_v6.c | 24 mfc_debug(2, "Issue the command: %d\n", cmd); in s5p_mfc_cmd_host2risc_v6() 77 mfc_debug(2, "Requested codec mode: %d\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 82 mfc_debug(2, "Getting instance number (codec: %d)\n", ctx->codec_mode); in s5p_mfc_open_inst_cmd_v5() 140 mfc_debug(2, "Returning instance number %d\n", ctx->inst_no); in s5p_mfc_close_inst_cmd_v5()
|
D | s5p_mfc_enc.c | 1102 mfc_debug(2, "src=%d, dst=%d, state=%d\n", in s5p_mfc_ctx_ready() 1116 mfc_debug(2, "ctx is not ready\n"); in s5p_mfc_ctx_ready() 1133 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in cleanup_ref_queue() 1230 mfc_debug(2, "Encoded slice type: %d\n", slice_type); in enc_post_frame_start() 1231 mfc_debug(2, "Encoded stream size: %d\n", strm_size); in enc_post_frame_start() 1232 mfc_debug(2, "Display order: %d\n", in enc_post_frame_start() 1276 mfc_debug(2, "enc src count: %d, enc ref count: %d\n", in enc_post_frame_start() 1374 mfc_debug(2, "f->type = %d ctx->state = %d\n", f->type, ctx->state); in vidioc_g_fmt() 1474 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt() 1475 mfc_debug(2, "fmt - w: %d, h: %d, ctx - w: %d, h: %d\n", in vidioc_s_fmt() [all …]
|