Searched refs:shift (Results 201 - 225 of 296) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/sparc/dtrace/
H A Dfasttrap_isa.c755 uint_t shift; local
757 shift = 30 + tp->ftt_cc * 2;
758 fcc = (fsr >> shift) & 0x3;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-l2c.c351 int shift = CVMX_L2C_TAG_ADDR_ALIAS_SHIFT; local
353 uint64_t tag = addr >> shift;
363 CVMX_CACHE_LTGL2I(index | (way << shift), 0);
H A Dcvmx-ciu-defs.h5105 uint64_t mux_sel : 2; /**< Selects which QLM JTAG shift out is shifted into
5106 the QLM JTAG shift register: CIU_QLM_JTGD[SHFT_REG] */
5107 uint64_t bypass : 4; /**< Selects which QLM JTAG shift chains are bypassed
5125 uint64_t mux_sel : 1; /**< Selects which QLM JTAG shift out is shifted into
5126 the QLM JTAG shift register: CIU_QLM_JTGD[SHFT_REG] */
5128 uint64_t bypass : 2; /**< Selects which QLM JTAG shift chains are bypassed
5150 uint64_t mux_sel : 2; /**< Selects which QLM JTAG shift out is shifted into
5151 the QLM JTAG shift register: CIU_QLM_JTGD[SHFT_REG] */
5153 uint64_t bypass : 3; /**< Selects which QLM JTAG shift chains are bypassed
5180 uint64_t shift member in struct:cvmx_ciu_qlm_jtgd::cvmx_ciu_qlm_jtgd_s
5206 uint64_t shift : 1; /**< Perform JTAG shift operation (self-clearing when member in struct:cvmx_ciu_qlm_jtgd::cvmx_ciu_qlm_jtgd_cn52xx
5234 uint64_t shift : 1; /**< Perform JTAG shift operation (self-clearing when member in struct:cvmx_ciu_qlm_jtgd::cvmx_ciu_qlm_jtgd_cn56xxp1
5255 uint64_t shift : 1; /**< Perform JTAG shift operation (self-clearing when member in struct:cvmx_ciu_qlm_jtgd::cvmx_ciu_qlm_jtgd_cn63xx
[all...]
/freebsd-9.3-release/sys/dev/ata/chipsets/
H A Data-marvell.c369 int shift = (ch->unit << 1) + (ch->unit > 3); local
371 if (cause & (1 << shift)) {
381 return (cause & (2 << shift));
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dcmi.c182 int reg, int shift, u_int32_t mask, u_int32_t val)
187 r &= ~(mask << shift);
188 r |= val << shift;
181 cmi_partial_wr4(struct sc_info *sc, int reg, int shift, u_int32_t mask, u_int32_t val) argument
/freebsd-9.3-release/contrib/binutils/bfd/
H A Delfxx-ia64.c1416 int shift, r1, r3;
1421 case 0: shift = 5; break;
1422 case 1: shift = 14; off += 3; break;
1423 case 2: shift = 23; off += 6; break;
1429 insn = (dword >> shift) & 0x1ffffffffffLL;
1438 dword &= ~(0x1ffffffffffLL << shift);
1439 dword |= (insn << shift);
3871 int bigendian = 0, shift = 0;
4053 case 0: shift = 5; break;
4054 case 1: shift
1413 int shift, r1, r3; local
3865 int bigendian = 0, shift = 0; local
[all...]
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Darm.c1950 to be negative. This is a good, way of doing it, since the shift
2122 rtx shift = GEN_INT (set_sign_bit_copies);
2130 shift))));
2136 shift))));
2147 rtx shift = GEN_INT (set_zero_bit_copies);
2155 shift))));
2161 shift))));
2219 rtx shift = GEN_INT (clear_sign_bit_copies);
2221 emit_insn (gen_ashlsi3 (new_src, source, shift));
2222 emit_insn (gen_lshrsi3 (target, new_src, shift));
2117 rtx shift = GEN_INT (set_sign_bit_copies); local
2142 rtx shift = GEN_INT (set_zero_bit_copies); local
2214 rtx shift = GEN_INT (clear_sign_bit_copies); local
2251 rtx shift = GEN_INT (clear_zero_bit_copies); local
9211 HOST_WIDE_INT shift = 0; local
11087 const char *shift; local
14882 int shift = 0; local
[all...]
/freebsd-9.3-release/contrib/gcc/config/sparc/
H A Dsparc.c77 0, /* shift penalty */
101 1, /* shift penalty */
125 0, /* shift penalty */
149 0, /* shift penalty */
173 2, /* shift penalty */
197 0, /* shift penalty */
221 0, /* shift penalty */
1422 /* Now shift it up into place. */
1640 int lowest_bit_set, int shift)
1646 lo = (low_bits >> lowest_bit_set) << shift;
1634 create_simple_focus_bits(unsigned HOST_WIDE_INT high_bits, unsigned HOST_WIDE_INT low_bits, int lowest_bit_set, int shift) argument
1710 int shift = lowest_bit_set; local
7016 register unsigned shift; local
[all...]
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c146 static int shift[] = { 0, 0, 16, 24 }; local
181 val >>= shift[mc7->width]; local
745 u32 read_offset, tmp, shift, len = 0; local
750 shift = offset & 0x03;
758 tag = buf[shift];
765 len = (buf[shift + 1] & 0xff) +
766 ((buf[shift+2] << 8) & 0xff00) + 3;
782 u32 read_offset, shift, ret, tmp; local
786 shift = offset & 0x03;
793 if (buf[shift]
[all...]
/freebsd-9.3-release/sys/dev/e1000/
H A De1000_ich8lan.c3141 * read in (shift in) the Flash Data0, the order is
3697 u16 data, i, temp, shift; local
3712 shift = (i * 5);
3717 mac->ledctl_mode1 &= ~(E1000_PHY_LED0_MASK << shift);
3718 mac->ledctl_mode1 |= (ledctl_on << shift);
3723 mac->ledctl_mode1 &= ~(E1000_PHY_LED0_MASK << shift);
3724 mac->ledctl_mode1 |= (ledctl_off << shift);
3734 mac->ledctl_mode2 &= ~(E1000_PHY_LED0_MASK << shift);
3735 mac->ledctl_mode2 |= (ledctl_on << shift);
3740 mac->ledctl_mode2 &= ~(E1000_PHY_LED0_MASK << shift);
[all...]
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dlibtommath.c330 * MSB. As a result a single shift is enough to get the carry
1008 /* shift right by a certain bit count (store quotient in c, optional remainder in d) */
1016 /* if the shift count is <= 0 then we do no work */
1043 /* shift by as many digits in the bit count */
1048 /* shift any bit count < DIGIT_BIT */
1051 register mp_digit *tmpc, mask, shift; local
1056 /* shift for lsb */
1057 shift = DIGIT_BIT - D;
1068 /* shift the current word and mix in the carry bits from the previous word */
1069 *tmpc = (*tmpc >> D) | (r << shift);
1396 register mp_digit *tmpc, shift, mask, r, rr; local
[all...]
/freebsd-9.3-release/sys/vm/
H A Dvm_page.c2690 int shift; local
2724 shift = addr & (sizeof(uint32_t) - 1);
2726 shift = (sizeof(uint32_t) - sizeof(m->dirty) - shift) * NBBY;
2728 shift *= NBBY;
2731 atomic_clear_32((uint32_t *)addr, pagebits << shift);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp329 static unsigned RFT(unsigned t, bool shift = false) {
335 return shift ? 7 : (8 << IsQuad) - 1;
338 return shift ? 15 : (4 << IsQuad) - 1;
340 return shift ? 31 : (2 << IsQuad) - 1;
343 return shift ? 63 : (1 << IsQuad) - 1;
345 assert(!shift && "cannot shift float types!");
348 assert(!shift && "cannot shift float types!");
351 assert(!shift
4651 llvm::APSInt shift; local
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c265 int shift = function_entry ? 1 : 0; local
280 value = dtrace_fulword(&stack[argno - 6 + shift]);
287 value = dtrace_fuword32(&stack[argno + shift]);
/freebsd-9.3-release/contrib/binutils/gas/config/
H A Dtc-ppc.c1304 if (operand->shift >= 0)
1306 unsigned long mask = operand->bitm << operand->shift;
1561 insn |= ((long) val & operand->bitm) << operand->shift;
5625 && operand->shift == 0
5663 && operand->shift == 0)
5667 && operand->shift == 0)
5678 && operand->shift == 0)
5682 && operand->shift == 0)
5694 && operand->shift == 0)
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dc-exp.c700 positive, shift that token. If negative, reduce the rule which
1276 /* Number of tokens to shift before error messages enabled. */
2470 /* Now `shift' the result of the reduction. Determine what state
2840 shift it right and see whether anything remains. Note that we
2841 can't shift sizeof (LONGEST) * HOST_CHAR_BIT bits or more in one
2842 operation, because many compilers will warn about such a shift
2845 the case where it is we just always shift the value more than
2872 int shift;
2875 shift = (sizeof (ULONGEST) * HOST_CHAR_BIT - 1);
2877 shift
2868 int shift; local
[all...]
H A Dp-exp.c594 positive, shift that token. If negative, reduce the rule which
1068 /* Number of tokens to shift before error messages enabled. */
1882 /* Now `shift' the result of the reduction. Determine what state
2252 shift it right and see whether anything remains. Note that we
2253 can't shift sizeof (LONGEST) * HOST_CHAR_BIT bits or more in one
2254 operation, because many compilers will warn about such a shift
2257 the case where it is we just always shift the value more than
2284 int shift;
2287 shift = (sizeof (ULONGEST) * HOST_CHAR_BIT - 1);
2289 shift
2280 int shift; local
[all...]
/freebsd-9.3-release/include/arpa/
H A Dnameser.h120 struct _ns_flagdata { int mask, shift; }; member in struct:_ns_flagdata
/freebsd-9.3-release/sys/contrib/x86emu/
H A Dx86emu.c5150 uint8_t shift; local
5157 shift = emu->x86.R_CL;
5159 destval = decode_and_fetch_long_imm8(emu, &shift);
5162 destval = shld_long(emu, destval, *shiftreg, shift);
5164 destval = shrd_long(emu, destval, *shiftreg, shift);
5171 uint8_t shift; local
5178 shift = emu->x86.R_CL;
5180 destval = decode_and_fetch_word_imm8(emu, &shift);
5183 destval = shld_word(emu, destval, *shiftreg, shift);
5185 destval = shrd_word(emu, destval, *shiftreg, shift);
5512 uint8_t shift; local
5542 uint8_t shift; local
[all...]
/freebsd-9.3-release/sys/dev/mmc/
H A Dmmc.c811 const int shift = start & 31; local
812 uint32_t retval = bits[i] >> shift;
813 if (size + shift > 32)
814 retval |= bits[i - 1] << (32 - shift);
/freebsd-9.3-release/contrib/gcc/
H A Dcalls.c1592 int shift = (UNITS_PER_WORD - size) * BITS_PER_UNIT;
1600 build_int_cst (NULL_TREE, shift),
1638 int shift = (UNITS_PER_WORD - size) * BITS_PER_UNIT;
1644 build_int_cst (NULL_TREE, shift),
1806 significant end of hard register VALUE, shift VALUE left or right
1812 HOST_WIDE_INT shift;
1815 shift = GET_MODE_BITSIZE (GET_MODE (value)) - GET_MODE_BITSIZE (mode);
1816 if (shift == 0)
1823 value, GEN_INT (shift), value, 1, OPTAB_WIDEN))
2722 of a register, shift th
1591 int shift = (UNITS_PER_WORD - size) * BITS_PER_UNIT; local
1637 int shift = (UNITS_PER_WORD - size) * BITS_PER_UNIT; local
1811 HOST_WIDE_INT shift; local
[all...]
/freebsd-9.3-release/contrib/libstdc++/include/std/
H A Dstd_valarray.h371 /// Left shift each element e of array by @a t bits.
374 /// Right shift each element e of array by @a t bits.
401 /// Left shift elements of array by corresponding elements of @a v.
404 /// Right shift elements of array by corresponding elements of @a v.
455 * Positive arguments shift toward index 0, discarding elements [0, n).
458 * @param n Number of element positions to shift.
461 valarray<_Tp> shift (int) const;
472 * Positive arguments shift toward index 0, wrapping around the top.
473 * Negative arguments shift towards the top, wrapping around to 0.
783 valarray<_Tp>::shift(in function in class:valarray
[all...]
/freebsd-9.3-release/lib/libedit/
H A Drefresh.c166 re_putc(EditLine *el, int c, int shift) argument
172 if (!shift)
276 re_putc(el, '\0', 0); /* make line ended with NUL, no cursor shift */
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap_leaf.c225 int shift = (integer_size-1)*8; local
239 la->la_array[i] = value >> shift;
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c136 we can derive the shift corresponding to each group.
163 * is the shift for the corresponding (scaled) sigma_i.
217 unsigned int slot_shift; /* Slot shift. */
246 static inline uint64_t qfq_round_down(uint64_t ts, unsigned int shift) argument
248 return ts & ~((1ULL << shift) - 1);

Completed in 390 milliseconds

1234567891011>>