Lines Matching defs:buffer
953 static int ptdrvRead( pScanData ps, pUChar buffer, int count )
965 if((NULL == buffer) || (NULL == ps)) {
1002 /* if we have to do some scaling, we need another buffer... */
1112 buffer += ((ps->Scan.dwLinesToRead - 1) *
1136 if (copy_to_user( buffer, scaleBuf,
1141 if (copy_to_user( buffer, ps->Scan.bp.pMonoBuf,
1147 buffer += ps->Scan.lBufferAdjust;
1168 buffer -= (ps->DataInf.dwAppBytesPerLine *
1170 memset( buffer, 0xff,
1274 static int PtDrvRead ( pUChar buffer, int count )
1279 return ptdrvRead( PtDrvDevices[0], buffer, count );