Searched refs:shift (Results 101 - 125 of 296) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/arm/arm/
H A Dcpufunc.c1531 int shift; local
1544 /* shift with amount */
1545 shift = (fault_instruction >> 7) & 0x1f;
1547 /* shift with register */
1551 shift = ((fault_instruction >> 8) & 0xf);
1552 if (base == shift)
1554 DFC_PRINTF(("shift reg=%d ", shift));
1555 shift = registers[shift];
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_print.c163 uint8_t shift; local
167 * to the lowest 'size' bytes in 'value', and we need to shift based on
175 shift = off % NBBY;
182 shift = NBBY - shift;
186 * If the bits we want do not begin on a byte boundary, shift the data
190 value >>= shift; local
/freebsd-9.3-release/sys/boot/ficl/
H A Ddict.c729 ** shift and add stolen from PJ Weinberger of Bell Labs fame. Case folds
738 UNS16 shift = 0; local
747 shift = (UNS16)(code & 0xf000);
748 if (shift)
750 code ^= (UNS16)(shift >> 8);
751 code ^= (UNS16)shift;
/freebsd-9.3-release/sys/dev/ata/chipsets/
H A Data-nvidia.c293 int shift = ch->unit << (ctlr->chip->cfg1 & NVQ ? 4 : 2); local
303 if (istatus & (0x0c << shift))
308 ATA_OUTL(ctlr->r_res2, offset, (0x0f << shift) | 0x00f000f0);
310 ATA_OUTB(ctlr->r_res2, offset, (0x0f << shift));
313 return (istatus & (0x01 << shift));
/freebsd-9.3-release/sys/mips/atheros/
H A Dar71xx_pci.c196 uint32_t cmd, shift, mask; local
199 shift = (reg & 3) * 8;
200 if (shift)
201 mask = (1 << shift) - 1;
221 data = (data >> shift) & mask;
/freebsd-9.3-release/usr.bin/yacc/
H A Dlalr.c248 symbol = accessing_symbol[sp->shift[i]];
281 state2 = sp->shift[i];
361 symbol = accessing_symbol[sp->shift[j]];
369 symbol = accessing_symbol[sp->shift[j]];
449 stateno = sp->shift[j];
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devent_tagging.c202 int shift = 0, done = 0; local
215 if (shift >= 28) {
217 if (shift > 28)
222 number |= (lower & (unsigned)0x7f) << shift;
223 shift += 7;
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dfeeder_matrix.c79 int mul, shift; member in struct:feed_matrix_info::__anon8986
157 info->matrix[i].shift; \
238 info->matrix[i].shift = 0;
275 info->matrix[i].shift;
294 int mul, shift; local
363 shift = FEEDMATRIX_ATTN_SHIFT;
364 while ((mul & 1) == 0 && shift > 0) {
366 shift--;
369 info->matrix[ch].shift = shift;
[all...]
/freebsd-9.3-release/contrib/binutils/bfd/
H A Dtekhex.c674 int shift; local
676 for (len = 8, shift = 28; shift; shift -= 4, len--)
678 if ((value >> shift) & 0xf)
683 *p++ = digs[(value >> shift) & 0xf];
684 shift -= 4;
/freebsd-9.3-release/contrib/gdb/gdb/
H A Ddwarf2-frame.c954 int shift;
958 shift = 0;
966 result |= ((byte & 0x7f) << shift);
967 shift += 7;
980 int shift;
985 shift = 0;
993 result |= ((byte & 0x7f) << shift);
994 shift += 7;
998 if ((shift < 32) && (byte & 0x40))
999 result |= -(1 << shift);
947 int shift; local
973 int shift; local
[all...]
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_provider.c406 int shift; local
437 &total_size, &npages, &shift, &page_list);
457 mhp->attr.page_size = shift - 12;
461 ret = iwch_register_mem(rhp, php, mhp, shift);
488 int shift = 0; local
517 &shift, &page_list);
522 ret = iwch_reregister_mem(rhp, php, &mh, shift, npages);
534 mhp->attr.page_size = shift - 12;
547 int shift, i, n; local
575 shift
[all...]
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Dlib1funcs.asm354 .set shift, 32
356 .set shift, shift - 1
357 cmp \dividend, \divisor, lsl #shift
359 subcs \dividend, \dividend, \divisor, lsl #shift
375 @ Initially shift the divisor left 3 bits if possible,
384 @ Unless the divisor is very big, shift it up in multiples of
394 @ For very big divisors, we must shift it a bit at a time, or
468 .set shift, 32
470 .set shift, shif
[all...]
/freebsd-9.3-release/contrib/gcclibs/libdecnumber/
H A DdecNumber.c199 /* multiply, after removing powers of 2 by shifting, and final shift */
2235 Int rhsshift; /* working shift (in Units) */
2442 rhsshift = 0; /* rhs shift to left (padding) in Units */
2471 Int shift = reqdigits - rhs->digits; /* left shift needed */ local
2478 if (shift > 0)
2480 res->digits = decShiftToMost (res->lsu, res->digits, shift);
2481 res->exponent -= shift; /* adjust the exponent. */
2491 rhsshift = D2U (padding + 1) - 1; /* this much by Unit shift .. */
2746 Int shift, cu local
3441 Int shift; /* Units to shift multiplicand by */ local
4448 decShiftToMost(Unit * uar, Int digits, Int shift) argument
4507 decShiftToLeast(Unit * uar, Int units, Int shift) argument
5123 Int shift; /* shift needed if clamping */ local
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zinject/
H A Dtranslate.c266 ziprintf("data shift: %d\n", (int)dn->dn_datablkshift);
267 ziprintf(" ind shift: %d\n", (int)dn->dn_indblkshift);
293 int shift = dn->dn_indblkshift - SPA_BLKPTRSHIFT; local
296 record->zi_start >>= shift;
297 record->zi_end >>= shift;
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dquotearg.c156 int shift = uc % INT_BITS; local
157 int r = (*p >> shift) & 1;
158 *p ^= ((i & 1) ^ r) << shift;
392 its end, find an error, or come back to the initial shift
/freebsd-9.3-release/gnu/usr.bin/grep/
H A Dquotearg.c176 int shift = uc % INT_BITS; local
177 int r = (*p >> shift) & 1;
178 *p ^= ((i & 1) ^ r) << shift;
397 its end, find an error, or come back to the initial shift
/freebsd-9.3-release/sys/netgraph/
H A Dng_frame_relay.c105 u_char shift; member in struct:segment
118 (((byte) & (segment)->mask) >> (segment)->shift); \
123 (byte) |= (((dlci) << (segment)->shift) & (segment)->mask); \
/freebsd-9.3-release/sys/dev/vt/hw/vga/
H A Dvga.c175 u_long ldst, uint8_t shift, unsigned int width, unsigned int height,
195 out = (b >> shift) | r;
196 r = b << (8 - shift);
239 uint8_t shift; local
242 shift = left % 8;
250 vga_bitblt_draw(vd, src, dst, shift, width, height, fg, 0);
251 vga_bitblt_draw(vd, src, dst, shift, width, height, bg, 1);
253 vga_bitblt_draw(vd, src, dst, shift, width, height, bg, 1);
254 vga_bitblt_draw(vd, src, dst, shift, width, height, fg, 0);
174 vga_bitblt_draw(struct vt_device *vd, const uint8_t *src, u_long ldst, uint8_t shift, unsigned int width, unsigned int height, term_color_t color, int negate) argument
/freebsd-9.3-release/contrib/bmake/mk/
H A Dman.mk113 shift; \
117 shift; \
/freebsd-9.3-release/contrib/cvs/src/
H A Dstack.c164 shift (stack) function
/freebsd-9.3-release/sys/boot/fdt/dts/
H A Ddb78100.dts246 reg-shift = <2>;
255 reg-shift = <2>;
H A Ddb88f6281.dts222 reg-shift = <2>;
231 reg-shift = <2>;
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspace_map.h82 uint8_t sm_shift; /* unit shift */
168 uint64_t start, uint64_t size, uint8_t shift, kmutex_t *lp);
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Datom.h139 uint8_t shift; member in struct:atom_context
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dmv88e61xxphy.c566 unsigned shift, reg; local
589 shift = port * 4;
592 shift = (port - 4) * 4;
596 val |= bits << shift;

Completed in 215 milliseconds

1234567891011>>