Lines Matching refs:ChanNum
223 int ChanNum);
1108 int ChanNum = ChP->ChanNum; in sGetChanRI() local
1112 RingInd = !(sInB(CtlP->UPCIRingInd) & sBitMapSetTbl[ChanNum]); in sGetChanRI()
1116 RingInd = !(sInB(CtlP->AiopIO[3]) & sBitMapSetTbl[ChanNum]); in sGetChanRI()
2692 int ChanNum) in sInitChan() argument
2702 if (ChanNum >= CtlP->AiopNumChan[AiopNum]) in sInitChan()
2709 ChP->ChanNum = ChanNum; in sInitChan()
2720 ChIOOff = AiopIO + ChP->ChanNum * 2; in sInitChan()
2724 ChP->IntID = (ByteIO_t) AiopIO + ChP->ChanNum + _INT_ID0; in sInitChan()
2729 R[1] = RData[i + 1] + 0x10 * ChanNum; in sInitChan()
2738 ChR[i + 1] = RRegData[i + 1] + 0x10 * ChanNum; in sInitChan()
2744 ChOff = (Word_t) ChanNum *0x1000; in sInitChan()
2796 sOutB(ChP->Cmd, (Byte_t) ChanNum | RESTXFCNT); /* apply reset Tx FIFO count */ in sInitChan()
2797 sOutB(ChP->Cmd, (Byte_t) ChanNum); /* remove reset Tx FIFO count */ in sInitChan()
2803 sOutB(ChP->Cmd, (Byte_t) ChanNum | RESRXFCNT); /* apply reset Rx FIFO count */ in sInitChan()
2804 sOutB(ChP->Cmd, (Byte_t) ChanNum); /* remove reset Rx FIFO count */ in sInitChan()
3022 Mask = sInB(ChP->IntMask) | sBitMapSetTbl[ChP->ChanNum]; in sEnInterrupts()
3063 Mask = sInB(ChP->IntMask) & sBitMapClrTbl[ChP->ChanNum]; in sDisInterrupts()
3070 sOutB(ChP->CtlP->AiopIO[2], (mode & 0x18) | ChP->ChanNum); in sSetInterfaceMode()