Lines Matching refs:coda_read

45 	return coda_read(dev, CODA_REG_BIT_CUR_PC) != 0;  in coda_is_initialized()
50 return coda_read(dev, CODA_REG_BIT_BUSY); in coda_isbusy()
123 idx = coda_read(dev, CODA_REG_BIT_RUN_INDEX); in coda_hw_reset()
128 while (coda_read(dev, CODA9_GDI_BUS_STATUS) != 0x77) { in coda_hw_reset()
155 rd_ptr = coda_read(dev, CODA_REG_BIT_RD_PTR(ctx->reg_idx)); in coda_kfifo_sync_from_device()
444 (ctx->idx == coda_read(dev, CODA_REG_BIT_RUN_INDEX))) { in coda_bit_stream_end_flag()
672 *size = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)) - in coda_encode_header()
673 coda_read(dev, CODA_CMD_ENC_HEADER_BB_START); in coda_encode_header()
769 success = coda_read(dev, CODA_RET_ENC_PARAM_CHANGE_SUCCESS); in coda_enc_param_change()
965 data = coda_read(dev, CODA9_CMD_FIRMWARE_CODE_REV); in coda_check_firmware()
971 data = coda_read(dev, CODA_CMD_FIRMWARE_VERNUM); in coda_check_firmware()
1321 if (coda_read(dev, CODA_RET_ENC_SEQ_SUCCESS) == 0) { in coda_start_encoding()
1660 start_ptr = coda_read(dev, CODA_CMD_ENC_PIC_BB_START); in coda_finish_encode()
1661 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_finish_encode()
1676 coda_read(dev, CODA_RET_ENC_PIC_SLICE_NUM); in coda_finish_encode()
1677 coda_read(dev, CODA_RET_ENC_PIC_FLAG); in coda_finish_encode()
1682 if (coda_read(dev, CODA_RET_ENC_PIC_TYPE) == 0) in coda_finish_encode()
1967 if (coda_read(dev, CODA_RET_DEC_SEQ_SUCCESS) == 0) { in __coda_decoder_seq_init()
1970 coda_read(dev, CODA_RET_DEC_SEQ_ERR_REASON)); in __coda_decoder_seq_init()
1974 val = coda_read(dev, CODA_RET_DEC_SEQ_SRC_SIZE); in __coda_decoder_seq_init()
1995 ctx->num_internal_frames = coda_read(dev, CODA_RET_DEC_SEQ_FRAME_NEED); in __coda_decoder_seq_init()
2016 left_right = coda_read(dev, CODA_RET_DEC_SEQ_CROP_LEFT_RIGHT); in __coda_decoder_seq_init()
2017 top_bottom = coda_read(dev, CODA_RET_DEC_SEQ_CROP_TOP_BOTTOM); in __coda_decoder_seq_init()
2030 val = coda_read(dev, CODA7_RET_DEC_SEQ_HEADER_REPORT); in __coda_decoder_seq_init()
2337 val = coda_read(dev, CODA_RET_DEC_PIC_SUCCESS); in coda_finish_decode()
2356 val = coda_read(dev, CODA_RET_DEC_PIC_SIZE); in coda_finish_decode()
2367 left_right = coda_read(dev, CODA_RET_DEC_PIC_CROP_LEFT_RIGHT); in coda_finish_decode()
2368 top_bottom = coda_read(dev, CODA_RET_DEC_PIC_CROP_TOP_BOTTOM); in coda_finish_decode()
2386 err_mb = coda_read(dev, CODA_RET_DEC_PIC_ERR_MB); in coda_finish_decode()
2396 val = coda_read(dev, CODA_RET_DEC_PIC_OPTION); in coda_finish_decode()
2412 ctx->frm_dis_flg = coda_read(dev, in coda_finish_decode()
2428 decoded_idx = coda_read(dev, CODA_RET_DEC_PIC_CUR_IDX); in coda_finish_decode()
2429 display_idx = coda_read(dev, CODA_RET_DEC_PIC_FRAME_IDX); in coda_finish_decode()
2450 val = coda_read(dev, CODA_RET_DEC_PIC_FRAME_NUM); in coda_finish_decode()
2490 val = coda_read(dev, CODA_RET_DEC_PIC_TYPE) & 0x7; in coda_finish_decode()
2640 coda_read(dev, CODA_REG_BIT_INT_STATUS); in coda_irq_handler()