Searched refs:z2 (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/isdn/mISDN/
H A Ddsp_biquad.h23 int32_t z2; member in struct:biquad2_state
36 bq->z2 = 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;
/linux-master/drivers/input/touchscreen/
H A Dtsc2007.h57 u16 z1, z2; member in struct:ts_event
H A Dti_am335x_tsc.c224 u32 *x, u32 *y, u32 *z1, u32 *z2)
237 *z2 = titsc_readl(ts_dev, REG_FIFO0);
238 *z2 &= 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;
324 z /= z2;
223 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) argument
H A D88pm860x-ts.c54 int z1, z2, rt = 0; local
65 z2 = ((buf[6] & 0xFF) << 4) | (buf[7] & 0x0F);
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
184 z2 = (buf[6] << 4) | (buf[7] >> 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;
H A Dtsc200x-core.c33 * 5) tsc200x_irq_thread() queues up a transfer to fetch the x, y, z1, z2
71 u16 z2; 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) {
177 ts->in_z2 = tsdata.z2;
180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1;
H A Dtsc2007_iio.c29 TSC2007_CHAN_IIO(3, "z2", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
75 tc.z2 = tsc2007_xfer(tsc, READ_Z2);
H A Dresistive-adc-touch.c71 unsigned int z2 = touch_info[st->ch_map[GRTS_CH_Z2]]; local
75 Rt = z2;
175 /* if no pressure is defined, try optional z1 + z2 */
183 /* if z1 is provided z2 is not optional */
184 error = grts_map_channel(st, dev, GRTS_CH_Z2, "z2", true);
H A Dads7846.c91 u16 x, y, z1, z2; member in struct:ads7846_packet
190 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
714 packet->z2 = val;
825 u16 x, y, z1, z2; local
831 z2 = 0;
834 z2 = packet->z2;
845 Rt = z2;
1038 packet->cmds = 5; /* x, y, z1, z2, pwdown */
H A Dtsc2007_core.c63 tc->z2 = tsc2007_xfer(tsc, READ_Z2);
79 rt = tc->z2 - tc->z1;
H A Dad7879.c169 u16 x, y, z1, z2; local
174 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT;
193 Rt = (z2 - z1) * x * ts->x_plate_ohms;
H A Dad7877.c323 u16 x, y, z1, z2; local
328 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT;
342 Rt = (z2 - z1) * x * ts->x_plate_ohms;
/linux-master/lib/crypto/mpi/
H A Dec.c689 MPI z1, z2, z3; local
692 z2 = mpi_new(0);
694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */
697 ec_mulm(x, point->x, z2, ctx);
701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */
706 mpi_free(z2);
943 #define z2 (p2->z) macro
959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z2))) {
967 } else if (!mpi_cmp_ui(z2,
1041 #undef z2 macro
1337 MPI z2, z3; local
[all...]
/linux-master/lib/crypto/
H A Dcurve25519-fiat32.c760 fe x1, x2, z2, x3, z3; local
773 * z2' = z3' = 0, and z2 = z3 = 0 gives z2' = z3' = 0. The statement was
796 fe_0(&z2);
805 * pos >= -1; if z2 = 0 then x2 is nonzero; if z3 = 0 then x3
809 * to_xz (r*P) === if swap then (x3, z3) else (x2, z2)
810 * to_xz ((r+1)*P) === if swap then (x2, z2) else (x3, z3)
817 fe_cswap(&z2, &z3, swap);
827 fe_sub(&tmp1l, &x2, &z2);
[all...]
H A Dcurve25519-hacl64.c482 u64 *z2 = pp + 5; local
538 fmul(z2, zzz, zz);
/linux-master/crypto/
H A Decrdsa.c84 u64 *z2 = _r; local
135 vli_mod_mult_slow(z2, _r, 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.c342 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16(
369 "z1(%x) z2(%x) state(%x)\n",
372 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2),
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2);
383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n",
386 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2));
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL)
430 le16_to_cpu(zp->z2); /* maximu
[all...]
H A Dhfc_pci.h173 __le16 z2; /* Z2 pointer 16 Bit */ member in struct:zt
H A Dhfcmulti.c1904 int Zspace, z1, z2; /* must be int for calculation */ local
1989 z2 = HFC_inw_nodebug(hc, A_Z2) - hc->Zmin;
1990 while (z2 != (temp = (HFC_inw_nodebug(hc, A_Z2) - hc->Zmin))) {
1992 printk(KERN_DEBUG "%s(card %d): reread z2 because "
1993 "%d!=%d\n", __func__, hc->id + 1, temp, z2);
1994 z2 = temp; /* repeat unti Z2 is equal */
1996 hc->chan[ch].Zfill = z1 - z2;
1999 Zspace = z2 - z1;
2011 if (z1 == z2) { /* empty */
2048 && !test_bit(FLG_HDLC, &bch->Flags) && z2
2150 int Zsize, z1, z2 = 0; /* = 0, to make GCC happy */ local
[all...]
/linux-master/arch/x86/crypto/
H A Dcurve25519-x86_64.c982 u64 *z2 = nq + (u32)4U; local
998 fadd(a, x2, z2);
999 fsub(b, x2, z2);
1031 u64 *z2 = nq + (u32)4U; local
1038 fadd(a, x2, z2);
1039 fsub(b, x2, z2);
1543 u64 *z2 = &tmp[12]; local
1561 z2[0] = 1, z2[1] = z2[
[all...]
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, z2, z
[all...]
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace-asm.S87 ldr z2, [x7, #2, MUL VL]
214 str z2, [x7, #2, MUL VL]
/linux-master/drivers/iio/magnetometer/
H A Dbmc150_magn.c123 __le16 z2; member in struct:bmc150_magn_trim_regs
412 s16 z2 = le16_to_cpu(tregs->z2); local
420 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) *
/linux-master/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi-asm.S158 ldr z2, [x2, #2, MUL VL]
291 str z2, [x2, #2, MUL VL]
/linux-master/drivers/iio/adc/
H A Dat91_adc.c311 unsigned int xscale, yscale, reg, z1, z2; local
345 z2 = (reg >> 16) & xyz_mask;
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);

Completed in 309 milliseconds

12