Home
last modified time | relevance | path

Searched refs:coda_write (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/media/platform/chips-media/
H A Dcoda-jpeg.c468 coda_write(dev, 0, CODA9_REG_JPEG_QMAT_CTRL); in coda9_jpeg_write_qmat_tab()
535 coda_write(dev, 1, CODA9_REG_JPEG_BBC_CTRL); in coda9_jpeg_dec_bbc_gbu_setup()
539 coda_write(dev, 0, CODA9_REG_JPEG_GBU_BBSR); in coda9_jpeg_dec_bbc_gbu_setup()
548 coda_write(dev, 4, CODA9_REG_JPEG_GBU_CTRL); in coda9_jpeg_dec_bbc_gbu_setup()
550 coda_write(dev, 3, CODA9_REG_JPEG_GBU_CTRL); in coda9_jpeg_dec_bbc_gbu_setup()
1169 coda_write(dev, ctx->params.rot_mode ? in coda9_jpeg_prepare_encode()
1175 coda_write(dev, 1, CODA9_GDI_CONTROL); in coda9_jpeg_prepare_encode()
1194 coda_write(dev, 0, CODA9_GDI_CONTROL); in coda9_jpeg_prepare_encode()
1198 coda_write(dev, 0, CODA9_GDI_WPROT_RGN_EN); in coda9_jpeg_prepare_encode()
1419 coda_write(dev, 1, CODA9_GDI_CONTROL); in coda9_jpeg_prepare_decode()
[all …]
H A Dcoda-bit.c72 coda_write(dev, ctx->bit_stream_param, in coda_command_async()
74 coda_write(dev, ctx->frm_dis_flg, in coda_command_async()
76 coda_write(dev, ctx->frame_mem_ctrl, in coda_command_async()
652 coda_write(dev, crop_right, in coda_encode_header()
654 coda_write(dev, crop_bottom, in coda_encode_header()
1130 coda_write(dev, dev->iram.paddr, in coda_start_encoding()
1169 coda_write(dev, CODA9_STD_MPEG4, in coda_start_encoding()
1172 coda_write(dev, CODA_STD_MPEG4, in coda_start_encoding()
1178 coda_write(dev, CODA9_STD_H264, in coda_start_encoding()
1181 coda_write(dev, CODA_STD_H264, in coda_start_encoding()
[all …]
H A Dcoda-gdi.c132 coda_write(dev, xy2ca_map[i], in coda_set_gdi_regs()
135 coda_write(dev, XY2(ZERO, 0, ZERO, 0), in coda_set_gdi_regs()
138 coda_write(dev, XY2(ZERO, 0, ZERO, 0), in coda_set_gdi_regs()
140 coda_write(dev, xy2rbc_config, CODA9_GDI_XY2_RBC_CONFIG); in coda_set_gdi_regs()
143 coda_write(dev, rbc2axi_tiled_map[i], in coda_set_gdi_regs()
H A Dcoda-common.c117 coda_write(ctx->dev, base_y, reg_y); in coda_write_base()
118 coda_write(ctx->dev, base_cb, reg_y + 4); in coda_write_base()
119 coda_write(ctx->dev, base_cr, reg_y + 8); in coda_write_base()
2830 coda_write(dev, dev->tempbuf.paddr, in coda_hw_init()
2834 coda_write(dev, dev->workbuf.paddr, in coda_hw_init()
2837 coda_write(dev, dev->codebuf.paddr, in coda_hw_init()
2839 coda_write(dev, 0, CODA_REG_BIT_CODE_RUN); in coda_hw_init()
2844 coda_write(dev, CODADX6_STREAM_BUF_PIC_FLUSH, in coda_hw_init()
2848 coda_write(dev, CODA7_STREAM_BUF_PIC_FLUSH, in coda_hw_init()
2852 coda_write(dev, CODA9_FRAME_ENABLE_BWB, in coda_hw_init()
[all …]
H A Dcoda.h305 void coda_write(struct coda_dev *dev, u32 data, u32 reg);