Lines Matching refs:inWritePos
157 picoos_uint16 inReadPos, inWritePos; /* next pos to read/write from/to inBuf*/ member
571 pam->inWritePos = 0; in pam_initialize()
2350 &(pam->inBuf[pam->inWritePos]), pam->inBufSize in pam_step()
2351 - pam->inWritePos, &blen); in pam_step()
2365 &(pam->inBuf[pam->inWritePos]), blen); in pam_step()
2368 pam->inWritePos += blen; in pam_step()
2370 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2372 pam->inWritePos = 0; in pam_step()
2373 … }PICODBG_DEBUG(("pam_step -- item is not valid, type: %d",pam->inBuf[pam->inWritePos])); in pam_step()
2378 pam->inWritePos += blen; in pam_step()
2384 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2397 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2399 pam->inWritePos = 0; in pam_step()
2429 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2431 pam->inWritePos = 0; in pam_step()
2461 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2463 pam->inWritePos = 0; in pam_step()
2487 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2492 pam->inWritePos = 0; in pam_step()
2668 if (pam->inReadPos >= pam->inWritePos) { in pam_step()
2670 pam->inWritePos = 0; in pam_step()