Lines Matching refs:T1_FASTLINK
89 dummy = t1inp(base, T1_FASTLINK + T1_OUTSTAT); /* first read */ in t1_detectandinit()
101 t1outp(base, T1_FASTLINK + T1_RESETLINK, 0); in t1_detectandinit()
104 t1outp(base, T1_FASTLINK + T1_RESETLINK, 1); in t1_detectandinit()
107 t1outp(base, T1_FASTLINK + T1_RESETLINK, 0); in t1_detectandinit()
110 t1outp(base, T1_FASTLINK + T1_ANALYSE, 0); in t1_detectandinit()
114 if (t1inp(base, T1_FASTLINK + T1_OUTSTAT) != 0x1) /* tx empty */ in t1_detectandinit()
116 if (t1inp(base, T1_FASTLINK + T1_INSTAT) != 0x0) /* rx empty */ in t1_detectandinit()
118 if (t1inp(base, T1_FASTLINK + T1_IRQENABLE) != 0x0) in t1_detectandinit()
120 if ((t1inp(base, T1_FASTLINK + T1_FIFOSTAT) & 0xf0) != 0x70) in t1_detectandinit()
122 if ((t1inp(base, T1_FASTLINK + T1_IRQMASTER) & 0x0e) != 0) in t1_detectandinit()
124 if ((t1inp(base, T1_FASTLINK + T1_IDENT) & 0x7d) != 1) in t1_detectandinit()