Home
last modified time | relevance | path

Searched refs:z1 (Results 1 – 23 of 23) sorted by relevance

/linux-3.4.99/arch/arm/nwfpe/
Dsoftfloat-macros107 bits64 z0, z1;
111 z1 = a1;
115 z1 = ( a0<<negCount ) | ( a1 != 0 );
120 z1 = a0 | ( a1 != 0 );
123 z1 = ( ( a0 | a1 ) != 0 );
127 *z1Ptr = z1;
145 bits64 z0, z1;
149 z1 = a1;
153 z1 = ( a0<<negCount ) | ( a1>>count );
157 z1 = ( count < 64 ) ? ( a0>>( count & 63 ) ) : 0;
[all …]
/linux-3.4.99/drivers/isdn/mISDN/
Ddsp_biquad.h36 int32_t z1; member
49 bq->z1 = 0; in biquad2_init()
58 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
59 y = z0 + bq->z1 * bq->b1 + bq->z2 * bq->b2; in biquad2()
61 bq->z2 = bq->z1; in biquad2()
62 bq->z1 = z0 >> 15; in biquad2()
/linux-3.4.99/drivers/isdn/hisax/
Dhfc4s8s_l1.c675 int z1, z2; in rx_d_frame() local
700 z1 = Read_hfc16_stable(l1p->hw, A_Z1); in rx_d_frame()
703 z1 = z1 - z2 + 1; in rx_d_frame()
704 if (z1 < 0) in rx_d_frame()
705 z1 += 384; in rx_d_frame()
716 if (((z1 < 4) || (z1 > MAX_D_FRAME_SIZE))) { in rx_d_frame()
732 while (z1 >= 4) { in rx_d_frame()
738 z1 -= 4; in rx_d_frame()
741 while (z1--) in rx_d_frame()
760 while (z1 >= 4) { in rx_d_frame()
[all …]
Dhfc_2bs0.c87 int rcnt, z1, z2; in hfc_clear_fifo() local
102 z1 = ReadZReg(bcs, HFC_Z1 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo()
105 while (((f1 != f2) || (z1 != z2)) && cnt--) { in hfc_clear_fifo()
109 rcnt = z1 - z2; in hfc_clear_fifo()
116 bcs->channel, z1, z2, rcnt); in hfc_clear_fifo()
135 z1 = ReadZReg(bcs, HFC_Z1 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo()
242 int z1, z2; in hfc_fill_fifo() local
278 z1 = ReadZReg(bcs, HFC_Z1 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_fill_fifo()
280 count = z1 - z2; in hfc_fill_fifo()
329 int z1, z2, rcnt; in main_irq_hfc() local
[all …]
Dhfc_pci.c231 bzr->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_rx()
232 bzr->za[MAX_B_FRAMES].z2 = bzr->za[MAX_B_FRAMES].z1; in hfcpci_clear_fifo_rx()
257 bzt->za[MAX_B_FRAMES].z1 = B_FIFO_SIZE + B_SUB_VAL - 1; in hfcpci_clear_fifo_tx()
258 bzt->za[MAX_B_FRAMES].z2 = bzt->za[MAX_B_FRAMES].z1; in hfcpci_clear_fifo_tx()
287 (*(bdata + (zp->z1 - B_SUB_VAL)))) { in hfcpci_empty_fifo()
346 rcnt = zp->z1 - zp->z2; in receive_dmsg()
352 df->f1, df->f2, zp->z1, zp->z2, rcnt); in receive_dmsg()
355 (df->data[zp->z1])) { in receive_dmsg()
357 debugl1(cs, "empty_fifo hfcpci paket inv. len %d or crc %d", rcnt, df->data[zp->z1]); in receive_dmsg()
405 z1r = &bz->za[MAX_B_FRAMES].z1; /* pointer to z reg */ in hfcpci_empty_fifo_trans()
[all …]
Dhfc_sx.c120 int fifo_size, count, z1, z2; in write_fifo() local
137 z1 = Read_hfc(cs, HFCSX_FIF_Z1H); in write_fifo()
138 z1 = ((z1 << 8) | Read_hfc(cs, HFCSX_FIF_Z1L)); in write_fifo()
144 count = z2 - z1; in write_fifo()
171 *(msp + f1) = z1; /* remember marker */ in write_fifo()
175 fifo, f1, f2, z1); in write_fifo()
177 count = *(msp + f2) - z1; in write_fifo()
208 { int fifo_size, count, z1, z2; in read_fifo() local
226 z1 = Read_hfc(cs, HFCSX_FIF_Z1H); in read_fifo()
227 z1 = ((z1 << 8) | Read_hfc(cs, HFCSX_FIF_Z1L)); in read_fifo()
[all …]
Dhfc_2bds0.c354 int z1, z2, rcnt; in main_rec_2bds0() local
376 z1 = ReadZReg(cs, HFCB_FIFO | HFCB_Z1 | HFCB_REC | HFCB_CHANNEL(bcs->channel)); in main_rec_2bds0()
378 rcnt = z1 - z2; in main_rec_2bds0()
384 bcs->channel, z1, z2, rcnt); in main_rec_2bds0()
591 int rcnt, z1, z2; in receive_dmsg() local
609 z1 = ReadZReg(cs, HFCD_FIFO | HFCD_Z1 | HFCD_REC); in receive_dmsg()
611 rcnt = z1 - z2; in receive_dmsg()
617 f1, f2, z1, z2, rcnt); in receive_dmsg()
Dhfc_pci.h186 unsigned short z1; /* Z1 pointer 16 Bit */ member
/linux-3.4.99/drivers/input/touchscreen/
D88pm860x-ts.c55 int z1, z2, rt = 0; in pm860x_touch_handler() local
65 z1 = ((buf[4] & 0xFF) << 4) | (buf[5] & 0x0F); in pm860x_touch_handler()
69 if ((x != 0) && (z1 != 0) && (touch->res_x != 0)) { in pm860x_touch_handler()
70 rt = z2 / z1 - 1; in pm860x_touch_handler()
73 z1, z2, rt); in pm860x_touch_handler()
Dtsc2007.c63 u16 z1, z2; member
118 tc->z1 = tsc2007_xfer(tsc, READ_Z1); in tsc2007_read_values()
133 if (likely(tc->x && tc->z1)) { in tsc2007_calculate_pressure()
135 rt = tc->z2 - tc->z1; in tsc2007_calculate_pressure()
138 rt /= tc->z1; in tsc2007_calculate_pressure()
Dtsc2005.c258 u32 z1, z2; in tsc2005_irq_thread() local
268 z1 = ts->spi_z1.spi_rx; in tsc2005_irq_thread()
276 if (unlikely(z1 == 0 || z2 > MAX_12BIT || z1 >= z2)) in tsc2005_irq_thread()
285 ts->in_z1 == z1 && ts->in_z2 == z2) { in tsc2005_irq_thread()
295 ts->in_z1 = z1; in tsc2005_irq_thread()
299 pressure = x * (z2 - z1) / z1; in tsc2005_irq_thread()
Dti_tscadc.c240 unsigned int z1, z2, z; in tscadc_irq() local
247 z1 = tscadc_readl(ts_dev, REG_FIFO0) & 0xfff; in tscadc_irq()
250 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in tscadc_irq()
256 z = z2 - z1; in tscadc_irq()
259 z /= z1; in tscadc_irq()
Dtnetv107x-ts.c101 int x, y, z1, z2, t, p = 0; in tsc_read_sample() local
111 z1 = tsc_read(ts, chval[2]) & 0xffff; in tsc_read_sample()
114 if (z1) { in tsc_read_sample()
115 t = ((600 * x) * (z2 - z1)); in tsc_read_sample()
116 p = t / (u32) (z1 << 12); in tsc_read_sample()
Dads7846.c74 u16 z1, z2; member
186 #define READ_Z1(vref) (READ_12BIT_DFR(z1, 1, vref))
775 u16 x, y, z1, z2; in ads7846_report_state() local
785 z1 = 0; in ads7846_report_state()
790 z1 = packet->tc.z1; in ads7846_report_state()
806 } else if (likely(x && z1)) { in ads7846_report_state()
809 Rt -= z1; in ads7846_report_state()
812 Rt /= z1; in ads7846_report_state()
1115 x->rx_buf = &packet->tc.z1; in ads7846_setup_spi_msg()
1129 x->rx_buf = &packet->tc.z1; in ads7846_setup_spi_msg()
Dad7879.c157 u16 x, y, z1, z2; in ad7879_report() local
161 z1 = ts->conversion_data[AD7879_SEQ_Z1] & MAX_12BIT; in ad7879_report()
176 if (likely(x && z1)) { in ad7879_report()
178 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7879_report()
179 Rt /= z1; in ad7879_report()
Dad7877.c341 u16 x, y, z1, z2; in ad7877_process_data() local
345 z1 = ts->conversion_data[AD7877_SEQ_Z1] & MAX_12BIT; in ad7877_process_data()
358 if (likely(x && z1)) { in ad7877_process_data()
360 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7877_process_data()
361 Rt /= z1; in ad7877_process_data()
/linux-3.4.99/drivers/isdn/hardware/mISDN/
Dhfcpci.c353 bzr->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_rx()
355 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx()
383 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
388 bzt->za[MAX_B_FRAMES].z1 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 1); in hfcpci_clear_fifo_tx()
397 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
420 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo()
477 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg()
485 le16_to_cpu(zp->z1), in receive_dmsg()
490 (df->data[le16_to_cpu(zp->z1)])) { in receive_dmsg()
496 df->data[le16_to_cpu(zp->z1)]); in receive_dmsg()
[all …]
Dhfc_pci.h186 __le16 z1; /* Z1 pointer 16 Bit */ member
Dhfcmulti.c1913 int Zspace, z1, z2; /* must be int for calculation */ in hfcmulti_tx() local
1997 z1 = HFC_inw_nodebug(hc, A_Z1) - hc->Zmin; in hfcmulti_tx()
2005 hc->chan[ch].Zfill = z1 - z2; in hfcmulti_tx()
2008 Zspace = z2 - z1; in hfcmulti_tx()
2020 if (z1 == z2) { /* empty */ in hfcmulti_tx()
2057 && !test_bit(FLG_HDLC, &bch->Flags) && z2 == z1) { in hfcmulti_tx()
2111 __func__, hc->id + 1, ch, Zspace, z1, z2, ii-i, len-i, in hfcmulti_tx()
2162 int Zsize, z1, z2 = 0; /* = 0, to make GCC happy */ in hfcmulti_rx() local
2212 z1 = HFC_inw_nodebug(hc, A_Z1) - hc->Zmin; in hfcmulti_rx()
2213 while (z1 != (temp = (HFC_inw_nodebug(hc, A_Z1) - hc->Zmin))) { in hfcmulti_rx()
[all …]
/linux-3.4.99/arch/sh/kernel/cpu/sh4/
Dsoftfloat.c641 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()
/linux-3.4.99/Documentation/input/
Dalps.txt77 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
87 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
100 byte 8: 0 z6 z5 z4 z3 z2 z1 z0
116 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
144 byte 4: 0 z4 z3 z2 z1 z0 ? ?
157 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
/linux-3.4.99/drivers/s390/crypto/
Dzcrypt_api.c368 unsigned long long z1, z2, z3; in zcrypt_rsa_crt() local
408 if (len > sizeof(z1)) in zcrypt_rsa_crt()
410 z1 = z2 = z3 = 0; in zcrypt_rsa_crt()
411 if (copy_from_user(&z1, crt->np_prime, len) || in zcrypt_rsa_crt()
415 z1 = z2 = z3 = 0; in zcrypt_rsa_crt()
423 if (z1 != 0ULL || z2 != 0ULL || z3 != 0ULL) in zcrypt_rsa_crt()
/linux-3.4.99/drivers/video/
Dcg6.c200 u32 x1, y1, z1, color1; member