Lines Matching refs:fix
316 int (*encode_fix)( struct fb_fix_screeninfo *fix,
459 static int tt_encode_fix( struct fb_fix_screeninfo *fix, in tt_encode_fix() argument
465 strcpy(fix->id,"Atari Builtin"); in tt_encode_fix()
466 fix->smem_start = (unsigned long)real_screen_base; in tt_encode_fix()
467 fix->smem_len = screen_len; in tt_encode_fix()
468 fix->type=FB_TYPE_INTERLEAVED_PLANES; in tt_encode_fix()
469 fix->type_aux=2; in tt_encode_fix()
470 fix->visual=FB_VISUAL_PSEUDOCOLOR; in tt_encode_fix()
473 fix->type=FB_TYPE_PACKED_PIXELS; in tt_encode_fix()
474 fix->type_aux=0; in tt_encode_fix()
476 fix->visual=FB_VISUAL_MONO01; in tt_encode_fix()
478 fix->xpanstep=0; in tt_encode_fix()
479 fix->ypanstep=1; in tt_encode_fix()
480 fix->ywrapstep=0; in tt_encode_fix()
481 fix->line_length = 0; in tt_encode_fix()
482 fix->accel = FB_ACCEL_ATARIBLITT; in tt_encode_fix()
795 static int falcon_encode_fix( struct fb_fix_screeninfo *fix, in falcon_encode_fix() argument
798 strcpy(fix->id, "Atari Builtin"); in falcon_encode_fix()
799 fix->smem_start = (unsigned long)real_screen_base; in falcon_encode_fix()
800 fix->smem_len = screen_len; in falcon_encode_fix()
801 fix->type = FB_TYPE_INTERLEAVED_PLANES; in falcon_encode_fix()
802 fix->type_aux = 2; in falcon_encode_fix()
803 fix->visual = FB_VISUAL_PSEUDOCOLOR; in falcon_encode_fix()
804 fix->xpanstep = 1; in falcon_encode_fix()
805 fix->ypanstep = 1; in falcon_encode_fix()
806 fix->ywrapstep = 0; in falcon_encode_fix()
808 fix->type = FB_TYPE_PACKED_PIXELS; in falcon_encode_fix()
809 fix->type_aux = 0; in falcon_encode_fix()
811 fix->xpanstep = 32; in falcon_encode_fix()
814 fix->type = FB_TYPE_PACKED_PIXELS; in falcon_encode_fix()
815 fix->type_aux = 0; in falcon_encode_fix()
817 fix->visual = FB_VISUAL_TRUECOLOR; in falcon_encode_fix()
818 fix->xpanstep = 2; in falcon_encode_fix()
820 fix->line_length = 0; in falcon_encode_fix()
821 fix->accel = FB_ACCEL_ATARIBLITT; in falcon_encode_fix()
1755 static int stste_encode_fix( struct fb_fix_screeninfo *fix, in stste_encode_fix() argument
1761 strcpy(fix->id,"Atari Builtin"); in stste_encode_fix()
1762 fix->smem_start = (unsigned long)real_screen_base; in stste_encode_fix()
1763 fix->smem_len = screen_len; in stste_encode_fix()
1764 fix->type = FB_TYPE_INTERLEAVED_PLANES; in stste_encode_fix()
1765 fix->type_aux = 2; in stste_encode_fix()
1766 fix->visual = FB_VISUAL_PSEUDOCOLOR; in stste_encode_fix()
1769 fix->type = FB_TYPE_PACKED_PIXELS; in stste_encode_fix()
1770 fix->type_aux = 0; in stste_encode_fix()
1771 fix->visual = FB_VISUAL_MONO10; in stste_encode_fix()
1774 fix->xpanstep = 16; in stste_encode_fix()
1775 fix->ypanstep = 1; in stste_encode_fix()
1777 fix->xpanstep = 0; in stste_encode_fix()
1778 fix->ypanstep = 0; in stste_encode_fix()
1780 fix->ywrapstep = 0; in stste_encode_fix()
1781 fix->line_length = 0; in stste_encode_fix()
1782 fix->accel = FB_ACCEL_ATARIBLITT; in stste_encode_fix()
2101 static int ext_encode_fix( struct fb_fix_screeninfo *fix, in ext_encode_fix() argument
2105 strcpy(fix->id,"Unknown Extern"); in ext_encode_fix()
2106 fix->smem_start = (unsigned long)external_addr; in ext_encode_fix()
2107 fix->smem_len = PAGE_ALIGN(external_len); in ext_encode_fix()
2109 fix->type = FB_TYPE_PACKED_PIXELS; in ext_encode_fix()
2112 fix->visual = in ext_encode_fix()
2125 fix->type=FB_TYPE_PACKED_PIXELS; in ext_encode_fix()
2126 fix->visual=FB_VISUAL_TRUECOLOR; in ext_encode_fix()
2129 fix->type=FB_TYPE_PACKED_PIXELS; in ext_encode_fix()
2130 fix->visual=visual; in ext_encode_fix()
2133 fix->type=FB_TYPE_PLANES; in ext_encode_fix()
2134 fix->visual=visual; in ext_encode_fix()
2137 fix->type=FB_TYPE_INTERLEAVED_PLANES; in ext_encode_fix()
2138 fix->type_aux=2; in ext_encode_fix()
2139 fix->visual=visual; in ext_encode_fix()
2143 fix->xpanstep = 0; in ext_encode_fix()
2144 fix->ypanstep = 0; in ext_encode_fix()
2145 fix->ywrapstep = 0; in ext_encode_fix()
2146 fix->line_length = 0; in ext_encode_fix()
2428 atafb_get_fix(struct fb_fix_screeninfo *fix, int con, struct fb_info *info) in atafb_get_fix() argument
2438 memset(fix, 0, sizeof(struct fb_fix_screeninfo)); in atafb_get_fix()
2439 return fbhw->encode_fix(fix, &par); in atafb_get_fix()
2458 struct fb_fix_screeninfo fix; in atafb_set_disp() local
2467 atafb_get_fix(&fix, con, info); in atafb_set_disp()
2471 display->screen_base = (void *)fix.smem_start; in atafb_set_disp()
2472 display->visual = fix.visual; in atafb_set_disp()
2473 display->type = fix.type; in atafb_set_disp()
2474 display->type_aux = fix.type_aux; in atafb_set_disp()
2475 display->ypanstep = fix.ypanstep; in atafb_set_disp()
2476 display->ywrapstep = fix.ywrapstep; in atafb_set_disp()
2477 display->line_length = fix.line_length; in atafb_set_disp()
2478 if (fix.visual != FB_VISUAL_PSEUDOCOLOR && in atafb_set_disp()
2479 fix.visual != FB_VISUAL_DIRECTCOLOR) in atafb_set_disp()
2484 (fix.visual == FB_VISUAL_MONO01 ? !inverse : inverse); in atafb_set_disp()
2485 switch (fix.type) { in atafb_set_disp()