Searched refs:low (Results 1 - 25 of 137) sorted by relevance

123456

/haiku/headers/private/kernel/arch/x86/64/
H A Dcpu.h19 uint64_t high, low; local
20 asm volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr));
21 return (high << 32) | low;
/haiku/src/preferences/screen/
H A Dmultimon.cpp22 PrepareTunnel(display_mode *mode, display_mode *low, display_mode *high) argument
27 mode->space = low->space = high->space = 0;
28 low->virtual_width = 0xffff;
29 low->virtual_height = 0xffff;
33 low->timing.pixel_clock = 'TKTK';
42 display_mode mode, low, high; local
49 PrepareTunnel(&mode, &low, &high);
54 result = screen->ProposeMode(&mode, &low, &high);
68 display_mode mode, low, high; local
75 PrepareTunnel(&mode, &low,
90 display_mode mode, low, high; local
192 display_mode low, high; local
[all...]
/haiku/src/add-ons/accelerants/matrox/
H A DGetModeInfo.c44 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
50 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
61 *low = ((si->ps.min_video_vco * 1000) / 16);
64 *low = ((si->ps.min_video_vco * 1000) / 8);
100 *low = ((si->ps.min_pixel_vco * 1000) / 16);
103 *low = ((si->ps.min_pixel_vco * 1000) / 8);
135 if (min_pclk > *low) *low = min_pclk;
H A DProposeDisplayMode.c101 Check mode is between low and high limits
109 * returns B_BAD_VALUE. It's called by the OS with target, low and high set to
119 status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument
183 if ((target->virtual_width < low->virtual_width) ||
191 if ((target->timing.h_display < low->timing.h_display) ||
193 (target->timing.h_sync_start < low->timing.h_sync_start) ||
195 (target->timing.h_sync_end < low->timing.h_sync_end) ||
197 (target->timing.h_total < low->timing.h_total) ||
201 if ((target->timing.h_display < low->timing.h_display) ||
211 (target->timing.v_display < low
482 low, local
[all...]
/haiku/src/tests/system/libroot/posix/
H A Dtest_wcfuncs.c35 wint_t low = towlower(ch); local
37 if ((ch != low) || (up == ch) || (up == low)) {
46 wint_t low = towlower(ch); local
50 if ((ch != up) || (low == ch) || (up == low)) {
/haiku/src/add-ons/accelerants/neomagic/
H A DGetModeInfo.c37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
43 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
52 *low = (si->ps.min_pixel_vco * 1000);
81 if (min_pclk > *low) *low = min_pclk;
H A DProposeDisplayMode.c46 Check mode is between low and high limits
54 * returns B_BAD_VALUE. It's called by the OS with target, low and high set to
64 status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument
174 if ((target->virtual_width < low->virtual_width) ||
182 if ((target->timing.h_display < low->timing.h_display) ||
184 (target->timing.h_sync_start < low->timing.h_sync_start) ||
186 (target->timing.h_sync_end < low->timing.h_sync_end) ||
188 (target->timing.h_total < low->timing.h_total) ||
192 if ((target->timing.h_display < low->timing.h_display) ||
202 (target->timing.v_display < low
350 low, local
[all...]
/haiku/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingModeSelect.h31 compare(uint8* p, const rgb_color& high, const rgb_color& low, rgb_color* result) argument
38 result->red = low.red;
39 result->green = low.green;
40 result->blue = low.blue;
42 } else if (_p.data8[2] == low.red &&
43 _p.data8[1] == low.green &&
44 _p.data8[0] == low.blue) {
61 rgb_color low = pattern->LowColor(); local
63 if (compare(p, high, low, &color)) {
81 rgb_color low local
111 rgb_color low = pattern->LowColor(); local
139 rgb_color low = pattern->LowColor(); local
167 rgb_color low = pattern->LowColor(); local
[all...]
H A DDrawingModeSelectSUBPIX.h30 rgb_color low = pattern->LowColor(); local
37 if (compare(p, high, low, &color)){
/haiku/src/add-ons/accelerants/et6x00/
H A DGetModeInfo.c37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) { argument
51 *low = (totalPix * 48L) / 1000L;
52 if (*low > clockLimit) return B_ERROR;
H A DProposeDisplayMode.c50 * b) falls between the contraints imposed by "low" and "high"
58 const display_mode *low,
94 display_mode *dst, low, high; local
115 low = high = *src;
117 pixelClockRange = low.timing.pixel_clock >> 5;
118 low.timing.pixel_clock -= pixelClockRange;
127 dst->space = low.space = high.space = spaces[j];
129 if (PROPOSE_DISPLAY_MODE(dst, &low, &high) != B_ERROR) {
57 PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument
/haiku/src/add-ons/accelerants/skeleton/
H A DGetModeInfo.c41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
57 *low = ((si->ps.min_video_vco * 1000) / 16);
93 *low = ((si->ps.min_pixel_vco * 1000) / 16);
151 if (min_pclk > *low) *low = min_pclk;
H A DProposeDisplayMode.c93 Check mode is between low and high limits
101 * returns B_BAD_VALUE. It's called by the OS with target, low and high set to
111 status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument
301 if ((target->virtual_width < low->virtual_width) ||
309 if ((target->timing.h_display < low->timing.h_display) ||
311 (target->timing.h_sync_start < low->timing.h_sync_start) ||
313 (target->timing.h_sync_end < low->timing.h_sync_end) ||
315 (target->timing.h_total < low->timing.h_total) ||
319 if ((target->timing.h_display < low->timing.h_display) ||
329 (target->timing.v_display < low
532 low, local
[all...]
/haiku/src/add-ons/accelerants/via/
H A DGetModeInfo.c41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
57 *low = ((si->ps.min_video_vco * 1000) / 16);
93 *low = ((si->ps.min_pixel_vco * 1000) / 16);
151 if (min_pclk > *low) *low = min_pclk;
H A DProposeDisplayMode.c95 Check mode is between low and high limits
103 * returns B_BAD_VALUE. It's called by the OS with target, low and high set to
113 status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument
303 if ((target->virtual_width < low->virtual_width) ||
311 if ((target->timing.h_display < low->timing.h_display) ||
313 (target->timing.h_sync_start < low->timing.h_sync_start) ||
315 (target->timing.h_sync_end < low->timing.h_sync_end) ||
317 (target->timing.h_total < low->timing.h_total) ||
321 if ((target->timing.h_display < low->timing.h_display) ||
331 (target->timing.v_display < low
534 low, local
[all...]
/haiku/headers/private/kernel/arch/x86/
H A Darch_cpuasm.h74 uint32 low, high; \
75 __asm__ volatile ("xgetbv" : "=a" (low), "=d" (high), "c" (reg)); \
76 (low | (uint64)high << 32); \
80 uint32 low = value; uint32 high = value >> 32; \
81 __asm__ volatile ("xsetbv" : : "a" (low), "d" (high), "c" (reg)); }
/haiku/src/libs/compat/freebsd_network/
H A Dunit.cpp28 new_unrhdr(int low, int high, struct mtx* mutex) argument
31 uint32 maxIdCount = high - low + 1;
33 KASSERT(low <= high,
34 ("ID-Store: use error: %s(%u, %u)", __func__, low, high));
51 idStore->idBias = low;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h39 vm_paddr_t low, vm_paddr_t high, unsigned long alignment,
49 #define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \
50 _kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
59 # define contigmalloc(size, type, flags, low, high, alignment, boundary) \
60 _kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
/haiku/headers/private/kernel/util/
H A DBitUtils.h95 T low = 0; local
97 low = bits[i - 1] >> (bitsPerElement - nBits);
99 bits[i] = low | high;
104 const T low = bits[i] >> nBits; local
108 bits[i] = low | high;
/haiku/src/system/boot/arch/x86/
H A Darch_cpu.cpp75 uint128(uint64 low, uint64 high = 0) argument
77 low(low),
84 return high < other.high || (high == other.high && low < other.low);
101 return uint128(0, low << (count - 64));
103 return uint128(low << count, (high << count) | (low >> (64 - count)));
117 return uint128((low >> count) | (high << (64 - count)), high >> count);
122 uint64 resultLow = low
170 uint64 low; member in struct:uint128
[all...]
/haiku/src/add-ons/accelerants/nvidia/
H A DGetModeInfo.c41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
57 *low = ((si->ps.min_video_vco * 1000) / 16);
93 *low = ((si->ps.min_pixel_vco * 1000) / 16);
151 if (min_pclk > *low) *low = min_pclk;
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DBitArray.cpp116 if (m_RangeCoderInfo.low < (0xFF << SHIFT_BITS)) \
120 m_RangeCoderInfo.buffer = (m_RangeCoderInfo.low >> SHIFT_BITS); \
122 else if (m_RangeCoderInfo.low & TOP_VALUE) \
127 m_RangeCoderInfo.buffer = (m_RangeCoderInfo.low >> SHIFT_BITS); \
134 m_RangeCoderInfo.low = (m_RangeCoderInfo.low << 8) & (TOP_VALUE - 1); \
142 m_RangeCoderInfo.low += nTemp * (RANGE_TOTAL);
147 m_RangeCoderInfo.low += m_RangeCoderInfo.range * (VALUE);
288 m_RangeCoderInfo.low += nTemp * nBaseA;
295 m_RangeCoderInfo.low
[all...]
H A DUnBitArray.cpp113 m_RangeCoderInfo.low = (m_RangeCoderInfo.low << 8)
120 return m_RangeCoderInfo.low / m_RangeCoderInfo.range;
131 m_RangeCoderInfo.low = (m_RangeCoderInfo.low << 8)
138 int nRetVal = m_RangeCoderInfo.low / m_RangeCoderInfo.range;
139 m_RangeCoderInfo.low -= m_RangeCoderInfo.range * nRetVal;
170 m_RangeCoderInfo.low -= m_RangeCoderInfo.range
199 m_RangeCoderInfo.low = (m_RangeCoderInfo.low <<
[all...]
/haiku/headers/private/shared/
H A Dbinary-utils.h21 #define BITMASK(high, low) ((unsigned long long)(BitMask<high, low>::value))
/haiku/src/add-ons/accelerants/common/
H A Dvalidate_display_mode.cpp134 is_display_mode_within_bounds(display_mode& mode, const display_mode& low, argument
138 if (mode.timing.h_display < low.timing.h_display
140 || mode.timing.h_sync_start < low.timing.h_sync_start
142 || mode.timing.h_sync_end < low.timing.h_sync_end
144 || mode.timing.h_total < low.timing.h_total
149 if (mode.timing.v_display < low.timing.v_display
151 || mode.timing.v_sync_start < low.timing.v_sync_start
153 || mode.timing.v_sync_end < low.timing.v_sync_end
155 || mode.timing.v_total < low.timing.v_total
161 || mode.timing.pixel_clock < low
[all...]

Completed in 266 milliseconds

123456