Lines Matching refs:sp
60 * sp ADSP Stream
64 int CalcSendQFree(sp) /* (CCBPtr sp) */
65 CCBPtr sp;
69 bytes = calcSendQ(sp);
70 bytes = sp->sbuflen - bytes;
78 calcSendQ(sp)
79 CCBPtr sp;
84 if (sp->sData) { /* There is data in buffer */
85 if ((mp = sp->sbuf_mb)) {
91 if ((mp = sp->csbuf_mb))
114 int adspStatus(sp, pb) /* (DSPPBPtr pb) */
115 CCBPtr sp;
120 if (sp == 0) {
125 pb->u.statusParams.ccbPtr = (TPCCB)sp;
130 if (sp->sData)
131 bytes = calcSendQ(sp);
137 pb->u.statusParams.sendQFree = CalcSendQFree(sp);
142 if (sp->rData)
143 bytes = calcRecvQ(sp);
149 pb->u.statusParams.recvQFree = CalcRecvWdw(sp);