• Home
  • Raw
  • Download

Lines Matching full:sense

48 	[0x10] = "Lost Sense",
491 * SENSE Medium: Get Sense data about medium state
585 * 1. A unit check is presented, when attention sense is present (e.g. when
586 * a medium has been unloaded). The attention sense comes then
669 struct tape_3590_med_sense *sense) in tape_3590_med_state_set() argument
675 DBF_EVENT(6, "medium state: %x:%x\n", sense->macst, sense->masst); in tape_3590_med_state_set()
676 switch (sense->macst) { in tape_3590_med_state_set()
692 if (sense->flags & MSENSE_CRYPT_MASK) { in tape_3590_med_state_set()
693 DBF_EVENT(6, "Medium is encrypted (%04x)\n", sense->flags); in tape_3590_med_state_set()
696 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags); in tape_3590_med_state_set()
826 struct tape_3590_sense *sense; in tape_3590_erp_basic() local
828 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_erp_basic()
830 switch (sense->bra) { in tape_3590_erp_basic()
958 struct tape_3590_sense *sense; in tape_3590_print_mim_msg_f0() local
967 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_mim_msg_f0()
969 switch (sense->fmt.f70.emc) { in tape_3590_print_mim_msg_f0()
975 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
982 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
989 sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
993 sense->fmt.f70.emc); in tape_3590_print_mim_msg_f0()
997 switch (sense->fmt.f70.smc) { in tape_3590_print_mim_msg_f0()
1000 "procedure %i", sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
1004 sense->fmt.f70.smc); in tape_3590_print_mim_msg_f0()
1022 struct tape_3590_sense *sense; in tape_3590_print_io_sim_msg_f1() local
1031 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_io_sim_msg_f1()
1033 switch (sense->fmt.f71.emc) { in tape_3590_print_io_sim_msg_f1()
1043 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1047 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1051 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1055 sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1059 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1063 sense->fmt.f71.emc); in tape_3590_print_io_sim_msg_f1()
1066 switch (sense->fmt.f71.smc) { in tape_3590_print_io_sim_msg_f1()
1075 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1077 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1080 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1081 sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1084 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1087 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1091 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1094 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1096 " path 0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1100 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1103 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1106 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1110 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1117 sense->fmt.f71.smc); in tape_3590_print_io_sim_msg_f1()
1133 struct tape_3590_sense *sense; in tape_3590_print_dev_sim_msg_f2() local
1142 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_dev_sim_msg_f2()
1144 switch (sense->fmt.f71.emc) { in tape_3590_print_dev_sim_msg_f2()
1154 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1158 sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1162 " 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1172 sense->fmt.f71.emc); in tape_3590_print_dev_sim_msg_f2()
1175 switch (sense->fmt.f71.smc) { in tape_3590_print_dev_sim_msg_f2()
1184 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1187 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1191 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1194 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1196 "interface 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1200 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1203 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1205 " 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1209 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1215 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1218 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1222 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1229 sense->fmt.f71.smc); in tape_3590_print_dev_sim_msg_f2()
1245 struct tape_3590_sense *sense; in tape_3590_print_era_msg() local
1247 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_era_msg()
1248 if (sense->mc == 0) in tape_3590_print_era_msg()
1250 if ((sense->mc > 0) && (sense->mc < TAPE_3590_MAX_MSG)) { in tape_3590_print_era_msg()
1251 if (tape_3590_msg[sense->mc] != NULL) in tape_3590_print_era_msg()
1253 "issued sense message %s\n", in tape_3590_print_era_msg()
1254 tape_3590_msg[sense->mc]); in tape_3590_print_era_msg()
1257 "issued an unknown sense message code 0x%x\n", in tape_3590_print_era_msg()
1258 sense->mc); in tape_3590_print_era_msg()
1261 if (sense->mc == 0xf0) { in tape_3590_print_era_msg()
1264 "RC=%02x-%04x-%02x\n", sense->fmt.f70.sev, sense->mc, in tape_3590_print_era_msg()
1265 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg()
1266 sense->fmt.f70.refcode, sense->fmt.f70.mid, in tape_3590_print_era_msg()
1267 sense->fmt.f70.fid); in tape_3590_print_era_msg()
1271 if (sense->mc == 0xf1) { in tape_3590_print_era_msg()
1275 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1276 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1277 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1278 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1282 if (sense->mc == 0xf2) { in tape_3590_print_era_msg()
1286 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1287 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1288 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1289 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1293 if (sense->mc == 0xf3) { in tape_3590_print_era_msg()
1298 "sense message code %x\n", sense->mc); in tape_3590_print_era_msg()
1306 char *sense; in tape_3590_crypt_error() local
1308 sense = ((struct tape_3590_sense *) irb->ecw)->fmt.data; in tape_3590_crypt_error()
1309 cu_rc = sense[0]; in tape_3590_crypt_error()
1310 ekm_rc2 = *((u16*) &sense[10]); in tape_3590_crypt_error()
1333 struct tape_3590_sense *sense; in tape_3590_unit_check() local
1335 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_unit_check()
1337 DBF_EVENT(6, "Unit Check: RQC = %x\n", sense->rc_rqc); in tape_3590_unit_check()
1344 switch (sense->rc_rqc) { in tape_3590_unit_check()
1402 if (sense->rac == 0xd0) { in tape_3590_unit_check()
1407 if (sense->rac == 0x26) { in tape_3590_unit_check()
1553 DBF_LH(3, "3590 medium sense returned %d\n", rc); in tape_3590_setup_device()