Lines Matching refs:sense

390 /* at present, Linux's SCSI system limits the sense buffer to 16 bytes
392 let's set the sense buffer size to 64.
687 PSRBlock->u.cmd.sense_len = 32; /* length of sense buffer */
710 PSRBlock->u.cmd.sense_len = 32; /* length of sense buffer */
1772 /* Call the sense handler, if defined */
2298 a valid looking sense buffer, but the DRIVER_SENSE
2314 "sense buffer: %02x %02x %02x %02x %02x %02x %02x %02x"
2348 /* sense handler should return SANE_STATUS_GOOD if it
2385 "sense buffer: %02x %02x %02x %02x %02x %02x %02x %02x"
2416 /* sense handler should return SANE_STATUS_GOOD if it
3210 hdr.senselen = sizeof (hdr.sense);
3233 return (*handler) (fd, &hdr.sense[0],
3584 if (hdr.sense_xfer > 0 && (hdr.sense[0] & 0x80)
3586 return (*fd_info[fd].sense_handler) (fd, hdr.sense,
3673 /* sense reply is invalid */
3694 u_char sense[64];
3739 hdr.uagt_snsbuf = sense;
3740 hdr.uagt_snslen = sizeof (sense);
3757 return (*fd_info[fd].sense_handler) (fd, sense,
3853 char sense[32]; /* for call of sens req */
4315 PSRBlock->u.cmd.sense_len = 32; /* length of sense buffer */
4332 /* Get sense data if available. */
4385 *sensebuf = NULL, /* Request sense buffer */
4389 * Allocate the sense and command data buffers as necessary; we have
4818 (struct scsi_ext_sense *) &scmd.sense;
4821 && ((scmd.sense.code < 0x70 && scmd.sense.code != 0x04)
4822 || (scmd.sense.code >= 0x70
4839 DBG (3, "sense=%s\n", errbf);
4862 if (*(u_char *) & scmd.sense && handler)
4866 DBG (2, "sanei_scsi_cmd: sense-handler returns %d\n", rv);
4911 extended_sense_t sense, *sp = &sense;
4919 us.uscsi_rqbuf = (caddr_t) sp; /* sense data address */
4920 us.uscsi_rqlen = sizeof (extended_sense_t); /* length of sense data */
4961 DBG (3, "sense=%s\n", errbf);
4984 DBG (2, "sanei_scsi_cmd: sense-handler returns %d\n", rv);
5022 unsigned char sense[255];
5056 pkt.sptd.SenseInfoOffset = (void *)pkt.sense - (void *)&pkt;
5057 pkt.sptd.SenseInfoLength = sizeof(pkt.sense);
5078 return handler(fd, pkt.sense, fd_info[fd].sense_handler_arg);