Lines Matching defs:result
102 static SANE_Status sense_handler (int scsi_fd, u_char * result, void *arg)
111 (void *) result, (void *) arg);
113 sense = result[2] & 0x0f;
114 asc = result[12];
115 ascq = result[13];
118 pss->asi1 = result[18];
119 pss->asi2 = result[19];
121 if ((result[0] & 0x80) == 0)
127 me, sense, asc, ascq, result[18], result[19]);
145 DBG (DL_MINOR_INFO, "%s: %s (%d seconds)\n", me, as_str, result[18]);
153 DBG (DL_MINOR_INFO, "%s: %s (0x%02x, 0x%02x)\n", me, sense_str, result[18],
154 result[19]);
1339 "%s: unhandled request_sense result; trying again.\n",
1470 /* now fill up result buffer */