/drivers/isdn/hisax/ |
D | hfc_2bs0.c | 61 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) in GetFreeFifoBytes() 63 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; in GetFreeFifoBytes() 88 u_char cip, f1, f2; in hfc_clear_fifo() local 98 f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo() 105 while (((f1 != f2) || (z1 != z2)) && cnt--) { in hfc_clear_fifo() 108 bcs->channel, f1, f2); in hfc_clear_fifo() 123 if (f1 != f2) { in hfc_clear_fifo() 131 f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo() 257 bcs->hw.hfc.f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_fill_fifo() 261 bcs->hw.hfc.send[bcs->hw.hfc.f1] = ReadZReg(bcs, HFC_Z1 | HFC_SEND | HFC_CHANNEL(bcs->channel)); in hfc_fill_fifo() [all …]
|
D | hfc_2bds0.c | 147 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) in GetFreeFifoBytes_B() 149 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; in GetFreeFifoBytes_B() 161 if (cs->hw.hfcD.f1 == cs->hw.hfcD.f2) in GetFreeFifoBytes_D() 163 s = cs->hw.hfcD.send[cs->hw.hfcD.f1] - cs->hw.hfcD.send[cs->hw.hfcD.f2]; in GetFreeFifoBytes_D() 275 bcs->hw.hfc.f1 = ReadReg(cs, HFCD_DATA, cip); in hfc_fill_fifo() 280 …bcs->hw.hfc.send[bcs->hw.hfc.f1] = ReadZReg(cs, HFCB_FIFO | HFCB_Z1 | HFCB_SEND | HFCB_CHANNEL(bcs… in hfc_fill_fifo() 283 bcs->channel, bcs->hw.hfc.f1, bcs->hw.hfc.f2, in hfc_fill_fifo() 284 bcs->hw.hfc.send[bcs->hw.hfc.f1]); in hfc_fill_fifo() 285 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2; in hfc_fill_fifo() 355 u_char f1, f2, cip; in main_rec_2bds0() local [all …]
|
D | hfc_pci.c | 233 bzr->f1 = MAX_B_FRAMES; in hfcpci_clear_fifo_rx() 234 bzr->f2 = bzr->f1; /* init F pointers to remain constant */ in hfcpci_clear_fifo_rx() 259 bzt->f1 = MAX_B_FRAMES; in hfcpci_clear_fifo_tx() 260 bzt->f2 = bzt->f1; /* init F pointers to remain constant */ in hfcpci_clear_fifo_tx() 344 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg() 352 df->f1, df->f2, zp->z1, zp->z2, rcnt); in receive_dmsg() 476 if (bz->f1 != bz->f2) { in main_rec_hfcpci() 479 bcs->channel, bz->f1, bz->f2); in main_rec_hfcpci() 493 rcnt = bz->f1 - bz->f2; in main_rec_hfcpci() 534 df->f1, df->f2, in hfcpci_fill_dfifo() [all …]
|
D | hfc_pci.h | 193 u_char f1, f2; /* f pointers */ member 201 u_char f1, f2; /* f pointers */ member
|
D | hfc4s8s_l1.c | 655 u_char f1, f2, df; in rx_d_frame() local 668 f1 = Read_hfc8_stable(l1p->hw, A_F1); in rx_d_frame() 670 df = f1 - f2; in rx_d_frame() 671 if ((f1 - f2) < 0) in rx_d_frame() 672 df = f1 - f2 + MAX_F_CNT + 1; in rx_d_frame() 761 u_char f1, f2; in rx_b_frame() local 775 f1 = Read_hfc8_stable(l1->hw, A_F1); in rx_b_frame() 777 hdlc_complete = ((f1 ^ f2) & MAX_F_CNT); in rx_b_frame() 862 u_char f1, f2; in tx_d_frame() local 873 f1 = Read_hfc8(l1p->hw, A_F1); in tx_d_frame() [all …]
|
D | hfc_sx.c | 121 u_char f_msk, f1, f2, *src; in write_fifo() local 159 f1 = Read_hfc(cs, HFCSX_FIF_F1) & f_msk; in write_fifo() 162 count = f1 - f2; /* frame count actually buffered */ in write_fifo() 171 *(msp + f1) = z1; /* remember marker */ in write_fifo() 175 fifo, f1, f2, z1); in write_fifo() 209 u_char f_msk, f1, f2, *dst; in read_fifo() local 248 f1 = Read_hfc(cs, HFCSX_FIF_F1) & f_msk; in read_fifo() 251 if (f1 == f2) return (NULL); /* no frame available */ in read_fifo() 260 fifo, f1, f2, z1, z2); in read_fifo()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 351 bzr->f1 = MAX_B_FRAMES; in hfcpci_clear_fifo_rx() 352 bzr->f2 = bzr->f1; /* init F pointers to remain constant */ in hfcpci_clear_fifo_rx() 382 fifo, bzt->f1, bzt->f2, in hfcpci_clear_fifo_tx() 387 bzt->f1 = bzt->f2; /* init F pointers to remain constant */ in hfcpci_clear_fifo_tx() 396 fifo, bzt->f1, bzt->f2, in hfcpci_clear_fifo_tx() 475 while (((df->f1 & D_FREG_MASK) != (df->f2 & D_FREG_MASK)) && count--) { in receive_dmsg() 484 df->f1, df->f2, in receive_dmsg() 633 if (rxbz->f1 != rxbz->f2) { in main_rec_hfcpci() 636 bch->nr, rxbz->f1, rxbz->f2); in main_rec_hfcpci() 649 rcnt = rxbz->f1 - rxbz->f2; in main_rec_hfcpci() [all …]
|
D | hfc_pci.h | 193 u_char f1, f2; /* f pointers */ member 202 u_char f1, f2; /* f pointers */ member
|
D | hfcmulti.c | 1950 int Fspace, f1, f2; in hfcmulti_tx() local 2000 f1 = HFC_inb_nodebug(hc, A_F1); in hfcmulti_tx() 2009 Fspace = f2 - f1 - 1; in hfcmulti_tx() 2019 if (f1 != f2) in hfcmulti_tx() 2026 if (f1 != f2) in hfcmulti_tx() 2196 int f1 = 0, f2 = 0; /* = 0, to make GCC happy */ in hfcmulti_rx() local 2234 f1 = HFC_inb_nodebug(hc, A_F1); in hfcmulti_rx() 2235 while (f1 != (temp = HFC_inb_nodebug(hc, A_F1))) { in hfcmulti_rx() 2239 __func__, hc->id + 1, temp, f1); in hfcmulti_rx() 2240 f1 = temp; /* repeat until F1 is equal */ in hfcmulti_rx() [all …]
|
/drivers/media/pci/cx25821/ |
D | Kconfig | 24 If supported, you should see 14f1:8801 or 14f1:8811
|
/drivers/media/tuners/ |
D | mt20xx.c | 69 int f1, int f2, int spectrum_from,int spectrum_to) in mt2032_spurcheck() argument 74 f1=f1/1000; //scale to kHz to avoid 32bit overflows in mt2032_spurcheck() 80 f1,f2,spectrum_from,spectrum_to); in mt2032_spurcheck() 84 f=n1*(f1-f2); in mt2032_spurcheck()
|
/drivers/input/touchscreen/ |
D | wacom_i2c.c | 100 unsigned char tsw, f1, f2, ers; in wacom_i2c_irq() local 110 f1 = data[3] & 0x02; in wacom_i2c_irq() 124 input_report_key(input, BTN_STYLUS, f1); in wacom_i2c_irq()
|
D | wacom_w8001.c | 60 u8 f1; member 107 coord->f1 = data[0] & 0x02; in parse_pen_data() 254 input_report_key(dev, BTN_STYLUS, coord->f1); in report_pen_events()
|
/drivers/video/fbdev/matrox/ |
D | g450_pll.c | 43 static inline unsigned int pll_freq_delta(unsigned int f1, unsigned int f2) { in pll_freq_delta() argument 44 if (f2 < f1) { in pll_freq_delta() 45 f2 = f1 - f2; in pll_freq_delta() 47 f2 = f2 - f1; in pll_freq_delta()
|
D | matroxfb_maven.c | 889 u64 f1; in maven_compute_timming() local 896 f1 = ((u64)a) << 15; /* *32768 */ in maven_compute_timming() 897 do_div(f1, b); in maven_compute_timming() 898 vdec = f1; in maven_compute_timming()
|
/drivers/media/pci/cx88/ |
D | Kconfig | 27 If supported, you should see 14f1:8801 or 14f1:8811
|
/drivers/media/usb/go7007/ |
D | go7007-fw.c | 1292 int f1 = (arate % go->sensor_framerate) / rprime; in avsync_to_package() local 1300 0xbff4, f1 > f2 ? f1 : f2, in avsync_to_package() 1301 0xbff5, f1 < f2 ? f1 : f2, in avsync_to_package() 1302 0xbff6, f1 < f2 ? ratio : ratio + 1, in avsync_to_package() 1303 0xbff7, f1 > f2 ? ratio : ratio + 1, in avsync_to_package()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 376 u_int f1, f2; in sym_getfreq() local 380 f1 = getfreq (np, gen); in sym_getfreq() 382 if (f1 > f2) f1 = f2; /* trust lower result */ in sym_getfreq() 383 return f1; in sym_getfreq() 393 unsigned f1; in sym_getclock() local 396 f1 = 40000; in sym_getclock() 413 f1 = sym_getfreq (np); in sym_getclock() 416 printf ("%s: chip clock is %uKHz\n", sym_name(np), f1); in sym_getclock() 418 if (f1 < 45000) f1 = 40000; in sym_getclock() 419 else if (f1 < 55000) f1 = 50000; in sym_getclock() [all …]
|
/drivers/pinctrl/ |
D | pinctrl-tz1090.c | 739 #define MUX(f0, f1, f2, f3, f4, mux_r, mux_b, mux_w) \ argument 743 TZ1090_MUX_ ## f1, \ 775 #define DEFINE_SUBMUX(mux, f0, f1, f2, f3, f4, mux_r, mux_b, mux_w) \ argument 777 MUX(f0, f1, f2, f3, f4, mux_r, mux_b, mux_w) 802 #define MUX_PG(pg_name, f0, f1, f2, f3, f4, \ argument 808 .mux = MUX(f0, f1, f2, f3, f4, \
|
D | pinctrl-falcon.c | 54 #define MFP_FALCON(a, f0, f1, f2, f3) \ argument 60 FALCON_MUX_##f1, \
|
/drivers/usb/host/ |
D | uhci-hcd.h | 470 #define uhci_frame_before_eq(f1, f2) (0 <= (int) ((f2) - (f1))) argument
|
/drivers/s390/block/ |
D | dasd_eckd.h | 272 __u8 f1; member 277 __u8 f1; member
|
/drivers/scsi/ |
D | ncr53c8xx.c | 7904 unsigned f1; local 7907 f1 = 40000; 7929 f1 = 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 */ 7937 if (f1 < 45000) f1 = 40000; 7938 else if (f1 < 55000) f1 = 50000; 7939 else f1 = 80000; 7941 if (f1 < 80000 && mult > 1) { 7947 if ((scntl3 & 7) == 3) f1 = 40000; [all …]
|
/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 558 struct v4l2_fract f1 = tpf; in cpia2_s_parm() local 561 f1.numerator *= f2.denominator; in cpia2_s_parm() 562 f2.numerator *= f1.denominator; in cpia2_s_parm() 563 if (f1.numerator >= f2.numerator) in cpia2_s_parm()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 562 s32 f1 = cos_2phi_1 - cos_2phi_2, in ar9003_hw_solve_iq_cal() local 569 f2 = ((f1 >> 3) * (f1 >> 3) + (f3 >> 3) * (f3 >> 3)) >> 9; in ar9003_hw_solve_iq_cal() 577 mag_tx = f1 * (mag_a0_d0 - mag_a1_d0) + f3 * (phs_a0_d0 - phs_a1_d0); in ar9003_hw_solve_iq_cal() 579 phs_tx = f3 * (-mag_a0_d0 + mag_a1_d0) + f1 * (phs_a0_d0 - phs_a1_d0); in ar9003_hw_solve_iq_cal()
|