Lines Matching refs:DMABuffer
6181 if (dev->Reading->DMABuffer != NULL)
6182 free (dev->Reading->DMABuffer);
6411 dev->Reading->DMABuffer =
6414 if (dev->Reading->DMABuffer != NULL)
7735 rd->RDStart = rd->DMABuffer;
7744 /* Try to read from scanner all possible data to fill DMABuffer */
7815 /* Lets copy data into DMABuffer if it's necessary */
7821 if ((ptDMABuffer - rd->DMABuffer) >=
7826 (rd->DMABuffer + rd->DMABufferSize))
7831 rd->DMABuffer));
7834 memcpy (rd->DMABuffer,
7874 (rd->DMABuffer + rd->DMABufferSize))
7877 rd->DMABufferSize - (rd->RDStart - rd->DMABuffer);
7879 memcpy (ptBuffer + rest, rd->DMABuffer, iAmount - rest);
7880 rd->RDStart = rd->DMABuffer + (iAmount - rest);
7893 /* if there isn't any data in DMABuffer we can point RDStart
7894 to the beginning of DMABuffer */
7896 rd->RDStart = rd->DMABuffer;