Searched refs:sense_key (Results 1 – 6 of 6) sorted by relevance
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_lib.h | 168 unsigned char sense_key; member 198 char * sg_get_sense_key_str(int sense_key, int buff_len, char * buff);
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.c | 1044 int sense_key, sense_class, valid, code; in sg_print_sense() local 1089 sense_key = sense_buffer[descriptor_format ? 1 : 2] & 0xf; in sg_print_sense() 1090 fprintf(OUTP, "%s, Sense key: %s\n", error, snstext[sense_key]); in sg_print_sense() 1115 if (sense_key == 5 && s >= 18 in sg_print_sense() 1321 int sense_key; in sg_err_category_new() local 1325 sense_key = sense_buffer[1] & 0xf; in sg_err_category_new() 1328 sense_key = sense_buffer[2] & 0xf; in sg_err_category_new() 1332 if (RECOVERED_ERROR == sense_key) in sg_err_category_new() 1334 else if (UNIT_ATTENTION == sense_key) { in sg_err_category_new()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 234 sg_get_sense_key_str(int sense_key, int buff_len, char * buff) in sg_get_sense_key_str() argument 240 if ((sense_key >= 0) && (sense_key < 16)) in sg_get_sense_key_str() 241 scnpr(buff, buff_len, "%s", sg_lib_sense_key_desc[sense_key]); in sg_get_sense_key_str() 243 scnpr(buff, buff_len, "invalid value: 0x%x", sense_key); in sg_get_sense_key_str() 1128 int sense_key, bool * processedp, int blen, char * b) in decode_sks() argument 1135 switch (sense_key) { in decode_sks() 1190 sense_key); in decode_sks() 1286 int add_sb_len, add_d_len, desc_len, k, j, sense_key; in sg_get_sense_descriptors_str() local 1305 sense_key = (sbp[1] & 0xf); in sg_get_sense_descriptors_str() 1343 n += decode_sks(lip, descp, add_d_len, sense_key, &processed, in sg_get_sense_descriptors_str() [all …]
|
/external/kernel-headers/original/uapi/linux/ |
D | cdrom.h | 711 __u8 sense_key : 4; member 713 __u8 sense_key : 4; member
|
/external/arm-trusted-firmware/include/drivers/ |
D | ufs.h | 275 uint8_t sense_key : 4; member
|
/external/arm-trusted-firmware/drivers/ufs/ |
D | ufs.c | 629 if ((sense->sense_key == SENSE_KEY_UNIT_ATTENTION) && in ufs_read_capacity()
|