Searched refs:shift (Results 1 - 25 of 160) sorted by relevance

1234567

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/boot/common/
H A Dns16550.c23 static int shift; variable
46 shift = rs_table[chan].iomem_reg_shift;
49 lcr = inb(com_port + (UART_LCR << shift));
51 outb(com_port + (UART_LCR << shift), 0x80);
52 dlm = inb(com_port + (UART_DLM << shift));
62 outb(com_port + (UART_LCR << shift), lcr);
65 outb(com_port + (UART_DLL << shift),
67 outb(com_port + (UART_DLM << shift),
70 outb(com_port + (UART_LCR << shift), 0x03);
72 outb(com_port + (UART_MCR << shift),
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/
H A Dcompiler.h12 #define __kernel_insbl(val, shift) \
14 __asm__("insbl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
16 #define __kernel_inswl(val, shift) \
18 __asm__("inswl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
20 #define __kernel_insql(val, shift) \
22 __asm__("insql %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
26 #define __kernel_extbl(val, shift) (((val) >> (((shift) & 7) * 8)) & 0xfful)
27 #define __kernel_extwl(val, shift) (((val) >> (((shift)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/
H A Dcompiler.h12 #define __kernel_insbl(val, shift) \
14 __asm__("insbl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
16 #define __kernel_inswl(val, shift) \
18 __asm__("inswl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
20 #define __kernel_insql(val, shift) \
22 __asm__("insql %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
26 #define __kernel_extbl(val, shift) (((val) >> (((shift) & 7) * 8)) & 0xfful)
27 #define __kernel_extwl(val, shift) (((val) >> (((shift)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/mm/
H A Dk8topology.c59 int shift = 24; local
63 while (shift < 48) {
68 addr += (1UL << shift)) {
69 if (memnodemap[addr >> shift] != 0xff) {
70 printk("node %d shift %d addr %Lx conflict %d\n",
71 i, shift, addr, memnodemap[addr>>shift]);
74 memnodemap[addr >> shift] = i;
77 return shift;
79 shift
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/math-emu/
H A Dpoly_2xm1.c56 long int exponent, shift; local
77 shift = (argSignif.msw & 0x40000000) ? 3 : 2;
85 shift = 1;
92 shift = 0;
109 if ( shift )
116 mul_Xsig_Xsig(&accumulator, shiftterm[shift]);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Df_tcindex.c21 " [ shift SHIFT ]\n");
71 else if (!strcmp(*argv,"shift")) {
72 int shift; local
75 shift = strtoul(*argv,&end,0);
80 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
81 sizeof(shift));
153 int shift; local
155 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
157 shift = *(int *) RTA_DATA(tb[TCA_TCINDEX_SHIFT]);
158 fprintf(f,"shift
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/nec-eagle/
H A Dvrc4173.c50 int shift; local
55 shift = (reg & 3) << 3;
56 data &= ~(0xff << shift);
57 data |= (((u32)val) << shift);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pcmcia/
H A Dsa1100.h65 #define MECR_SET(mecr, sock, shift, mask, bs) \
66 ((mecr)=((mecr)&~(((mask)<<(shift))<<\
68 (((bs)<<(shift))<<((sock)==0?MECR_SOCKET_0_SHIFT:MECR_SOCKET_1_SHIFT)))
70 #define MECR_GET(mecr, sock, shift, mask) \
72 (shift))&(mask))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5477/
H A Dpci_ops.c224 int status, shift=0; local
233 shift += 16;
234 result &= ~(0xffff << shift);
235 result |= val << shift;
244 int status, shift=0; local
251 shift += 16;
253 shift += 8;
254 result &= ~(0xff << shift);
255 result |= val << shift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/xmon/
H A Dppc.h95 int shift;
101 i |= (op & ((1 << o->bits) - 1)) << o->shift;
120 op = ((i) >> o->shift) & ((1 << o->bits) - 1);
94 int shift; member in struct:powerpc_operand
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/xmon/
H A Dppc.h92 int shift;
98 i |= (op & ((1 << o->bits) - 1)) << o->shift;
117 op = ((i) >> o->shift) & ((1 << o->bits) - 1);
91 int shift; member in struct:powerpc_operand
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/adfs/
H A Dadfs.h110 extern inline __u32 signed_asl(__u32 val, signed int shift) argument
112 if (shift >= 0)
113 val <<= shift; local
115 val >>= -shift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A DNCR53C9x.h202 #define esp_tcmed io_addr + (1<<(esp->shift)) /* rw Mid bits of the transfer count 0x04 */
203 #define esp_fdata io_addr + (2<<(esp->shift)) /* rw FIFO data bits 0x08 */
204 #define esp_cmnd io_addr + (3<<(esp->shift)) /* rw SCSI command bits 0x0c */
205 #define esp_status io_addr + (4<<(esp->shift)) /* ro ESP status register 0x10 */
207 #define esp_intrpt io_addr + (5<<(esp->shift)) /* ro Kind of interrupt 0x14 */
209 #define esp_sstep io_addr + (6<<(esp->shift)) /* ro Sequence step register 0x18 */
211 #define esp_fflags io_addr + (7<<(esp->shift)) /* ro Bits of current FIFO info 0x1c */
213 #define esp_cfg1 io_addr + (8<<(esp->shift)) /* rw First configuration register 0x20 */
214 #define esp_cfact io_addr + (9<<(esp->shift)) /* wo Clock conversion factor 0x24 */
215 #define esp_ctest io_addr + (10<<(esp->shift)) /* w
398 unsigned char shift; member in struct:NCR_ESP
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/kernel/
H A Dptrace.c127 int shift; local
132 shift = (insn >> 8) & 15;
138 shift = (int)get_stack_long (child, (insn >> 8) & 15);
140 shift = (insn >> 7) & 31;
146 case 0: val <<= shift; break; local
147 case 1: val >>= shift; break; local
149 val = (((signed long)val) >> shift);
152 val = (val >> shift) | (val << (32 - shift));
165 int shift; local
173 case 0: val <<= shift; break; local
174 case 1: val >>= shift; break; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/libbcmcrypto/openssl/
H A Dpq_compat.h102 #define pq_64bit_lshift(r, x, shift) BN_lshift_b(r, x, shift)
141 #define pq_64bit_lshift(r, x, shift) (*(r) = (*(x) << (shift)))
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/math-emu/
H A Dmulti_arith.h67 int shift; local
70 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[0]));
71 reg->mant.m32[0] = (reg->mant.m32[0] << shift) | (reg->mant.m32[1] >> (32 - shift));
72 reg->mant.m32[1] = (reg->mant.m32[1] << shift);
74 asm ("bfffo %1{#0,#32},%0" : "=d" (shift) : "dm" (reg->mant.m32[1]));
75 reg->mant.m32[0] = (reg->mant.m32[1] << shift);
77 shift += 32;
80 return shift;
205 10/1D and now only a single shift an
243 fp_putmant128(struct fp_ext *dest, union fp_mant128 *src, int shift) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/vr41xx/common/
H A Dpciu.c139 int shift; local
145 shift = (where & 3) << 3;
146 data &= ~(0xff << shift);
147 data |= (((u32)val) << shift);
157 int shift; local
166 shift = (where & 2) << 3;
167 data &= ~(0xffff << shift);
168 data |= (((u32)val) << shift);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/
H A Dio_bigsur.c58 void bigsur_port_map(u32 baseport, u32 nports, u32 addr, u8 shift) argument
70 bigsur_iomap_lo_shift[port>>BIGSUR_IOMAP_LO_SHIFT] = shift;
79 bigsur_iomap_hi_shift[port>>BIGSUR_IOMAP_HI_SHIFT] = shift;
108 unsigned char shift; local
121 shift = bigsur_iomap_hi_shift[port >> BIGSUR_IOMAP_HI_SHIFT];
123 addr += (port & BIGSUR_IOMAP_HI_MASK) << shift;
128 shift = bigsur_iomap_lo_shift[port >> BIGSUR_IOMAP_LO_SHIFT];
130 addr += (port & BIGSUR_IOMAP_LO_MASK) << shift;
H A Dio_hd64465.c58 unsigned long addr, unsigned char shift)
70 hd64465_iomap_lo_shift[port>>HD64465_IOMAP_LO_SHIFT] = shift;
79 hd64465_iomap_hi_shift[port>>HD64465_IOMAP_HI_SHIFT] = shift;
109 unsigned char shift; local
114 shift = hd64465_iomap_lo_shift[port >> HD64465_IOMAP_LO_SHIFT];
116 addr += (port & HD64465_IOMAP_LO_MASK) << shift;
121 shift = hd64465_iomap_hi_shift[port >> HD64465_IOMAP_HI_SHIFT];
123 addr += (port & HD64465_IOMAP_HI_MASK) << shift;
57 hd64465_port_map(unsigned short baseport, unsigned int nports, unsigned long addr, unsigned char shift) argument
/asus-wl-520gu-7.0.1.45/src/router/vsftpd/
H A Dstandalone.c261 int shift = 24; local
265 val ^= p_raw_ip[i] << shift;
266 shift -= 8;
267 if (shift < 0)
269 shift = 24;
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/x86emu/
H A Dops2.c425 u8 shift; local
440 shift = fetch_byte_imm();
441 DECODE_PRINTF2("%d\n", shift);
444 destval = shld_long(destval,*shiftreg,shift);
454 shift = fetch_byte_imm();
455 DECODE_PRINTF2("%d\n", shift);
458 destval = shld_word(destval,*shiftreg,shift);
471 shift = fetch_byte_imm();
472 DECODE_PRINTF2("%d\n", shift);
475 destval = shld_long(destval,*shiftreg,shift);
849 u8 shift; local
1769 u8 shift; local
1794 u8 shift; local
1822 u8 shift; local
1847 u8 shift; local
1875 u8 shift; local
1900 u8 shift; local
1929 u8 shift; local
1954 u8 shift; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5074/
H A Dpci.c139 int status, shift = 0; local
146 shift += 16;
147 result &= ~(0xffff << shift);
148 result |= val << shift;
155 int status, shift = 0; local
162 shift += 16;
164 shift += 8;
165 result &= ~(0xff << shift);
166 result |= val << shift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5074/
H A Dpci_ops.c222 int status, shift=0; local
231 shift += 16;
232 result &= ~(0xffff << shift);
233 result |= val << shift;
242 int status, shift=0; local
249 shift += 16;
251 shift += 8;
252 result &= ~(0xff << shift);
253 result |= val << shift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/ddb5xxx/ddb5476/
H A Dpci_ops.c233 int status, shift=0; local
242 shift += 16;
243 result &= ~(0xffff << shift);
244 result |= val << shift;
253 int status, shift=0; local
260 shift += 16;
262 shift += 8;
263 result &= ~(0xff << shift);
264 result |= val << shift;
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/fpsp040/
H A Dsgetem.S90 | For denormalized numbers, shift the mantissa until the j-bit = 1,
97 bsr shft |shift mantissa bits till msbit is set
120 exg %d0,%d1 |shift ls mant to ms mant
122 lsll %d3,%d0 |shift first 1 to integer bit in ms mant
129 lsll %d3,%d0 |shift ms mant until j-bit is set
131 lsll %d3,%d1 |shift ls mant by count
133 subl %d3,%d5 |sub 32 from shift for ls mant
134 lsrl %d5,%d6 |shift off all bits but those that will
136 orl %d6,%d0 |shift the ls mant bits into the ms mant

Completed in 286 milliseconds

1234567