Lines Matching defs:index
297 * Read the scan frame with the specified index. This requires two
306 sanei_pieusb_cmd_get_scan_frame(SANE_Int device_number, SANE_Int index, struct Pieusb_Scan_Frame* frame, struct Pieusb_Command_Status *status)
316 /* Ask scanner to prepare the scan frame with the given index. Only SCSI_COMMAND_LEN bytes of data. */
320 data[4] = index;
336 frame->index = _get_byte (data, 4);
345 DBG (DBG_info_scan, " index = %d\n", frame->index);
397 /* Ask scanner to prepare the scan frame with the given index. Only SCSI_COMMAND_LEN bytes of data. */
471 * Set the scan frame with the given index to the frame. The command is a SCSI
475 * @param index Frame index (0-7)
481 sanei_pieusb_cmd_set_scan_frame(SANE_Int device_number, SANE_Int index, struct Pieusb_Scan_Frame* frame, struct Pieusb_Command_Status *status)
494 DBG (DBG_info_scan, " index = %d\n", index);
500 _set_short (index, data, 4);