Lines Matching refs:lcdc_write
317 static void lcdc_write(struct sh_mobile_lcdc_priv *priv, in lcdc_write() function
403 lcdc_write(ch->lcdc, _LDDWD0R, data | LDDWDxR_WDACT); in lcdc_sys_write_index()
405 lcdc_write(ch->lcdc, _LDDWAR, LDDWAR_WA | in lcdc_sys_write_index()
414 lcdc_write(ch->lcdc, _LDDWD0R, data | LDDWDxR_WDACT | LDDWDxR_RSW); in lcdc_sys_write_data()
416 lcdc_write(ch->lcdc, _LDDWAR, LDDWAR_WA | in lcdc_sys_write_data()
425 lcdc_write(ch->lcdc, _LDDRDR, LDDRDR_RSR); in lcdc_sys_read_data()
427 lcdc_write(ch->lcdc, _LDDRAR, LDDRAR_RA | in lcdc_sys_read_data()
649 lcdc_write(priv, _LDINTR, (ldintr ^ LDINTR_STATUS_MASK) & ~LDINTR_VEE); in sh_mobile_lcdc_irq()
689 lcdc_write(ch->lcdc, _LDINTR, ldintr); in sh_mobile_lcdc_wait_for_vsync()
707 lcdc_write(priv, _LDCNT2R, tmp | LDCNT2R_DO); in sh_mobile_lcdc_start_stop()
709 lcdc_write(priv, _LDCNT2R, tmp & ~LDCNT2R_DO); in sh_mobile_lcdc_start_stop()
725 lcdc_write(priv, _LDDCKSTPR, 1); /* stop dotclock */ in sh_mobile_lcdc_start_stop()
785 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
787 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup()
850 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
866 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_setup()
886 lcdc_write(priv, _LDCNT2R, priv->ch[0].enabled | priv->ch[1].enabled); in __sh_mobile_lcdc_start()
890 lcdc_write(priv, _LDINTR, 0); in __sh_mobile_lcdc_start()
917 lcdc_write(priv, _LDDCKR, tmp); in __sh_mobile_lcdc_start()
918 lcdc_write(priv, _LDDCKSTPR, 0); in __sh_mobile_lcdc_start()
955 lcdc_write(priv, _LDINTR, LDINTR_FE); in __sh_mobile_lcdc_start()
980 lcdc_write(priv, _LDDDSR, tmp); in __sh_mobile_lcdc_start()
983 lcdc_write(priv, _LDCNT1R, LDCNT1R_DE); in __sh_mobile_lcdc_start()
1002 lcdc_write(priv, _LDCNT2R, lcdc_read(priv, _LDCNT2R) | LDCNT2R_BR); in sh_mobile_lcdc_start()
1407 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_pan()
1412 lcdc_write(ovl->channel->lcdc, LDBCR, in sh_mobile_lcdc_overlay_pan()
1727 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_SRS); in sh_mobile_lcdc_pan()
1729 lcdc_write(ch->lcdc, _LDRCNTR, ldrcntr ^ LDRCNTR_MRS); in sh_mobile_lcdc_pan()
2206 lcdc_write(priv, _LDCNT1R, 0); in sh_mobile_lcdc_runtime_suspend()