Home
last modified time | relevance | path

Searched refs:coda_read (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-bit.c44 return coda_read(dev, CODA_REG_BIT_CUR_PC) != 0; in coda_is_initialized()
49 return coda_read(dev, CODA_REG_BIT_BUSY); in coda_isbusy()
122 idx = coda_read(dev, CODA_REG_BIT_RUN_INDEX); in coda_hw_reset()
127 while (coda_read(dev, CODA9_GDI_BUS_STATUS) != 0x77) { in coda_hw_reset()
154 rd_ptr = coda_read(dev, CODA_REG_BIT_RD_PTR(ctx->reg_idx)); in coda_kfifo_sync_from_device()
442 (ctx->idx == coda_read(dev, CODA_REG_BIT_RUN_INDEX))) { in coda_bit_stream_end_flag()
670 *size = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)) - in coda_encode_header()
671 coda_read(dev, CODA_CMD_ENC_HEADER_BB_START); in coda_encode_header()
767 success = coda_read(dev, CODA_RET_ENC_PARAM_CHANGE_SUCCESS); in coda_enc_param_change()
963 data = coda_read(dev, CODA9_CMD_FIRMWARE_CODE_REV); in coda_check_firmware()
[all …]
Dcoda-jpeg.c519 ret = coda_read(dev, CODA9_REG_JPEG_BBC_BUSY); in coda9_jpeg_dec_bbc_gbu_setup()
530 ret = coda_read(dev, CODA9_REG_JPEG_BBC_BUSY); in coda9_jpeg_dec_bbc_gbu_setup()
1172 ret = coda_read(dev, CODA9_GDI_STATUS); in coda9_jpeg_prepare_encode()
1229 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_finish_encode()
1232 err_mb = coda_read(dev, CODA9_REG_JPEG_PIC_ERRMB); in coda9_jpeg_finish_encode()
1267 end_addr = coda_read(dev, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_encode_timeout()
1268 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_encode_timeout()
1420 ret = coda_read(dev, CODA9_GDI_STATUS); in coda9_jpeg_prepare_decode()
1452 err_mb = coda_read(dev, CODA9_REG_JPEG_PIC_ERRMB); in coda9_jpeg_finish_decode()
1512 status = coda_read(dev, CODA9_REG_JPEG_PIC_STATUS); in coda9_jpeg_irq_handler()
[all …]
Dcoda.h295 unsigned int coda_read(struct coda_dev *dev, u32 reg);
Dcoda-common.c82 unsigned int coda_read(struct coda_dev *dev, u32 reg) in coda_read() function
2834 data = coda_read(dev, CODA_REG_BIT_CODE_RESET); in coda_hw_init()