Home
last modified time | relevance | path

Searched refs:mfc_write (Results 1 – 6 of 6) sorted by relevance

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c353 mfc_write(dev, OFFSETA(ctx->dsc.dma), S5P_FIMV_SI_CH0_DESC_ADR); in s5p_mfc_set_dec_desc_buffer()
354 mfc_write(dev, buf_size->dsc, S5P_FIMV_SI_CH0_DESC_SIZE); in s5p_mfc_set_dec_desc_buffer()
361 mfc_write(dev, ctx->shm.ofs, S5P_FIMV_SI_CH0_HOST_WR_ADR); in s5p_mfc_set_shared_buffer()
371 mfc_write(dev, OFFSETA(buf_addr), S5P_FIMV_SI_CH0_SB_ST_ADR); in s5p_mfc_set_dec_stream_buffer_v5()
372 mfc_write(dev, ctx->dec_src_buf_size, S5P_FIMV_SI_CH0_CPB_SIZE); in s5p_mfc_set_dec_stream_buffer_v5()
373 mfc_write(dev, buf_size, S5P_FIMV_SI_CH0_SB_FRM_SIZE); in s5p_mfc_set_dec_stream_buffer_v5()
394 mfc_write(dev, ctx->total_dpb_count | dpb, in s5p_mfc_set_dec_frame_buffer_v5()
399 mfc_write(dev, OFFSETA(buf_addr1), in s5p_mfc_set_dec_frame_buffer_v5()
403 mfc_write(dev, OFFSETA(buf_addr1), S5P_FIMV_H264_NB_IP_ADR); in s5p_mfc_set_dec_frame_buffer_v5()
408 mfc_write(dev, OFFSETA(buf_addr1), S5P_FIMV_MPEG4_NB_DCAC_ADR); in s5p_mfc_set_dec_frame_buffer_v5()
[all …]
Ds5p_mfc_ctrl.c144 mfc_write(dev, 0xFEE, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset()
146 mfc_write(dev, 0x0, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset()
149 mfc_write(dev, 0, S5P_FIMV_RISC2HOST_CMD_V6); in s5p_mfc_reset()
150 mfc_write(dev, 0, S5P_FIMV_HOST2RISC_CMD_V6); in s5p_mfc_reset()
151 mfc_write(dev, 0, S5P_FIMV_FW_VERSION_V6); in s5p_mfc_reset()
154 mfc_write(dev, 0, S5P_FIMV_REG_CLEAR_BEGIN_V6 + (i*4)); in s5p_mfc_reset()
157 mfc_write(dev, 0, S5P_FIMV_RISC_ON_V6); in s5p_mfc_reset()
158 mfc_write(dev, 0x1FFF, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset()
159 mfc_write(dev, 0, S5P_FIMV_MFC_RESET_V6); in s5p_mfc_reset()
163 mfc_write(dev, 0x3f6, S5P_FIMV_SW_RESET); in s5p_mfc_reset()
[all …]
Ds5p_mfc_cmd_v6.c27 mfc_write(dev, 0x0, S5P_FIMV_RISC2HOST_CMD_V6); in s5p_mfc_cmd_host2risc_v6()
30 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD_V6); in s5p_mfc_cmd_host2risc_v6()
31 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()
118 mfc_write(dev, codec_type, S5P_FIMV_CODEC_TYPE_V6); in s5p_mfc_open_inst_cmd_v6()
119 mfc_write(dev, ctx->ctx.dma, S5P_FIMV_CONTEXT_MEM_ADDR_V6); in s5p_mfc_open_inst_cmd_v6()
120 mfc_write(dev, ctx->ctx.size, S5P_FIMV_CONTEXT_MEM_SIZE_V6); in s5p_mfc_open_inst_cmd_v6()
121 mfc_write(dev, 0, S5P_FIMV_D_CRC_CTRL_V6); /* no crc */ in s5p_mfc_open_inst_cmd_v6()
136 mfc_write(dev, ctx->inst_no, S5P_FIMV_INSTANCE_ID_V6); in s5p_mfc_close_inst_cmd_v6()
Ds5p_mfc_cmd_v5.c35 mfc_write(dev, args->arg[0], S5P_FIMV_HOST2RISC_ARG1); in s5p_mfc_cmd_host2risc_v5()
36 mfc_write(dev, args->arg[1], S5P_FIMV_HOST2RISC_ARG2); in s5p_mfc_cmd_host2risc_v5()
37 mfc_write(dev, args->arg[2], S5P_FIMV_HOST2RISC_ARG3); in s5p_mfc_cmd_host2risc_v5()
38 mfc_write(dev, args->arg[3], S5P_FIMV_HOST2RISC_ARG4); in s5p_mfc_cmd_host2risc_v5()
40 mfc_write(dev, cmd, S5P_FIMV_HOST2RISC_CMD); in s5p_mfc_cmd_host2risc_v5()
Ds5p_mfc_common.h106 #define mfc_write(dev, data, offset) writel((data), dev->regs_base + \ macro
Ds5p_mfc.c183 mfc_write(dev, 0, S5P_FIMV_RISC_HOST_INT); in s5p_mfc_clear_int_flags()
184 mfc_write(dev, 0, S5P_FIMV_RISC2HOST_CMD); in s5p_mfc_clear_int_flags()
185 mfc_write(dev, 0xffff, S5P_FIMV_SI_RTN_CHID); in s5p_mfc_clear_int_flags()