Lines Matching defs:data
217 * bytes - pointer to data buffer
218 * size - size of data
221 * CORE_DATA - operation on CORE data will be performed
244 DBG (DBG_proc, "%s: USB-in-USB: core data: %s\n",
287 /* Read USB-in-USB data */
293 DBG (DBG_err, "%s: USB-in-USB: error reading data\n", __func__);
301 /* Confirm data reception */
308 DBG (DBG_err, "%s: USB-in-USB: error confirming data reception\n",
357 /* Send USB-in-USB data */
363 DBG (DBG_err, "%s: USB-in-USB: error sending data\n", __func__);
367 /* CORE data is acknowledged packet by packet */
370 /* USB-in-USB: checking if data was accepted */
380 /* Normal (non-CORE) data is acknowledged after its full transmission */
383 /* USB-in-USB: checking if data was accepted */
389 /* Getting response after data transmission */
400 /* Necessary response after normal (non-CORE) data is 0x00,
514 * bytes - pointer to data buffer
515 * size - size of data
518 * CORE_DATA - operation on CORE data will be performed
530 unsigned int cmd, unsigned char *data, unsigned int size,
540 0x04, cmd, 0x00, data, size, core_flags);
639 * bytes - pointer to data buffer
640 * size - size of data to read
672 /* Check if requested data would fit into the buffer */
681 /* Read data until requested size of data will be received */
684 DBG (DBG_usb, "%s: USB-in-USB: not enough data in buffer available "
781 /* Check if we received the same amount of data as requested */
814 /* Count the amount of data we read */
818 /* Transfer requested amount of data to the caller */
819 DBG (DBG_usb, "%s: USB-in-USB: data in bulk buffer is available "
844 /* The data is in one buffer part (w/o wrapping) */
855 /* Count the amount of data transferred to the caller */
867 * bytes - pointer to data buffer
868 * size - size of data
871 * SANE_STATUS_GOOD - all data transferred successfully
913 /* Send all data in pages */
941 /* Write bulk data */