Searched refs:modes (Results 1 - 24 of 24) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5312/
H A Dar5312_power.c77 static const char* modes[] = { local
87 modes[ah->ah_powerMode], modes[mode],
/haiku/src/servers/app/
H A DScreen.cpp130 display_mode* modes = NULL; local
132 status_t status = fHWInterface->GetModeList(&modes, &count);
138 int32 index = _FindBestMode(modes, count, width, height, colorSpace,
146 delete[] modes;
152 modes[0].timing.h_total, modes[0].timing.v_total, modes[0].space);
156 display_mode mode = modes[index];
157 delete[] modes;
252 Screen::_FindBestMode(const display_mode* modes, uint3 argument
[all...]
/haiku/src/servers/app/drawing/interface/virtual/
H A DViewHWInterface.cpp462 display_mode* modes;
464 if (GetModeList(&modes, &modeCount) != B_OK)
469 if (modes[i].virtual_width == mode.virtual_width
470 && modes[i].virtual_height == mode.virtual_height
471 && modes[i].space == mode.space) {
473 fDisplayMode = modes[i];
478 delete[] modes;
637 // setup a whole bunch of different modes
646 display_mode* modes = new(std::nothrow) display_mode[count]; local
647 if (modes
676 display_mode *modes = new(nothrow) display_mode[1]; local
[all...]
H A DDWindowHWInterface.cpp667 display_mode *modes;
669 if (GetModeList(&modes, &modeCount) != B_OK)
674 if (modes[i].virtual_width == mode.virtual_width
675 && modes[i].virtual_height == mode.virtual_height
676 && modes[i].space == mode.space) {
678 fDisplayMode = modes[i];
683 delete[] modes;
795 // setup a whole bunch of different modes
804 display_mode* modes = new(std::nothrow) display_mode[count]; local
805 if (modes
832 display_mode *modes = new(std::nothrow) display_mode[1]; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_power.c99 static const char* modes[] = { local
109 modes[ah->ah_powerMode], modes[mode],
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_power.c101 static const char* modes[] = { local
111 modes[ah->ah_powerMode], modes[mode],
/haiku/src/add-ons/accelerants/vesa/
H A Dmode.cpp75 vesa_mode* modes = gInfo->vesa_modes; local
82 if (modes[i].width == mode->virtual_width
83 && modes[i].height == mode->virtual_height
84 && get_color_space_for_depth(modes[i].bits_per_pixel)
88 if (get_color_space_for_depth(modes[i].bits_per_pixel) == mode->space)
121 // Add initial VESA modes.
136 gInfo->mode_list_area = create_display_modes("vesa modes",
197 // modes.
223 vesa_mode* modes = gInfo->vesa_modes;
227 if (modes[
[all...]
/haiku/src/add-ons/accelerants/common/
H A Dcreate_display_modes.cpp96 bool AddModes(const display_mode* modes,
290 // Add other modes from the base list that satisfy the display's
325 ModeList::AddModes(const display_mode* modes, uint32 count) argument
331 fModes[fCount++] = modes[i];
404 // various established modes that can be selected by the EDID info.
446 display_mode* modes = (display_mode*)realloc(fModes, local
448 if (modes == NULL)
451 fModes = modes;
496 ModeList modes;
498 modes
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_power.c125 static const char* modes[] = { local
135 modes[ah->ah_powerMode], modes[mode],
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_power.c130 static const char* modes[] = { local
145 modes[ah->ah_powerMode], modes[mode], setChip ? "set chip " : "");
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvesa.cpp374 vesa_mode* modes = (vesa_mode*)get_boot_item(VESA_MODES_BOOT_INFO, local
376 info.modes = modes;
391 if (modes != NULL) {
395 memcpy((uint8*)&sharedInfo + sharedSize, modes, modesSize);
472 status = vbe_get_mode_info(state, info.modes[mode].mode, &modeInfo);
479 status = vbe_set_mode(state, info.modes[mode].mode);
485 if (info.modes[mode].bits_per_pixel <= 8)
550 // Only let supported modes through
H A Dvesa_private.h31 vesa_mode* modes; member in struct:vesa_info
H A Dpatch.cpp309 * allowed video modes table. We can then patch this table to add extra video modes that the
354 dprintf(DEVICE_NAME ": unknown BIOS type, custom video modes will not be available\n");
382 // The patch replaces the 1024x768 modes with our custom resolution. We can then use
407 status = vbe_get_mode_info(state, info.modes[i].mode, &modeInfo);
412 info.modes[i].mode);
413 brokenModeIndex = info.modes[i].mode;
418 && get_color_space_for_depth(info.modes[i].bits_per_pixel) == mode.space) {
419 modeIndex = info.modes[i].mode;
442 if (info.modes[modeInde
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteHWInterface.cpp425 display_mode* modes = new(std::nothrow) display_mode[2]; local
426 if (modes == NULL)
429 modes[0] = fFallbackMode;
430 modes[1] = fClientMode;
431 *_modes = modes;
/haiku/src/servers/app/drawing/
H A DBitmapHWInterface.cpp112 BitmapHWInterface::GetModeList(display_mode** modes, uint32 *count) argument
/haiku/src/system/boot/platform/atari_m68k/
H A Dvideo.cpp44 // There are several API available to set video modes on atari platforms,
258 static int16 modes[] = { 0, /*TT:*/ 4, 7 }; local
259 for (int i = 0; i < sizeof(modes) / sizeof(int16); i++) {
267 if (Decode(modes[i], videoMode) != B_OK)
450 static int16 modes[] = { local
456 for (int i = 0; i < sizeof(modes) / sizeof(int16); i++) {
461 if (Decode(modes[i], videoMode) != B_OK)
662 static int16 modes[] = { local
668 for (int i = 0; i < sizeof(modes) / sizeof(int16); i++) {
673 if (Decode(modes[
[all...]
/haiku/src/system/boot/platform/bios_ia32/
H A Dvideo.cpp100 If \a allowPalette is true, 8-bit modes are considered, too.
136 // Only choose modes with a width less or equal than the searched
937 // report all available modes unless you've done this before
952 // store VESA modes into kernel args
953 vesa_mode *modes = (vesa_mode *)kernel_args_malloc( local
955 if (modes != NULL) {
960 modes[i].mode = mode->mode;
961 modes[i].width = mode->width;
962 modes[i].height = mode->height;
963 modes[
[all...]
/haiku/3rdparty/mmu_man/onlinedemo/
H A Dhaiku.php351 $modes = array("1024x768"/*, "800x600"*/); variable
353 if (count($modes) < 2)
360 if (count($modes) < 2)
363 foreach ($modes as $mode) {
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c439 struct ifmedia_description *modes; member in struct:ifmedia_type_to_subtype
484 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++)
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/
H A Dah_regdomain.c89 * or more frequency band entries for each of the channel modes
103 static const struct cmode modes[] = { variable in typeref:struct:cmode
639 /* get modes that HW is capable of */
683 for (cm = modes; cm < &modes[N(modes)]; cm++) {
/haiku/src/bin/network/arp/
H A Darp.cpp31 enum modes { enum
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_power.c657 static const char* modes[] = { local
667 modes[ar9300_get_power_mode(ah)], modes[mode],
/haiku/src/bin/network/route/
H A Droute.cpp32 enum modes { enum
/haiku/src/apps/bootmanager/
H A Dbootman.S104 ; video modes

Completed in 163 milliseconds