Lines Matching refs:mi_ctrl

375 	u32 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL);  in rkisp1_mi_config_ctrl()  local
377 mi_ctrl &= ~GENMASK(17, 16); in rkisp1_mi_config_ctrl()
378 mi_ctrl |= RKISP1_CIF_MI_CTRL_BURST_LEN_LUM_64; in rkisp1_mi_config_ctrl()
380 mi_ctrl &= ~GENMASK(19, 18); in rkisp1_mi_config_ctrl()
381 mi_ctrl |= RKISP1_CIF_MI_CTRL_BURST_LEN_CHROM_64; in rkisp1_mi_config_ctrl()
383 mi_ctrl |= RKISP1_CIF_MI_CTRL_INIT_BASE_EN | in rkisp1_mi_config_ctrl()
386 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_mi_config_ctrl()
451 u32 mi_ctrl, reg; in rkisp1_sp_config() local
478 mi_ctrl = rkisp1_read(rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_sp_config()
479 mi_ctrl &= ~RKISP1_MI_CTRL_SP_FMT_MASK; in rkisp1_sp_config()
480 mi_ctrl |= cap->pix.cfg->write_format | in rkisp1_sp_config()
484 rkisp1_write(rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_sp_config()
489 u32 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_mp_disable() local
491 mi_ctrl &= ~(RKISP1_CIF_MI_CTRL_MP_ENABLE | in rkisp1_mp_disable()
493 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_mp_disable()
498 u32 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_sp_disable() local
500 mi_ctrl &= ~RKISP1_CIF_MI_CTRL_SP_ENABLE; in rkisp1_sp_disable()
501 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_sp_disable()
506 u32 mi_ctrl; in rkisp1_mp_enable() local
510 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_mp_enable()
512 mi_ctrl |= RKISP1_CIF_MI_CTRL_RAW_ENABLE; in rkisp1_mp_enable()
515 mi_ctrl |= RKISP1_CIF_MI_CTRL_MP_ENABLE; in rkisp1_mp_enable()
517 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_mp_enable()
522 u32 mi_ctrl = rkisp1_read(cap->rkisp1, RKISP1_CIF_MI_CTRL); in rkisp1_sp_enable() local
524 mi_ctrl |= RKISP1_CIF_MI_CTRL_SP_ENABLE; in rkisp1_sp_enable()
525 rkisp1_write(cap->rkisp1, mi_ctrl, RKISP1_CIF_MI_CTRL); in rkisp1_sp_enable()