Lines Matching refs:macfb_defined
172 static struct fb_var_screeninfo macfb_defined={ variable
235 memcpy(var, &macfb_defined, sizeof(struct fb_var_screeninfo)); in macfb_get_var()
318 if (var->xres != macfb_defined.xres || in macfb_set_var()
319 var->yres != macfb_defined.yres || in macfb_set_var()
320 var->xres_virtual != macfb_defined.xres_virtual || in macfb_set_var()
321 var->yres_virtual != macfb_defined.yres || in macfb_set_var()
323 var->bits_per_pixel != macfb_defined.bits_per_pixel || in macfb_set_var()
772 (red << macfb_defined.red.offset) | in macfb_setcolreg()
773 (green << macfb_defined.green.offset) | in macfb_setcolreg()
774 (blue << macfb_defined.blue.offset); in macfb_setcolreg()
783 (red << macfb_defined.red.offset) | in macfb_setcolreg()
784 (green << macfb_defined.green.offset) | in macfb_setcolreg()
785 (blue << macfb_defined.blue.offset); in macfb_setcolreg()
916 macfb_defined.xres = video_width; in macfb_init()
917 macfb_defined.yres = video_height; in macfb_init()
918 macfb_defined.xres_virtual = video_width; in macfb_init()
919 macfb_defined.yres_virtual = video_height; in macfb_init()
920 macfb_defined.bits_per_pixel = video_bpp; in macfb_init()
921 macfb_defined.height = PIXEL_TO_MM(macfb_defined.yres); in macfb_init()
922 macfb_defined.width = PIXEL_TO_MM(macfb_defined.xres); in macfb_init()
925 macfb_defined.yres_virtual = video_height; in macfb_init()
928 macfb_defined.pixclock = 10000000 / video_width * 1000 / video_height; in macfb_init()
929 macfb_defined.left_margin = (video_width / 8) & 0xf8; in macfb_init()
930 macfb_defined.right_margin = 32; in macfb_init()
931 macfb_defined.upper_margin = 16; in macfb_init()
932 macfb_defined.lower_margin = 4; in macfb_init()
933 macfb_defined.hsync_len = (video_width / 8) & 0xf8; in macfb_init()
934 macfb_defined.vsync_len = 4; in macfb_init()
946 macfb_defined.red.length = video_bpp; in macfb_init()
947 macfb_defined.green.length = video_bpp; in macfb_init()
948 macfb_defined.blue.length = video_bpp; in macfb_init()
953 macfb_defined.transp.offset = 15; in macfb_init()
954 macfb_defined.transp.length = 1; in macfb_init()
955 macfb_defined.red.offset = 10; in macfb_init()
956 macfb_defined.red.length = 5; in macfb_init()
957 macfb_defined.green.offset = 5; in macfb_init()
958 macfb_defined.green.length = 5; in macfb_init()
959 macfb_defined.blue.offset = 0; in macfb_init()
960 macfb_defined.blue.length = 5; in macfb_init()
972 macfb_defined.red.offset = 16; in macfb_init()
973 macfb_defined.red.length = 8; in macfb_init()
974 macfb_defined.green.offset = 8; in macfb_init()
975 macfb_defined.green.length = 8; in macfb_init()
976 macfb_defined.blue.offset = 0; in macfb_init()
977 macfb_defined.blue.length = 8; in macfb_init()
1013 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1018 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1023 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1053 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1076 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1084 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1096 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1110 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1121 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1130 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1148 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1158 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()
1213 macfb_defined.activate = FB_ACTIVATE_NOW; in macfb_init()