[go: nahoru, domu]

Searched refs:f2 (Results 1 - 25 of 40) sorted by relevance

12

/drivers/video/fbdev/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/isdn/hisax/
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_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_pci.c234 bzr->f2 = bzr->f1; /* init F pointers to remain constant */
260 bzt->f2 = bzt->f1; /* init F pointers to remain constant */
281 zp = &bz->za[bz->f2]; /* point to Z-Regs */
285 new_f2 = (bz->f2 + 1) & MAX_B_FRAMES;
294 bz->f2 = new_f2; /* next buffer */
318 bz->f2 = new_f2; /* next buffer */
344 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) {
345 zp = &df->za[df->f2 & D_FREG_MASK];
351 debugl1(cs, "hfcpci recd f1(%d) f2(%d) z1(%x) z2(%x) cnt(%d)",
352 df->f1, df->f2, z
[all...]
H A Dhfc_pci.h193 u_char f1, f2; /* f pointers */ member in struct:__anon1879
201 u_char f1, f2; /* f pointers */ member in struct:__anon1880
H A Dhfc4s8s_l1.c655 u_char f1, f2, df; local
669 f2 = Read_hfc8(l1p->hw, A_F2);
670 df = f1 - f2;
671 if ((f1 - f2) < 0)
672 df = f1 - f2 + MAX_F_CNT + 1;
761 u_char f1, f2; local
776 f2 = Read_hfc8(l1->hw, A_F2);
777 hdlc_complete = ((f1 ^ f2) & MAX_F_CNT);
862 u_char f1, f2; local
874 f2
[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 Dhisax.h434 int f2; member in struct:hfcB_hw
754 unsigned char f2; member in struct:hfcD_hw
/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 Dhfcpci.c352 bzr->f2 = bzr->f1; /* init F pointers to remain constant */
380 printk(KERN_DEBUG "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) "
382 fifo, bzt->f1, bzt->f2,
386 bzt->f2 = MAX_B_FRAMES;
387 bzt->f1 = bzt->f2; /* init F pointers to remain constant */
395 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n",
396 fifo, bzt->f1, bzt->f2,
414 zp = &bz->za[bz->f2]; /* point to Z-Regs */
418 new_f2 = (bz->f2 + 1) & MAX_B_FRAMES;
428 bz->f2
[all...]
H A Dhfcmulti.c1950 int Fspace, f1, f2; local
2001 f2 = HFC_inb_nodebug(hc, A_F2);
2002 while (f2 != (temp = HFC_inb_nodebug(hc, A_F2))) {
2005 "%s(card %d): reread f2 because %d!=%d\n",
2006 __func__, hc->id + 1, temp, f2);
2007 f2 = temp; /* repeat until F2 is equal */
2009 Fspace = f2 - f1 - 1;
2019 if (f1 != f2)
2026 if (f1 != f2)
2196 int f1 = 0, f2 local
[all...]
/drivers/input/touchscreen/
H A Dwacom_i2c.c100 unsigned char tsw, f1, f2, ers; local
111 f2 = data[3] & 0x10;
125 input_report_key(input, BTN_STYLUS2, f2);
H A Dwacom_w8001.c61 u8 f2; member in struct:w8001_coord
108 coord->f2 = data[0] & 0x04;
214 * side2/eraser. If rdy && f2 are set, this can be either pen + side2,
216 * - if dev is already in proximity and f2 is toggled → pen + side2
217 * - if dev comes into proximity with f2 set → eraser
218 * If f2 disappears after assuming eraser, fake proximity out for
224 if (!coord->f2) {
242 w8001->type = coord->f2 ? BTN_TOOL_RUBBER : BTN_TOOL_PEN;
246 input_report_key(dev, BTN_STYLUS2, coord->f2);
/drivers/media/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/staging/ozwpan/
H A Dozproto.c304 struct oz_farewell *f2; local
316 list_for_each_entry(f2, &pd->farewell_list, link) {
317 if ((f2->ep_num == ep_num) && (f2->index == index)) {
319 list_del(&f2->link);
326 kfree(f2);
/drivers/crypto/nx/
H A Dnx-842.c212 char f2[256][2]; member in struct:sw842_fifo
1465 memcpy(*outbuf, fifo->f2[ptr], 2);
1483 memcpy(fifo->f2[fifo->f2_count++], buf, 2);
1484 memcpy(fifo->f2[fifo->f2_count++], buf + 2, 2);
1485 memcpy(fifo->f2[fifo->f2_count++], buf + 4, 2);
1486 memcpy(fifo->f2[fifo->f2_count++], buf + 6, 2);
/drivers/pinctrl/
H A Dpinctrl-tz1090.c732 * @f2: Function 2 (TZ1090_MUX_ is prepended, NA for none)
739 #define MUX(f0, f1, f2, f3, f4, mux_r, mux_b, mux_w) \
744 TZ1090_MUX_ ## f2, \
758 * @f2: Function 2 (TZ1090_MUX_ is prepended, NA for none)
775 #define DEFINE_SUBMUX(mux, f0, f1, f2, f3, f4, mux_r, mux_b, mux_w) \
777 MUX(f0, f1, f2, f3, f4, mux_r, mux_b, mux_w)
795 * @f2: Function 2 (TZ1090_MUX_ is prepended, NA for none)
802 #define MUX_PG(pg_name, f0, f1, f2, f3, f4, \
808 .mux = MUX(f0, f1, f2, f3, f4, \
848 /* name f0, f1, f2, f
[all...]
H A Dpinctrl-falcon.c54 #define MFP_FALCON(a, f0, f1, f2, f3) \
61 FALCON_MUX_##f2, \
112 /* pin f0 f1 f2 f3 */
H A Dpinctrl-xway.c65 #define MFP_XWAY(a, f0, f1, f2, f3) \
72 XWAY_MUX_##f2, \
110 /* pin f0 f1 f2 f3 */
170 /* pin f0 f1 f2 f3 */
/drivers/s390/block/
H A Ddasd_eckd.h273 __u16 f2; member in struct:dasd_eckd_characteristics::__anon4933::__anon4934
278 __u8 f2; member in struct:dasd_eckd_characteristics::__anon4933::__anon4935
/drivers/usb/host/
H A Duhci-hcd.h470 #define uhci_frame_before_eq(f1, f2) (0 <= (int) ((f2) - (f1)))
/drivers/media/usb/cpia2/
H A Dcpia2_v4l.c559 struct v4l2_fract f2 = framerate_controls[i].period; local
561 f1.numerator *= f2.denominator;
562 f2.numerator *= f1.denominator;
563 if (f1.numerator >= f2.numerator)
/drivers/media/usb/go7007/
H A Dgo7007-fw.c1293 int f2 = (go->sensor_framerate - arate % go->sensor_framerate) / rprime; local
1300 0xbff4, f1 > f2 ? f1 : f2,
1301 0xbff5, f1 < f2 ? f1 : f2,
1302 0xbff6, f1 < f2 ? ratio : ratio + 1,
1303 0xbff7, f1 > f2 ? ratio : ratio + 1,
/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c564 f2; local
569 f2 = ((f1 >> 3) * (f1 >> 3) + (f3 >> 3) * (f3 >> 3)) >> 9;
571 if (!f2) {
581 mag_tx = (mag_tx / f2);
582 phs_tx = (phs_tx / f2);
/drivers/zorro/
H A Dzorro.ids67 03f2 Microbotics
174 07f2 Spirit Technology

Completed in 396 milliseconds

12