Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 8 of 8) sorted by relevance

/arch/mips/math-emu/
Dsp_sqrt.c32 int ix, s, q, m, t, i; in ieee754sp_sqrt() local
71 ix = x.bits; in ieee754sp_sqrt()
74 m = (ix >> 23); in ieee754sp_sqrt()
76 for (i = 0; (ix & 0x00800000) == 0; i++) in ieee754sp_sqrt()
77 ix <<= 1; in ieee754sp_sqrt()
81 ix = (ix & 0x007fffff) | 0x00800000; in ieee754sp_sqrt()
83 ix += ix; in ieee754sp_sqrt()
87 ix += ix; in ieee754sp_sqrt()
93 if (t <= ix) { in ieee754sp_sqrt()
95 ix -= t; in ieee754sp_sqrt()
[all …]
/arch/sh/kernel/cpu/sh2a/
Dfpu.c136 unsigned int ix, iy; in denormal_mulf() local
140 ix = hx & 0x7fffffff; in denormal_mulf()
142 if (iy < 0x00800000 || ix == 0) in denormal_mulf()
146 ix &= 0x007fffff; in denormal_mulf()
148 m = (unsigned long long)ix * iy; in denormal_mulf()
156 ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); in denormal_mulf()
158 ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; in denormal_mulf()
160 ix = 0; in denormal_mulf()
162 ix |= (hx ^ hy) & 0x80000000; in denormal_mulf()
163 return ix; in denormal_mulf()
[all …]
/arch/frv/kernel/
Dgdb-io.c115 unsigned ix, nix; in gdbstub_do_rx() local
117 ix = gdbstub_rx_inp; in gdbstub_do_rx()
120 nix = (ix + 2) & 0xfff; in gdbstub_do_rx()
124 gdbstub_rx_buffer[ix++] = __UART(LSR); in gdbstub_do_rx()
125 gdbstub_rx_buffer[ix++] = __UART(RX); in gdbstub_do_rx()
126 ix = nix; in gdbstub_do_rx()
129 gdbstub_rx_inp = ix; in gdbstub_do_rx()
142 unsigned ix; in gdbstub_rx_char() local
157 ix = gdbstub_rx_outp; in gdbstub_rx_char()
158 if (ix == gdbstub_rx_inp) { in gdbstub_rx_char()
[all …]
/arch/mn10300/kernel/
Dgdb-io-serial.c88 unsigned ix; in gdbstub_io_rx_char() local
101 ix = gdbstub_rx_outp; in gdbstub_io_rx_char()
103 if (ix == gdbstub_rx_inp) { in gdbstub_io_rx_char()
112 ch = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
113 st = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
115 gdbstub_rx_outp = ix & 0x00000fff; in gdbstub_io_rx_char()
Dgdb-io-ttysm.c185 unsigned ix; in gdbstub_io_rx_char() local
198 ix = gdbstub_rx_outp; in gdbstub_io_rx_char()
200 if (ix == gdbstub_rx_inp) { in gdbstub_io_rx_char()
209 ch = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
210 st = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
212 gdbstub_rx_outp = ix & (PAGE_SIZE - 1); in gdbstub_io_rx_char()
Dmn10300-serial.c395 unsigned ix; in mn10300_serial_receive_interrupt() local
413 ix = port->rx_outp; in mn10300_serial_receive_interrupt()
414 if (ix == port->rx_inp) { in mn10300_serial_receive_interrupt()
420 ch = port->rx_buffer[ix++]; in mn10300_serial_receive_interrupt()
421 st = port->rx_buffer[ix++]; in mn10300_serial_receive_interrupt()
423 port->rx_outp = ix & (MNSC_BUFFER_SIZE - 1); in mn10300_serial_receive_interrupt()
Dgdb-stub.c441 static int __gdbstub_mark_bp(u8 *addr, int ix) in __gdbstub_mark_bp() argument
456 if (gdbstub_read_byte(addr + 0, &step_bp[ix].opcode[0]) < 0 || in __gdbstub_mark_bp()
457 gdbstub_read_byte(addr + 1, &step_bp[ix].opcode[1]) < 0) in __gdbstub_mark_bp()
460 step_bp[ix].addr = addr; in __gdbstub_mark_bp()
/arch/cris/arch-v32/drivers/
Dcryptocop.c2400 static size_t next_cfg_change_ix(struct strcop_crypto_op *crp_op, size_t ix) in next_cfg_change_ix() argument
2405 if (crp_op->do_cipher && ((crp_op->cipher_start + crp_op->cipher_len) > ix)){ in next_cfg_change_ix()
2406 if (crp_op->cipher_start > ix) { in next_cfg_change_ix()
2412 if (crp_op->do_digest && ((crp_op->digest_start + crp_op->digest_len) > ix)){ in next_cfg_change_ix()
2413 if (crp_op->digest_start > ix) { in next_cfg_change_ix()
2420 if (crp_op->do_csum && ((crp_op->csum_start + crp_op->csum_len) > ix)){ in next_cfg_change_ix()
2421 if (crp_op->csum_start > ix) { in next_cfg_change_ix()
2428 if (ch_ix == INT_MAX) ch_ix = ix; in next_cfg_change_ix()
2429 DEBUG(printk("next_cfg_change_ix prev ix=%d, next ix=%d\n", ix, ch_ix)); in next_cfg_change_ix()