/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_biquad.h | 22 int32_t z1; member in struct:biquad2_state 35 bq->z1 = 0; 44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; 45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; 47 bq->z2 = bq->z1; 48 bq->z1 = z0 >> 15;
|
/linux-master/drivers/input/touchscreen/ |
H A D | tsc2007.h | 57 u16 z1, z2; member in struct:ts_event
|
H A D | resistive-adc-touch.c | 70 unsigned int z1 = touch_info[st->ch_map[GRTS_CH_Z1]]; local 74 if (likely(x && z1)) { 76 Rt -= z1; 80 Rt /= z1; 175 /* if no pressure is defined, try optional z1 + z2 */ 176 error = grts_map_channel(st, dev, GRTS_CH_Z1, "z1", true); 183 /* if z1 is provided z2 is not optional */
|
H A D | 88pm860x-ts.c | 54 int z1, z2, rt = 0; local 64 z1 = ((buf[4] & 0xFF) << 4) | (buf[5] & 0x0F); 68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { 69 rt = z2 / z1 - 1; 71 dev_dbg(chip->dev, "z1:%d, z2:%d, rt:%d\n", 72 z1, z2, rt);
|
H A D | bu21029_ts.c | 167 u16 x, y, z1, z2; local 183 z1 = (buf[4] << 4) | (buf[5] >> 4); 186 if (z1 && z2) { 189 * Rz = Rx * (x/Q) * ((z2/z1) - 1), where 192 * x, z1, z2 are the measured positions. 194 rz = z2 - z1; 197 rz /= z1;
|
H A D | tsc2007_core.c | 62 tc->z1 = tsc2007_xfer(tsc, READ_Z1); 77 if (likely(tc->x && tc->z1)) { 79 rt = tc->z2 - tc->z1; 82 rt /= tc->z1;
|
H A D | tsc200x-core.c | 33 * 5) tsc200x_irq_thread() queues up a transfer to fetch the x, y, z1, z2 70 u16 z1; member in struct:tsc200x_data 155 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) 157 if (unlikely(tsdata.z1 >= tsdata.z2)) 166 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { 176 ts->in_z1 = tsdata.z1; 180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1;
|
H A D | ti_am335x_tsc.c | 224 u32 *x, u32 *y, u32 *z1, u32 *z2) 235 *z1 = titsc_readl(ts_dev, REG_FIFO0); 236 *z1 &= 0xfff; 281 unsigned int z1, z2, z; local 313 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); 315 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { 319 * x position/4096 * ((z2 / z1) - 1) 321 z = z1 - z2; 223 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) argument
|
H A D | ads7846.c | 91 u16 x, y, z1, z2; member in struct:ads7846_packet 189 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref)) 711 packet->z1 = val; 825 u16 x, y, z1, z2; local 830 z1 = 0; 833 z1 = packet->z1; 843 } else if (likely(x && z1)) { 846 Rt -= z1; 850 Rt /= z1; [all...] |
H A D | tsc2007_iio.c | 28 TSC2007_CHAN_IIO(2, "z1", IIO_VOLTAGE, IIO_CHAN_INFO_RAW), 74 tc.z1 = tsc2007_xfer(tsc, READ_Z1);
|
H A D | ad7879.c | 169 u16 x, y, z1, z2; local 173 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; 191 if (likely(x && z1)) { 193 Rt = (z2 - z1) * x * ts->x_plate_ohms; 194 Rt /= z1;
|
H A D | ad7877.c | 323 u16 x, y, z1, z2; local 327 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; 340 if (likely(x && z1)) { 342 Rt = (z2 - z1) * x * ts->x_plate_ohms; 343 Rt /= z1;
|
/linux-master/lib/crypto/mpi/ |
H A D | ec.c | 689 MPI z1, z2, z3; local 691 z1 = mpi_new(0); 693 ec_invm(z1, point->z, ctx); /* z1 = z^(-1) mod p */ 694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ 701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ 707 mpi_free(z1); 940 #define z1 (p1->z) macro 959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z 1038 #undef z1 macro 1217 MPI x1, y1, z1, k, h, yy; local [all...] |
/linux-master/crypto/ |
H A D | ecc.c | 1129 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, argument 1138 if (vli_is_zero(z1, ndigits)) 1147 /* t2 = y1*z1 = z3 */ 1148 vli_mod_mult_fast(y1, y1, z1, curve); 1149 /* t3 = z1^2 */ 1150 vli_mod_square_fast(z1, z1, curve); 1152 /* t1 = x1 + z1^2 */ 1153 vli_mod_add(x1, x1, z1, curve_prime, ndigits); 1154 /* t3 = 2*z1 [all...] |
H A D | ecrdsa.c | 83 u64 z1[ECRDSA_MAX_DIGITS]; local 133 vli_mod_mult_slow(z1, s, v, ctx->curve->n, ndigits); 138 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key,
|
/linux-master/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 341 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); 343 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); 369 "z1(%x) z2(%x) state(%x)\n", 371 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), 376 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); 383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", 385 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), 408 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { 465 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); 471 "hfcpci recd f1(%d) f2(%d) z1( [all...] |
H A D | hfc_pci.h | 172 __le16 z1; /* Z1 pointer 16 Bit */ member in struct:zt
|
H A D | hfcmulti.c | 1904 int Zspace, z1, z2; /* must be int for calculation */ local 1988 z1 = HFC_inw_nodebug(hc, A_Z1) - hc->Zmin; 1996 hc->chan[ch].Zfill = z1 - z2; 1999 Zspace = z2 - z1; 2011 if (z1 == z2) { /* empty */ 2048 && !test_bit(FLG_HDLC, &bch->Flags) && z2 == z1) { 2102 "left (z1=%04x, z2=%04x) sending %d of %d bytes %s\n", 2103 __func__, hc->id + 1, ch, Zspace, z1, z2, ii-i, len-i, 2150 int Zsize, z1, z2 = 0; /* = 0, to make GCC happy */ local 2199 z1 [all...] |
/linux-master/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 641 bits64 z1; local 643 z1 = a1 + b1; 644 *z1Ptr = z1; 645 *z0Ptr = a0 + b0 + (z1 < a1); 685 bits64 z0, zMiddleA, zMiddleB, z1; local 691 z1 = ((bits64) aLow) * bLow; 698 z1 += zMiddleA; 699 z0 += (z1 < zMiddleA); 700 *z1Ptr = z1;
|
/linux-master/arch/x86/crypto/ |
H A D | aria-gfni-avx512-asm_64.S | 425 z0, z1, z2, z3, \ 436 z0, z1, z2, z3, \ 439 aria_diff_m(x0, x1, x2, x3, z0, z1, z2, z3); \ 440 aria_diff_m(x4, x5, x6, x7, z0, z1, z2, z3); \ 441 aria_diff_m(y0, y1, y2, y3, z0, z1, z2, z3); \ 442 aria_diff_m(y4, y5, y6, y7, z0, z1, z2, z3); \ 465 z0, z1, z2, z3, \ 476 z0, z1, z2, z3, \ 479 aria_diff_m(x0, x1, x2, x3, z0, z1, z2, z3); \ 480 aria_diff_m(x4, x5, x6, x7, z0, z1, z [all...] |
H A D | curve25519-x86_64.c | 1541 u64 *z1 = &tmp[4]; local 1560 z1[0] = 1, z1[1] = z1[2] = z1[3] = 0; 1572 fsub(b, x1, z1); 1573 fadd(a, x1, z1);
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | fp-ptrace-asm.S | 86 ldr z1, [x7, #1, MUL VL] 213 str z1, [x7, #1, MUL VL]
|
/linux-master/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 124 __le16 z1; member in struct:bmc150_magn_trim_regs 411 u16 z1 = le16_to_cpu(tregs->z1); local 420 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) *
|
/linux-master/drivers/iio/adc/ |
H A D | at91_adc.c | 311 unsigned int xscale, yscale, reg, z1, z2; local 344 z1 = reg & xyz_mask; 347 if (z1 != 0) 348 pres = rxp * (x * factor / 1024) * (z2 * factor / z1 - factor) 353 dev_dbg(&idev->dev, "xpos = %d, xscale = %d, ypos = %d, yscale = %d, z1 = %d, z2 = %d, press = %d\n", 354 xpos, xscale, ypos, yscale, z1, z2, pres);
|
/linux-master/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi-asm.S | 157 ldr z1, [x2, #1, MUL VL] 290 str z1, [x2, #1, MUL VL]
|