/freebsd-11-stable/sys/mips/adm5120/ |
H A D | admpci.c | 207 uint32_t shift, mask; local 223 shift = 24; 226 shift = 16; 229 shift = 8; 232 shift = 0; 239 data = (data >> shift) & mask; 266 uint32_t shift, mask; local 276 shift = 24; 279 shift = 16; 282 shift [all...] |
/freebsd-11-stable/sys/mips/idt/ |
H A D | idtpci.c | 293 uint32_t shift, mask; local 306 shift = 24; 309 shift = 16; 312 shift = 8; 315 shift = 0; 322 data = (data >> shift) & mask; 350 uint32_t shift, mask; local 360 shift = 24; 363 shift = 16; 366 shift [all...] |
/freebsd-11-stable/sys/dev/uart/ |
H A D | uart_bus_fdt.c | 88 if ((OF_getencprop(node, "reg-shift", cell, sizeof(*cell))) <= 0) 173 pcell_t br, clk, shift, iowidth; local 221 if (uart_fdt_get_shift(node, &shift) != 0) 222 shift = uart_getregshift(class); 237 *shiftp = shift; 247 pcell_t clock, shift, iowidth; local 263 if (uart_fdt_get_shift(node, &shift) != 0) 264 shift = uart_getregshift(sc->sc_class); 268 return (uart_bus_probe(dev, (int)shift, (int)iowidth, (int)clock, 0, 0, 0));
|
/freebsd-11-stable/sys/arm/allwinner/clk/ |
H A D | aw_cpusclk.c | 100 uint32_t val, mask, shift, index; local 107 shift = A80_CPUS_CLK_SRC_SEL_SHIFT; 111 shift = A83T_CPUS_CLK_SRC_SEL_SHIFT; 120 index = (val & mask) >> shift; 174 uint32_t mask, shift, val; local 181 shift = A80_CPUS_CLK_SRC_SEL_SHIFT; 185 shift = A83T_CPUS_CLK_SRC_SEL_SHIFT; 194 val |= (index << shift);
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_uart.c | 167 pcell_t shift; local 169 if ((OF_getencprop(node, "reg-shift", &shift, sizeof(shift))) <= 0) 170 shift = 2; 171 return ((int)shift); 180 int shift; local 204 shift = uart_fdt_get_shift1(node); 220 return (uart_bus_probe(dev, shift, 0, (int)freq, 0, 0, 0));
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | udivsi3.S | 69 // The code before JMP computes the correct shift I, so that 75 // block(shift) implements the test-and-update-quotient core. 76 // It assumes (r0 << shift) can be computed without overflow and 77 // that (r0 << shift) < 2 * r1. The quotient is stored in r3. 198 #define block(shift) \ 199 lsls r2, r1, IMM shift; \ 201 blo LOCAL_LABEL(block_skip_##shift); \ 203 LOCAL_LABEL(block_skip_##shift) :; \ 213 #define block(shift) \ 214 cmp r0, r1, lsl IMM shift; \ [all...] |
H A D | umodsi3.S | 45 // The code before JMP computes the correct shift I, so that 51 // block(shift) implements the test-and-update-quotient core. 52 // It assumes (r0 << shift) can be computed without overflow and 53 // that (r0 << shift) < 2 * r1. The quotient is stored in r3. 104 #define block(shift) \ 105 cmp r0, r1, lsl IMM shift; \ 107 WIDE(subhs) r0, r0, r1, lsl IMM shift
|
H A D | udivmodsi4.S | 46 // The code before JMP computes the correct shift I, so that 52 // block(shift) implements the test-and-update-quotient core. 53 // It assumes (r0 << shift) can be computed without overflow and 54 // that (r0 << shift) < 2 * r1. The quotient is stored in r3. 112 #define block(shift) \ 113 cmp r0, r1, lsl IMM shift; \ 115 WIDE(addhs) r3, r3, IMM (1 << shift); \ 116 WIDE(subhs) r0, r0, r1, lsl IMM shift
|
/freebsd-11-stable/crypto/openssl/crypto/bn/ |
H A D | bn_recp.c | 68 recp->shift = 0; 101 recp->shift = 0; 176 if (i != recp->shift) 177 recp->shift = BN_reciprocal(&(recp->Nr), &(recp->N), i, ctx); 179 if (recp->shift == -1)
|
H A D | bn_gcd.c | 286 int shift; local 301 shift = 0; 302 while (!BN_is_bit_set(B, shift)) { /* note that 0 < B */ 303 shift++; 315 if (shift > 0) { 316 if (!BN_rshift(B, B, shift)) 323 shift = 0; 324 while (!BN_is_bit_set(A, shift)) { /* note that 0 < A */ 325 shift++; 335 if (shift > [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDKernelCodeTUtils.cpp | 80 template <typename T, T amd_kernel_code_t::*ptr, int shift, int width = 1> 84 printName(OS, Name) << (int)((c.*ptr >> shift) & Mask); 144 template <typename T, T amd_kernel_code_t::*ptr, int shift, int width = 1> 150 const uint64_t Mask = ((UINT64_C(1) << width) - 1) << shift; 152 C.*ptr |= (T)((Value << shift) & Mask);
|
/freebsd-11-stable/sys/arm/nvidia/tegra124/ |
H A D | tegra124_clk_super.c | 158 int shift, state; local 172 shift = state * SUPER_MUX_MUX_WIDTH; 174 sc->mux = (reg >> shift) & ((1 << SUPER_MUX_MUX_WIDTH) - 1); 195 int shift, state; local 208 shift = (state - 1) * SUPER_MUX_MUX_WIDTH; 222 reg &= ~(((1 << SUPER_MUX_MUX_WIDTH) - 1) << shift); 223 reg |= idx << shift;
|
/freebsd-11-stable/contrib/dtc/ |
H A D | fdtdump.c | 60 int depth, sz, shift; local 65 shift = 4; 111 printf("%*s%s {\n", depth * shift, "", s); 120 printf("%*s};\n", depth * shift, ""); 125 printf("%*s// [NOP]\n", depth * shift, ""); 130 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); 143 printf("%*s%s", depth * shift, "", s);
|
/freebsd-11-stable/stand/lua/ |
H A D | drawer.lua | 50 local shift 107 x = x + shift.x 108 y = y + shift.y 176 x = x + shift.x 177 y = y + shift.y 237 x = x + shift.x 238 y = y + shift.y 269 shift = logodef.shift 271 shift [all...] |
/freebsd-11-stable/sys/dev/bhnd/nvram/ |
H A D | bhnd_sprom_subr.c | 215 if (_off->shift > 0) { \ 216 _v >>= _off->shift; \ 217 } else if (off->shift < 0) { \ 218 _v <<= -_off->shift; \ 301 if (off->shift > 0) 302 all1 >>= off->shift; 303 else if (off->shift < 0) 304 all1 <<= -off->shift; 328 if (_off->shift > 0) { \ 329 _v <<= _off->shift; \ [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_ppmd_private.h | 93 #define PPMD_GET_MEAN_SPEC(summ, shift, round) (((summ) + (1 << ((shift) - (round)))) >> (shift))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | fp_trunc_impl.inc | 106 // to get the shift amount for the denormalization. 108 const int shift = srcExpBias - dstExpBias - aExp + 1; 112 // Right shift by the denormalization amount with sticky. 113 if (shift > srcSigBits) { 116 const bool sticky = (significand << (srcBits - shift)) != 0; 117 src_rep_t denormalizedSignificand = significand >> shift | sticky;
|
/freebsd-11-stable/contrib/libucl/utils/ |
H A D | objdump.c | 31 ucl_obj_dump (const ucl_object_t *obj, unsigned int shift) argument 33 int num = shift * 4 + 5; 58 ucl_obj_dump (cur, shift + 2); 66 ucl_obj_dump (cur, shift + 2);
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_hashtab.h | 59 unsigned long seed, int bits, int shift,
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_hashtab.h | 59 unsigned long seed, int bits, int shift,
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_shift.c | 29 static int shift(SCR *, EXCMD *, enum which); 40 return (shift(sp, cmdp, LEFT)); 51 return (shift(sp, cmdp, RIGHT)); 55 * shift -- 56 * Ex shift support. 59 shift(SCR *sp, EXCMD *cmdp, enum which rl) function 154 * The shift command in historic vi had the usual bizarre
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mr.c | 143 int shift; local 161 shift = ilog2(mr->umem->page_size); 164 convert_access(access_flags), n, shift, &mr->mmr); 229 int shift; local 245 shift = ilog2(mmr->umem->page_size); 248 virt_addr, length, n, shift, 569 int shift; local 588 shift = __ffs(mask | 1 << 31); 590 buffer_list[0].size += buffer_list[0].addr & ((1ULL << shift) - 1); 591 buffer_list[0].addr &= ~0ULL << shift; [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_thread_list.h | 59 for (int shift = 1; shift < 7; ++shift) { 60 uptr size = 4096 * (1ULL << shift);
|
/freebsd-11-stable/contrib/gcclibs/libdecnumber/ |
H A D | decUtility.c | 63 /* shift is the number of 0 digits to add on the right (normally 0) */ 71 /* shift is used for 'fold-down' padding. */ 76 decDensePackCoeff (const decNumber * dn, uByte * bytes, Int len, Int shift) argument 90 if (shift != 0) 91 { /* shift towards most significant required */ 92 /* shift the units array to the left by pad digits and copy */ 100 first = uar + D2U (digits + shift) - 1; /* where msu will end up */ 101 target = uar + D2U (digits) - 1 + D2U (shift); /* where upper part of first cut goes */ 103 cut = (DECDPUN - shift % DECDPUN) % DECDPUN; 119 digits += shift; /* ad [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | bitmap.c | 190 size_t i, offset, shift; local 201 shift = ((l + (BITMAP_BYTES - 1)) % BITMAP_BYTES) * 8; 203 b->d[offset] |= (BITMAP_WTYPE)s[i] << shift; 204 if (shift == 0) { 206 shift = BITMAP_BITS - 8; 208 shift -= 8;
|