Home
last modified time | relevance | path

Searched refs:z1 (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/arch/arm/nwfpe/
Dsoftfloat-macros107 bits64 z0, z1;
111 z1 = a1;
115 z1 = ( a0<<negCount ) | ( a1 != 0 );
120 z1 = a0 | ( a1 != 0 );
123 z1 = ( ( a0 | a1 ) != 0 );
127 *z1Ptr = z1;
145 bits64 z0, z1;
149 z1 = a1;
153 z1 = ( a0<<negCount ) | ( a1>>count );
157 z1 = ( count < 64 ) ? ( a0>>( count & 63 ) ) : 0;
[all …]
/linux-6.1.9/drivers/isdn/mISDN/
Ddsp_biquad.h22 int32_t z1; member
35 bq->z1 = 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()
48 bq->z1 = z0 >> 15; in biquad2()
/linux-6.1.9/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.yaml30 - description: z1 (optional)
43 - enum: [x, y, z1, z2]
44 - enum: [x, y, z1, z2]
45 - enum: [x, y, z1, z2]
46 - enum: [x, y, z1, z2]
84 io-channel-names = "x", "z1", "z2", "y";
/linux-6.1.9/crypto/
Decc.c1080 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument
1089 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian()
1099 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian()
1101 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian()
1104 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1106 vli_mod_add(z1, z1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1108 vli_mod_sub(z1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
1110 vli_mod_mult_fast(x1, x1, z1, curve); in ecc_point_double_jacobian()
1113 vli_mod_add(z1, x1, x1, curve_prime, ndigits); in ecc_point_double_jacobian()
1115 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian()
[all …]
Decrdsa.c83 u64 z1[ECRDSA_MAX_DIGITS]; in ecrdsa_verify() local
133 vli_mod_mult_slow(z1, s, 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()
/linux-6.1.9/drivers/input/touchscreen/
Dbu21029_ts.c167 u16 x, y, z1, z2; in bu21029_touch_report() local
183 z1 = (buf[4] << 4) | (buf[5] >> 4); in bu21029_touch_report()
186 if (z1 && z2) { in bu21029_touch_report()
194 rz = z2 - z1; in bu21029_touch_report()
197 rz /= z1; in bu21029_touch_report()
D88pm860x-ts.c54 int z1, z2, rt = 0; in pm860x_touch_handler() local
64 z1 = ((buf[4] & 0xFF) << 4) | (buf[5] & 0x0F); in pm860x_touch_handler()
68 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler()
69 rt = z2 / z1 - 1; in pm860x_touch_handler()
72 z1, z2, rt); in pm860x_touch_handler()
Dtsc200x-core.c70 u16 z1; 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()
176 ts->in_z1 = tsdata.z1; in tsc200x_irq_thread()
180 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
Dti_am335x_tsc.c226 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates() argument
237 *z1 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates()
238 *z1 &= 0xfff; in titsc_read_coordinates()
283 unsigned int z1, z2, z; in titsc_irq() local
315 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); in titsc_irq()
317 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
323 z = z1 - z2; in titsc_irq()
Dresistive-adc-touch.c70 unsigned int z1 = touch_info[st->ch_map[GRTS_CH_Z1]]; in grts_cb() local
74 if (likely(x && z1)) { in grts_cb()
76 Rt -= z1; in grts_cb()
80 Rt /= z1; in grts_cb()
Dtsc2007_core.c62 tc->z1 = tsc2007_xfer(tsc, READ_Z1); in tsc2007_read_values()
77 if (likely(tc->x && tc->z1)) { in tsc2007_calculate_resistance()
79 rt = tc->z2 - tc->z1; in tsc2007_calculate_resistance()
82 rt /= tc->z1; in tsc2007_calculate_resistance()
Dads7846.c93 u16 x, y, z1, z2; member
191 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref))
716 packet->z1 = val; in ads7846_set_cmd_val()
830 u16 x, y, z1, z2; in ads7846_report_state() local
835 z1 = 0; in ads7846_report_state()
838 z1 = packet->z1; in ads7846_report_state()
854 } else if (likely(x && z1)) { in ads7846_report_state()
857 Rt -= z1; in ads7846_report_state()
861 Rt /= z1; in ads7846_report_state()
Dad7879.c169 u16 x, y, z1, z2; in ad7879_report() local
173 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; in ad7879_report()
191 if (likely(x && z1)) { in ad7879_report()
193 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7879_report()
194 Rt /= z1; in ad7879_report()
Dad7877.c323 u16 x, y, z1, z2; in ad7877_process_data() local
327 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; in ad7877_process_data()
340 if (likely(x && z1)) { in ad7877_process_data()
342 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7877_process_data()
343 Rt /= z1; in ad7877_process_data()
Dtsc2007.h57 u16 z1, z2; member
Dtsc2007_iio.c74 tc.z1 = tsc2007_xfer(tsc, READ_Z1); in tsc2007_read_raw()
/linux-6.1.9/lib/mpi/
Dec.c686 MPI z1, z2, z3; in mpi_ec_get_affine() local
688 z1 = mpi_new(0); in mpi_ec_get_affine()
690 ec_invm(z1, point->z, ctx); /* z1 = z^(-1) mod p */ in mpi_ec_get_affine()
691 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine()
698 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine()
704 mpi_free(z1); in mpi_ec_get_affine()
937 #define z1 (p1->z) in add_points_weierstrass() macro
956 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z2))) { in add_points_weierstrass()
959 } else if (!mpi_cmp_ui(z1, 0)) { in add_points_weierstrass()
970 int z1_is_one = !mpi_cmp_ui(z1, 1); in add_points_weierstrass()
[all …]
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Dhfcpci.c341 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()
343 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx()
371 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
376 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()
385 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
408 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo()
465 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg()
473 le16_to_cpu(zp->z1), in receive_dmsg()
478 (df->data[le16_to_cpu(zp->z1)])) { in receive_dmsg()
484 df->data[le16_to_cpu(zp->z1)]); in receive_dmsg()
[all …]
Dhfc_pci.h172 __le16 z1; /* Z1 pointer 16 Bit */ member
/linux-6.1.9/arch/sh/kernel/cpu/sh4/
Dsoftfloat.c641 bits64 z1; in add128() local
643 z1 = a1 + b1; in add128()
644 *z1Ptr = z1; in add128()
645 *z0Ptr = a0 + b0 + (z1 < a1); in add128()
685 bits64 z0, zMiddleA, zMiddleB, z1; in mul64To128() local
691 z1 = ((bits64) aLow) * bLow; in mul64To128()
698 z1 += zMiddleA; in mul64To128()
699 z0 += (z1 < zMiddleA); in mul64To128()
700 *z1Ptr = z1; in mul64To128()
/linux-6.1.9/arch/x86/crypto/
Dcurve25519-x86_64.c1541 u64 *z1 = &tmp[4]; in curve25519_ever64_base() local
1560 z1[0] = 1, z1[1] = z1[2] = z1[3] = 0; in curve25519_ever64_base()
1572 fsub(b, x1, z1); in curve25519_ever64_base()
1573 fadd(a, x1, z1); in curve25519_ever64_base()
/linux-6.1.9/Documentation/input/devices/
Dalps.rst114 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
126 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
147 byte 8: 0 z6 z5 z4 z3 z2 z1 z0
168 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
196 byte 4: 0 z6 z5 z4 z3 z2 z1 z0
212 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
260 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
290 byte 5: z7 z6 z5 z4 z3 z2 z1 z0
/linux-6.1.9/arch/arm/boot/dts/
Dimx6qdl-skov-cpu-revc.dtsi9 io-channel-names = "y", "z1", "z2", "x";
/linux-6.1.9/Documentation/devicetree/bindings/iio/imu/
Dinvensense,mpu6050.yaml93 "0", /* z1 */
/linux-6.1.9/drivers/iio/magnetometer/
Dbmc150_magn.c124 __le16 z1; member
411 u16 z1 = le16_to_cpu(tregs->z1); in bmc150_magn_compensate_z() local
420 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * in bmc150_magn_compensate_z()

12