Searched refs:mfc_write (Results 1 – 5 of 5) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 350 mfc_write(dev, OFFSETA(ctx->dsc.dma), S5P_FIMV_SI_CH0_DESC_ADR); in s5p_mfc_set_dec_desc_buffer() 351 mfc_write(dev, buf_size->dsc, S5P_FIMV_SI_CH0_DESC_SIZE); in s5p_mfc_set_dec_desc_buffer() 358 mfc_write(dev, ctx->shm.ofs, S5P_FIMV_SI_CH0_HOST_WR_ADR); in s5p_mfc_set_shared_buffer() 368 mfc_write(dev, OFFSETA(buf_addr), S5P_FIMV_SI_CH0_SB_ST_ADR); in s5p_mfc_set_dec_stream_buffer_v5() 369 mfc_write(dev, ctx->dec_src_buf_size, S5P_FIMV_SI_CH0_CPB_SIZE); in s5p_mfc_set_dec_stream_buffer_v5() 370 mfc_write(dev, buf_size, S5P_FIMV_SI_CH0_SB_FRM_SIZE); in s5p_mfc_set_dec_stream_buffer_v5() 391 mfc_write(dev, ctx->total_dpb_count | dpb, in s5p_mfc_set_dec_frame_buffer_v5() 396 mfc_write(dev, OFFSETA(buf_addr1), in s5p_mfc_set_dec_frame_buffer_v5() 400 mfc_write(dev, OFFSETA(buf_addr1), S5P_FIMV_H264_NB_IP_ADR); in s5p_mfc_set_dec_frame_buffer_v5() 405 mfc_write(dev, OFFSETA(buf_addr1), S5P_FIMV_MPEG4_NB_DCAC_ADR); in s5p_mfc_set_dec_frame_buffer_v5() [all …]
|
D | s5p_mfc_ctrl.c | 101 mfc_write(dev, 0x1, S5P_FIMV_MFC_BUS_RESET_CTRL); in s5p_mfc_bus_reset() 125 mfc_write(dev, 0, S5P_FIMV_RISC2HOST_CMD_V6); in s5p_mfc_reset() 126 mfc_write(dev, 0, S5P_FIMV_HOST2RISC_CMD_V6); in s5p_mfc_reset() 127 mfc_write(dev, 0, S5P_FIMV_FW_VERSION_V6); in s5p_mfc_reset() 130 mfc_write(dev, 0, S5P_FIMV_REG_CLEAR_BEGIN_V6 + (i*4)); in s5p_mfc_reset() 141 mfc_write(dev, 0, S5P_FIMV_RISC_ON_V6); in s5p_mfc_reset() 143 mfc_write(dev, 0x1FFF, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset() 144 mfc_write(dev, 0, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset() 148 mfc_write(dev, 0x3f6, S5P_FIMV_SW_RESET); in s5p_mfc_reset() 150 mfc_write(dev, 0x3e2, S5P_FIMV_SW_RESET); in s5p_mfc_reset() [all …]
|
D | s5p_mfc_cmd_v6.c | 23 mfc_write(dev, 0x0, S5P_FIMV_RISC2HOST_CMD_V6); in s5p_mfc_cmd_host2risc_v6() 26 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD_V6); in s5p_mfc_cmd_host2risc_v6() 27 mfc_write(dev, 0x1, S5P_FIMV_HOST2RISC_INT_V6); in s5p_mfc_cmd_host2risc_v6() 42 mfc_write(dev, dev->ctx_buf.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6); in s5p_mfc_sys_init_cmd_v6() 43 mfc_write(dev, buf_size->dev_ctx, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_sys_init_cmd_v6() 127 mfc_write(dev, codec_type, S5P_FIMV_CODEC_TYPE_V6); in s5p_mfc_open_inst_cmd_v6() 128 mfc_write(dev, ctx->ctx.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6); in s5p_mfc_open_inst_cmd_v6() 129 mfc_write(dev, ctx->ctx.size, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_open_inst_cmd_v6() 130 mfc_write(dev, 0, S5P_FIMV_D_CRC_CTRL_V6); /* no crc */ in s5p_mfc_open_inst_cmd_v6() 145 mfc_write(dev, ctx->inst_no, S5P_FIMV_INSTANCE_ID_V6); in s5p_mfc_close_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 31 mfc_write(dev, args->arg[0], S5P_FIMV_HOST2RISC_ARG1); in s5p_mfc_cmd_host2risc_v5() 32 mfc_write(dev, args->arg[1], S5P_FIMV_HOST2RISC_ARG2); in s5p_mfc_cmd_host2risc_v5() 33 mfc_write(dev, args->arg[2], S5P_FIMV_HOST2RISC_ARG3); in s5p_mfc_cmd_host2risc_v5() 34 mfc_write(dev, args->arg[3], S5P_FIMV_HOST2RISC_ARG4); in s5p_mfc_cmd_host2risc_v5() 36 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD); in s5p_mfc_cmd_host2risc_v5()
|
D | s5p_mfc_common.h | 102 #define mfc_write(dev, data, offset) writel((data), dev->regs_base + \ macro
|