Lines Matching refs:scaler_write
28 #define scaler_write(cfg, offset) writel(cfg, scaler->regs + (offset)) macro
97 scaler_write(SCALER_CFG_SOFT_RESET, SCALER_CFG); in scaler_reset()
104 scaler_write(1, SCALER_INT_EN); in scaler_reset()
140 scaler_write(val, SCALER_INT_EN); in scaler_enable_int()
149 scaler_write(val, SCALER_SRC_CFG); in scaler_set_src_fmt()
163 scaler_write(src_buf->dma_addr[i], bases[i]); in scaler_set_src_base()
177 scaler_write(val, SCALER_SRC_SPAN); in scaler_set_src_span()
188 scaler_write(val, SCALER_SRC_Y_POS); in scaler_set_src_luma_chroma_pos()
193 scaler_write(val, SCALER_SRC_C_POS); in scaler_set_src_luma_chroma_pos()
203 scaler_write(val, SCALER_SRC_WH); in scaler_set_src_wh()
212 scaler_write(val, SCALER_DST_CFG); in scaler_set_dst_fmt()
226 scaler_write(dst_buf->dma_addr[i], bases[i]); in scaler_set_dst_base()
240 scaler_write(val, SCALER_DST_SPAN); in scaler_set_dst_span()
250 scaler_write(val, SCALER_DST_WH); in scaler_set_dst_luma_pos()
260 scaler_write(val, SCALER_DST_POS); in scaler_set_dst_wh()
279 scaler_write(val, SCALER_H_RATIO); in scaler_set_hv_ratio()
282 scaler_write(val, SCALER_V_RATIO); in scaler_set_hv_ratio()
300 scaler_write(val, SCALER_ROT_CFG); in scaler_set_rotation()
338 scaler_write(csc_mtx[dir][i][j], SCALER_CSC_COEF(j, i)); in scaler_set_csc()
349 scaler_write(val, SCALER_TIMEOUT_CTRL); in scaler_set_timer()
354 scaler_write(SCALER_CFG_START_CMD, SCALER_CFG); in scaler_start_hw()
412 scaler_write(0, SCALER_INT_EN); in scaler_disable_int()
419 scaler_write(val, SCALER_INT_STATUS); in scaler_get_int_status()