Searched refs:z2 (Results 1 - 20 of 20) sorted by relevance

/drivers/isdn/mISDN/
H A Ddsp_biquad.h37 int32_t z2; member in struct:biquad2_state
50 bq->z2 = 0;
58 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2;
59 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2;
61 bq->z2 = bq->z1;
/drivers/input/touchscreen/
H A D88pm860x-ts.c55 int z1, z2, rt = 0; local
66 z2 = ((buf[6] & 0xFF) << 4) | (buf[7] & 0x0F);
70 rt = z2 / z1 - 1;
72 dev_dbg(chip->dev, "z1:%d, z2:%d, rt:%d\n",
73 z1, z2, rt);
H A Dtsc2005.c41 * 5) tsc2005_irq_thread() queues up an spi transfer to fetch the x, y, z1, z2
258 u32 z1, z2; local
269 z2 = ts->spi_z2.spi_rx;
276 if (unlikely(z1 == 0 || z2 > MAX_12BIT || z1 >= z2))
285 ts->in_z1 == z1 && ts->in_z2 == z2) {
296 ts->in_z2 = z2;
299 pressure = x * (z2 - z1) / z1;
H A Dtsc2007.c63 u16 z1, z2; member in struct:ts_event
119 tc->z2 = tsc2007_xfer(tsc, READ_Z2);
135 rt = tc->z2 - tc->z1;
H A Dti_tscadc.c240 unsigned int z1, z2, z; local
248 z2 = tscadc_readl(ts_dev, REG_FIFO1) & 0xfff;
250 if (ts_dev->pen_down && z1 != 0 && z2 != 0) {
254 * x postion/4096 * ((z2 / z1) - 1)
256 z = z2 - z1;
H A Dads7846.c74 u16 z1, z2; member in struct:ts_event
187 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
775 u16 x, y, z1, z2; local
786 z2 = 0;
791 z2 = packet->tc.z2;
808 Rt = z2;
1146 x->rx_buf = &packet->tc.z2;
1160 x->rx_buf = &packet->tc.z2;
H A Dtnetv107x-ts.c101 int x, y, z1, z2, t, p = 0; local
112 z2 = tsc_read(ts, chval[3]) & 0xffff;
115 t = ((600 * x) * (z2 - z1));
H A Dad7879.c157 u16 x, y, z1, z2; local
162 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT;
178 Rt = (z2 - z1) * x * ts->x_plate_ohms;
H A Dad7877.c341 u16 x, y, z1, z2; local
346 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT;
360 Rt = (z2 - z1) * x * ts->x_plate_ohms;
/drivers/isdn/hisax/
H A Dhfc_2bs0.c87 int rcnt, z1, z2; local
103 z2 = ReadZReg(bcs, HFC_Z2 | HFC_REC | HFC_CHANNEL(bcs->channel));
105 while (((f1 != f2) || (z1 != z2)) && cnt--) {
109 rcnt = z1 - z2;
115 debugl1(cs, "hfc clear %d z1(%x) z2(%x) cnt(%d)",
116 bcs->channel, z1, z2, rcnt);
136 z2 = ReadZReg(bcs, HFC_Z2 | HFC_REC | HFC_CHANNEL(bcs->channel));
242 int z1, z2; local
279 z2 = ReadZReg(bcs, HFC_Z2 | HFC_REC | HFC_CHANNEL(bcs->channel));
280 count = z1 - z2;
329 int z1, z2, rcnt; local
[all...]
H A Dhfc_pci.c232 bzr->za[MAX_B_FRAMES].z2 = bzr->za[MAX_B_FRAMES].z1;
258 bzt->za[MAX_B_FRAMES].z2 = bzt->za[MAX_B_FRAMES].z1;
282 new_z2 = zp->z2 + count; /* new position in fifo */
293 bz->za[new_f2].z2 = new_z2;
303 if (zp->z2 + count <= B_FIFO_SIZE + B_SUB_VAL)
306 maxlen = B_FIFO_SIZE + B_SUB_VAL - zp->z2; /* maximum */
308 ptr1 = bdata + (zp->z2 - B_SUB_VAL); /* start of data */
317 bz->za[new_f2].z2 = new_z2;
346 rcnt = zp->z1 - zp->z2;
351 debugl1(cs, "hfcpci recd f1(%d) f2(%d) z1(%x) z2(
[all...]
H A Dhfc_sx.c120 int fifo_size, count, z1, z2; local
142 z2 = Read_hfc(cs, HFCSX_FIF_Z2H);
143 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L));
144 count = z2 - z1;
208 { int fifo_size, count, z1, z2; local
228 z2 = Read_hfc(cs, HFCSX_FIF_Z2H);
229 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L));
231 count = z1 - z2;
[all...]
H A Dhfc_pci.h187 unsigned short z2; /* Z2 pointer 16 Bit */ member in struct:__anon1239
H A Dhfc_2bds0.c354 int z1, z2, rcnt; local
377 z2 = ReadZReg(cs, HFCB_FIFO | HFCB_Z2 | HFCB_REC | HFCB_CHANNEL(bcs->channel));
378 rcnt = z1 - z2;
383 debugl1(cs, "hfc rec %d z1(%x) z2(%x) cnt(%d)",
384 bcs->channel, z1, z2, rcnt);
591 int rcnt, z1, z2; local
610 z2 = ReadZReg(cs, HFCD_FIFO | HFCD_Z2 | HFCD_REC);
611 rcnt = z1 - z2;
616 debugl1(cs, "hfcd recd f1(%d) f2(%d) z1(%x) z2(%x) cnt(%d)",
617 f1, f2, z1, z2, rcn
[all...]
H A Dhfc4s8s_l1.c675 int z1, z2; local
701 z2 = Read_hfc16(l1p->hw, A_Z2);
703 z1 = z1 - z2 + 1;
803 int z1, z2, hdlc_complete; local
824 z2 = Read_hfc16(l1->hw, A_Z2);
825 z1 = (z1 - z2);
/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c354 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16(
381 "z1(%x) z2(%x) state(%x)\n",
384 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2),
389 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2);
395 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n",
398 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2));
415 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
427 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL)
442 le16_to_cpu(zp->z2); /* maximu
[all...]
H A Dhfc_pci.h187 __le16 z2; /* Z2 pointer 16 Bit */ member in struct:zt
H A Dhfcmulti.c1913 int Zspace, z1, z2; /* must be int for calculation */ local
1998 z2 = HFC_inw_nodebug(hc, A_Z2) - hc->Zmin;
1999 while (z2 != (temp = (HFC_inw_nodebug(hc, A_Z2) - hc->Zmin))) {
2001 printk(KERN_DEBUG "%s(card %d): reread z2 because "
2002 "%d!=%d\n", __func__, hc->id + 1, temp, z2);
2003 z2 = temp; /* repeat unti Z2 is equal */
2005 hc->chan[ch].Zfill = z1 - z2;
2008 Zspace = z2 - z1;
2020 if (z1 == z2) { /* empty */
2057 && !test_bit(FLG_HDLC, &bch->Flags) && z2
2162 int Zsize, z1, z2 = 0; /* = 0, to make GCC happy */ local
[all...]
/drivers/s390/crypto/
H A Dzcrypt_api.c368 unsigned long long z1, z2, z3; local
410 z1 = z2 = z3 = 0;
412 copy_from_user(&z2, crt->bp_key, len) ||
415 z1 = z2 = z3 = 0;
423 if (z1 != 0ULL || z2 != 0ULL || z3 != 0ULL)
/drivers/video/
H A Dcg6.c201 u32 x2, y2, z2, color2; member in struct:cg6_fbc

Completed in 341 milliseconds