Lines Matching refs:Read_hfc
69 Read_hfc(struct IsdnCardState *cs, u_char regnum) in Read_hfc() function
137 z1 = Read_hfc(cs, HFCSX_FIF_Z1H); in write_fifo()
138 z1 = ((z1 << 8) | Read_hfc(cs, HFCSX_FIF_Z1L)); in write_fifo()
142 z2 = Read_hfc(cs, HFCSX_FIF_Z2H); in write_fifo()
143 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L)); in write_fifo()
159 f1 = Read_hfc(cs, HFCSX_FIF_F1) & f_msk; in write_fifo()
160 f2 = Read_hfc(cs, HFCSX_FIF_F2) & f_msk; in write_fifo()
195 Read_hfc(cs, HFCSX_FIF_INCF1); /* increment F1 */ in write_fifo()
226 z1 = Read_hfc(cs, HFCSX_FIF_Z1H); in read_fifo()
227 z1 = ((z1 << 8) | Read_hfc(cs, HFCSX_FIF_Z1L)); in read_fifo()
228 z2 = Read_hfc(cs, HFCSX_FIF_Z2H); in read_fifo()
229 z2 = ((z2 << 8) | Read_hfc(cs, HFCSX_FIF_Z2L)); in read_fifo()
241 *dst++ = Read_hfc(cs, HFCSX_FIF_DRD); in read_fifo()
248 f1 = Read_hfc(cs, HFCSX_FIF_F1) & f_msk; in read_fifo()
249 f2 = Read_hfc(cs, HFCSX_FIF_F2) & f_msk; in read_fifo()
253 z1 = Read_hfc(cs, HFCSX_FIF_Z1H); in read_fifo()
254 z1 = ((z1 << 8) | Read_hfc(cs, HFCSX_FIF_Z1L)); 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()
276 Read_hfc(cs, HFCSX_FIF_DRD); in read_fifo()
285 *dst++ = Read_hfc(cs, HFCSX_FIF_DRD); in read_fifo()
287 Read_hfc(cs, HFCSX_FIF_DRD); /* CRC 1 */ in read_fifo()
288 Read_hfc(cs, HFCSX_FIF_DRD); /* CRC 2 */ in read_fifo()
289 if (Read_hfc(cs, HFCSX_FIF_DRD)) { in read_fifo()
300 Read_hfc(cs, HFCSX_FIF_INCF2); /* increment F2 */ in read_fifo()
361 if (Read_hfc(cs, HFCSX_STATUS) & 2) in reset_hfcsx()
384 if (Read_hfc(cs, HFCSX_INT_S1)); in reset_hfcsx()
414 if (Read_hfc(cs, HFCSX_INT_S2)); in reset_hfcsx()
708 if (HFCSX_ANYINT & (stat = Read_hfc(cs, HFCSX_STATUS))) { in hfcsx_interrupt()
709 val = Read_hfc(cs, HFCSX_INT_S1); in hfcsx_interrupt()
722 exval = Read_hfc(cs, HFCSX_STATES) & 0xf; in hfcsx_interrupt()
1291 if (Read_hfc(cs, HFCSX_INT_S1)); in hfcsx_bh()
1463 cs->hw.hfcsx.chip = Read_hfc(cs, HFCSX_CHIP_ID); in setup_hfcsx()