/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | dsp_biquad.h | 22 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()
|
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | dsp_biquad.h | 22 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace-asm.S | 20 mov z1.d, z0.d 27 mov z1.d, z0.d
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 70 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() 175 /* if no pressure is defined, try optional z1 + z2 */ in grts_get_properties() 176 error = grts_map_channel(st, dev, GRTS_CH_Z1, "z1", true); in grts_get_properties() 183 /* if z1 is provided z2 is not optional */ in grts_get_properties()
|
H A D | 88pm860x-ts.c | 54 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() 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 D | bu21029_ts.c | 167 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() 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() 197 rz /= z1; in bu21029_touch_report()
|
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 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()
|
H A D | ti_am335x_tsc.c | 225 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates() 236 *z1 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates() 237 *z1 &= 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() 224 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) titsc_read_coordinates() argument
|
H A D | tsc2007_core.c | 62 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()
|
H A D | ad7879.c | 169 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()
|
H A D | ads7846.c | 91 u16 x, y, z1, z2; member 189 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref)) 714 packet->z1 = val; in ads7846_set_cmd_val() 828 u16 x, y, z1, z2; in ads7846_report_state() local 833 z1 = 0; in ads7846_report_state() 836 z1 = packet->z1; in ads7846_report_state() 846 } else if (likely(x && z1)) { in ads7846_report_state() 849 Rt -= z1; in ads7846_report_state() 853 Rt /= z1; in ads7846_report_state() [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | 88pm860x-ts.c | 54 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() 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 D | bu21029_ts.c | 167 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() 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() 197 rz /= z1; in bu21029_touch_report()
|
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 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() 175 ts->in_z1 = tsdata.z1; in tsc200x_irq_thread() 179 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
|
H A D | ti_am335x_tsc.c | 218 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates() 229 *z1 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates() 230 *z1 &= 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() 217 titsc_read_coordinates(struct titsc *ts_dev, u32 *x, u32 *y, u32 *z1, u32 *z2) titsc_read_coordinates() argument
|
H A D | ad7879.c | 169 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()
|
H A D | ads7846.c | 94 u16 x, y, z1, z2; member 191 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref)) 725 packet->z1 = val; in ads7846_set_cmd_val() 839 u16 x, y, z1, z2; in ads7846_report_state() local 844 z1 = 0; in ads7846_report_state() 847 z1 = packet->z1; in ads7846_report_state() 857 } else if (likely(x && z1)) { in ads7846_report_state() 860 Rt -= z1; in ads7846_report_state() 864 Rt /= z1; in ads7846_report_state() [all...] |
/kernel/linux/linux-5.10/lib/mpi/ |
H A D | ec.c | 689 MPI z1, z2, z3; in mpi_ec_get_affine() local 691 z1 = mpi_new(0); in mpi_ec_get_affine() 693 ec_invm(z1, point->z, ctx); /* z1 = z^(-1) mod p */ in mpi_ec_get_affine() 694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine() 701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine() 707 mpi_free(z1); in mpi_ec_get_affine() 940 #define z1 (p1->z) in add_points_weierstrass() macro 959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z in add_points_weierstrass() 1038 #undef z1 add_points_weierstrass() macro 1217 MPI x1, y1, z1, k, h, yy; mpi_ec_mul_point() local [all...] |
/kernel/linux/linux-6.6/lib/crypto/mpi/ |
H A D | ec.c | 689 MPI z1, z2, z3; in mpi_ec_get_affine() local 691 z1 = mpi_new(0); in mpi_ec_get_affine() 693 ec_invm(z1, point->z, ctx); /* z1 = z^(-1) mod p */ in mpi_ec_get_affine() 694 ec_mulm(z2, z1, z1, ctx); /* z2 = z^(-2) mod p */ in mpi_ec_get_affine() 701 ec_mulm(z3, z2, z1, ctx); /* z3 = z^(-3) mod p */ in mpi_ec_get_affine() 707 mpi_free(z1); in mpi_ec_get_affine() 940 #define z1 (p1->z) in add_points_weierstrass() macro 959 if ((!mpi_cmp(x1, x2)) && (!mpi_cmp(y1, y2)) && (!mpi_cmp(z1, z in add_points_weierstrass() 1038 #undef z1 add_points_weierstrass() macro 1217 MPI x1, y1, z1, k, h, yy; mpi_ec_mul_point() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | ecc.c | 1068 static void ecc_point_double_jacobian(u64 *x1, u64 *y1, u64 *z1, in ecc_point_double_jacobian() argument 1077 if (vli_is_zero(z1, ndigits)) in ecc_point_double_jacobian() 1086 /* t2 = y1*z1 = z3 */ in ecc_point_double_jacobian() 1087 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian() 1088 /* t3 = z1^2 */ in ecc_point_double_jacobian() 1089 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian() 1091 /* t1 = x1 + z1^2 */ in ecc_point_double_jacobian() 1092 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian() 1093 /* t3 = 2*z1 in ecc_point_double_jacobian() [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | ecc.c | 1080 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() 1098 /* t2 = y1*z1 = z3 */ in ecc_point_double_jacobian() 1099 vli_mod_mult_fast(y1, y1, z1, curve); in ecc_point_double_jacobian() 1100 /* t3 = z1^2 */ in ecc_point_double_jacobian() 1101 vli_mod_square_fast(z1, z1, curve); in ecc_point_double_jacobian() 1103 /* t1 = x1 + z1^2 */ in ecc_point_double_jacobian() 1104 vli_mod_add(x1, x1, z1, curve_prime, ndigits); in ecc_point_double_jacobian() 1105 /* t3 = 2*z1 in ecc_point_double_jacobian() [all...] |
/kernel/linux/linux-5.10/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); in hfcpci_clear_fifo_rx() 343 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx() 369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx() 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() 383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", 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() 471 "hfcpci recd f1(%d) f2(%d) z1( in receive_dmsg() [all...] |
/kernel/linux/linux-6.6/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); in hfcpci_clear_fifo_rx() 343 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx() 369 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx() 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() 383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", 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() 471 "hfcpci recd f1(%d) f2(%d) z1( in receive_dmsg() [all...] |
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 641 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()
|
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 641 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()
|