Lines Matching full:length
113 u_long length; in get_line_length() local
115 length = xres_virtual * bpp; in get_line_length()
116 length = (length + 31) & ~31; in get_line_length()
117 length >>= 3; in get_line_length()
118 return (length); in get_line_length()
190 var->red.length = 1; in mc68x328fb_check_var()
192 var->green.length = 1; in mc68x328fb_check_var()
194 var->blue.length = 1; in mc68x328fb_check_var()
196 var->transp.length = 0; in mc68x328fb_check_var()
200 var->red.length = 8; in mc68x328fb_check_var()
202 var->green.length = 8; in mc68x328fb_check_var()
204 var->blue.length = 8; in mc68x328fb_check_var()
206 var->transp.length = 0; in mc68x328fb_check_var()
209 if (var->transp.length) { in mc68x328fb_check_var()
211 var->red.length = 5; in mc68x328fb_check_var()
213 var->green.length = 5; in mc68x328fb_check_var()
215 var->blue.length = 5; in mc68x328fb_check_var()
217 var->transp.length = 1; in mc68x328fb_check_var()
220 var->red.length = 5; in mc68x328fb_check_var()
222 var->green.length = 6; in mc68x328fb_check_var()
224 var->blue.length = 5; in mc68x328fb_check_var()
226 var->transp.length = 0; in mc68x328fb_check_var()
231 var->red.length = 8; in mc68x328fb_check_var()
233 var->green.length = 8; in mc68x328fb_check_var()
235 var->blue.length = 8; in mc68x328fb_check_var()
237 var->transp.length = 0; in mc68x328fb_check_var()
241 var->red.length = 8; in mc68x328fb_check_var()
243 var->green.length = 8; in mc68x328fb_check_var()
245 var->blue.length = 8; in mc68x328fb_check_var()
247 var->transp.length = 8; in mc68x328fb_check_var()
293 * var->{color}.length contains length of bitfield in mc68x328fb_setcolreg()
299 * uses offset = 0 && length = RAMDAC register width. in mc68x328fb_setcolreg()
301 * var->{color}.length contains width of DAC in mc68x328fb_setcolreg()
307 * var->{color}.length contains length of bitfield in mc68x328fb_setcolreg()
316 red = CNVT_TOHW(red, info->var.red.length); in mc68x328fb_setcolreg()
317 green = CNVT_TOHW(green, info->var.green.length); in mc68x328fb_setcolreg()
318 blue = CNVT_TOHW(blue, info->var.blue.length); in mc68x328fb_setcolreg()
319 transp = CNVT_TOHW(transp, info->var.transp.length); in mc68x328fb_setcolreg()
446 fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1; in mc68x328fb_init()