Searched refs:z1 (Results 1 - 25 of 28) sorted by relevance

12

/linux-master/drivers/isdn/mISDN/
H A Ddsp_biquad.h22 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 Dtsc2007.h57 u16 z1, z2; member in struct:ts_event
H A Dresistive-adc-touch.c70 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 D88pm860x-ts.c54 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 Dbu21029_ts.c167 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 Dtsc2007_core.c62 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 Dtsc200x-core.c33 * 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 Dti_am335x_tsc.c224 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 Dads7846.c91 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 Dtsc2007_iio.c28 TSC2007_CHAN_IIO(2, "z1", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
74 tc.z1 = tsc2007_xfer(tsc, READ_Z1);
H A Dad7879.c169 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 Dad7877.c323 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 Dec.c689 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 Decc.c1129 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 Decrdsa.c83 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 Dhfcpci.c341 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 Dhfc_pci.h172 __le16 z1; /* Z1 pointer 16 Bit */ member in struct:zt
H A Dhfcmulti.c1904 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 Dsoftfloat.c641 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 Daria-gfni-avx512-asm_64.S425 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 Dcurve25519-x86_64.c1541 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 Dfp-ptrace-asm.S86 ldr z1, [x7, #1, MUL VL]
213 str z1, [x7, #1, MUL VL]
/linux-master/drivers/iio/magnetometer/
H A Dbmc150_magn.c124 __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 Dat91_adc.c311 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 Dsyscall-abi-asm.S157 ldr z1, [x2, #1, MUL VL]
290 str z1, [x2, #1, MUL VL]

Completed in 493 milliseconds

12