Lines Matching +full:8 +full:v

188 	unsigned short v;  in hitfb_blank()  local
191 v = hitfb_readw(HD64461_LDR1); in hitfb_blank()
192 v &= ~HD64461_LDR1_DON; in hitfb_blank()
193 hitfb_writew(v, HD64461_LDR1); in hitfb_blank()
195 v = hitfb_readw(HD64461_LCDCCR); in hitfb_blank()
196 v |= HD64461_LCDCCR_MOFF; in hitfb_blank()
197 hitfb_writew(v, HD64461_LCDCCR); in hitfb_blank()
199 v = hitfb_readw(HD64461_STBCR); in hitfb_blank()
200 v |= HD64461_STBCR_SLCDST; in hitfb_blank()
201 hitfb_writew(v, HD64461_STBCR); in hitfb_blank()
203 v = hitfb_readw(HD64461_STBCR); in hitfb_blank()
204 v &= ~HD64461_STBCR_SLCDST; in hitfb_blank()
205 hitfb_writew(v, HD64461_STBCR); in hitfb_blank()
207 v = hitfb_readw(HD64461_LCDCCR); in hitfb_blank()
208 v &= ~(HD64461_LCDCCR_MOFF | HD64461_LCDCCR_STREQ); in hitfb_blank()
209 hitfb_writew(v, HD64461_LCDCCR); in hitfb_blank()
212 v = hitfb_readw(HD64461_LCDCCR); in hitfb_blank()
213 } while(v&HD64461_LCDCCR_STBACK); in hitfb_blank()
215 v = hitfb_readw(HD64461_LDR1); in hitfb_blank()
216 v |= HD64461_LDR1_DON; in hitfb_blank()
217 hitfb_writew(v, HD64461_LDR1); in hitfb_blank()
229 case 8: in hitfb_setcolreg()
230 hitfb_writew(regno << 8, HD64461_CPTWAR); in hitfb_setcolreg()
261 if ((var->bits_per_pixel != 8) && (var->bits_per_pixel != 16)) in hitfb_check_var()
279 case 8: in hitfb_check_var()
281 var->red.length = 8; in hitfb_check_var()
283 var->green.length = 8; in hitfb_check_var()
285 var->blue.length = 8; in hitfb_check_var()
309 case 8: in hitfb_set_par()
317 info->fix.ypanstep = 8; in hitfb_set_par()
324 ldr3 |= (info->var.bits_per_pixel == 8) ? 4 : 8; in hitfb_set_par()
365 hitfb_var.bits_per_pixel = 8; in hitfb_probe()
368 case 8: in hitfb_probe()
374 hitfb_fix.visual = (hitfb_var.bits_per_pixel == 8) ? in hitfb_probe()
380 case 8: in hitfb_probe()
382 hitfb_var.red.length = 8; in hitfb_probe()
384 hitfb_var.green.length = 8; in hitfb_probe()
386 hitfb_var.blue.length = 8; in hitfb_probe()
447 u16 v; in hitfb_suspend() local
450 v = hitfb_readw(HD64461_STBCR); in hitfb_suspend()
451 v |= HD64461_STBCR_SLCKE_IST; in hitfb_suspend()
452 hitfb_writew(v, HD64461_STBCR); in hitfb_suspend()
459 u16 v; in hitfb_resume() local
461 v = hitfb_readw(HD64461_STBCR); in hitfb_resume()
462 v &= ~HD64461_STBCR_SLCKE_OST; in hitfb_resume()
464 v = hitfb_readw(HD64461_STBCR); in hitfb_resume()
465 v &= ~HD64461_STBCR_SLCKE_IST; in hitfb_resume()
466 hitfb_writew(v, HD64461_STBCR); in hitfb_resume()