/third_party/backends/backend/ |
H A D | pieusb_usb.c | 225 * and return SENSE data in the sense fields of status if there is a CHECK 228 * PIEUSB_STATUS_GOOD and the sense fields are empty. 268 struct Pieusb_Sense sense; in sanei_pieusb_command() local 279 /* A check sense may be a busy state in disguise in sanei_pieusb_command() 280 * It is also practical to execute a request sense command by in sanei_pieusb_command() 282 * PIEUSB_STATUS_CHECK_SENSE as 'sense data available'. */ in sanei_pieusb_command() 284 sanei_pieusb_cmd_get_sense (device_number, &sense, &senseStatus, &ret); in sanei_pieusb_command() 371 * Return a textual description of the given sense code. 375 * @param sense 380 sanei_pieusb_decode_sense(struct Pieusb_Sense* sense, PIEUSB_Statu argument [all...] |
H A D | kvs1025_low.c | 372 get_RS_sense_key (rs.sense), in CMD_read_support_info() 373 get_RS_ASC (rs.sense), get_RS_ASCQ (rs.sense)); in CMD_read_support_info() 402 get_RS_sense_key (rs.sense), get_RS_ASC (rs.sense), in CMD_scan() 403 get_RS_ASCQ (rs.sense)); in CMD_scan() 629 if (rs->status == KV_CHK_CONDITION && get_RS_ILI (rs->sense)) in CMD_read_image() 631 int delta = B32TOI (&rs->sense[3]); in CMD_read_image() 639 get_RS_ILI (rs->sense), get_RS_EOM (rs->sense)); in CMD_read_image() [all...] |
H A D | pieusb_scancmd.c | 241 * The sense fields in status are always 0. A REQUEST SENSE is not repeated if 245 * @param sense Sense data 250 sanei_pieusb_cmd_get_sense(SANE_Int device_number, struct Pieusb_Sense* sense, struct Pieusb_Command_Status *status, PIEUSB_Status *ret) in sanei_pieusb_cmd_get_sense() argument 272 sense->errorCode = _get_byte (data, 0); in sanei_pieusb_cmd_get_sense() 273 sense->segment = _get_byte (data, 1); in sanei_pieusb_cmd_get_sense() 274 sense->senseKey = _get_byte (data, 2); in sanei_pieusb_cmd_get_sense() 275 _copy_bytes (sense->info, data+3, 4); in sanei_pieusb_cmd_get_sense() 276 sense->addLength = _get_byte (data, 7); in sanei_pieusb_cmd_get_sense() 277 _copy_bytes (sense->cmdInfo, data+8, 4); in sanei_pieusb_cmd_get_sense() 278 sense in sanei_pieusb_cmd_get_sense() [all...] |
H A D | artec.c | 383 /* DB added a sense handler */ 386 sense_handler (int fd, u_char * sense, void *arg) in sense_handler() argument 393 DBG(2, "sense fd: %d, data: %02x %02x %02x %02x %02x %02x %02x %02x " in sense_handler() 395 sense[0], sense[1], sense[2], sense[3], in sense_handler() 396 sense[4], sense[5], sense[ in sense_handler() [all...] |
H A D | sp15c.c | 1092 unsigned int ret, sense, asc, ascq; in request_sense_parse() local 1093 sense = get_RS_sense_key (sensed_data); in request_sense_parse() 1099 switch (sense) in request_sense_parse() 1102 DBG (5, "\t%d/%d/%d: Scanner ready\n", sense, asc, ascq); in request_sense_parse() 1108 DBG (1, "\t%d/%d/%d: Not Ready \n", sense, asc, ascq); in request_sense_parse() 1112 DBG (1, "\tUnknown - Sense=%d, ASC=%d, ASCQ=%d\n", sense, asc, ascq); in request_sense_parse() 1119 DBG (1, "\t%d/%d/%d: Jam \n", sense, asc, ascq); in request_sense_parse() 1124 DBG (1, "\t%d/%d/%d: ADF cover open \n", sense, asc, ascq); in request_sense_parse() 1129 DBG (1, "\t%d/%d/%d: ADF empty \n", sense, asc, ascq); in request_sense_parse() 1134 DBG (1, "\tUnknown - Sense=%d, ASC=%d, ASCQ=%d\n", sense, as in request_sense_parse() [all...] |
H A D | kvs1025.c | 238 get_RS_sense_key (rs.sense), in sane_start() 239 get_RS_ASC (rs.sense), get_RS_ASCQ (rs.sense)); in sane_start() 258 get_RS_sense_key (rs.sense), in sane_start() 259 get_RS_ASC (rs.sense), get_RS_ASCQ (rs.sense)); in sane_start()
|
H A D | coolscan.c | 154 int ret, sense, asc, ascq; in request_sense_parse() local 155 sense = get_RS_sense_key (sensed_data); in request_sense_parse() 161 switch (sense) in request_sense_parse() 164 DBG (5, "\t%d/%d/%d: Scanner ready\n", sense, asc, ascq); in request_sense_parse() 169 DBG (1, "\t%d/%d/%d: Rounded Parameter\n", sense, asc, ascq); in request_sense_parse() 173 DBG (1, "\t%d/%d/%d: Out Of Focus\n", sense, asc, ascq); in request_sense_parse() 175 DBG (1, "\tUnknown - Sense=%d, ASC=%d, ASCQ=%d\n", sense, asc, ascq); in request_sense_parse() 181 sense, asc, ascq); in request_sense_parse() 186 DBG (1, "\t%d/%d/%d: No Diapo inserted\n", sense, asc, ascq); in request_sense_parse() 190 DBG (1, "\t%d/%d/%d: Lamp Failure\n", sense, as in request_sense_parse() [all...] |
H A D | microtek.c | 317 /* parse sense from scsi error */ 318 /* (even though microtek sense codes are non-standard and */ 322 sense_handler (int scsi_fd, u_char *sense, void *arg) in sense_handler() argument 328 DBG(10, "sense = %02x %02x %02x %02x.\n", in sense_handler() 329 sense[0], sense[1], sense[2], sense[3]); in sense_handler() 330 switch(sense[0]) { in sense_handler() 335 if (sense[ in sense_handler() [all...] |
H A D | kvs1025_cmds.h | 46 /* defines for request sense return block */ 70 unsigned char sense[18]; member
|
H A D | pieusb_usb.h | 54 SANE_String sanei_pieusb_decode_sense(struct Pieusb_Sense* sense, PIEUSB_Status *status);
|
H A D | kvs1025_usb.c | 328 /* Send command via USB, and request sense on CHECK CONDITION status */ 347 /* request sense */ in kv_usb_send_command() 355 hdr.data = &response->sense; in kv_usb_send_command() 360 hexdump (DBG_error, "sense data", (unsigned char *) &response->sense, in kv_usb_send_command()
|
H A D | kvs20xx_cmd.h | 73 unsigned sense, asc, ascq; member
|
H A D | kvs40xx_cmd.c | 167 unsigned sense, asc, ascq; member 258 if ((sense_buffer[2] & 0xf) == s_errors[i].sense in kvs40xx_sense_handler() 278 "send_command: CHECK_CONDITION: sense:0x%x ASC:0x%x ASCQ:0x%x\n", in kvs40xx_sense_handler()
|
H A D | hs2p-scsi.c | 407 /* a sensible sense handler 429 u_char sense, asc, ascq, EOM, ILI, ErrorCode, ValidData; in sense_handler() local 453 sense = sense_buffer[2] & 0x0f; /* Sense Key */ in sense_handler() 461 "sense_handler: sense_buffer=%#x, sense=%#x, asc=%#x, ascq=%#x\n", in sense_handler() 462 sense_buffer[0], sense, asc, ascq); in sense_handler() 471 DBG (DBG_sense, "sense_handler: sense=%s\n", print_sense); in sense_handler() 479 skey = lookup_sensekey_errmsg (sense); /* simple sequential search */ in sense_handler() 489 /* handle each sense key: Translate from HS2P message to SANE_STATUS_ message in sense_handler() 493 switch (sense) in sense_handler() 495 case 0x00: /* no sense */ in sense_handler() [all...] |
H A D | snapscan-scsi.c | 99 /* a sensible sense handler, courtesy of Franck; 106 u_char sense, asc, ascq; in sense_handler() local 113 sense = result[2] & 0x0f; in sense_handler() 123 DBG (DL_DATA_TRACE, "%s: sense key is invalid.\n", me); in sense_handler() 124 return SANE_STATUS_GOOD; /* sense key invalid */ in sense_handler() 126 DBG (DL_DATA_TRACE, "%s: sense key: 0x%02x, asc: 0x%02x, ascq: 0x%02x, i1: 0x%02x, i2: 0x%02x\n", in sense_handler() 127 me, sense, asc, ascq, result[18], result[19]); in sense_handler() 130 switch (sense) in sense_handler() 133 /* no sense */ in sense_handler() 134 sense_str = "No sense in sense_handler() [all...] |
H A D | kvs20xx_cmd.c | 90 if ((sense_buffer[2] & 0xf) == s_errors[i].sense in kvs20xx_sense_handler() 102 "send_command: CHECK_CONDITION: sense:0x%x ASC:0x%x ASCQ:0x%x\n", in kvs20xx_sense_handler()
|
H A D | pieusb_scancmd.h | 118 SANE_Byte senseKey; /* sense key is actually this value & 0x0F - table 69 */ 311 SANE_Byte senseKey; /* sense key: see Pieusb_Sense */ 312 SANE_Byte senseCode; /* sense code */ 313 SANE_Byte senseQualifier; /* sense code qualifier */ 328 void sanei_pieusb_cmd_get_sense(SANE_Int device_number, struct Pieusb_Sense* sense, struct Pieusb_Command_Status *status, PIEUSB_Status *ret);
|
H A D | avision.c | 434 AV_NO_BACKGROUND | AV_INT_BUTTON, /* cancel button -> sense abort! */ 2062 return "Film holder sense"; in avision_strdatatypecode() 2102 return snprintf (buffer, size, "Request sense"); in avision_strcmd() 2159 sense_handler (int fd, u_char* sense, void* arg) in sense_handler() argument 2166 uint8_t error_code = sense[0] & 0x7f; in sense_handler() 2167 uint8_t sense_key = sense[2] & 0xf; in sense_handler() 2168 uint8_t additional_sense = sense[7]; in sense_handler() 2178 text = "standard sense"; in sense_handler() 2181 text = "Avision-specific sense"; in sense_handler() 2184 text = "unknown sense"; in sense_handler() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_deesser.c | 116 double sense; in filter_frame() local 128 sense = (dec->m1 - dec->m2) * ((dec->m1 - dec->m2) / 1.3); in filter_frame() 129 attackspeed = 7.0 + sense * 1024; in filter_frame() 131 sense = 1.0 + intensity * intensity * sense; in filter_frame() 132 sense = FFMIN(sense, intensity); in filter_frame() 133 recovery = 1.0 + (0.01 / sense); in filter_frame() 140 if (dec->ratioA < sense) { in filter_frame() 141 dec->ratioA = ((dec->ratioA * attackspeed) + sense) / (attackspee in filter_frame() [all...] |
H A D | vf_perspective.c | 50 int sense; member 83 { "sense", "specify the sense of the coordinates", OFFSET(sense), AV_OPT_TYPE_INT, {.i64=PERSPECTIVE_SENSE_SOURCE}, 0, 1, FLAGS, "sense"}, 85 0, AV_OPT_TYPE_CONST, {.i64=PERSPECTIVE_SENSE_SOURCE}, 0, 0, FLAGS, "sense"}, 87 0, AV_OPT_TYPE_CONST, {.i64=PERSPECTIVE_SENSE_DESTINATION}, 0, 0, FLAGS, "sense"}, 151 switch (s->sense) { in calc_persp_luts()
|
/third_party/eudev/src/ata_id/ |
H A D | ata_id.c | 67 uint8_t sense[32] = {}; in disk_scsi_inquiry_command() local 74 .max_response_len = sizeof(sense), in disk_scsi_inquiry_command() 75 .response = (uintptr_t) sense, in disk_scsi_inquiry_command() 92 .sbp = sense, in disk_scsi_inquiry_command() 93 .mx_sb_len = sizeof(sense), in disk_scsi_inquiry_command() 147 uint8_t sense[32] = {}; in disk_identify_command() local 148 uint8_t *desc = sense + 8; in disk_identify_command() 155 .max_response_len = sizeof(sense), in disk_identify_command() 156 .response = (uintptr_t) sense, in disk_identify_command() 173 .sbp = sense, in disk_identify_command() 223 uint8_t sense[32] = {}; disk_identify_packet_device_command() local [all...] |
/third_party/eudev/src/scsi_id/ |
H A D | scsi_serial.c | 95 #define SG_ERR_CAT_MEDIA_CHANGED 1 /* interpreted from sense buffer */ 96 #define SG_ERR_CAT_RESET 2 /* interpreted from sense buffer */ 100 #define SG_ERR_CAT_SENSE 98 /* Something else in the sense buffer */ 193 * Figure out and print the sense key, asc and ascq. in scsi_dump_sense() 198 * XXX We probably need to: lookup the sense/asc/ascq in a retry in scsi_dump_sense() 199 * table, and if found return 1 (after dumping the sense, asc, and in scsi_dump_sense() 205 log_debug("%s: sense buffer empty", dev_scsi->kernel); in scsi_dump_sense() 214 * extended sense data. in scsi_dump_sense() 218 log_debug("%s: sense buffer too small %d bytes, %d bytes too short", in scsi_dump_sense() 228 log_debug("%s: sense resul in scsi_dump_sense() 325 unsigned char sense[SENSE_BUFF_LEN]; scsi_inquiry() local [all...] |
/third_party/backends/sanei/ |
H A D | sanei_scsi.c | 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 */ in open_aspi() 710 PSRBlock->u.cmd.sense_len = 32; /* length of sense buffer */ in open_aspi() 1772 /* Call the sense handler, if defined */ in sanei_scsi_req_enter2() 2298 a valid looking sense buffer, but the DRIVER_SENSE in sanei_scsi_req_wait() 2314 "sense buffer: %02x %02x %02x %02x %02x %02x %02x %02x" in sanei_scsi_req_wait() 2348 /* sense handler should return SANE_STATUS_GOOD if it in sanei_scsi_req_wait() 2385 "sense buffer: %02x %02x %02x %02x %02x %02x %02x %02x" in sanei_scsi_req_wait() 2416 /* sense handle in sanei_scsi_req_wait() 3694 u_char sense[64]; sanei_scsi_cmd2() local 3853 char sense[32]; /* for call of sens req */ sanei_scsi_cmd2() local 4911 extended_sense_t sense, *sp = &sense; scsi_cmd() local 5022 unsigned char sense[255]; sanei_scsi_cmd2() member [all...] |
/third_party/gn/src/gn/ |
H A D | command_check.cc | 167 In rare cases it makes sense to list a header in more than one target if it
|
/third_party/cups-filters/utils/ |
H A D | cups-browsed.c | 229 allow_sense_t sense; member 240 filter_sense_t sense; member 9100 (filter->sense == FILTER_NOT_MATCH ? "NOT " : ""), in matched_filters() 9120 if (filter->sense == FILTER_NOT_MATCH) { in matched_filters() 9126 if (filter->sense == FILTER_MATCH) { in matched_filters() 9134 if (filter->sense == FILTER_MATCH) { in matched_filters() 9192 if (filter->sense == FILTER_NOT_MATCH) in matched_filters() 9195 if (filter->sense == FILTER_MATCH) in matched_filters() 9970 allow_sense_t sense; in allowed() local 9984 sense in allowed() 11455 read_browseallow_value(const char *value, allow_sense_t sense) read_browseallow_value() argument [all...] |