Home
last modified time | relevance | path

Searched refs:z2 (Results 1 – 25 of 39) sorted by relevance

12

/linux/drivers/input/touchscreen/
H A Dapple_z2.c29 #define CAL_PROP_NAME "apple,z2-cal-blob"
81 static void apple_z2_parse_touches(struct apple_z2 *z2, in apple_z2_parse_touches() argument
95 slot = input_mt_get_slot_by_key(z2->input_dev, fingers[i].finger); in apple_z2_parse_touches()
97 dev_warn(&z2->spidev->dev, "unable to get slot for finger\n"); in apple_z2_parse_touches()
102 input_mt_slot(z2->input_dev, slot); in apple_z2_parse_touches()
103 if (!input_mt_report_slot_state(z2->input_dev, MT_TOOL_FINGER, slot_valid)) in apple_z2_parse_touches()
105 touchscreen_report_pos(z2->input_dev, &z2->props, in apple_z2_parse_touches()
109 input_report_abs(z2->input_dev, ABS_MT_WIDTH_MAJOR, in apple_z2_parse_touches()
111 input_report_abs(z2 in apple_z2_parse_touches()
124 apple_z2_read_packet(struct apple_z2 * z2) apple_z2_read_packet() argument
158 struct apple_z2 *z2 = data; apple_z2_irq() local
169 apple_z2_build_cal_blob(struct apple_z2 * z2,u32 address,size_t * size) apple_z2_build_cal_blob() argument
218 apple_z2_send_firmware_blob(struct apple_z2 * z2,const u8 * data,u32 size,bool init) apple_z2_send_firmware_blob() argument
252 apple_z2_upload_firmware(struct apple_z2 * z2) apple_z2_upload_firmware() argument
328 apple_z2_boot(struct apple_z2 * z2) apple_z2_boot() argument
351 struct apple_z2 *z2; apple_z2_probe() local
424 struct apple_z2 *z2 = spi_get_drvdata(spi); apple_z2_shutdown() local
440 struct apple_z2 *z2 = spi_get_drvdata(to_spi_device(dev)); apple_z2_resume() local
[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 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 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 Dads7846.c91 u16 x, y, z1, z2; member
191 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
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 Dtsc2007.h58 u16 z1, z2; member
H A Dad7879.c169 u16 x, y, z1, z2; in ad7879_report() local
174 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; in ad7879_report()
193 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7879_report()
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 Dad7877.c323 u16 x, y, z1, z2; in ad7877_process_data() local
328 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; in ad7877_process_data()
342 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7877_process_data()
/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_ in curve25519_fe51()
[all...]
/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
[all...]
/linux/arch/x86/crypto/
H A Dcurve25519-x86_64.c983 u64 *z2 = nq + (u32)4U; in point_add_and_double() local
999 fadd(a, x2, z2); in point_add_and_double()
1000 fsub(b, x2, z2); in point_add_and_double()
1032 u64 *z2 = nq + (u32)4U; in point_double() local
1039 fadd(a, x2, z2); in point_double()
1040 fsub(b, x2, z2); in point_double()
1544 u64 *z2 = &tmp[12]; in curve25519_ever64_base() local
1562 z2[0] = 1, z2[1] = z2[ in curve25519_ever64_base()
[all...]
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, z
504 aria_ff_gfni(x0,x1,x2,x3,x4,x5,x6,x7,y0,y1,y2,y3,y4,y5,y6,y7,z0,z1,z2,z3,z4,z5,z6,z7,mem_tmp,rk,round,last_round) global() argument
[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()
[all...]
/linux/crypto/
H A Decrdsa.c82 u64 *z2 = _r; in ecrdsa_verify() local
127 vli_mod_mult_slow(z2, _r, v, ctx->curve->n, ndigits); in ecrdsa_verify()
130 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key, in ecrdsa_verify()
/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
290 byte 5: z7 z6 z5 z4 z3 z2 z1 z0
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-skov-cpu-revc.dtsi9 io-channel-names = "y", "z1", "z2", "x";
/linux/drivers/isdn/hardware/mISDN/
H A Dhfc_pci.h173 __le16 z2; /* Z2 pointer 16 Bit */ member
H A Dhfcmulti.c1905 int Zspace, z1, z2; /* must be int for calculation */ in hfcmulti_tx() local
1990 z2 = HFC_inw_nodebug(hc, A_Z2) - hc->Zmin; in hfcmulti_tx()
1991 while (z2 != (temp = (HFC_inw_nodebug(hc, A_Z2) - hc->Zmin))) { in hfcmulti_tx()
1993 printk(KERN_DEBUG "%s(card %d): reread z2 because " in hfcmulti_tx()
1994 "%d!=%d\n", __func__, hc->id + 1, temp, z2); in hfcmulti_tx()
1995 z2 = temp; /* repeat unti Z2 is equal */ in hfcmulti_tx()
1997 hc->chan[ch].Zfill = z1 - z2; in hfcmulti_tx()
2000 Zspace = z2 - z1; in hfcmulti_tx()
2012 if (z1 == z2) { /* empty */ in hfcmulti_tx()
2049 && !test_bit(FLG_HDLC, &bch->Flags) && z2 in hfcmulti_tx()
2152 int Zsize, z1, z2 = 0; /* = 0, to make GCC happy */ hfcmulti_rx() local
[all...]
/linux/drivers/iio/magnetometer/
H A Dbmc150_magn.c119 __le16 z2; member
408 s16 z2 = le16_to_cpu(tregs->z2); in bmc150_magn_compensate_z() local
416 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * in bmc150_magn_compensate_z()
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-ptrace-asm.S86 ldr z2, [x7, #2, MUL VL]
227 str z2, [x7, #2, MUL VL]
/linux/drivers/iio/adc/
H A Dat91_adc.c310 unsigned int xscale, yscale, reg, z1, z2; in at91_ts_sample() local
344 z2 = (reg >> 16) & xyz_mask; in at91_ts_sample()
347 pres = rxp * (x * factor / 1024) * (z2 * factor / z1 - factor) in at91_ts_sample()
352 dev_dbg(&idev->dev, "xpos = %d, xscale = %d, ypos = %d, yscale = %d, z1 = %d, z2 = %d, press = %d\n", in at91_ts_sample()
353 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/linux/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi-asm.S157 ldr z2, [x2, #2, MUL VL]
289 str z2, [x2, #2, MUL VL]

12