Lines Matching refs:depth
103 int i, depth;
106 depth = info->var.bits_per_pixel;
107 if (depth == 16)
108 depth = (info->var.green.length == 5) ? 15 : 16;
111 (depth == 16 && regno > 63) ||
112 (depth == 15 && regno > 31))
116 switch (depth) {
380 int width, int height, int depth,
384 unsigned long res_size = pitch * height * (depth + 7) / 8;
395 "Using unsupported %dx%d %s at %lx, depth=%d, pitch=%d\n",
396 width, height, name, address, depth, pitch);
397 if (depth != 8 && depth != 15 && depth != 16 && depth != 32) {
398 printk(KERN_ERR "%s: can't use depth = %d\n", full_name,
399 depth);
429 if (depth == 8)
435 switch (depth) {
528 int i, width = 640, height = 480, depth = 8, pitch = 640;
544 pp = of_get_property(dp, "linux,bootx-depth", &len);
546 pp = of_get_property(dp, "depth", &len);
548 depth = *pp;
568 pitch = width * ((depth + 7) / 8);
627 width, height, depth, pitch, address,