Lines Matching refs:REG_READ

133 	ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000);  in cdv_sb_read()
145 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read()
151 *val = REG_READ(SB_DATA); in cdv_sb_read()
168 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
181 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
202 REG_READ(DPIO_CFG); in cdv_sb_reset()
469 if (REG_READ(FW_BLC_SELF) & FW_BLC_SELF_EN) { in cdv_disable_sr()
472 REG_WRITE(FW_BLC_SELF, (REG_READ(FW_BLC_SELF) & ~FW_BLC_SELF_EN)); in cdv_disable_sr()
473 REG_READ(FW_BLC_SELF); in cdv_disable_sr()
481 REG_READ(OV_OVADD); in cdv_disable_sr()
497 fw = REG_READ(DSPFW1); in cdv_update_wm()
504 fw = REG_READ(DSPFW2); in cdv_update_wm()
533 REG_READ(FW_BLC_SELF); in cdv_update_wm()
560 pfit_control = REG_READ(PFIT_CONTROL); in cdv_intel_panel_fitter_pipe()
688 pipeconf = REG_READ(map->conf); in cdv_intel_crtc_mode_set()
708 if ((REG_READ(LVDS) & LVDS_A3_POWER_MASK) == LVDS_A3_POWER_UP) in cdv_intel_crtc_mode_set()
727 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
739 u32 lvds = REG_READ(LVDS); in cdv_intel_crtc_mode_set()
759 REG_READ(LVDS); in cdv_intel_crtc_mode_set()
772 (REG_READ(map->dpll) & ~DPLL_LOCK) | DPLL_VCO_ENABLE); in cdv_intel_crtc_mode_set()
773 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
777 if (!(REG_READ(map->dpll) & DPLL_LOCK)) { in cdv_intel_crtc_mode_set()
808 REG_READ(map->conf); in cdv_intel_crtc_mode_set()
853 dpll = REG_READ(map->dpll); in cdv_intel_crtc_clock_get()
855 fp = REG_READ(map->fp0); in cdv_intel_crtc_clock_get()
857 fp = REG_READ(map->fp1); in cdv_intel_crtc_clock_get()
858 is_lvds = (pipe == 1) && (REG_READ(LVDS) & LVDS_PORT_EN); in cdv_intel_crtc_clock_get()
933 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get()
934 hsync = REG_READ(map->hsync); in cdv_intel_crtc_mode_get()
935 vtot = REG_READ(map->vtotal); in cdv_intel_crtc_mode_get()
936 vsync = REG_READ(map->vsync); in cdv_intel_crtc_mode_get()