Lines Matching refs:data
45 - sane_read() : read image data
278 /* copy data */
391 /* load calibration data */
432 * no data is available within sane_read(), instead of polling the scanner.
456 * frontend can do select()/poll() to wait for data.
907 * number of lines, total number of columns, extra line to read for data reordering...
1065 * Called by SANE to retrieve information about the type of data
1101 * Called by SANE to read data.
1104 * This function is used to read image data from the device
1114 * Returned data is read from working buffer.
1150 /* no data read yet */
1168 /* if working buffer is empty, we do a physical data read */
1171 DBG (DBG_io, "sane_read: physical data read\n");
1172 /* check is there is data available. In case of non-blocking mode we return
1173 * as soon it is detected there is no data yet. Reads must by done line by
1180 DBG (DBG_io, "sane_read: scanner hasn't enough data available\n");
1185 /* now we can wait for data here */
1201 /** compute size of physical data to read
1209 /* not enough data left, so read remainder of scan */
1247 } /* end of physical data reading */
1249 /* logical data reading */
1250 /* check if there data available in working buffer */
1253 DBG (DBG_io, "sane_read: logical data read\n");
1254 /* we have more data in internal buffer than asked ,
1255 * then send only max data */
1267 /* data copy */
1277 /* adjust for lds as we copy data to frontend */
1437 /* free device data */
1453 /* free per session data */
1593 void __sane_unused__ *data)
1601 * directly. The config struct contains all the configuration data for
1768 * for one but not for the other, the backend will have to crop data so that the