Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/media/sunxi/cedrus/
Dcedrus_mpeg2.c38 cedrus_write(dev, VE_DEC_MPEG_STATUS, VE_DEC_MPEG_STATUS_CHECK_MASK); in cedrus_mpeg2_irq_clear()
48 cedrus_write(dev, VE_DEC_MPEG_CTRL, reg); in cedrus_mpeg2_irq_disable()
77 cedrus_write(dev, VE_DEC_MPEG_IQMINPUT, reg); in cedrus_mpeg2_setup()
86 cedrus_write(dev, VE_DEC_MPEG_IQMINPUT, reg); in cedrus_mpeg2_setup()
107 cedrus_write(dev, VE_DEC_MPEG_MP12HDR, reg); in cedrus_mpeg2_setup()
114 cedrus_write(dev, VE_DEC_MPEG_PICCODEDSIZE, reg); in cedrus_mpeg2_setup()
119 cedrus_write(dev, VE_DEC_MPEG_PICBOUNDSIZE, reg); in cedrus_mpeg2_setup()
136 cedrus_write(dev, VE_DEC_MPEG_REC_LUMA, dst_luma_addr); in cedrus_mpeg2_setup()
137 cedrus_write(dev, VE_DEC_MPEG_REC_CHROMA, dst_chroma_addr); in cedrus_mpeg2_setup()
141 cedrus_write(dev, VE_DEC_MPEG_VLD_OFFSET, 0); in cedrus_mpeg2_setup()
[all …]
Dcedrus_vp8.c439 cedrus_write(dev, VE_H264_TRIGGER_TYPE, in read_bits()
521 cedrus_write(dev, VE_H264_STATUS, in cedrus_irq_clear()
562 cedrus_write(dev, VE_H264_TRIGGER_TYPE, VE_H264_TRIGGER_TYPE_VP8_UPDATE_COEF); in cedrus_read_header()
650 cedrus_write(dev, VE_H264_CTRL, in cedrus_vp8_irq_disable()
667 cedrus_write(dev, VE_H264_CTRL, VE_H264_CTRL_VP8); in cedrus_vp8_setup()
672 cedrus_write(dev, VE_VP8_FIRST_DATA_PART_LEN, reg); in cedrus_vp8_setup()
677 cedrus_write(dev, VE_VP8_PART_SIZE_OFFSET, reg); in cedrus_vp8_setup()
680 cedrus_write(dev, VE_H264_VLD_LEN, reg); in cedrus_vp8_setup()
690 cedrus_write(dev, VE_H264_VLD_OFFSET, reg); in cedrus_vp8_setup()
693 cedrus_write(dev, VE_H264_VLD_END, in cedrus_vp8_setup()
[all …]
Dcedrus_h265.c76 cedrus_write(dev, VE_DEC_H265_STATUS, VE_DEC_H265_STATUS_CHECK_MASK); in cedrus_h265_irq_clear()
86 cedrus_write(dev, VE_DEC_H265_CTRL, reg); in cedrus_h265_irq_disable()
91 cedrus_write(dev, VE_DEC_H265_SRAM_OFFSET, offset); in cedrus_h265_sram_write_offset()
100 cedrus_write(dev, VE_DEC_H265_SRAM_DATA, *word++); in cedrus_h265_sram_write_data()
247 cedrus_write(dev, VE_DEC_H265_TRIGGER, in cedrus_h265_skip_bits()
260 cedrus_write(dev, VE_DEC_H265_TRIGGER, in cedrus_h265_show_bits()
279 cedrus_write(dev, VE_DEC_H265_SCALING_LIST_DC_COEF0, in cedrus_h265_write_scaling_list()
285 cedrus_write(dev, VE_DEC_H265_SCALING_LIST_DC_COEF1, in cedrus_h265_write_scaling_list()
300 cedrus_write(dev, VE_DEC_H265_SRAM_DATA, val); in cedrus_h265_write_scaling_list()
310 cedrus_write(dev, VE_DEC_H265_SRAM_DATA, val); in cedrus_h265_write_scaling_list()
[all …]
Dcedrus_h264.c51 cedrus_write(dev, VE_AVC_SRAM_PORT_OFFSET, off << 2); in cedrus_h264_write_sram()
54 cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, *buffer++); in cedrus_h264_write_sram()
182 cedrus_write(dev, VE_H264_OUTPUT_FRAME_IDX, position); in cedrus_write_frame_list()
288 cedrus_write(dev, VE_H264_SHS_WP, in cedrus_write_pred_weight_table()
292 cedrus_write(dev, VE_AVC_SRAM_PORT_OFFSET, in cedrus_write_pred_weight_table()
304 cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, val); in cedrus_write_pred_weight_table()
313 cedrus_write(dev, VE_AVC_SRAM_PORT_DATA, val); in cedrus_write_pred_weight_table()
331 cedrus_write(dev, VE_H264_TRIGGER_TYPE, in cedrus_skip_bits()
356 cedrus_write(dev, VE_H264_VLD_LEN, slice_bytes * 8); in cedrus_set_params()
357 cedrus_write(dev, VE_H264_VLD_OFFSET, 0); in cedrus_set_params()
[all …]
Dcedrus_hw.c69 cedrus_write(ctx->dev, VE_MODE, reg); in cedrus_engine_enable()
76 cedrus_write(dev, VE_MODE, VE_MODE_DISABLED); in cedrus_engine_disable()
92 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set()
95 cedrus_write(dev, VE_PRIMARY_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set()
99 cedrus_write(dev, VE_PRIMARY_FB_LINE_STRIDE, reg); in cedrus_dst_format_set()
105 cedrus_write(dev, VE_PRIMARY_OUT_FMT, reg); in cedrus_dst_format_set()
108 cedrus_write(dev, VE_CHROMA_BUF_LEN, reg); in cedrus_dst_format_set()
Dcedrus.h205 static inline void cedrus_write(struct cedrus_dev *dev, u32 reg, u32 val) in cedrus_write() function
249 cedrus_write(dev, luma_reg, cedrus_dst_buf_addr(ctx, buf, 0)); in cedrus_write_ref_buf_addr()
250 cedrus_write(dev, chroma_reg, cedrus_dst_buf_addr(ctx, buf, 1)); in cedrus_write_ref_buf_addr()