Lines Matching defs:state

30 /*!	Loads the BIOS module and sets up a state for it. The BIOS module is only
34 vbe_call_prepare(bios_state** state)
45 status = sBIOSModule->prepare(state);
47 dprintf(DEVICE_NAME ": failed to prepare BIOS state: %s\n",
57 vbe_call_finish(bios_state* state)
59 sBIOSModule->finish(state);
124 vbe_get_mode_info(bios_state* state, uint16 mode, struct vbe_mode_info* modeInfo)
126 void* vbeModeInfo = sBIOSModule->allocate_mem(state,
132 uint32 physicalAddress = sBIOSModule->physical_address(state, vbeModeInfo);
139 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
158 vbe_set_mode(bios_state* state, uint16 mode)
164 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
197 vbe_get_dpms_capabilities(bios_state* state, uint32& vbeMode, uint32& mode)
209 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
229 vbe_set_bits_per_gun(bios_state* state, vesa_info& info, uint8 bits)
237 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
260 vbe_get_vesa_info(bios_state* state, vesa_info& info)
262 vbe_info_block* infoHeader = (vbe_info_block*)sBIOSModule->allocate_mem(state, 256);
263 phys_addr_t physicalAddress = sBIOSModule->physical_address(state, infoHeader);
270 status_t status = sBIOSModule->interrupt(state, 0x10, &regs);
284 strlcpy(info.shared_info->name, (char*)sBIOSModule->virtual_address(state,
418 bios_state* state;
419 status_t status = vbe_call_prepare(&state);
432 vesa_identify_bios(state, &sharedInfo);
436 vbe_get_dpms_capabilities(state, info.vbe_dpms_capabilities,
439 vbe_set_bits_per_gun(state, info, 8);
441 vbe_call_finish(state);
465 bios_state* state;
466 status_t status = vbe_call_prepare(&state);
472 status = vbe_get_mode_info(state, info.modes[mode].mode, &modeInfo);
479 status = vbe_set_mode(state, info.modes[mode].mode);
486 vbe_set_bits_per_gun(state, info, 8);
502 vbe_call_finish(state);
514 bios_state* state;
515 status_t status = vbe_call_prepare(&state);
525 status = sBIOSModule->interrupt(state, 0x10, &regs);
542 vbe_call_finish(state);
564 bios_state* state;
565 status_t status = vbe_call_prepare(&state);
575 status = sBIOSModule->interrupt(state, 0x10, &regs);
590 vbe_call_finish(state);
606 bios_state* state;
607 status_t status = vbe_call_prepare(&state);
611 uint8* palette = (uint8*)sBIOSModule->allocate_mem(state, 256 * 4);
635 physicalAddress = sBIOSModule->physical_address(state, palette);
643 status = sBIOSModule->interrupt(state, 0x10, &regs);
657 vbe_call_finish(state);