/haiku/headers/private/kernel/arch/x86/64/ |
H A D | cpu.h | 19 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 D | multimon.cpp | 22 PrepareTunnel(display_mode *mode, display_mode *low, display_mode *high) argument 27 mode->space = low->space = high->space = 0; 30 high->virtual_width = 0; 31 high->virtual_height = 0; 34 high->timing.pixel_clock = 'KTKT'; 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, &high); 90 display_mode mode, low, high; local 192 display_mode low, high; local [all...] |
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeSelect.h | 31 compare(uint8* p, const rgb_color& high, const rgb_color& low, rgb_color* result) argument 35 if (_p.data8[2] == high.red && 36 _p.data8[1] == high.green && 37 _p.data8[0] == high.blue) { 45 result->red = high.red; 46 result->green = high.green; 47 result->blue = high.blue; 60 rgb_color high = pattern->HighColor(); local 63 if (compare(p, high, low, &color)) { 80 rgb_color high local 110 rgb_color high = pattern->HighColor(); local 138 rgb_color high = pattern->HighColor(); local 166 rgb_color high = pattern->HighColor(); local [all...] |
H A D | DrawingModeSelectSUBPIX.h | 29 rgb_color high = pattern->HighColor(); local 37 if (compare(p, high, low, &color)){
|
/haiku/src/add-ons/accelerants/et6x00/ |
H A D | ProposeDisplayMode.c | 50 * b) falls between the contraints imposed by "low" and "high" 59 const display_mode *high) 94 display_mode *dst, low, high; local 115 low = high = *src; 119 high.timing.pixel_clock += pixelClockRange; 121 high.virtual_width = 2048; 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
|
H A D | GetModeInfo.c | 37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) { argument 53 *high = clockLimit;
|
/haiku/headers/private/kernel/arch/x86/ |
H A D | arch_cpuasm.h | 74 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/add-ons/accelerants/neomagic/ |
H A D | ProposeDisplayMode.c | 21 /* Standard VESA modes within NM2380 range, which is the high-end supported NeoMagic card */ 46 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 175 (target->virtual_width > high->virtual_width)) 183 (target->timing.h_display > high->timing.h_display) || 185 (target->timing.h_sync_start > high->timing.h_sync_start) || 187 (target->timing.h_sync_end > high->timing.h_sync_end) || 189 (target->timing.h_total > high->timing.h_total)) 193 (target->timing.h_display > high 351 high; local [all...] |
H A D | GetModeInfo.c | 37 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; 74 *high = max_pclk * 1000;
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | malloc.h | 39 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 D | BitUtils.h | 98 const T high = bits[i] << nBits; local 99 bits[i] = low | high; 105 T high = 0; local 107 high = bits[i + 1] << (bitsPerElement - nBits); 108 bits[i] = low | high;
|
/haiku/src/system/boot/arch/x86/ |
H A D | arch_cpu.cpp | 75 uint128(uint64 low, uint64 high = 0) 78 high(high) 84 return high < other.high || (high == other.high && low < other.low); 103 return uint128(low << count, (high << count) | (low >> (64 - count))); 115 return uint128(high >> (count - 64), 0); 117 return uint128((low >> count) | (high << (6 171 uint64 high; member in struct:uint128 [all...] |
/haiku/headers/private/shared/ |
H A D | binary-utils.h | 21 #define BITMASK(high, low) ((unsigned long long)(BitMask<high, low>::value)) 59 NOTE: broken for high bit indices
|
/haiku/src/add-ons/accelerants/matrox/ |
H A D | GetModeInfo.c | 44 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; 90 *high = max_pclk * 1000; 128 *high = max_pclk * 1000;
|
H A D | ProposeDisplayMode.c | 101 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 184 (target->virtual_width > high->virtual_width)) 192 (target->timing.h_display > high->timing.h_display) || 194 (target->timing.h_sync_start > high->timing.h_sync_start) || 196 (target->timing.h_sync_end > high->timing.h_sync_end) || 198 (target->timing.h_total > high->timing.h_total)) 202 (target->timing.h_display > high->timing.h_display)) 212 (target->timing.v_display > high 483 high; local [all...] |
/haiku/src/add-ons/accelerants/skeleton/ |
H A D | GetModeInfo.c | 41 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; 84 *high = max_pclk * 1000; 144 *high = max_pclk * 1000;
|
H A D | ProposeDisplayMode.c | 93 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 302 (target->virtual_width > high->virtual_width)) 310 (target->timing.h_display > high->timing.h_display) || 312 (target->timing.h_sync_start > high->timing.h_sync_start) || 314 (target->timing.h_sync_end > high->timing.h_sync_end) || 316 (target->timing.h_total > high->timing.h_total)) 320 (target->timing.h_display > high->timing.h_display)) 330 (target->timing.v_display > high 533 high; local [all...] |
/haiku/src/add-ons/accelerants/via/ |
H A D | GetModeInfo.c | 41 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; 84 *high = max_pclk * 1000; 144 *high = max_pclk * 1000;
|
H A D | ProposeDisplayMode.c | 95 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 304 (target->virtual_width > high->virtual_width)) 312 (target->timing.h_display > high->timing.h_display) || 314 (target->timing.h_sync_start > high->timing.h_sync_start) || 316 (target->timing.h_sync_end > high->timing.h_sync_end) || 318 (target->timing.h_total > high->timing.h_total)) 322 (target->timing.h_display > high->timing.h_display)) 332 (target->timing.v_display > high 535 high; local [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | unit.cpp | 28 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));
|
/haiku/src/add-ons/accelerants/common/ |
H A D | validate_display_mode.cpp | 135 const display_mode& high) 139 || mode.timing.h_display > high.timing.h_display 141 || mode.timing.h_sync_start > high.timing.h_sync_start 143 || mode.timing.h_sync_end > high.timing.h_sync_end 145 || mode.timing.h_total > high.timing.h_total) 150 || mode.timing.v_display > high.timing.v_display 152 || mode.timing.v_sync_start > high.timing.v_sync_start 154 || mode.timing.v_sync_end > high.timing.v_sync_end 156 || mode.timing.v_total > high.timing.v_total) 160 if (mode.timing.pixel_clock > high 134 is_display_mode_within_bounds(display_mode& mode, const display_mode& low, const display_mode& high) argument [all...] |
/haiku/src/add-ons/accelerants/nvidia/ |
H A D | ProposeDisplayMode.c | 124 static status_t Haiku_CheckMultiMonTunnel(display_mode *mode, const display_mode *low, const display_mode *high, bool *isTunneled ) argument 140 if( mode->space != 0 || low->space != 0 || high->space != 0 142 || high->virtual_width != 0 || high->virtual_height != 0 144 || low->timing.pixel_clock != 'TKTK' || high->timing.pixel_clock != 'KTKT' ) 208 Check mode is between low and high limits. 216 * returns B_BAD_VALUE. It's called by the OS with target, low and high set to 227 PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, const display_mode *high) argument 241 result = Haiku_CheckMultiMonTunnel(target, low, high, &isTunneled); 357 || target->virtual_width > high 584 display_mode low, high; local [all...] |
/haiku/src/system/libroot/posix/glibc/arch/sparc/ |
H A D | addmul_1.S | 41 srlx %i3,32,%i3 ! extract high 32 bits of s2_limb 58 srlx %i4,32,%i0 ! extract high 32 bits of lo product... 65 srl %i4,0,%g5 ! zero high 32 bits of lo product 67 srlx %i1,32,%i1 ! extract high bits of mid product... 69 add %i5,%i1,%i1 ! ...and add them to the high result
|
H A D | mul_1.S | 43 srlx %i3,32,%i3 ! extract high 32 bits of s2_limb 60 srlx %i4,32,%i0 ! extract high 32 bits of lo product... 67 srl %i4,0,%g5 ! zero high 32 bits of lo product 69 srlx %i1,32,%i1 ! extract high bits of mid product... 70 add %i5,%i1,%i1 ! ...and add them to the high result
|
H A D | submul_1.S | 40 srlx %i3,32,%i3 ! extract high 32 bits of s2_limb 57 srlx %i4,32,%i0 ! extract high 32 bits of lo product... 64 srl %i4,0,%g5 ! zero high 32 bits of lo product 66 srlx %i1,32,%i1 ! extract high bits of mid product... 68 add %i5,%i1,%i1 ! ...and add them to the high result
|