Home
last modified time | relevance | path

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

123

/linux/drivers/input/touchscreen/
H A Dapple_z2.c3 * Apple Z2 touchscreen driver
30 #define CAL_PROP_NAME "apple,z2-cal-blob"
82 static void apple_z2_parse_touches(struct apple_z2 *z2, in apple_z2_parse_touches() argument
96 slot = input_mt_get_slot_by_key(z2->input_dev, fingers[i].finger); in apple_z2_parse_touches()
98 dev_warn(&z2->spidev->dev, "unable to get slot for finger\n"); in apple_z2_parse_touches()
103 input_mt_slot(z2->input_dev, slot); in apple_z2_parse_touches()
104 if (!input_mt_report_slot_state(z2->input_dev, MT_TOOL_FINGER, slot_valid)) in apple_z2_parse_touches()
106 touchscreen_report_pos(z2->input_dev, &z2->props, in apple_z2_parse_touches()
110 input_report_abs(z2->input_dev, ABS_MT_WIDTH_MAJOR, in apple_z2_parse_touches()
112 input_report_abs(z2->input_dev, ABS_MT_WIDTH_MINOR, in apple_z2_parse_touches()
[all …]
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 Dtsc2007.h58 u16 z1, z2; member
/linux/lib/crypto/powerpc/
H A Dcurve25519.h112 fe51 x1, x2, z2, x3, z3; in curve25519_fe51() local
123 z2[0] = z2[1] = z2[2] = z2[3] = z2[4] = 0; in curve25519_fe51()
144 x25519_cswap(z2, z3, swap); in curve25519_fe51()
147 fsub(b, x2, z2); // B = x_2 - z_2 in curve25519_fe51()
148 fadd(a, x2, z2); // A = x_2 + z_2 in curve25519_fe51()
163 fsqr(z2, dacb_m); // (DA - CB)^2 in curve25519_fe51()
166 fmul(z3, x1, z2); // z3 = x1 * (DA - CB)^2 in curve25519_fe51()
167 fmul(z2, e, b); // z2 = e * (BB + (DA + CB)^2) in curve25519_fe51()
170 finv(z2, z2); in curve25519_fe51()
171 fmul(x2, x2, z2); in curve25519_fe51()
/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/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/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/lib/crc/arm/
H A Dcrc-t10dif-core.S122 * { x0, x1, x2, x3, x4, x5, x6, x7 }, { z0, z1, z2, z3, z4, z5, z6, z7 }
135 * 2 (w0*x2 ^ w1*x1) << 16 ^ | (y0*z2 ^ y1*z1) << 16 ^
136 * 3 (w0*x3 ^ w1*x2) << 24 ^ | (y0*z3 ^ y1*z2) << 24 ^
146 * { x0, x2, x4, x6, z0, z2, z4, z6 }, { x1, x3, x5, x7, z1, z3, z5, z7 }
152 * a := { w0*x0, w0*x2, w0*x4, w0*x6 }, { y0*z0, y0*z2, y0*z4, y0*z6 }
154 * c := { w1*x0, w1*x2, w1*x4, w1*x6 }, { y1*z0, y1*z2, y1*z4, y1*z6 }
/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.h26 " amoswap" swap_sfx " %0, %z2, %1\n" \
144 " amocas" cas_sfx " %0, %z2, %1\n" \
191 " amocas" cas_sfx " %0, %z2, %1\n" \
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3318-a95x-z2.dts8 model = "A95X Z2";
9 compatible = "zkmagic,a95x-z2", "rockchip,rk3318";
/linux/Documentation/devicetree/bindings/clock/
H A Drenesas,cpg-div6-clock.yaml61 "pll2s", "pll2h", "z", "z2",
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi9 io-channel-names = "y", "z1", "z2", "x";
/linux/lib/crypto/x86/
H A Dcurve25519.h977 u64 *z2 = nq + (u32)4U; in point_add_and_double() local
993 fadd(a, x2, z2); in point_add_and_double()
994 fsub(b, x2, z2); in point_add_and_double()
1026 u64 *z2 = nq + (u32)4U; in point_double() local
1033 fadd(a, x2, z2); in point_double()
1034 fsub(b, x2, z2); in point_double()
1538 u64 *z2 = &tmp[12]; in curve25519_ever64_base() local
1556 z2[0] = 1, z2[1] = z2[2] = z2[3] = 0; in curve25519_ever64_base()
/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.c120 __le16 z2; member
413 s16 z2 = le16_to_cpu(tregs->z2); in bmc150_magn_compensate_z() local
421 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * in bmc150_magn_compensate_z()
/linux/Documentation/devicetree/bindings/iio/magnetometer/
H A Dasahi-kasei,ak8975.yaml94 "0.984807753012208"; /* z2 */

123