Lines Matching refs:cur
78 u32 cur = inl(addr); in cr_backlight_set_intensity() local
90 cur &= ~CRVML_BACKLIGHT_OFF; in cr_backlight_set_intensity()
91 outl(cur, addr); in cr_backlight_set_intensity()
93 cur |= CRVML_BACKLIGHT_OFF; in cr_backlight_set_intensity()
94 outl(cur, addr); in cr_backlight_set_intensity()
103 u32 cur = inl(addr); in cr_backlight_get_intensity() local
106 if (cur & CRVML_BACKLIGHT_OFF) in cr_backlight_get_intensity()
122 u32 cur = inl(addr); in cr_panel_on() local
124 if (!(cur & CRVML_PANEL_ON)) { in cr_panel_on()
126 if (cur & 0x00000001) { in cr_panel_on()
127 cur &= ~CRVML_LVDS_ON; in cr_panel_on()
128 outl(cur, addr); in cr_panel_on()
132 cur |= CRVML_PANEL_ON; in cr_panel_on()
133 outl(cur, addr); in cr_panel_on()
138 if (!(cur & CRVML_LVDS_ON)) { in cr_panel_on()
140 outl(cur | CRVML_LVDS_ON, addr); in cr_panel_on()
147 u32 cur = inl(addr); in cr_panel_off() local
150 if (cur & CRVML_LVDS_ON) { in cr_panel_off()
151 cur &= ~CRVML_LVDS_ON; in cr_panel_off()
152 outl(cur, addr); in cr_panel_off()
154 if (cur & CRVML_PANEL_ON) { in cr_panel_off()
156 outl(cur & ~CRVML_PANEL_ON, addr); in cr_panel_off()