Home
last modified time | relevance | path

Searched full:z2 (Results 1 – 25 of 86) sorted by relevance

1234

/linux/arch/powerpc/crypto/
H A Dcurve25519-ppc64le-core.c117 fe51 x1, x2, z2, x3, z3; in curve25519_fe51() local
128 z2[0] = z2[1] = z2[2] = z2[3] = z2[4] = 0; in curve25519_fe51()
149 x25519_cswap(z2, z3, swap); in curve25519_fe51()
152 fsub(b, x2, z2); // B = x_2 - z_2 in curve25519_fe51()
153 fadd(a, x2, z2); // A = x_2 + z_2 in curve25519_fe51()
168 fsqr(z2, dacb_m); // (DA - CB)^2 in curve25519_fe51()
171 fmul(z3, x1, z2); // z3 = x1 * (DA - CB)^2 in curve25519_fe51()
172 fmul(z2, e, b); // z2 = e * (BB + (DA + CB)^2) in curve25519_fe51()
175 finv(z2, z2); in curve25519_fe51()
176 fmul(x2, x2, z2); in curve25519_fe51()
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dresistive-adc-touch.yaml31 - description: z2 (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/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()
/linux/tools/memory-model/litmus-tests/
H A Ddep+plain.litmus8 * The data stored to *z1 and *z2 by P0() originates from P0()'s
16 P0(int *x, int *y, int *z1, int *z2)
20 *z2 = *z1;
21 if (*z2 == 1)
/linux/arch/arm/nwfpe/
H A Dsoftfloat-macros240 bits64 z0, z1, z2;
244 z2 = a2;
250 z2 = a1<<negCount;
256 z2 = a1;
262 z2 = a0<<negCount;
266 z2 = ( count == 128 ) ? a0 : ( a0 != 0 );
272 z2 |= ( a2 != 0 );
274 *z2Ptr = z2;
319 bits64 z0, z1, z2;
322 z2 = a2<<count;
[all …]
/linux/Documentation/input/devices/
H A 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
280 byte 4: Z7 Z6 Z5 Z4 Z3 Z2 Z1 Z0
290 byte 5: z7 z6 z5 z4 z3 z2 z1 z0
304 byte 5: T&P 0 Z5 Z4 Z3 Z2 Z1 Z0
[all …]
/linux/drivers/comedi/drivers/
H A Damplc_pci224.c130 #define PCI224_DACCON_TRIG_Z2CT0 PCI224_DACCON_TRIG(4) /* Z2 CT0 out */
131 #define PCI224_DACCON_TRIG_Z2CT1 PCI224_DACCON_TRIG(5) /* Z2 CT1 out */
132 #define PCI224_DACCON_TRIG_Z2CT2 PCI224_DACCON_TRIG(6) /* Z2 CT2 out */
224 * Z2-CT0 Z2-CT2-OUT /Z2-CT1-OUT
225 * Z2-CT1 Z2-CT0-OUT /Z2-CT2-OUT
226 * Z2-CT2 Z2-CT1-OUT /Z2-CT0-OUT
234 #define PCI224_INTR_Z2CT1 0x20 /* rising edge on Z2-CT1 output */
811 * The output of timer Z2-0 will be used as the scan trigger in pci224_ao_start_pacer()
814 /* Make sure Z2-0 is gated on. */ in pci224_ao_start_pacer()
816 /* Cascading with Z2-2. */ in pci224_ao_start_pacer()
[all …]
H A Damplc_dio200_pci.c35 * 3 CTR-Z2 UNUSED UNUSED
37 * 5 CTR-Z2 CTR-Z2
50 * 5 CTR-Z2
179 * 5 CTR-Z2-OUT1 CTR-Z2-OUT1 CTR-Z2-OUT1
189 * 5 PPI-Z-C3 CTR-Z2-OUT1
H A Damplc_dio200.c37 * 3 CTR-Z1 INTERRUPT* CTR-Z2
38 * 4 CTR-Z2 INTERRUPT
49 * 5 CTR-Z2
146 * 5 CTR-Z2-OUT1 CTR-Z2-OUT1
156 * 5 CTR-Z2-OUT1 PPI-Z-C3
H A Damplc_pci230.c247 #define PCI230P2_DAC_TRIG_Z2CT0 PCI230P2_DAC_TRIG(4) /* Z2 CT0 out */
248 #define PCI230P2_DAC_TRIG_Z2CT1 PCI230P2_DAC_TRIG(5) /* Z2 CT1 out */
249 #define PCI230P2_DAC_TRIG_Z2CT2 PCI230P2_DAC_TRIG(6) /* Z2 CT2 out */
304 #define PCI230_ADC_TRIG_Z2CT0 PCI230_ADC_TRIG(4) /* Z2 CT0 out*/
305 #define PCI230_ADC_TRIG_Z2CT1 PCI230_ADC_TRIG(5) /* Z2 CT1 out */
306 #define PCI230_ADC_TRIG_Z2CT2 PCI230_ADC_TRIG(6) /* Z2 CT2 out */
394 * Z2-CT0 Z2-CT2-OUT /Z2-CT1-OUT
395 * Z2-CT1 Z2-CT0-OUT /Z2-CT2-OUT
396 * Z2-CT2 Z2-CT1-OUT /Z2-CT0-OUT
414 RES_Z2CT0 = BIT(0), /* Z2-CT0 */
[all …]
/linux/drivers/input/touchscreen/
H A Dti_am335x_tsc.c224 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates() argument
237 *z2 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates()
238 *z2 &= 0xfff; in titsc_read_coordinates()
281 unsigned int z1, z2, z; in titsc_irq() local
313 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); in titsc_irq()
315 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
319 * x position/4096 * ((z2 / z1) - 1) in titsc_irq()
321 z = z1 - z2; in titsc_irq()
324 z /= z2; in titsc_irq()
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 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 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 Dtsc2007_iio.c29 TSC2007_CHAN_IIO(3, "z2", IIO_VOLTAGE, IIO_CHAN_INFO_RAW),
75 tc.z2 = tsc2007_xfer(tsc, READ_Z2); in tsc2007_read_raw()
H A Dads7846.c91 u16 x, y, z1, z2; member
191 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
209 * Measure: Z2; Vref: Y+, X-; IN: Y-
721 packet->z2 = val; in ads7846_set_cmd_val()
854 u16 x, y, z1, z2; in ads7846_report_state() local
860 z2 = 0; in ads7846_report_state()
863 z2 = packet->z2; in ads7846_report_state()
874 Rt = z2; in ads7846_report_state()
1067 packet->cmds = 5; /* x, y, z1, z2, pwdown */ in ads7846_setup_spi_msg()
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()
/linux/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()
828 fe_add(&x2l, &x2, &z2); in curve25519_generic()
831 fe_mul_tll(&z2, &z2l, &tmp1l); in curve25519_generic()
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c343 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16( in hfcpci_clear_fifo_rx()
370 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx()
373 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
378 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
384 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", in hfcpci_clear_fifo_tx()
387 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
404 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
416 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
427 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
431 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
[all …]
H A Dhfc_pci.h173 __le16 z2; /* Z2 pointer 16 Bit */ member
/linux/arch/x86/crypto/
H A Daria-gfni-avx512-asm_64.S425 z0, z1, z2, z3, \ argument
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, \ argument
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, z3); \
[all …]
/linux/arch/powerpc/math-emu/
H A Dmath_efp.c832 fgpr.wp[1]++; /* Z < 0, choose Z2 */ in speround_handler()
834 fgpr.wp[1]--; /* Z < 0, choose Z2 */ in speround_handler()
850 fgpr.dp[0]++; /* Z < 0, choose Z2 */ in speround_handler()
852 fgpr.wp[1]--; /* Z < 0, choose Z2 */ in speround_handler()
866 fgpr.wp[1]++; /* Z_low < 0, choose Z2 */ in speround_handler()
868 fgpr.wp[1]--; /* Z_low < 0, choose Z2 */ in speround_handler()
872 fgpr.wp[0]++; /* Z_high < 0, choose Z2 */ in speround_handler()
874 fgpr.wp[0]--; /* Z_high < 0, choose Z2 */ in speround_handler()
/linux/drivers/zorro/
H A Dzorro.ids322 1500 Picasso IV Z2 RAM [Graphics Card]
323 1600 Picasso IV Z2 RAM [Graphics Card]
324 1700 Picasso IV Z2 [Graphics Card]
400 0100 ISDN Blaster Z2 [ISDN Interface]
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h24 " amoswap" swap_sfx " %0, %z2, %1\n" \
140 " amocas" cas_sfx " %0, %z2, %1\n" \
186 " amocas" cas_sfx " %0, %z2, %1\n" \
/linux/Documentation/devicetree/bindings/clock/
H A Drenesas,cpg-div6-clock.yaml61 "pll2s", "pll2h", "z", "z2",

1234