Lines Matching refs:ChanNum
236 int ChanNum);
1139 int ChanNum = ChP->ChanNum; in sGetChanRI() local
1143 RingInd = !(sInB(CtlP->UPCIRingInd) & sBitMapSetTbl[ChanNum]); in sGetChanRI()
1147 RingInd = !(sInB(CtlP->AiopIO[3]) & sBitMapSetTbl[ChanNum]); in sGetChanRI()
2726 int ChanNum) in sInitChan() argument
2736 if (ChanNum >= CtlP->AiopNumChan[AiopNum]) in sInitChan()
2743 ChP->ChanNum = ChanNum; in sInitChan()
2754 ChIOOff = AiopIO + ChP->ChanNum * 2; in sInitChan()
2758 ChP->IntID = (ByteIO_t) AiopIO + ChP->ChanNum + _INT_ID0; in sInitChan()
2763 R[1] = RData[i + 1] + 0x10 * ChanNum; in sInitChan()
2772 ChR[i + 1] = RRegData[i + 1] + 0x10 * ChanNum; in sInitChan()
2778 ChOff = (Word_t) ChanNum *0x1000; in sInitChan()
2830 sOutB(ChP->Cmd, (Byte_t) ChanNum | RESTXFCNT); /* apply reset Tx FIFO count */ in sInitChan()
2831 sOutB(ChP->Cmd, (Byte_t) ChanNum); /* remove reset Tx FIFO count */ in sInitChan()
2837 sOutB(ChP->Cmd, (Byte_t) ChanNum | RESRXFCNT); /* apply reset Rx FIFO count */ in sInitChan()
2838 sOutB(ChP->Cmd, (Byte_t) ChanNum); /* remove reset Rx FIFO count */ in sInitChan()
3056 Mask = sInB(ChP->IntMask) | sBitMapSetTbl[ChP->ChanNum]; in sEnInterrupts()
3097 Mask = sInB(ChP->IntMask) & sBitMapClrTbl[ChP->ChanNum]; in sDisInterrupts()
3104 sOutB(ChP->CtlP->AiopIO[2], (mode & 0x18) | ChP->ChanNum); in sSetInterfaceMode()