Searched defs:f2 (Results 1 - 19 of 19) sorted by relevance

/drivers/isdn/hisax/
H A Dhfc_2bs0.c61 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2)
63 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2];
88 u_char cip, f1, f2; local
101 f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip);
105 while (((f1 != f2) || (z1 != z2)) && cnt--) {
107 debugl1(cs, "hfc clear %d f1(%d) f2(%d)",
108 bcs->channel, f1, f2);
123 if (f1 != f2) {
134 f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip);
260 bcs->hw.hfc.f2
330 u_char f1, f2, cip; local
[all...]
H A Dhfc_2bds0.c147 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2)
149 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2];
161 if (cs->hw.hfcD.f1 == cs->hw.hfcD.f2)
163 s = cs->hw.hfcD.send[cs->hw.hfcD.f1] - cs->hw.hfcD.send[cs->hw.hfcD.f2];
279 bcs->hw.hfc.f2 = ReadReg(cs, HFCD_DATA, cip);
282 debugl1(cs, "hfc_fill_fifo %d f1(%d) f2(%d) z1(%x)",
283 bcs->channel, bcs->hw.hfc.f1, bcs->hw.hfc.f2,
285 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2;
355 u_char f1, f2, cip; local
371 f2
592 u_char stat, cip, f1, f2; local
[all...]
H A Dhfc_sx.c121 u_char f_msk, f1, f2, *src; local
160 f2 = Read_hfc(cs, HFCSX_FIF_F2) & f_msk;
162 count = f1 - f2; /* frame count actually buffered */
174 debugl1(cs, "hfcsx_write_fifo %d f1(%x) f2(%x) z1(f1)(%x)",
175 fifo, f1, f2, z1);
177 count = *(msp + f2) - z1;
209 u_char f_msk, f1, f2, *dst; local
249 f2 = Read_hfc(cs, HFCSX_FIF_F2) & f_msk;
251 if (f1 == f2) return (NULL); /* no frame available */
259 debugl1(cs, "hfcsx_read_fifo %d f1(%x) f2(
[all...]
H A Dhfc4s8s_l1.c676 u_char f1, f2, df; local
690 f2 = Read_hfc8(l1p->hw, A_F2);
691 df = f1 - f2;
692 if ((f1 - f2) < 0)
693 df = f1 - f2 + MAX_F_CNT + 1;
804 u_char f1, f2; local
819 f2 = Read_hfc8(l1->hw, A_F2);
820 hdlc_complete = ((f1 ^ f2) & MAX_F_CNT);
916 u_char f1, f2; local
928 f2
[all...]
H A Dhfc_pci.h193 u_char f1, f2; /* f pointers */ member in struct:__anon1240
201 u_char f1, f2; /* f pointers */ member in struct:__anon1241
H A Dhisax.h434 int f2; member in struct:hfcB_hw
754 unsigned char f2; member in struct:hfcD_hw
/drivers/video/matrox/
H A Dg450_pll.c43 static inline unsigned int pll_freq_delta(unsigned int f1, unsigned int f2) { argument
44 if (f2 < f1) {
45 f2 = f1 - f2;
47 f2 = f2 - f1;
49 return f2;
/drivers/input/touchscreen/
H A Dwacom_w8001.c62 u8 f2; member in struct:w8001_coord
109 coord->f2 = data[0] & 0x04;
215 * side2/eraser. If rdy && f2 are set, this can be either pen + side2,
217 * - if dev is already in proximity and f2 is toggled → pen + side2
218 * - if dev comes into proximity with f2 set → eraser
219 * If f2 disappears after assuming eraser, fake proximity out for
225 if (!coord->f2) {
243 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
247 input_report_key(dev, BTN_STYLUS2, coord->f2);
/drivers/media/common/tuners/
H A Dmt20xx.c69 int f1, int f2, int spectrum_from,int spectrum_to)
75 f2=f2/1000;
79 tuner_dbg("spurcheck f1=%d f2=%d from=%d to=%d\n",
80 f1,f2,spectrum_from,spectrum_to);
84 f=n1*(f1-f2);
87 f=f-f2;
92 } while ( (f>(f2-spectrum_to)) || (n2>-5));
68 mt2032_spurcheck(struct dvb_frontend *fe, int f1, int f2, int spectrum_from,int spectrum_to) argument
/drivers/isdn/hardware/mISDN/
H A Dhfc_pci.h193 u_char f1, f2; /* f pointers */ member in struct:dfifo
202 u_char f1, f2; /* f pointers */ member in struct:bzfifo
H A Dhfcmulti.c1914 int Fspace, f1, f2; local
1965 f2 = HFC_inb_nodebug(hc, A_F2);
1966 while (f2 != (temp = HFC_inb_nodebug(hc, A_F2))) {
1969 "%s(card %d): reread f2 because %d!=%d\n",
1970 __func__, hc->id + 1, temp, f2);
1971 f2 = temp; /* repeat until F2 is equal */
1973 Fspace = f2 - f1 - 1;
1983 if (f1 != f2)
1990 if (f1 != f2)
2163 int f1 = 0, f2 local
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c342 f2; local
347 f2 = (f1 * f1 + f3 * f3) / result_shift;
349 if (!f2) {
359 mag_tx = (mag_tx / f2);
360 phs_tx = (phs_tx / f2);
/drivers/staging/media/go7007/
H A Dgo7007-fw.c1302 int f2 = (go->sensor_framerate - arate % go->sensor_framerate) / rprime; local
1309 0xbff4, f1 > f2 ? f1 : f2,
1310 0xbff5, f1 < f2 ? f1 : f2,
1311 0xbff6, f1 < f2 ? ratio : ratio + 1,
1312 0xbff7, f1 > f2 ? ratio : ratio + 1,
/drivers/staging/ozwpan/
H A Dozproto.c300 struct oz_farewell *f2; local
310 list_for_each_entry(f2, &pd->farewell_list, link) {
311 if ((f2->ep_num == ep_num) && (f2->index == index)) {
313 list_del(&f2->link);
320 kfree(f2);
/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c376 u_int f1, f2; local
381 f2 = getfreq (np, gen);
382 if (f1 > f2) f1 = f2; /* trust lower result */
/drivers/video/omap2/omapfb/
H A Domapfb-main.c279 bool cmp_component(struct fb_bitfield *f1, struct fb_bitfield *f2) argument
281 return f1->length == f2->length &&
282 f1->offset == f2->offset &&
283 f1->msb_right == f2->msb_right;
/drivers/s390/block/
H A Ddasd_eckd.h247 __u16 f2; member in struct:dasd_eckd_characteristics::__anon3901::__anon3902
252 __u8 f2; member in struct:dasd_eckd_characteristics::__anon3901::__anon3903
/drivers/scsi/
H A Dncr53c8xx.c7924 unsigned f2; local
7930 f2 = ncrgetfreq (np, 11);
7933 printk ("%s: NCR clock is %uKHz, %uKHz\n", ncr_name(np), f1, f2);
7935 if (f1 > f2) f1 = f2; /* trust lower result */
/drivers/staging/telephony/
H A Dixj.h187 unsigned int f2:1; member in struct:__anon5409

Completed in 500 milliseconds