Searched refs:shift (Results 76 - 100 of 296) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Datom.c242 val = gctx->shift;
245 val = 1 << gctx->shift;
248 val = ~(1 << gctx->shift);
515 gctx->shift = val;
888 uint8_t attr = U8((*ptr)++), shift; local
895 shift = atom_get_src_direct(ctx, ATOM_SRC_BYTE0, ptr);
896 ATOM_SDEBUG_PRINT(" shift: %d\n", shift);
897 dst <<= shift; local
904 uint8_t attr = U8((*ptr)++), shift; local
913 dst >>= shift; local
920 uint8_t attr = U8((*ptr)++), shift; local
930 dst <<= shift; local
939 uint8_t attr = U8((*ptr)++), shift; local
949 dst >>= shift; local
[all...]
/freebsd-9.3-release/contrib/less/
H A Dline.c25 static int cshift; /* Current left-shift of output line buffer */
26 public int hshift; /* Desired left-shift of output line buffer */
241 pshift(shift)
242 int shift;
254 if (shift > column - lmargin)
255 shift = column - lmargin;
256 if (shift > curr - lmargin)
257 shift = curr - lmargin;
261 * We keep on going when shifted == shift
264 while (shifted <= shift
[all...]
/freebsd-9.3-release/gnu/lib/libodialog/
H A Dtree.c26 int shift; /* shift relative root of tree */ member in struct:leaf
30 int number, int shift);
855 mk_slip(struct leaf array[], int arr_size, int number, int shift) argument
863 t_shift = shift;
872 while (array[number].shift < array[t_number + 1].shift)
881 if (array[number].shift == array[t_number + 1].shift)
884 if ((array[number].shift > arra
992 int shift = 0; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dnsec.c47 unsigned int shift, mask; local
49 shift = 7 - (type % 8);
50 mask = 1 << shift;
60 unsigned int byte, shift, mask; local
63 shift = 7 - (type % 8);
64 mask = 1 << shift;
/freebsd-9.3-release/sys/powerpc/aim/
H A Dslb.c85 int shift; local
87 shift = level * 4;
88 return ((esid >> shift) & 0xF);
103 int shift; local
105 shift = (level + 1) * 4;
106 mask = ~((1ULL << shift) - 1);
/freebsd-9.3-release/lib/libdwarf/
H A Ddwarf_init.c181 int shift = 0; local
188 ret |= ((b & 0x7f) << shift);
192 shift += 7;
195 if (shift < 32 && (b & 0x40) != 0)
196 ret |= (-1 << shift);
206 int shift = 0; local
213 ret |= ((b & 0x7f) << shift);
217 shift += 7;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-helper-jtag.c77 /* Convert the divisor into a power of 2 shift */
101 * into the MSB and out the LSB, so you should shift in the low
106 * @param qlm QLM to shift value into
107 * @param bits Number of bits to shift in (1-32).
108 * @param data Data to shift in. Bit 0 enters the chain first, followed by
127 jtgd.s.shift = 1;
136 } while (jtgd.s.shift);
143 * common to need to shift more than 32 bits of zeros into the
145 * cvmx_helper_qlm_jtag_shift() to shift more than 32 bits of
148 * @param qlm QLM to shift zero
[all...]
H A Dcvmx-debug-handler.S117 #define loadaddr(reg, addr, shift) \
121 sll $1, shift; \
124 #define loadaddr(reg, addr, shift) \
/freebsd-9.3-release/sys/dev/drm/
H A Ddrm_hashtab.c121 unsigned long seed, int bits, int shift,
131 item->key = (unshifted_key << shift) + add;
120 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
H A Di915_mem.c54 unsigned shift, nr; local
60 shift = dev_priv->tex_lru_log_granularity;
63 start = p->start >> shift;
64 end = (p->start + p->size - 1) >> shift;
/freebsd-9.3-release/sys/dev/drm2/
H A Ddrm_hashtab.c121 unsigned long seed, int bits, int shift,
131 item->key = (unshifted_key << shift) + add;
120 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
/freebsd-9.3-release/sys/boot/fdt/dts/
H A Ddb88f5182.dts187 reg-shift = <2>;
196 reg-shift = <2>;
H A Ddb88f5281.dts198 reg-shift = <2>;
207 reg-shift = <2>;
H A Ddockstar.dts219 reg-shift = <2>;
228 reg-shift = <2>;
H A Dsheevaplug.dts219 reg-shift = <2>;
228 reg-shift = <2>;
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_dbg.c136 void cxio_dump_pbl(struct cxio_rdev *rdev, uint32_t pbl_addr, uint32_t len, u8 shift) argument
144 shift += 12;
145 npages = (len + (1ULL << shift) - 1) >> shift;
H A Diw_cxgb_provider.h343 int shift);
346 int shift,
356 int *shift,
/freebsd-9.3-release/sys/mips/mips/
H A Dfp.S692 beq t1, ta1, 4f # no shift needed
710 bgt v0, zero, 3f # if FS > FT, shift FTs frac
713 srl t2, t2, v1 # shift FSs fraction
717 srl ta2, ta2, v1 # shift FTs fraction
817 beq t1, ta1, 4f # no shift needed
836 bge v0, zero, 3f # if FS > FT, shift FTs frac
838 blt v1, t9, 1f # shift right by < 32?
844 srl t3, t2, v1 # shift FSs fraction
850 srl t3, t3, v1 # shift FSs fraction
856 blt v1, t9, 1f # shift righ
[all...]
/freebsd-9.3-release/sys/sys/
H A Dtimex.h213 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
/freebsd-9.3-release/contrib/ntp/kernel/sys/
H A Dtimex.h97 #define SHIFT_KG 6 /* phase factor (shift) */
98 #define SHIFT_KF 16 /* PLL frequency factor (shift) */
99 #define SHIFT_KH 2 /* FLL frequency factor (shift) */
100 #define MAXTC 6 /* maximum time constant (shift) */
107 * SHIFT_SCALE defines the scaling (shift) of the time_phase variable,
111 * SHIFT_UPDATE defines the scaling (shift) of the time_offset variable,
115 * SHIFT_USEC defines the scaling (shift) of the time_freq and
121 #define SHIFT_SCALE 22 /* phase scale (shift) */
122 #define SHIFT_UPDATE (SHIFT_KG + MAXTC) /* time offset scale (shift) */
123 #define SHIFT_USEC 16 /* frequency offset scale (shift) */
277 int shift; /* interval duration (s) (shift) (ro) */ member in struct:timex
[all...]
/freebsd-9.3-release/contrib/binutils/opcodes/
H A Ds390-dis.c72 insn += operand->shift / 8;
73 bits = (operand->shift & 7) + operand->bits;
86 if (operand->bits == 20 && operand->shift == 20)
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dkwset.c70 int shift; /* Shift function for search failures. */ member in struct:trie
71 int maxshift; /* Max shift of self and descendents. */
115 kwset->trie->shift = 0;
186 link->trie->shift = 0;
374 /* Compute the shift for each trie node, as well as the delta
413 /* Find the minimal delta2 shift that we might make after
422 computing the delta table, failure function, and shift function. */
428 curr->shift = kwset->mind;
442 doesn't, then the shift at the fail should be no larger
445 if (curr->depth - fail->depth < fail->shift)
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h80 #define BF32_GET_SB(x, low, len, shift, bias) \
81 ((BF32_GET(x, low, len) + (bias)) << (shift))
82 #define BF64_GET_SB(x, low, len, shift, bias) \
83 ((BF64_GET(x, low, len) + (bias)) << (shift))
85 #define BF32_SET_SB(x, low, len, shift, bias, val) do { \
86 ASSERT(IS_P2ALIGNED(val, 1U << shift)); \
87 ASSERT3S((val) >> (shift), >=, bias); \
88 BF32_SET(x, low, len, ((val) >> (shift)) - (bias)); \
90 #define BF64_SET_SB(x, low, len, shift, bias, val) do { \
91 ASSERT(IS_P2ALIGNED(val, 1ULL << shift)); \
[all...]
/freebsd-9.3-release/sys/powerpc/ps3/
H A Dmmu_ps3.c280 int shift; local
282 shift = large ? moea64_large_page_shift : ADDR_PIDX_SHFT;
284 shift);
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DAPInt.cpp714 unsigned shift;
717 shift = 0;
719 shift = APINT_BITS_PER_WORD - highWordBits;
722 unsigned Count = CountLeadingOnes_64(pVal[i] << shift);
765 /// Perform a logical right-shift from Src to Dst, which must be equal or
835 // If the exponent doesn't shift all bits out of the mantissa
840 // If the client didn't provide enough bits for us to shift the mantissa into
845 // Otherwise, we have to shift the mantissa bits up to the right location
900 mantissa >>= n - 52; // shift down, we want the top 52 bits.
1030 /// Arithmetic right-shift thi
[all...]

Completed in 294 milliseconds

1234567891011>>