HomeSort by: relevance | last modified time | path
    Searched defs:shift (Results 1 - 25 of 180) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/lib/libc/stdlib/
a64l.c 23 long value, digit, shift; local in function:__weak_alias
29 shift = 0;
40 value |= digit << shift;
41 shift += 6;
  /src/share/examples/rump/ukbd_read/
kbd.c 48 #define SHIFT (-0x20)
54 int shift = 0; local in function:main
75 shift = 0;
80 shift = SHIFT;
94 printf(" (%c)", wev->value - 0x04 + 'a' + shift);
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
floatunditf.c 31 // Shift a into the significand field and clear the implicit bit.
32 const int shift = significandBits - exponent; local in function:__floatunditf
33 result = (rep_t)a << shift ^ implicitBit;
floatunsidf.c 33 // Shift a into the significand field and clear the implicit bit.
34 const int shift = significandBits - exponent; local in function:__floatunsidf
35 result = (rep_t)a << shift ^ implicitBit;
floatunsitf.c 31 // Shift a into the significand field and clear the implicit bit.
32 const int shift = significandBits - exponent; local in function:__floatunsitf
33 result = (rep_t)a << shift ^ implicitBit;
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;
floatsidf.c 41 // Shift a into the significand field and clear the implicit bit. Extra
44 const int shift = significandBits - exponent; local in function:__floatsidf
45 result = (rep_t)(unsigned int)a << shift ^ implicitBit;
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);
floatsitf.c 40 // Shift a into the significand field and clear the implicit bit.
41 const int shift = significandBits - exponent; local in function:__floatsitf
42 result = (rep_t)aAbs << shift ^ implicitBit;
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);
  /src/sys/arch/i386/pci/
sis85c503.c 150 int shift; local in function:sis85c503_set_intr
158 shift = SIS85C503_CFG_PIRQ_SHIFT(clink);
160 SIS85C503_CFG_PIRQ_INTR_MASK) << shift);
161 reg |= (irq << shift);
opti82c558.c 174 int shift; local in function:opti82c558_set_intr
181 shift = VIPER_PIRQ_SELECT_SHIFT * clink;
182 reg &= ~(VIPER_PIRQ_SELECT_MASK << shift);
183 reg |= (viper_pirq_encode[irq] << shift);
214 int shift; local in function:opti82c558_set_trigger
223 shift = (VIPER_CFG_TRIGGER_SHIFT + viper_pirq_encode[irq]);
225 reg |= (1 << shift);
227 reg &= ~(1 << shift);
  /src/lib/libm/src/
s_rintl.c 45 shift[2] = { variable in typeref:typename:const float[2]
81 x += shift[sign];
82 x -= shift[sign];
  /src/common/lib/libc/atomic/
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/dreamcast/dev/maple/
mkbdvar.h 37 uint8_t shift; member in struct:mkbd_condition
  /src/sys/arch/hpc/stand/hpcboot/mips/
mips_boot.cpp 86 int shift; local in function:MIPSBoot::create
111 shift = 0;
119 shift = 4; // VR41 specific shift. for LockPages()
143 _cons, pagesz, shift);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/src/
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,
113 *field_value = get_reg_field_value_ex(reg_val, mask, shift);
dmub_dcn20.h 153 const struct dmub_srv_common_reg_shift shift; member in struct:dmub_srv_common_regs
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
nouveau_nvkm_engine_disp_dacnv50.c 76 const u32 shift = normal ? 0 : 16; local in function:nv50_dac_power
80 0x00000001 * ! hsync) << shift;
81 const u32 field = 0xc0000000 | (0x00000055 << shift);
nouveau_nvkm_engine_disp_sornv50.c 57 const u32 shift = normal ? 0 : 16; local in function:nv50_sor_power
58 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift;
59 const u32 field = 0x80000000 | (0x00000001 << shift);
nouveau_nvkm_engine_disp_sorgm200.c 36 const u32 shift = sor->func->dp.lanes[ln] * 8; local in function:gm200_sor_dp_drive
41 data[0] = nvkm_rd32(device, 0x61c118 + loff) & ~(0x000000ff << shift);
42 data[1] = nvkm_rd32(device, 0x61c120 + loff) & ~(0x000000ff << shift);
46 nvkm_wr32(device, 0x61c118 + loff, data[0] | (dc << shift));
47 nvkm_wr32(device, 0x61c120 + loff, data[1] | (pe << shift));
49 data[3] = nvkm_rd32(device, 0x61c13c + loff) & ~(0x000000ff << shift);
50 nvkm_wr32(device, 0x61c13c + loff, data[3] | (pc << shift));
nouveau_nvkm_engine_disp_piornv50.c 68 const u32 shift = normal ? 0 : 16; local in function:nv50_pior_power
69 const u32 state = 0x80000000 | (0x00000001 * !!pu) << shift;
70 const u32 field = 0x80000000 | (0x00000101 << shift);
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
common_baco.h 42 uint32_t shift; member in struct:baco_cmd_entry
54 uint32_t shift; member in struct:soc15_baco_cmd_entry
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
vmm.h 26 u8 shift; member in struct:nvif_vmm::__anon83732cfb0108
  /src/sys/external/bsd/sljit/dist/sljit_src/
sljitNativeMIPS_64.c 33 sljit_s32 shift = 32; local in function:load_immediate
58 shift -= 8;
63 shift -= 4;
68 shift -= 2;
74 shift += 1;
76 SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32));
85 imm &= (1l << shift) - 1;
87 ins = (shift == 32) ? DSLL32 : DSLL;
88 if (shift < 32
    [all...]

Completed in 27 milliseconds

1 2 3 4 5 6 7 8