Lines Matching refs:regs

133 	bios_regs regs = {};
134 regs.eax = 0x4f01;
135 regs.ecx = mode;
136 regs.es = physicalAddress >> 4;
137 regs.edi = physicalAddress - (regs.es << 4);
139 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
146 if ((regs.eax & 0xffff) != 0x4f) {
148 "0x%04" B_PRIx32 "\n", mode, regs.eax & 0xffff);
160 bios_regs regs = {};
161 regs.eax = 0x4f02;
162 regs.ebx = (mode & SET_MODE_MASK) | SET_MODE_LINEAR_BUFFER;
164 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
171 if ((regs.eax & 0xffff) != 0x4f) {
173 "\n", mode, regs.eax & 0xffff);
203 bios_regs regs = {};
204 regs.eax = 0x4f10;
205 regs.ebx = 0;
206 regs.esi = 0;
207 regs.edi = 0;
209 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
216 if ((regs.eax & 0xffff) != 0x4f) {
218 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);
222 vbeMode = regs.ebx >> 8;
233 bios_regs regs = {};
234 regs.eax = 0x4f08;
235 regs.ebx = (bits << 8) | 1;
237 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
244 if ((regs.eax & 0xffff) != 0x4f) {
246 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);
250 info.bits_per_gun = regs.ebx >> 8;
265 bios_regs regs = {};
266 regs.eax = 0x4f00;
267 regs.es = physicalAddress >> 4;
268 regs.edi = physicalAddress - (regs.es << 4);
270 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
277 if ((regs.eax & 0xffff) != 0x4f) {
279 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);
519 bios_regs regs = {};
520 regs.eax = 0x4f10;
521 regs.ebx = 2;
522 regs.esi = 0;
523 regs.edi = 0;
525 status = sBIOSModule->interrupt(state, 0x10, &regs);
532 if ((regs.eax & 0xffff) != 0x4f) {
534 "0x%" B_PRIx32 "\n", regs.eax & 0xffff);
539 mode = vbe_to_system_dpms(regs.ebx >> 8);
569 bios_regs regs = {};
570 regs.eax = 0x4f10;
571 regs.ebx = (vbeMode << 8) | 1;
572 regs.esi = 0;
573 regs.edi = 0;
575 status = sBIOSModule->interrupt(state, 0x10, &regs);
582 if ((regs.eax & 0xffff) != 0x4f) {
584 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);
599 bios_regs regs = {};
636 regs.eax = 0x4f09;
637 regs.ebx = 0;
638 regs.ecx = count;
639 regs.edx = first;
640 regs.es = physicalAddress >> 4;
641 regs.edi = physicalAddress - (regs.es << 4);
643 status = sBIOSModule->interrupt(state, 0x10, &regs);
650 if ((regs.eax & 0xffff) != 0x4f) {
652 "0x%04" B_PRIx32 "\n", regs.eax & 0xffff);