Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Ddsp_biquad.h23 int32_t z2; member
36 bq->z2 = 0; in biquad2_init()
44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
47 bq->z2 = bq->z1; in biquad2()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Ddsp_biquad.h23 int32_t z2; member
36 bq->z2 = 0; in biquad2_init()
44 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
45 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
47 bq->z2 = bq->z1; in biquad2()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dti_am335x_tsc.c218 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates()
231 *z2 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates()
232 *z2 &= 0xfff; in titsc_read_coordinates()
275 unsigned int z1, z2, z; in titsc_irq() local
307 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); in titsc_irq()
309 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
313 * x postion/4096 * ((z2 / z1) - 1) in titsc_irq()
315 z = z1 - z2; in titsc_irq()
318 z /= z2; in titsc_irq()
217 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) titsc_read_coordinates() argument
H A Dtsc200x-core.c33 * 5) tsc200x_irq_thread() queues up a transfer to fetch the x, y, z1, z2
71 u16 z2; member
154 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
156 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread()
165 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread()
176 ts->in_z2 = tsdata.z2; in tsc200x_irq_thread()
179 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
H A D88pm860x-ts.c54 int z1, z2, rt = 0; in pm860x_touch_handler() local
65 z2 = ((buf[6] & 0xFF) << 4) | (buf[7] & 0x0F); in pm860x_touch_handler()
69 rt = z2 / z1 - 1; in pm860x_touch_handler()
71 dev_dbg(chip->dev, "z1:%d, z2:%d, rt:%d\n", in pm860x_touch_handler()
72 z1, z2, rt); in pm860x_touch_handler()
H A Dbu21029_ts.c167 u16 x, y, z1, z2; in bu21029_touch_report() local
184 z2 = (buf[6] << 4) | (buf[7] >> 4); in bu21029_touch_report()
186 if (z1 && z2) { in bu21029_touch_report()
189 * Rz = Rx * (x/Q) * ((z2/z1) - 1), where in bu21029_touch_report()
192 * x, z1, z2 are the measured positions. in bu21029_touch_report()
194 rz = z2 - z1; in bu21029_touch_report()
H A Dads7846.c94 u16 x, y, z1, z2; member
192 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
728 packet->z2 = val; in ads7846_set_cmd_val()
839 u16 x, y, z1, z2; in ads7846_report_state() local
845 z2 = 0; in ads7846_report_state()
848 z2 = packet->z2; in ads7846_report_state()
859 Rt = z2; in ads7846_report_state()
1064 packet->cmds = 5; /* x, y, z1, z2, pwdown */ in ads7846_setup_spi_msg()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dti_am335x_tsc.c225 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates()
238 *z2 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates()
239 *z2 &= 0xfff; in titsc_read_coordinates()
282 unsigned int z1, z2, z; in titsc_irq() local
314 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); in titsc_irq()
316 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
320 * x position/4096 * ((z2 / z1) - 1) in titsc_irq()
322 z = z1 - z2; in titsc_irq()
325 z /= z2; in titsc_irq()
224 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) titsc_read_coordinates() argument
H A Dtsc200x-core.c33 * 5) tsc200x_irq_thread() queues up a transfer to fetch the x, y, z1, z2
71 u16 z2; member
155 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
157 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread()
166 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread()
177 ts->in_z2 = tsdata.z2; in tsc200x_irq_thread()
180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
H A D88pm860x-ts.c54 int z1, z2, rt = 0; in pm860x_touch_handler() local
65 z2 = ((buf[6] & 0xFF) << 4) | (buf[7] & 0x0F); in pm860x_touch_handler()
69 rt = z2 / z1 - 1; in pm860x_touch_handler()
71 dev_dbg(chip->dev, "z1:%d, z2:%d, rt:%d\n", in pm860x_touch_handler()
72 z1, z2, rt); in pm860x_touch_handler()
H A Dbu21029_ts.c167 u16 x, y, z1, z2; in bu21029_touch_report() local
184 z2 = (buf[6] << 4) | (buf[7] >> 4); in bu21029_touch_report()
186 if (z1 && z2) { in bu21029_touch_report()
189 * Rz = Rx * (x/Q) * ((z2/z1) - 1), where in bu21029_touch_report()
192 * x, z1, z2 are the measured positions. in bu21029_touch_report()
194 rz = z2 - z1; in bu21029_touch_report()
H A Dresistive-adc-touch.c71 unsigned int z2 = touch_info[st->ch_map[GRTS_CH_Z2]]; in grts_cb() local
75 Rt = z2; in grts_cb()
175 /* if no pressure is defined, try optional z1 + z2 */ in grts_get_properties()
183 /* if z1 is provided z2 is not optional */ in grts_get_properties()
184 error = grts_map_channel(st, dev, GRTS_CH_Z2, "z2", true); in grts_get_properties()
H A Dads7846.c91 u16 x, y, z1, z2; member
190 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
717 packet->z2 = val; in ads7846_set_cmd_val()
828 u16 x, y, z1, z2; in ads7846_report_state() local
834 z2 = 0; in ads7846_report_state()
837 z2 = packet->z2; in ads7846_report_state()
848 Rt = z2; in ads7846_report_state()
1041 packet->cmds = 5; /* x, y, z1, z2, pwdown */ in ads7846_setup_spi_msg()
/kernel/linux/linux-5.10/sound/soc/pxa/
H A DMakefile31 snd-soc-z2-objs := z2.o
48 obj-$(CONFIG_SND_PXA2XX_SOC_Z2) += snd-soc-z2.o
/kernel/linux/linux-5.10/lib/mpi/
H A Dec.c689 MPI z1, z2, z3; in mpi_ec_get_affine() local
692 z2 = mpi_new(0); in mpi_ec_get_affine()
694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine()
697 ec_mulm(x, point->x, z2, ctx); in mpi_ec_get_affine()
701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine()
706 mpi_free(z2); in mpi_ec_get_affine()
943 #define z2 (p2->z) in add_points_weierstrass() macro
959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z2))) { in add_points_weierstrass()
967 } else if (!mpi_cmp_ui(z2, in add_points_weierstrass()
1041 #undef z2 add_points_weierstrass() macro
1340 MPI z2, z3; mpi_ec_mul_point() local
[all...]
/kernel/linux/linux-6.6/lib/crypto/mpi/
H A Dec.c689 MPI z1, z2, z3; in mpi_ec_get_affine() local
692 z2 = mpi_new(0); in mpi_ec_get_affine()
694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine()
697 ec_mulm(x, point->x, z2, ctx); in mpi_ec_get_affine()
701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine()
706 mpi_free(z2); in mpi_ec_get_affine()
943 #define z2 (p2->z) in add_points_weierstrass() macro
959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z2))) { in add_points_weierstrass()
967 } else if (!mpi_cmp_ui(z2, in add_points_weierstrass()
1041 #undef z2 add_points_weierstrass() macro
1337 MPI z2, z3; mpi_ec_mul_point() local
[all...]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c342 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16( in hfcpci_clear_fifo_rx()
369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx()
372 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", in hfcpci_clear_fifo_tx()
386 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
430 le16_to_cpu(zp->z2); /* maximu in hfcpci_empty_bfifo()
[all...]
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c342 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16( in hfcpci_clear_fifo_rx()
369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx()
372 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", in hfcpci_clear_fifo_tx()
386 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
430 le16_to_cpu(zp->z2); /* maximu in hfcpci_empty_bfifo()
[all...]
/kernel/linux/linux-5.10/lib/crypto/
H A Dcurve25519-fiat32.c760 fe x1, x2, z2, x3, z3; in curve25519_generic() local
773 * z2' = z3' = 0, and z2 = z3 = 0 gives z2' = z3' = 0. The statement was in curve25519_generic()
796 fe_0(&z2); in curve25519_generic()
805 * pos >= -1; if z2 = 0 then x2 is nonzero; if z3 = 0 then x3 in curve25519_generic()
809 * to_xz (r*P) === if swap then (x3, z3) else (x2, z2) in curve25519_generic()
810 * to_xz ((r+1)*P) === if swap then (x2, z2) else (x3, z3) in curve25519_generic()
817 fe_cswap(&z2, &z3, swap); in curve25519_generic()
827 fe_sub(&tmp1l, &x2, &z2); in curve25519_generic()
[all...]
/kernel/linux/linux-6.6/lib/crypto/
H A Dcurve25519-fiat32.c760 fe x1, x2, z2, x3, z3; in curve25519_generic() local
773 * z2' = z3' = 0, and z2 = z3 = 0 gives z2' = z3' = 0. The statement was in curve25519_generic()
796 fe_0(&z2); in curve25519_generic()
805 * pos >= -1; if z2 = 0 then x2 is nonzero; if z3 = 0 then x3 in curve25519_generic()
809 * to_xz (r*P) === if swap then (x3, z3) else (x2, z2) in curve25519_generic()
810 * to_xz ((r+1)*P) === if swap then (x2, z2) else (x3, z3) in curve25519_generic()
817 fe_cswap(&z2, &z3, swap); in curve25519_generic()
827 fe_sub(&tmp1l, &x2, &z2); in curve25519_generic()
[all...]
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dcurve25519-x86_64.c771 u64 *z2 = nq + (u32)4U; in point_add_and_double() local
787 fadd(a, x2, z2); in point_add_and_double()
788 fsub(b, x2, z2); in point_add_and_double()
820 u64 *z2 = nq + (u32)4U; in point_double() local
827 fadd(a, x2, z2); in point_double()
828 fsub(b, x2, z2); in point_double()
1332 u64 *z2 = &tmp[12]; in curve25519_ever64_base() local
1350 z2[0] = 1, z2[1] = z2[ in curve25519_ever64_base()
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dcurve25519-x86_64.c982 u64 *z2 = nq + (u32)4U; in point_add_and_double() local
998 fadd(a, x2, z2); in point_add_and_double()
999 fsub(b, x2, z2); in point_add_and_double()
1031 u64 *z2 = nq + (u32)4U; in point_double() local
1038 fadd(a, x2, z2); in point_double()
1039 fsub(b, x2, z2); in point_double()
1543 u64 *z2 = &tmp[12]; in curve25519_ever64_base() local
1561 z2[0] = 1, z2[1] = z2[ in curve25519_ever64_base()
[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...]
/kernel/linux/linux-5.10/crypto/
H A Decrdsa.c84 u64 *z2 = _r; in ecrdsa_verify() local
135 vli_mod_mult_slow(z2, _r, v, ctx->curve->n, ndigits); in ecrdsa_verify()
138 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key, in ecrdsa_verify()
/kernel/linux/linux-6.6/crypto/
H A Decrdsa.c84 u64 *z2 = _r; in ecrdsa_verify() local
135 vli_mod_mult_slow(z2, _r, v, ctx->curve->n, ndigits); in ecrdsa_verify()
138 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key, in ecrdsa_verify()

Completed in 27 milliseconds

123