Home
last modified time | relevance | path

Searched refs:lcdc_read (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c174 value = lcdc_read(sdev, LDCNT2R); in shmob_drm_crtc_start_stop()
182 value = lcdc_read(sdev, LDPMR) & LDPMR_LPS; in shmob_drm_crtc_start_stop()
215 lcdc_write(sdev, LDCNT2R, lcdc_read(sdev, LDCNT2R) | LDCNT2R_BR); in shmob_drm_crtc_atomic_enable()
341 ldintr = lcdc_read(sdev, LDINTR) | LDINTR_STATUS_MASK; in shmob_drm_crtc_enable_vblank()
H A Dshmob_drm_regs.h291 static inline u32 lcdc_read(struct shmob_drm_device *sdev, u32 reg) in lcdc_read() function
301 while ((lcdc_read(sdev, reg) & mask) != until) { in lcdc_wait_bit()
H A Dshmob_drm_drv.c89 status = lcdc_read(sdev, LDINTR); in shmob_drm_irq()
/linux/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c322 static unsigned long lcdc_read(struct sh_mobile_lcdc_priv *priv, in lcdc_read() function
332 while ((lcdc_read(priv, reg_offs) & mask) != until) in lcdc_wait_bit()
429 return lcdc_read(ch->lcdc, _LDDRDR) & LDDRDR_DRD_MASK; in lcdc_sys_read_data()
641 ldintr = lcdc_read(priv, _LDINTR); in sh_mobile_lcdc_irq()
645 is_sub = (lcdc_read(priv, _LDSR) & LDSR_MSS) ? 1 : 0; in sh_mobile_lcdc_irq()
680 ldintr = lcdc_read(ch->lcdc, _LDINTR); in sh_mobile_lcdc_wait_for_vsync()
695 unsigned long tmp = lcdc_read(priv, _LDCNT2R); in sh_mobile_lcdc_start_stop()
706 if (lcdc_read(priv, _LDCNT2R) & priv->ch[k].enabled) in sh_mobile_lcdc_start_stop()
995 lcdc_write(priv, _LDCNT2R, lcdc_read(priv, _LDCNT2R) | LDCNT2R_BR); in sh_mobile_lcdc_start()
1720 ldrcntr = lcdc_read(priv, _LDRCNTR); in sh_mobile_lcdc_pan()