Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_biquad.h37 int32_t z2; member
50 bq->z2 = 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()
/linux-4.4.14/arch/arm/nwfpe/
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-4.4.14/drivers/input/touchscreen/
Dti_am335x_tsc.c214 u32 *x, u32 *y, u32 *z1, u32 *z2) in titsc_read_coordinates() argument
227 *z2 = titsc_readl(ts_dev, REG_FIFO0); in titsc_read_coordinates()
228 *z2 &= 0xfff; in titsc_read_coordinates()
271 unsigned int z1, z2, z; in titsc_irq() local
303 titsc_read_coordinates(ts_dev, &x, &y, &z1, &z2); in titsc_irq()
305 if (ts_dev->pen_down && z1 != 0 && z2 != 0) { in titsc_irq()
311 z = z1 - z2; in titsc_irq()
314 z /= z2; in titsc_irq()
D88pm860x-ts.c57 int z1, z2, rt = 0; in pm860x_touch_handler() local
68 z2 = ((buf[6] & 0xFF) << 4) | (buf[7] & 0x0F); in pm860x_touch_handler()
72 rt = z2 / z1 - 1; in pm860x_touch_handler()
75 z1, z2, rt); in pm860x_touch_handler()
Dtsc200x-core.c80 u16 z2; member
164 if (unlikely(tsdata.z1 == 0 || tsdata.z2 > MAX_12BIT)) in tsc200x_irq_thread()
166 if (unlikely(tsdata.z1 >= tsdata.z2)) in tsc200x_irq_thread()
175 ts->in_z1 == tsdata.z1 && ts->in_z2 == tsdata.z2) { in tsc200x_irq_thread()
186 ts->in_z2 = tsdata.z2; in tsc200x_irq_thread()
189 pressure = tsdata.x * (tsdata.z2 - tsdata.z1) / tsdata.z1; in tsc200x_irq_thread()
Dads7846.c76 u16 z1, z2; member
188 #define READ_Z2(vref) (READ_12BIT_DFR(z2, 1, vref))
753 u16 x, y, z1, z2; in ads7846_report_state() local
764 z2 = 0; in ads7846_report_state()
769 z2 = packet->tc.z2; in ads7846_report_state()
786 Rt = z2; in ads7846_report_state()
1126 x->rx_buf = &packet->tc.z2; in ads7846_setup_spi_msg()
1140 x->rx_buf = &packet->tc.z2; in ads7846_setup_spi_msg()
Dtsc2007.c66 u16 z1, z2; member
125 tc->z2 = tsc2007_xfer(tsc, READ_Z2); in tsc2007_read_values()
141 rt = tc->z2 - tc->z1; in tsc2007_calculate_pressure()
Dad7879.c157 u16 x, y, z1, z2; in ad7879_report() local
162 z2 = ts->conversion_data[AD7879_SEQ_Z2] & MAX_12BIT; in ad7879_report()
181 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7879_report()
Dad7877.c335 u16 x, y, z1, z2; in ad7877_process_data() local
340 z2 = ts->conversion_data[AD7877_SEQ_Z2] & MAX_12BIT; in ad7877_process_data()
354 Rt = (z2 - z1) * x * ts->x_plate_ohms; in ad7877_process_data()
/linux-4.4.14/drivers/isdn/hisax/
Dhfc_2bs0.c87 int rcnt, z1, z2; in hfc_clear_fifo() local
103 z2 = ReadZReg(bcs, HFC_Z2 | 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()
136 z2 = ReadZReg(bcs, HFC_Z2 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo()
242 int z1, z2; in hfc_fill_fifo() local
279 z2 = ReadZReg(bcs, HFC_Z2 | 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.c232 bzr->za[MAX_B_FRAMES].z2 = bzr->za[MAX_B_FRAMES].z1; in hfcpci_clear_fifo_rx()
258 bzt->za[MAX_B_FRAMES].z2 = bzt->za[MAX_B_FRAMES].z1; in hfcpci_clear_fifo_tx()
282 new_z2 = zp->z2 + count; /* new position in fifo */ in hfcpci_empty_fifo()
293 bz->za[new_f2].z2 = new_z2; in hfcpci_empty_fifo()
303 if (zp->z2 + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_fifo()
306 maxlen = B_FIFO_SIZE + B_SUB_VAL - zp->z2; /* maximum */ in hfcpci_empty_fifo()
308 ptr1 = bdata + (zp->z2 - B_SUB_VAL); /* start of data */ in hfcpci_empty_fifo()
317 bz->za[new_f2].z2 = new_z2; 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()
[all …]
Dhfc_sx.c120 int fifo_size, count, z1, z2; in write_fifo() local
142 z2 = Read_hfc(cs, HFCSX_FIF_Z2H); in write_fifo()
143 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L)); in write_fifo()
144 count = z2 - z1; in write_fifo()
208 { int fifo_size, count, z1, z2; in read_fifo() local
228 z2 = Read_hfc(cs, HFCSX_FIF_Z2H); in read_fifo()
229 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L)); in read_fifo()
231 count = z1 - z2; in read_fifo()
255 z2 = Read_hfc(cs, HFCSX_FIF_Z2H); in read_fifo()
256 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L)); in read_fifo()
[all …]
Dhfc_2bds0.c354 int z1, z2, rcnt; in main_rec_2bds0() local
377 z2 = ReadZReg(cs, HFCB_FIFO | HFCB_Z2 | 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
610 z2 = ReadZReg(cs, HFCD_FIFO | HFCD_Z2 | HFCD_REC); in receive_dmsg()
611 rcnt = z1 - z2; in receive_dmsg()
617 f1, f2, z1, z2, rcnt); in receive_dmsg()
Dhfc_pci.h187 unsigned short z2; /* Z2 pointer 16 Bit */ member
Dhfc4s8s_l1.c633 int z1, z2; in rx_d_frame() local
659 z2 = Read_hfc16(l1p->hw, A_Z2); in rx_d_frame()
661 z1 = z1 - z2 + 1; in rx_d_frame()
739 int z1, z2, hdlc_complete; in rx_b_frame() local
760 z2 = Read_hfc16(l1->hw, A_Z2); in rx_b_frame()
761 z1 = (z1 - z2); in rx_b_frame()
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Drenesas,r8a73a4-cpg-clocks.txt17 "pll0", "pll1", "pll2", "pll2s", "pll2h", "z", "z2", "i", "m3", "b",
30 "pll2s", "pll2h", "z", "z2",
/linux-4.4.14/sound/soc/pxa/
DMakefile30 snd-soc-z2-objs := z2.o
48 obj-$(CONFIG_SND_PXA2XX_SOC_Z2) += snd-soc-z2.o
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcpci.c354 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16( in hfcpci_clear_fifo_rx()
384 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
389 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
398 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
415 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
427 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
442 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
454 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
[all …]
Dhfc_pci.h187 __le16 z2; /* Z2 pointer 16 Bit */ member
Dhfcmulti.c1949 int Zspace, z1, z2; /* must be int for calculation */ in hfcmulti_tx() local
2034 z2 = HFC_inw_nodebug(hc, A_Z2) - hc->Zmin; in hfcmulti_tx()
2035 while (z2 != (temp = (HFC_inw_nodebug(hc, A_Z2) - hc->Zmin))) { in hfcmulti_tx()
2038 "%d!=%d\n", __func__, hc->id + 1, temp, z2); in hfcmulti_tx()
2039 z2 = temp; /* repeat unti Z2 is equal */ in hfcmulti_tx()
2041 hc->chan[ch].Zfill = z1 - z2; in hfcmulti_tx()
2044 Zspace = z2 - z1; in hfcmulti_tx()
2056 if (z1 == z2) { /* empty */ in hfcmulti_tx()
2093 && !test_bit(FLG_HDLC, &bch->Flags) && z2 == z1) { in hfcmulti_tx()
2148 __func__, hc->id + 1, ch, Zspace, z1, z2, ii-i, len-i, in hfcmulti_tx()
[all …]
/linux-4.4.14/mm/
Dmemory_hotplug.c347 static int __meminit move_pfn_range_left(struct zone *z1, struct zone *z2, in move_pfn_range_left() argument
361 if (end_pfn > zone_end_pfn(z2)) in move_pfn_range_left()
364 if (start_pfn > z2->zone_start_pfn) in move_pfn_range_left()
367 if (end_pfn <= z2->zone_start_pfn) in move_pfn_range_left()
377 resize_zone(z2, end_pfn, zone_end_pfn(z2)); in move_pfn_range_left()
389 static int __meminit move_pfn_range_right(struct zone *z1, struct zone *z2, in move_pfn_range_right() argument
396 ret = ensure_zone_is_initialized(z2, start_pfn, end_pfn - start_pfn); in move_pfn_range_right()
413 if (!zone_is_empty(z2)) in move_pfn_range_right()
414 z2_end_pfn = zone_end_pfn(z2); in move_pfn_range_right()
419 resize_zone(z2, start_pfn, z2_end_pfn); in move_pfn_range_right()
[all …]
/linux-4.4.14/Documentation/input/
Dalps.txt109 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
119 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
138 byte 8: 0 z6 z5 z4 z3 z2 z1 z0
159 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
187 byte 4: 0 z4 z3 z2 z1 z0 ? ?
200 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
248 byte 5: 0 z6 z5 z4 z3 z2 z1 z0
278 byte 5: z7 z6 z5 z4 z3 z2 z1 z0
/linux-4.4.14/drivers/iio/magnetometer/
Dbmc150_magn.c129 __le16 z2; member
414 s16 z2 = le16_to_cpu(tregs->z2); in bmc150_magn_compensate_z() local
422 ((s16)xyz1)))) >> 2)) / (z2 + ((s16)(((((s32)z1) * in bmc150_magn_compensate_z()
/linux-4.4.14/drivers/s390/crypto/
Dzcrypt_api.c470 unsigned long long z1, z2, z3; in zcrypt_rsa_crt() local
511 z1 = z2 = z3 = 0; in zcrypt_rsa_crt()
513 copy_from_user(&z2, crt->bp_key, len) || in zcrypt_rsa_crt()
516 z1 = z2 = z3 = 0; in zcrypt_rsa_crt()
524 if (z1 != 0ULL || z2 != 0ULL || z3 != 0ULL) in zcrypt_rsa_crt()
/linux-4.4.14/arch/x86/crypto/
Dpoly1305-avx2-x86_64.S120 # combine r2,u2,w2,y2 and s2=r2*5,v2=u2*5,x2=w2*5,z2=y2*5
227 # t1 += [ hc3[3] * s2, hc3[2] * v2, hc3[1] * x2, hc3[0] * z2 ]
251 # t1 += [ hc4[3] * s2, hc4[2] * v2, hc4[1] * x2, hc4[0] * z2 ]
/linux-4.4.14/arch/arm/mach-pxa/
DMakefile90 obj-$(CONFIG_MACH_ZIPIT2) += z2.o
/linux-4.4.14/drivers/iio/adc/
Dat91_adc.c286 unsigned int xscale, yscale, reg, z1, z2; in at91_ts_sample() local
321 z2 = (reg >> 16) & xyz_mask; in at91_ts_sample()
324 pres = rxp * (x * factor / 1024) * (z2 * factor / z1 - factor) in at91_ts_sample()
330 xpos, xscale, ypos, yscale, z1, z2, pres); in at91_ts_sample()
/linux-4.4.14/drivers/video/fbdev/
Dcg6.c201 u32 x2, y2, z2, color2; member
/linux-4.4.14/arch/arm/boot/dts/
Dr8a73a4.dtsi512 "pll2s", "pll2h", "z", "z2",
Dr8a7790.dtsi1075 clock-output-names = "z2";
/linux-4.4.14/
DMAINTAINERS1725 F: arch/arm/mach-pxa/z2.c
1726 F: arch/arm/mach-pxa/include/mach/z2.h