Lines Matching +full:16 +full:v
70 fb_writew(saddr >> 16, HD64461_BBTDSARH); in hitfb_accel_set_dest()
113 fb_writew(saddr >> 16, HD64461_BBTSSARH); in hitfb_accel_bitblt()
115 fb_writew(daddr >> 16, HD64461_BBTDSARH); in hitfb_accel_bitblt()
119 fb_writew(maddr >> 16, HD64461_BBTMARH); in hitfb_accel_bitblt()
131 fb_writew(16, HD64461_BBTMDR); in hitfb_fillrect()
133 if (p->var.bits_per_pixel == 16) { in hitfb_fillrect()
151 hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy, in hitfb_copyarea()
172 unsigned short v; in hitfb_blank() local
175 v = fb_readw(HD64461_LDR1); in hitfb_blank()
176 v &= ~HD64461_LDR1_DON; in hitfb_blank()
177 fb_writew(v, HD64461_LDR1); in hitfb_blank()
179 v = fb_readw(HD64461_LCDCCR); in hitfb_blank()
180 v |= HD64461_LCDCCR_MOFF; in hitfb_blank()
181 fb_writew(v, HD64461_LCDCCR); in hitfb_blank()
183 v = fb_readw(HD64461_STBCR); in hitfb_blank()
184 v |= HD64461_STBCR_SLCDST; in hitfb_blank()
185 fb_writew(v, HD64461_STBCR); in hitfb_blank()
187 v = fb_readw(HD64461_STBCR); in hitfb_blank()
188 v &= ~HD64461_STBCR_SLCDST; in hitfb_blank()
189 fb_writew(v, HD64461_STBCR); in hitfb_blank()
191 v = fb_readw(HD64461_LCDCCR); in hitfb_blank()
192 v &= ~(HD64461_LCDCCR_MOFF | HD64461_LCDCCR_STREQ); in hitfb_blank()
193 fb_writew(v, HD64461_LCDCCR); in hitfb_blank()
196 v = fb_readw(HD64461_LCDCCR); in hitfb_blank()
197 } while(v&HD64461_LCDCCR_STBACK); in hitfb_blank()
199 v = fb_readw(HD64461_LDR1); in hitfb_blank()
200 v |= HD64461_LDR1_DON; in hitfb_blank()
201 fb_writew(v, HD64461_LDR1); in hitfb_blank()
219 case 16: in hitfb_setcolreg()
220 if (regno >= 16) in hitfb_setcolreg()
245 if ((var->bits_per_pixel != 8) && (var->bits_per_pixel != 16)) in hitfb_check_var()
253 if (var->bits_per_pixel == 16) in hitfb_check_var()
273 case 16: /* RGB 565 */ in hitfb_check_var()
296 info->fix.ypanstep = 16; in hitfb_set_par()
298 case 16: in hitfb_set_par()
351 hitfb_var.bits_per_pixel = 16; in hitfb_probe()
372 case 16: /* RGB 565 */ in hitfb_probe()
384 info = framebuffer_alloc(sizeof(u32) * 16, &dev->dev); in hitfb_probe()
431 u16 v; in hitfb_suspend() local
434 v = fb_readw(HD64461_STBCR); in hitfb_suspend()
435 v |= HD64461_STBCR_SLCKE_IST; in hitfb_suspend()
436 fb_writew(v, HD64461_STBCR); in hitfb_suspend()
443 u16 v; in hitfb_resume() local
445 v = fb_readw(HD64461_STBCR); in hitfb_resume()
446 v &= ~HD64461_STBCR_SLCKE_OST; in hitfb_resume()
448 v = fb_readw(HD64461_STBCR); in hitfb_resume()
449 v &= ~HD64461_STBCR_SLCKE_IST; in hitfb_resume()
450 fb_writew(v, HD64461_STBCR); in hitfb_resume()