Lines Matching refs:value
70 u32 value; in shmob_drm_crtc_setup_geometry() local
72 value = sdev->ldmt1r in shmob_drm_crtc_setup_geometry()
80 lcdc_write(sdev, LDMT1R, value); in shmob_drm_crtc_setup_geometry()
85 value = (idata->sys.cs_setup << LDMT2R_CSUP_SHIFT) in shmob_drm_crtc_setup_geometry()
91 lcdc_write(sdev, LDMT2R, value); in shmob_drm_crtc_setup_geometry()
93 value = (idata->sys.read_latch << LDMT3R_RDLC_SHIFT) in shmob_drm_crtc_setup_geometry()
97 lcdc_write(sdev, LDMT3R, value); in shmob_drm_crtc_setup_geometry()
100 value = ((mode->hdisplay / 8) << 16) /* HDCN */ in shmob_drm_crtc_setup_geometry()
102 lcdc_write(sdev, LDHCNR, value); in shmob_drm_crtc_setup_geometry()
104 value = (((mode->hsync_end - mode->hsync_start) / 8) << 16) /* HSYNW */ in shmob_drm_crtc_setup_geometry()
106 lcdc_write(sdev, LDHSYNR, value); in shmob_drm_crtc_setup_geometry()
108 value = ((mode->hdisplay & 7) << 24) | ((mode->htotal & 7) << 16) in shmob_drm_crtc_setup_geometry()
111 lcdc_write(sdev, LDHAJR, value); in shmob_drm_crtc_setup_geometry()
113 value = ((mode->vdisplay) << 16) /* VDLN */ in shmob_drm_crtc_setup_geometry()
115 lcdc_write(sdev, LDVLNR, value); in shmob_drm_crtc_setup_geometry()
117 value = ((mode->vsync_end - mode->vsync_start) << 16) /* VSYNW */ in shmob_drm_crtc_setup_geometry()
119 lcdc_write(sdev, LDVSYNR, value); in shmob_drm_crtc_setup_geometry()
125 u32 value; in shmob_drm_crtc_start_stop() local
127 value = lcdc_read(sdev, LDCNT2R); in shmob_drm_crtc_start_stop()
129 lcdc_write(sdev, LDCNT2R, value | LDCNT2R_DO); in shmob_drm_crtc_start_stop()
131 lcdc_write(sdev, LDCNT2R, value & ~LDCNT2R_DO); in shmob_drm_crtc_start_stop()
135 value = lcdc_read(sdev, LDPMR) & LDPMR_LPS; in shmob_drm_crtc_start_stop()
136 if ((start && value) || (!start && !value)) in shmob_drm_crtc_start_stop()
163 u32 value; in shmob_drm_crtc_start() local
190 value = sdev->lddckr; in shmob_drm_crtc_start()
199 value |= LDDCKR_MOSEL; in shmob_drm_crtc_start()
201 value |= idata->clk_div; in shmob_drm_crtc_start()
204 lcdc_write(sdev, LDDCKR, value); in shmob_drm_crtc_start()
227 value = LDDDSR_LS | LDDDSR_WS; in shmob_drm_crtc_start()
233 value = LDDDSR_LS | LDDDSR_WS | LDDDSR_BS; in shmob_drm_crtc_start()
238 value = LDDDSR_LS; in shmob_drm_crtc_start()
241 lcdc_write(sdev, LDDDSR, value); in shmob_drm_crtc_start()