Home
last modified time | relevance | path

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

/arch/mips/math-emu/
Dsp_sqrt.c26 int ix, s, q, m, t, i; in ieee754sp_sqrt() local
68 ix = x.bits; in ieee754sp_sqrt()
71 m = (ix >> 23); in ieee754sp_sqrt()
73 for (i = 0; (ix & 0x00800000) == 0; i++) in ieee754sp_sqrt()
74 ix <<= 1; in ieee754sp_sqrt()
78 ix = (ix & 0x007fffff) | 0x00800000; in ieee754sp_sqrt()
80 ix += ix; in ieee754sp_sqrt()
84 ix += ix; in ieee754sp_sqrt()
91 if (t <= ix) { in ieee754sp_sqrt()
93 ix -= t; in ieee754sp_sqrt()
[all …]
/arch/sh/kernel/cpu/sh2a/
Dfpu.c99 unsigned int ix, iy; in denormal_mulf() local
103 ix = hx & 0x7fffffff; in denormal_mulf()
105 if (iy < 0x00800000 || ix == 0) in denormal_mulf()
109 ix &= 0x007fffff; in denormal_mulf()
111 m = (unsigned long long)ix * iy; in denormal_mulf()
119 ix = ((int) (m >> (w - 23)) & 0x007fffff) | (exp << 23); in denormal_mulf()
121 ix = (int) (m >> (w - 22 - exp)) & 0x007fffff; in denormal_mulf()
123 ix = 0; in denormal_mulf()
125 ix |= (hx ^ hy) & 0x80000000; in denormal_mulf()
126 return ix; in denormal_mulf()
[all …]
/arch/frv/kernel/
Dgdb-io.c114 unsigned ix, nix; in gdbstub_do_rx() local
116 ix = gdbstub_rx_inp; in gdbstub_do_rx()
119 nix = (ix + 2) & 0xfff; in gdbstub_do_rx()
123 gdbstub_rx_buffer[ix++] = __UART(LSR); in gdbstub_do_rx()
124 gdbstub_rx_buffer[ix++] = __UART(RX); in gdbstub_do_rx()
125 ix = nix; in gdbstub_do_rx()
128 gdbstub_rx_inp = ix; in gdbstub_do_rx()
141 unsigned ix; in gdbstub_rx_char() local
156 ix = gdbstub_rx_outp; in gdbstub_rx_char()
157 if (ix == gdbstub_rx_inp) { in gdbstub_rx_char()
[all …]
/arch/mn10300/kernel/
Dgdb-io-serial.c101 unsigned ix; in gdbstub_io_rx_char() local
117 ix = gdbstub_rx_outp; in gdbstub_io_rx_char()
119 if (ix == gdbstub_rx_inp) { in gdbstub_io_rx_char()
129 ch = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
130 st = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
132 gdbstub_rx_outp = ix & 0x00000fff; in gdbstub_io_rx_char()
Dgdb-io-ttysm.c183 unsigned ix; in gdbstub_io_rx_char() local
199 ix = gdbstub_rx_outp; in gdbstub_io_rx_char()
201 if (ix == gdbstub_rx_inp) { in gdbstub_io_rx_char()
211 ch = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
212 st = gdbstub_rx_buffer[ix++]; in gdbstub_io_rx_char()
214 gdbstub_rx_outp = ix & (PAGE_SIZE - 1); in gdbstub_io_rx_char()
Dmn10300-serial.c528 unsigned ix; in mn10300_serial_receive_interrupt() local
546 ix = ACCESS_ONCE(port->rx_outp); in mn10300_serial_receive_interrupt()
547 if (CIRC_CNT(port->rx_inp, ix, MNSC_BUFFER_SIZE) == 0) { in mn10300_serial_receive_interrupt()
554 ch = port->rx_buffer[ix++]; in mn10300_serial_receive_interrupt()
555 st = port->rx_buffer[ix++]; in mn10300_serial_receive_interrupt()
557 port->rx_outp = ix & (MNSC_BUFFER_SIZE - 1); in mn10300_serial_receive_interrupt()
1719 unsigned ix; in mn10300_serial_poll_get_char() local
1727 ix = ACCESS_ONCE(port->rx_outp); in mn10300_serial_poll_get_char()
1728 if (CIRC_CNT(port->rx_inp, ix, MNSC_BUFFER_SIZE) == 0) in mn10300_serial_poll_get_char()
1732 ch = port->rx_buffer[ix++]; in mn10300_serial_poll_get_char()
[all …]
Dgdb-stub.c441 static int __gdbstub_mark_bp(u8 *addr, int ix) in __gdbstub_mark_bp() argument
452 if (gdbstub_read_byte(addr + 0, &step_bp[ix].opcode[0]) < 0 || in __gdbstub_mark_bp()
453 gdbstub_read_byte(addr + 1, &step_bp[ix].opcode[1]) < 0) in __gdbstub_mark_bp()
456 step_bp[ix].addr = addr; in __gdbstub_mark_bp()
/arch/powerpc/perf/
Dhv-24x7.c383 static struct attribute *event_to_attr(unsigned ix, in event_to_attr() argument
395 ix, domain); in event_to_attr()
455 static ssize_t event_data_to_attrs(unsigned ix, struct attribute **attrs, in event_data_to_attrs() argument
462 *attrs = event_to_attr(ix, event, event->domain, nonce); in event_data_to_attrs()
466 attrs[i] = event_to_attr(ix, event, core_domains[i], in event_data_to_attrs()
470 "creation failure\n", ix, i); in event_data_to_attrs()
479 "catalog\n", ix, event->domain); in event_data_to_attrs()
/arch/cris/arch-v32/drivers/
Dcryptocop.c2397 static size_t next_cfg_change_ix(struct strcop_crypto_op *crp_op, size_t ix) in next_cfg_change_ix() argument
2402 if (crp_op->do_cipher && ((crp_op->cipher_start + crp_op->cipher_len) > ix)){ in next_cfg_change_ix()
2403 if (crp_op->cipher_start > ix) { in next_cfg_change_ix()
2409 if (crp_op->do_digest && ((crp_op->digest_start + crp_op->digest_len) > ix)){ in next_cfg_change_ix()
2410 if (crp_op->digest_start > ix) { in next_cfg_change_ix()
2417 if (crp_op->do_csum && ((crp_op->csum_start + crp_op->csum_len) > ix)){ in next_cfg_change_ix()
2418 if (crp_op->csum_start > ix) { in next_cfg_change_ix()
2425 if (ch_ix == INT_MAX) ch_ix = ix; in next_cfg_change_ix()
2426 DEBUG(printk("next_cfg_change_ix prev ix=%d, next ix=%d\n", ix, ch_ix)); in next_cfg_change_ix()