Searched refs:mode (Results 126 - 150 of 948) sorted by relevance

1234567891011>>

/haiku/src/add-ons/accelerants/et6x00/
H A DProposeDisplayMode.c48 * Validate a target display mode is both
49 * a) a valid display mode for this device and
52 * If the mode is not (or cannot) be made valid for this device, return B_ERROR.
53 * If a valid mode can be constructed, but it does not fall within the limits,
55 * If the mode is both valid AND falls within the limits, return B_OK.
61 ET6000DisplayMode mode; local
63 mode.magic = ET6000_PRIVATE_DATA_MAGIC;
64 mode.mode = *target;
65 mode
[all...]
/haiku/src/apps/mediaplayer/interface/
H A DDurationView.cpp42 uint32 mode = fMode + 1; local
43 if (mode == kLastMode)
44 mode = 0;
45 SetMode(mode);
100 DurationView::SetMode(uint32 mode) argument
102 if (mode == fMode)
105 fMode = mode;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_power.c51 * Be careful setting the AWAKE mode. When we are called
106 * fames. If request, set power mode of chip to
118 * Set power mgt to the requested mode, and conditionally set
122 ar5212SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument
135 modes[ah->ah_powerMode], modes[mode],
137 switch (mode) {
140 ah->ah_powerMode = mode;
146 ah->ah_powerMode = mode;
151 ah->ah_powerMode = mode;
154 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: unknown power mode
[all...]
/haiku/src/add-ons/accelerants/intel_810/
H A Daccelerant.h37 area_id modeListArea; // mode list area ID
99 status_t CreateModeList(bool (*checkMode)(const display_mode* mode));
100 bool IsModeUsable(const display_mode* mode);
107 uint32 I810_GetWatermark(const DisplayModeEx& mode);
109 void I810_AdjustFrame(const DisplayModeEx& mode);
110 status_t I810_SetDisplayMode(const DisplayModeEx& mode);
/haiku/src/libs/stdc++/legacy/
H A Dstrstream.cc49 strstreambase::strstreambase(char *cp, int n, int mode) argument
51 (mode == ios::app || mode == ios::ate) ? cp + strlen(cp) : cp)
108 int mode /*=ios::in|ios::out*/)
110 return _IO_str_seekoff (this, off, dir, mode);
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.h25 SelectedColorMode mode, float fixedValue,
29 ColorField(SelectedColorMode mode,
53 void SetModeAndValue(SelectedColorMode mode,
68 void _Init(SelectedColorMode mode,
76 SelectedColorMode mode,
H A DColorSlider.h22 ColorSlider(SelectedColorMode mode,
27 SelectedColorMode mode,
56 void SetModeAndValues(SelectedColorMode mode,
65 void _Init(SelectedColorMode mode,
73 SelectedColorMode mode,
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dpatch.cpp26 vbe_patch_intel_bios(bios_state* state, display_mode& mode) argument
30 timing.pixel_clock = mode.timing.pixel_clock / 10;
32 timing.h_active = mode.timing.h_display & 0xFF;
33 timing.h_active_high = (mode.timing.h_display >> 8) & 0xF;
35 uint16 h_blank = mode.timing.h_total - mode.timing.h_display;
39 timing.v_active = mode.timing.v_display & 0xFF;
40 timing.v_active_high = (mode.timing.v_display >> 8) & 0xF;
42 uint16 v_blank = mode.timing.v_total - mode
105 vbe_patch_nvidia_bios(bios_state* state, display_mode& mode) argument
255 vbe_patch_atom1_bios(vesa_info& info, bios_state* state, display_mode& mode) argument
282 vbe_patch_atom2_bios(vesa_info& info, bios_state* state, display_mode& mode) argument
364 vesa_set_custom_display_mode(vesa_info& info, display_mode& mode) argument
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteHWInterface.cpp270 TRACE_ERROR("failed to read display mode\n");
363 RemoteHWInterface::SetMode(const display_mode& mode) argument
365 TRACE("set mode: %" B_PRIu16 " %" B_PRIu16 "\n", mode.virtual_width,
366 mode.virtual_height);
367 fCurrentMode = mode;
373 RemoteHWInterface::GetMode(display_mode* mode) argument
375 if (mode == NULL || !ReadLock())
378 *mode = fCurrentMode;
381 TRACE("get mode
387 GetPreferredMode(display_mode* mode) argument
439 GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high) argument
605 _FillDisplayModeTiming(display_mode &mode) argument
[all...]
/haiku/src/add-ons/accelerants/s3/
H A Dvirge_mode.cpp41 Virge_EngineReset(const DisplayModeEx& mode) argument
45 switch (mode.bpp) {
62 WriteReg32(DEST_SRC_STR, mode.bytesPerRow | (mode.bytesPerRow << 16));
64 WriteReg32(CLIP_L_R, ((0) << 16) | mode.timing.h_display);
65 WriteReg32(CLIP_T_B, ((0) << 16) | mode.timing.v_display);
88 Virge_GEReset(const DisplayModeEx& mode) argument
137 WriteReg32(DEST_SRC_STR, mode.bytesPerRow << 16 | mode.bytesPerRow);
160 WriteReg32(DEST_SRC_STR, mode
245 Virge_WriteMode(const DisplayModeEx& mode, VirgeRegRec& regRec) argument
424 Virge_ModeInit(const DisplayModeEx& mode) argument
709 Virge_SetDisplayMode(const DisplayModeEx& mode) argument
733 Virge_AdjustFrame(const DisplayModeEx& mode) argument
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DNode.cpp41 Node::Node(Volume* volume, mode_t mode) argument
51 fNode.mode = mode;
137 Node::SetMode(uint32 mode) argument
139 ASSERT((mode & S_IFMT) == (Mode() & S_IFMT));
141 fNode.mode = mode;
234 Node::Touched(int32 mode) argument
238 switch (mode) {
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211.c143 * Identify mode capabilities.
334 int i, j, mode, rate, maxrate, r; local
351 for (mode = IEEE80211_MODE_AUTO; mode <= IEEE80211_MODE_11G; mode++) {
358 if ((ic->ic_modecaps & (1<<mode)) == 0)
360 mopt = mopts[mode];
372 if (mode == IEEE80211_MODE_AUTO)
374 rs = &ic->ic_sup_rates[mode];
377 mword = ieee80211_rate2media(ic, rate, mode);
522 ieee80211_findrate(struct ieee80211com *ic, enum ieee80211_phymode mode, int rate) argument
1018 enum ieee80211_phymode mode; local
1090 ieee80211_setmode(struct ieee80211com *ic, enum ieee80211_phymode mode) argument
1179 uint16_t mode; local
1286 ieee80211_mcs2media(struct ieee80211com *ic, int mcs, enum ieee80211_phymode mode) argument
1348 ieee80211_rate2media(struct ieee80211com *ic, int rate, enum ieee80211_phymode mode) argument
1448 ieee80211_rate2plcp(u_int8_t rate, enum ieee80211_phymode mode) argument
1483 ieee80211_plcp2rate(u_int8_t plcp, enum ieee80211_phymode mode) argument
[all...]
/haiku/src/servers/app/
H A DVirtualScreen.cpp69 display_mode mode; local
70 screen->GetMode(mode);
72 previousModes.insert(std::make_pair(screen, mode));
96 // Figure out which screens have changed their mode
97 display_mode mode; local
98 screen->GetMode(mode);
102 && memcmp(&mode, &found->second, sizeof(display_mode)))
122 display_mode mode; local
123 if (_GetMode(screen, configurations, mode) == B_OK) {
125 status = screen->SetMode(mode);
[all...]
/haiku/src/add-ons/accelerants/radeon/
H A DGetModeInfo.c6 /*! Public mode-specific info functions */
19 GET_DISPLAY_MODE(display_mode *mode) argument
26 *mode = vc->mode;
28 // we hide multi-monitor-mode because :-
30 // - the multi-mode is already adapted to current screen configuration,
31 // and the mode should be configuration-independant
32 Radeon_HideMultiMode(vc, mode);
44 // easy again, as the last mode set stored the info in a convienient form
71 radeon_get_preferred_display_mode(display_mode* mode) argument
[all...]
H A DProposeDisplayMode.c19 // standard mode list
89 /* 16:10 panel mode; 2.304M pixels */
134 Validate a target display mode is both
135 a) a valid display mode for this device and
138 If the mode is not (or cannot) be made valid for this device, return B_ERROR.
139 If a valid mode can be constructed, but it does not fall within the limits,
141 If the mode is both valid AND falls within the limits, return B_OK.
165 // don't use floating point, we are in kernel mode
398 SHOW_ERROR( 4, "not enough memory for this mode (could show only %d of %d lines)",
435 // if given mode i
440 checkAndAddMode( accelerator_info *ai, const display_mode *mode, bool ignore_timing ) argument
515 checkAndAddMultiMode( accelerator_info *ai, const display_mode *mode, bool ignore_timing ) argument
546 display_mode mode; local
[all...]
/haiku/src/build/libroot/
H A Dremapped_functions.h13 int _haiku_build_fchmod(int fd, mode_t mode);
14 int _haiku_build_fchmodat(int fd, const char* path, mode_t mode, int flag);
18 int _haiku_build_mkdirat(int fd, const char* path, mode_t mode);
19 int _haiku_build_mkfifoat(int fd, const char* path, mode_t mode);
40 int _haiku_build_mknodat(int fd, const char* name, mode_t mode, dev_t dev);
41 int _haiku_build_creat(const char* path, mode_t mode);
/haiku/src/bin/
H A Dsetversion.cpp150 processing_mode &mode, version_info &systemVersion, version_info &appVersion,
155 mode = no_switch;
159 version_info &version = mode == app_switch ? appVersion : systemVersion;
164 if (mode == app_switch)
169 mode = app_switch;
173 if (mode == sys_switch)
178 mode = sys_switch;
182 if (mode == no_switch)
187 if (mode == no_switch)
191 } else if (mode
149 parse(bool &systemModified, bool &appModified, arg_needed &argNeeded, processing_mode &mode, version_info &systemVersion, version_info &appVersion, int argc, char *argv[]) argument
316 processing_mode mode; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/
H A Dr88e_fw.c194 struct r88e_fw_cmd_pwrmode mode; local
199 mode.mode = R88E_PWRMODE_LEG;
205 mode.pwr_state = R88E_PWRMODE_STATE_RFOFF;
207 mode.pwr_state = R88E_PWRMODE_STATE_RFON;
210 mode.mode = R88E_PWRMODE_CAM;
211 mode.pwr_state = R88E_PWRMODE_STATE_ALLON;
213 mode.pwrb1 =
217 mode
[all...]
/haiku/src/libs/glut/
H A DglutGameMode.h15 /*! All information needed for game mode and
41 static int _GetModeRefreshRate(const display_mode* mode);
42 static int _GetModePixelDepth(const display_mode* mode);
/haiku/src/libs/libtelnet/
H A Dencrypt.c83 int EncryptType(char *type, char *mode);
84 int EncryptStart(char *mode);
85 int EncryptStop(char *mode);
233 EncryptEnable(char *type, char *mode) argument
240 if (EncryptType(type, mode))
241 return(EncryptStart(mode));
246 EncryptDisable(char *type, char *mode) argument
260 if ((mode == 0) || (isprefix(mode, "input") ? 1 : 0)) {
266 if ((mode
279 EncryptType(char *type, char *mode) argument
310 EncryptStart(char *mode) argument
353 EncryptStop(char *mode) argument
[all...]
/haiku/src/system/libroot/posix/glibc/include/
H A Dfcntl.h12 extern int __libc_creat (const char *file, mode_t mode);
/haiku/src/tests/servers/app/benchmark/
H A DTestWindow.h25 drawing_mode mode, bool useClipping,
41 drawing_mode mode, bool useClipping,
/haiku/headers/os/kernel/
H A Dscheduler.h66 status_t set_scheduler_mode(int32 mode);
78 status_t set_scheduler_mode(int32 mode);
/haiku/src/add-ons/kernel/bus_managers/isa/
H A Disa_arch.h30 uchar mode, uchar e_mode);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DInode.cpp13 Inode::Inode(const char *name,int32 mode) argument
15 fMode(mode)

Completed in 151 milliseconds

1234567891011>>