Searched refs:coda_write (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/media/platform/chips-media/ |
D | coda-jpeg.c | 421 coda_write(dev, (s32)values[i], CODA9_REG_JPEG_HUFF_DATA); in coda9_jpeg_write_huff_values() 434 coda_write(dev, 0x003, CODA9_REG_JPEG_HUFF_CTRL); in coda9_jpeg_dec_huff_setup() 435 coda_write(dev, 0x000, CODA9_REG_JPEG_HUFF_ADDR); in coda9_jpeg_dec_huff_setup() 437 coda_write(dev, (s32)huff_min[i], CODA9_REG_JPEG_HUFF_DATA); in coda9_jpeg_dec_huff_setup() 440 coda_write(dev, 0x403, CODA9_REG_JPEG_HUFF_CTRL); in coda9_jpeg_dec_huff_setup() 441 coda_write(dev, 0x440, CODA9_REG_JPEG_HUFF_ADDR); in coda9_jpeg_dec_huff_setup() 443 coda_write(dev, (s32)huff_max[i], CODA9_REG_JPEG_HUFF_DATA); in coda9_jpeg_dec_huff_setup() 446 coda_write(dev, 0x803, CODA9_REG_JPEG_HUFF_CTRL); in coda9_jpeg_dec_huff_setup() 447 coda_write(dev, 0x880, CODA9_REG_JPEG_HUFF_ADDR); in coda9_jpeg_dec_huff_setup() 449 coda_write(dev, (s32)huff_ptr[i], CODA9_REG_JPEG_HUFF_DATA); in coda9_jpeg_dec_huff_setup() [all …]
|
D | coda-bit.c | 72 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() 78 coda_write(dev, ctx->workbuf.paddr, CODA_REG_BIT_WORK_BUF_ADDR); in coda_command_async() 82 coda_write(dev, 1, CODA9_GDI_WPROT_ERR_CLR); in coda_command_async() 83 coda_write(dev, 0, CODA9_GDI_WPROT_RGN_EN); in coda_command_async() 86 coda_write(dev, CODA_REG_BIT_BUSY_FLAG, CODA_REG_BIT_BUSY); in coda_command_async() 88 coda_write(dev, ctx->idx, CODA_REG_BIT_RUN_INDEX); in coda_command_async() 89 coda_write(dev, ctx->params.codec_mode, CODA_REG_BIT_RUN_COD_STD); in coda_command_async() 90 coda_write(dev, ctx->params.codec_mode_aux, CODA7_REG_BIT_RUN_AUX_STD); in coda_command_async() [all …]
|
D | coda-gdi.c | 132 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()
|
D | coda-common.c | 75 void coda_write(struct coda_dev *dev, u32 data, u32 reg) in coda_write() function 117 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() 2811 coda_write(dev, data, CODA_REG_BIT_CODE_DOWN); in coda_hw_init() 2818 coda_write(dev, data, CODA_REG_BIT_CODE_DOWN); in coda_hw_init() 2824 coda_write(dev, 0, CODA_REG_BIT_CODE_BUF_ADDR + i * 4); in coda_hw_init() 2830 coda_write(dev, dev->tempbuf.paddr, in coda_hw_init() 2832 coda_write(dev, 0, CODA_REG_BIT_BIT_STREAM_PARAM); in coda_hw_init() 2834 coda_write(dev, dev->workbuf.paddr, in coda_hw_init() [all …]
|
D | coda.h | 305 void coda_write(struct coda_dev *dev, u32 data, u32 reg);
|