| /src/sys/dev/sun/ |
| H A D | btreg.h | 77 #define BT_INIT(bt, shift) do { /* whatever this means.. */ \ 78 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \ 79 (bt)->bt_ctrl = 0x73 << (shift); /* overlay plane */ \ 80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \ 81 (bt)->bt_ctrl = 0xff << (shift); /* color planes */ \ 83 #define BT_UNBLANK(bt, x, shift) do { \ 85 (bt)->bt_addr = 0 << (shift); \ 87 if ((shift)) { \ 91 BT_INIT((bt), (shift)); \ 93 #define BT_BLANK(bt, shift) d [all...] |
| /src/common/lib/libc/quad/ |
| H A D | ashldi3.c | 48 * Shift a (signed) quad value left (arithmetic shift left). 49 * This is the same as logical shift left! 52 __ashldi3(quad_t a, qshift_t shift) argument 56 if (shift == 0) 59 if (shift >= INT_BITS) { 60 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS); 63 aa.ul[H] = (aa.ul[H] << shift) | 64 (aa.ul[L] >> (INT_BITS - shift)); 65 aa.ul[L] <<= shift;
|
| H A D | lshldi3.c | 50 * Shift an (unsigned) quad value left (logical shift left). 51 * This is the same as arithmetic shift left! 54 __lshldi3(quad_t a, qshift_t shift) 58 if (shift == 0) 61 if (shift >= INT_BITS) { 62 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS); 65 aa.ul[H] = (aa.ul[H] << shift) | 66 (aa.ul[L] >> (INT_BITS - shift)); 67 aa.ul[L] <<= shift;
|
| H A D | lshrdi3.c | 50 * Shift an (unsigned) quad value right (logical shift right). 53 __lshrdi3(quad_t a, qshift_t shift) 57 if (shift == 0) 60 if (shift >= INT_BITS) { 61 aa.ul[L] = aa.ul[H] >> (shift - INT_BITS); 64 aa.ul[L] = (aa.ul[L] >> shift) | 65 (aa.ul[H] << (unsigned int)(INT_BITS - shift)); 66 aa.ul[H] >>= shift;
|
| H A D | ashrdi3.c | 50 * Shift a (signed) quad value right (arithmetic shift right). 53 __ashrdi3(quad_t a, qshift_t shift) 57 if (shift == 0) 60 if (shift >= INT_BITS) { 64 * Smear bits rightward using the machine's right-shift 67 * INT_BITS is undefined, so we shift (INT_BITS-1), 73 aa.ul[L] = aa.sl[H] >> (shift - INT_BITS); 76 aa.ul[L] = (aa.ul[L] >> shift) | 77 (aa.ul[H] << (unsigned int)(INT_BITS - shift)); 79 aa.sl[H] >>= shift; [all...] |
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| H A D | drm_fixed.h | 101 unsigned shift, sign = (a >> 63) & 1; local in function:drm_fixp_msbset 103 for (shift = 62; shift > 0; --shift) 104 if (((a >> shift) & 1) != sign) 105 return shift; 112 unsigned shift = drm_fixp_msbset(a) + drm_fixp_msbset(b); local in function:drm_fixp_mul 115 if (shift > 61) { 116 shift = shift 135 unsigned shift = 62 - drm_fixp_msbset(a); local in function:drm_fixp_div [all...] |
| /src/lib/libc/stdlib/ |
| H A D | a64l.c | 23 long value, digit, shift; local in function:__weak_alias 29 shift = 0; 40 value |= digit << shift; 41 shift += 6;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
| H A D | floatsisf.c | 41 // Shift a into the significand field, rounding if it is a right-shift 43 const int shift = significandBits - exponent; local in function:__floatsisf 44 result = (rep_t)a << shift ^ implicitBit; 46 const int shift = exponent - significandBits; local in function:__floatsisf 47 result = (rep_t)a >> shift ^ implicitBit; 48 rep_t round = (rep_t)a << (typeWidth - shift);
|
| H A D | floatunsisf.c | 33 // Shift a into the significand field, rounding if it is a right-shift 35 const int shift = significandBits - exponent; local in function:__floatunsisf 36 result = (rep_t)a << shift ^ implicitBit; 38 const int shift = exponent - significandBits; local in function:__floatunsisf 39 result = (rep_t)a >> shift ^ implicitBit; 40 rep_t round = (rep_t)a << (typeWidth - shift);
|
| H A D | floatunditf.c | 32 const int shift = significandBits - exponent; local in function:__floatunditf 33 result = (rep_t)a << shift ^ implicitBit;
|
| H A D | floatunsitf.c | 32 const int shift = significandBits - exponent; local in function:__floatunsitf 33 result = (rep_t)a << shift ^ implicitBit;
|
| H A D | floatditf.c | 40 // Shift a into the significand field, rounding if it is a right-shift 41 const int shift = significandBits - exponent; local in function:__floatditf 42 result = (rep_t)aAbs << shift ^ implicitBit;
|
| H A D | floatsidf.c | 44 const int shift = significandBits - exponent; local in function:__floatsidf 45 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
|
| /src/common/lib/libc/atomic/ |
| H A D | atomic_cas_by_cas32.c | 51 const size_t shift = off*8; local in function:_atomic_cas_16 52 const uint32_t mask = 0x0ffff << shift; 53 const uint32_t old32_part = (uint32_t)old << shift; 54 const uint32_t new32_part = (uint32_t)new << shift; 60 return (uint16_t)((old32 & mask) >> shift); 75 const size_t shift = off*8; local in function:crt_alias 76 const uint32_t mask = 0x0ff << shift; 77 const uint32_t old32_part = (uint32_t)old << shift; 78 const uint32_t new32_part = (uint32_t)new << shift; 84 return (uint8_t)((old32 & mask) >> shift); [all...] |
| /src/sys/arch/hppa/spmath/ |
| H A D | impys.S | 98 sh4n: shd pu,pl,4,pl ; shift product right 4 bits 111 ; ---- bits = 0000 ---- shift product 4 bits ------------------------------- 113 b sh4n+4 ; just shift partial 116 ; ---- bits = 0001 ---- add op1, then shift 4 bits 118 addb,tr op1,pu,sh4n+4 ; add op1 to product, to shift 121 ; ---- bits = 0010 ---- add op1, add op1, then shift 4 bits 123 addb,tr op1,pu,sh4n ; add 2*op1, to shift 126 ; ---- bits = 0011 ---- add op1, add 2*op1, shift 4 bits 128 addb,tr op1,pu,sh4n-4 ; add op1 & 2*op1, shift 131 ; ---- bits = 0100 ---- shift [all...] |
| H A D | impyu.S | 103 shd gr0,op2,1,pu ; shift op2 left 31 for result 115 sh4n: shd pu,pl,4,pl ; shift product right 4 bits 128 ; ---- bits = 0000 ---- shift product 4 bits ------------------------------- 130 b sh4n+4 ; just shift partial 133 ; ---- bits = 0001 ---- add op1, then shift 4 bits 135 addb,tr op1,pu,sh4n+4 ; add op1 to product, to shift 138 ; ---- bits = 0010 ---- add op1, add op1, then shift 4 bits 140 addb,tr op1,pu,sh4n ; add 2*op1, to shift 143 ; ---- bits = 0011 ---- add op1, add 2*op1, shift 4 bits 145 addb,tr op1,pu,sh4n-4 ; add op1 & 2*op1, shift [all...] |
| H A D | divu.S | 76 add quo,quo,quo ; shift msb bit into carry 79 addc quo,quo,quo ; shift quo with/into carry 81 addc quo,quo,quo ; shift quo with/into carry 83 addc quo,quo,quo ; shift quo with/into carry 85 addc quo,quo,quo ; shift quo with/into carry 87 addc quo,quo,quo ; shift quo with/into carry 89 addc quo,quo,quo ; shift quo with/into carry 91 addc quo,quo,quo ; shift quo with/into carry 93 addc quo,quo,quo ; shift quo with/into carry 95 addc quo,quo,quo ; shift qu [all...] |
| /src/sys/external/bsd/drm2/include/linux/ |
| H A D | average.h | 52 const unsigned long shift = ilog2(RATE); \ 60 ewma->ewma_state = (((state << shift) - state) + sample) >> shift; \
|
| /src/sys/external/bsd/compiler_rt/dist/lib/builtins/arm/ |
| H A D | clzsi2.S | 50 #define BLOCK(shift) \ 51 lsrs r2, r0, shift; \ 53 addeq r1, shift \
|
| H A D | clzdi2.S | 71 #define BLOCK(shift) \ 72 lsrs r2, r0, shift; \ 74 addeq r1, shift \
|
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| H A D | omap24xx-clocks.dtsi | 12 ti,bit-shift = <2>; 26 ti,bit-shift = <6>; 78 ti,bit-shift = <23>; 94 ti,bit-shift = <6>; 103 ti,bit-shift = <6>; 132 ti,bit-shift = <2>; 133 ti,idlest-shift = <8>; 142 ti,bit-shift = <6>; 143 ti,idlest-shift = <9>; 152 ti,bit-shift [all...] |
| H A D | am35xx-clocks.dtsi | 13 ti,bit-shift = <1>; 21 ti,bit-shift = <9>; 29 ti,bit-shift = <2>; 37 ti,bit-shift = <10>; 45 ti,bit-shift = <0>; 53 ti,bit-shift = <8>; 61 ti,bit-shift = <3>; 70 ti,bit-shift = <4>; 90 ti,bit-shift = <23>; 98 ti,bit-shift [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/src/ |
| H A D | amdgpu_dmub_reg.c | 41 uint32_t value, uint32_t mask, uint8_t shift) 44 (field_value_mask->value & ~mask) | (mask & (value << shift)); 53 uint32_t shift, mask, field_value; local in function:set_reg_field_values 61 shift = va_arg(ap, uint32_t); 66 shift); 72 uint8_t shift) 74 return (mask & reg_value) >> shift; 109 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift, argument 113 *field_value = get_reg_field_value_ex(reg_val, mask, shift); 40 set_reg_field_value_masks(struct dmub_reg_value_masks * field_value_mask,uint32_t value,uint32_t mask,uint8_t shift) argument 71 get_reg_field_value_ex(uint32_t reg_value,uint32_t mask,uint8_t shift) argument
|
| /src/lib/libm/src/ |
| H A D | s_rintl.c | 45 shift[2] = { variable in typeref:typename:const float[2] 81 x += shift[sign]; 82 x -= shift[sign];
|
| /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
| H A D | common_baco.h | 42 uint32_t shift; member in struct:baco_cmd_entry 54 uint32_t shift; member in struct:soc15_baco_cmd_entry
|