Lines Matching refs:printf
99 printf("/* THIS FILE IS AUTOMATICALLY GENERATED - DO NOT EDIT */\n\n");
100 printf("#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB %d\n\n", VBE_DISPI_TOTAL_VIDEO_MEMORY_MB);
101 printf("static ModeInfoListItem mode_info_list[]=\n");
102 printf("{\n");
110 printf("{ 0x%04x, /* %dx%dx%d */\n",
113 printf("{ /*Bit16u ModeAttributes*/ %s,\n",
120 printf("{ /*Bit16u ModeAttributes*/ %s,\n",
126 printf("/*Bit8u WinAAttributes*/ %s,\n",
131 printf("/*Bit8u WinBAttributes*/ %d,\n", 0);
133 printf("/*Bit16u WinGranularity*/ %s,\n", "VBE_DISPI_BANK_SIZE_KB");
135 printf("/*Bit16u WinSize*/ %s,\n", "VBE_DISPI_BANK_SIZE_KB");
137 printf("/*Bit16u WinASegment*/ %s,\n", "VGAMEM_GRAPH");
139 printf("/*Bit16u WinBSegment*/ 0x%04x,\n", 0);
141 printf("/*Bit32u WinFuncPtr*/ %d,\n", 0);
143 printf("/*Bit16u BytesPerScanLine*/ %d,\n", pitch);
146 printf("/*Bit16u XResolution*/ %d,\n", pm->width);
147 printf("/*Bit16u YResolution*/ %d,\n", pm->height);
148 printf("/*Bit8u XCharSize*/ %d,\n", 8);
149 printf("/*Bit8u YCharSize*/ %d,\n", 16);
151 printf("/*Bit8u NumberOfPlanes*/ %d,\n", 4);
153 printf("/*Bit8u NumberOfPlanes*/ %d,\n", 1);
155 printf("/*Bit8u BitsPerPixel*/ %d,\n", pm->depth);
156 printf("/*Bit8u NumberOfBanks*/ %d,\n",
165 printf("/*Bit8u MemoryModel*/ %s,\n", str);
166 printf("/*Bit8u BankSize*/ %d,\n", 0);
168 printf("/*Bit8u NumberOfImagePages*/ %d,\n", (pages / 4) - 1);
170 printf("/*Bit8u NumberOfImagePages*/ %d,\n", pages - 1);
171 printf("/*Bit8u Reserved_page*/ %d,\n", 0);
227 printf("/*Bit8u RedMaskSize*/ %d,\n", r_size);
228 printf("/*Bit8u RedFieldPosition*/ %d,\n", r_pos);
229 printf("/*Bit8u GreenMaskSize*/ %d,\n", g_size);
230 printf("/*Bit8u GreenFieldPosition*/ %d,\n", g_pos);
231 printf("/*Bit8u BlueMaskSize*/ %d,\n", b_size);
232 printf("/*Bit8u BlueFieldPosition*/ %d,\n", b_pos);
233 printf("/*Bit8u RsvdMaskSize*/ %d,\n", a_size);
234 printf("/*Bit8u RsvdFieldPosition*/ %d,\n", a_pos);
236 printf("/*Bit8u DirectColorModeInfo*/ %s,\n",
239 printf("/*Bit8u DirectColorModeInfo*/ %s,\n", "0");
243 printf("/*Bit32u PhysBasePtr*/ %s,\n",
246 printf("/*Bit32u PhysBasePtr*/ %s,\n", "0");
247 printf("/*Bit32u OffScreenMemOffset*/ %d,\n", 0);
248 printf("/*Bit16u OffScreenMemSize*/ %d,\n", 0);
250 printf("/*Bit16u LinBytesPerScanLine*/ %d,\n", pitch);
251 printf("/*Bit8u BnkNumberOfPages*/ %d,\n", 0);
252 printf("/*Bit8u LinNumberOfPages*/ %d,\n", 0);
253 printf("/*Bit8u LinRedMaskSize*/ %d,\n", r_size);
254 printf("/*Bit8u LinRedFieldPosition*/ %d,\n", r_pos);
255 printf("/*Bit8u LinGreenMaskSize*/ %d,\n", g_size);
256 printf("/*Bit8u LinGreenFieldPosition*/ %d,\n", g_pos);
257 printf("/*Bit8u LinBlueMaskSize*/ %d,\n", b_size);
258 printf("/*Bit8u LinBlueFieldPosition*/ %d,\n", b_pos);
259 printf("/*Bit8u LinRsvdMaskSize*/ %d,\n", a_size);
260 printf("/*Bit8u LinRsvdFieldPosition*/ %d,\n", a_pos);
261 printf("/*Bit32u MaxPixelClock*/ %d,\n", 0);
262 printf("} },\n");
265 printf("{ VBE_VESA_MODE_END_OF_LIST,\n");
266 printf("{ 0,\n");
267 printf("} },\n");
268 printf("};\n");