Lines Matching refs:lcdc_write
316 static void lcdc_write(struct sh_mobile_lcdc_priv *priv, in lcdc_write() function
400 lcdc_write(ch->lcdc, _LDDWD0R, data | LDDWDxR_WDACT); in lcdc_sys_write_index()
402 lcdc_write(ch->lcdc, _LDDWAR, LDDWAR_WA | in lcdc_sys_write_index()
411 lcdc_write(ch->lcdc, _LDDWD0R, data | LDDWDxR_WDACT | LDDWDxR_RSW); in lcdc_sys_write_data()
413 lcdc_write(ch->lcdc, _LDDWAR, LDDWAR_WA | in lcdc_sys_write_data()
422 lcdc_write(ch->lcdc, _LDDRDR, LDDRDR_RSR); in lcdc_sys_read_data()
424 lcdc_write(ch->lcdc, _LDDRAR, LDDRAR_RA | in lcdc_sys_read_data()
642 lcdc_write(priv, _LDINTR, (ldintr ^ LDINTR_STATUS_MASK) & ~LDINTR_VEE); in sh_mobile_lcdc_irq()
682 lcdc_write(ch->lcdc, _LDINTR, ldintr); in sh_mobile_lcdc_wait_for_vsync()
700 lcdc_write(priv, _LDCNT2R, tmp | LDCNT2R_DO); in sh_mobile_lcdc_start_stop()
702 lcdc_write(priv, _LDCNT2R, tmp & ~LDCNT2R_DO); in sh_mobile_lcdc_start_stop()
718 lcdc_write(priv, _LDDCKSTPR, 1); /* stop dotclock */ in sh_mobile_lcdc_start_stop()
778 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
780 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup()
843 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
859 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup()
879 lcdc_write(priv, _LDCNT2R, priv->ch[0].enabled | priv->ch[1].enabled); in __sh_mobile_lcdc_start()
883 lcdc_write(priv, _LDINTR, 0); in __sh_mobile_lcdc_start()
910 lcdc_write(priv, _LDDCKR, tmp); in __sh_mobile_lcdc_start()
911 lcdc_write(priv, _LDDCKSTPR, 0); in __sh_mobile_lcdc_start()
948 lcdc_write(priv, _LDINTR, LDINTR_FE); in __sh_mobile_lcdc_start()
973 lcdc_write(priv, _LDDDSR, tmp); in __sh_mobile_lcdc_start()
976 lcdc_write(priv, _LDCNT1R, LDCNT1R_DE); in __sh_mobile_lcdc_start()
995 lcdc_write(priv, _LDCNT2R, lcdc_read(priv, _LDCNT2R) | LDCNT2R_BR); in sh_mobile_lcdc_start()
1400 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_pan()
1405 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_pan()
1723 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_SRS); in sh_mobile_lcdc_pan()
1725 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_MRS); in sh_mobile_lcdc_pan()
2205 lcdc_write(priv, _LDCNT1R, 0); in sh_mobile_lcdc_runtime_suspend()