/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_debug.h | 20 #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")
|
H A D | s5p_mfc_ctrl.c | 178 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 …]
|
H A D | s5p_mfc_opr_v6.c | 561 mfc_debug(2, "Luma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v6() 565 mfc_debug(2, "\tChroma %d: %zx\n", i, in s5p_mfc_set_dec_frame_buffer_v6() 580 mfc_debug(2, "\tBuf1: %zx, size: %d\n", in s5p_mfc_set_dec_frame_buffer_v6() 1607 mfc_debug(2, "BUFs: %08x %08x %08x\n", in s5p_mfc_init_decode_v6() 1760 mfc_debug(2, "++\n"); in s5p_mfc_encode_one_frame_v6() 1777 mfc_debug(2, "--\n"); in s5p_mfc_encode_one_frame_v6() 1808 mfc_debug(2, "No src buffers.\n"); in s5p_mfc_run_dec_frame() 1842 mfc_debug(2, "no src buffers.\n"); in s5p_mfc_run_enc_frame() 1847 mfc_debug(2, "no dst buffers.\n"); in s5p_mfc_run_enc_frame() 1963 mfc_debug(1, "Try run dev: %p\n", dev); in s5p_mfc_try_run_v6() [all …]
|
H A D | s5p_mfc_opr_v5.c | 280 mfc_debug(2, in s5p_mfc_dec_calc_dpb_size_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() 1175 mfc_debug(2, "No src buffers\n"); in s5p_mfc_run_dec_frame() 1203 mfc_debug(2, "no src buffers\n"); in s5p_mfc_run_enc_frame() 1207 mfc_debug(2, "no dst buffers\n"); in s5p_mfc_run_enc_frame() 1257 mfc_debug(2, "Header size: %d\n", in s5p_mfc_run_init_dec() 1301 mfc_debug(2, "Header size: %d\n", in s5p_mfc_run_init_dec_buffers() 1329 mfc_debug(1, "Couldn't lock HW\n"); in s5p_mfc_try_run_v5() [all …]
|
H A D | s5p_mfc_opr.c | 45 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()
|
H A D | s5p_mfc_intr.c | 37 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()
|
H A D | s5p_mfc_dec.c | 272 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() 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() 817 mfc_debug(2, "Composing info: w=%d h=%d fw=%d fh=%d\n", in vidioc_g_selection() 952 mfc_debug(2, "Buffer count=%d, plane count=%d\n", in s5p_mfc_queue_setup() [all …]
|
H A D | s5p_mfc_pm.c | 64 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()
|
H A D | s5p_mfc.c | 235 mfc_debug(2, "Cleaning up buffer: %d\n", in s5p_mfc_handle_frame_all_extracted() 430 mfc_debug(2, "No frame decode\n"); in s5p_mfc_handle_frame() 447 mfc_debug(2, "MFC needs next buffer\n"); in s5p_mfc_handle_frame() 622 mfc_debug(2, "Stream completed\n"); in s5p_mfc_handle_stream_complete() 741 mfc_debug(2, "Unknown int reason\n"); in s5p_mfc_irq() 761 mfc_debug(2, "Exit via irq_cleanup_hw\n"); in s5p_mfc_irq() 971 mfc_debug(2, "Has to free instance\n"); in s5p_mfc_release() 979 mfc_debug(2, "Last instance\n"); in s5p_mfc_release() 986 mfc_debug(2, "Shutting down clock\n"); in s5p_mfc_release() 1065 mfc_debug(2, "mmapping source\n"); in s5p_mfc_mmap() [all …]
|
H A D | s5p_mfc_cmd_v6.c | 20 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()
|
H A D | s5p_mfc_cmd_v5.c | 78 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()
|
H A D | s5p_mfc_enc.c | 1096 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() 1225 mfc_debug(2, "Encoded slice type: %d\n", slice_type); in enc_post_frame_start() 1226 mfc_debug(2, "Encoded stream size: %d\n", strm_size); in enc_post_frame_start() 1227 mfc_debug(2, "Display order: %d\n", in enc_post_frame_start() 1498 mfc_debug(2, "Freeing buffers\n"); in vidioc_reqbufs() 1527 mfc_debug(2, "Freeing buffers\n"); in vidioc_reqbufs() 2374 mfc_debug(2, "index: %d, plane[%d] cookie: %pad\n", in check_vb_with_fmt() 2476 mfc_debug(2, "plane size: %ld, dst size: %zu\n", in s5p_mfc_buf_prepare() 2486 mfc_debug(2, "plane size: %ld, luma size: %d\n", in s5p_mfc_buf_prepare() [all …]
|