Lines Matching refs:sense
673 struct tape_3590_med_sense *sense) in tape_3590_med_state_set() argument
679 DBF_EVENT(6, "medium state: %x:%x\n", sense->macst, sense->masst); in tape_3590_med_state_set()
680 switch (sense->macst) { in tape_3590_med_state_set()
696 if (sense->flags & MSENSE_CRYPT_MASK) { in tape_3590_med_state_set()
697 DBF_EVENT(6, "Medium is encrypted (%04x)\n", sense->flags); in tape_3590_med_state_set()
700 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags); in tape_3590_med_state_set()
830 struct tape_3590_sense *sense; in tape_3590_erp_basic() local
832 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_erp_basic()
834 switch (sense->bra) { in tape_3590_erp_basic()
962 struct tape_3590_sense *sense; in tape_3590_print_mim_msg_f0() local
971 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_mim_msg_f0()
973 switch (sense->fmt.f70.emc) { in tape_3590_print_mim_msg_f0()
979 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
986 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
993 sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
997 sense->fmt.f70.emc); in tape_3590_print_mim_msg_f0()
1001 switch (sense->fmt.f70.smc) { in tape_3590_print_mim_msg_f0()
1004 "procedure %i", sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
1008 sense->fmt.f70.smc); in tape_3590_print_mim_msg_f0()
1026 struct tape_3590_sense *sense; in tape_3590_print_io_sim_msg_f1() local
1035 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_io_sim_msg_f1()
1037 switch (sense->fmt.f71.emc) { in tape_3590_print_io_sim_msg_f1()
1047 "interface 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 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1059 sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1063 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1067 sense->fmt.f71.emc); in tape_3590_print_io_sim_msg_f1()
1070 switch (sense->fmt.f71.smc) { in tape_3590_print_io_sim_msg_f1()
1079 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1081 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1084 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1085 sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1088 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1091 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1095 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1098 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1100 " path 0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1104 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1107 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1110 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1114 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1121 sense->fmt.f71.smc); in tape_3590_print_io_sim_msg_f1()
1137 struct tape_3590_sense *sense; in tape_3590_print_dev_sim_msg_f2() local
1146 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_dev_sim_msg_f2()
1148 switch (sense->fmt.f71.emc) { in tape_3590_print_dev_sim_msg_f2()
1158 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1162 sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1166 " 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1176 sense->fmt.f71.emc); in tape_3590_print_dev_sim_msg_f2()
1179 switch (sense->fmt.f71.smc) { in tape_3590_print_dev_sim_msg_f2()
1188 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1191 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1195 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1198 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1200 "interface 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1204 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1207 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1209 " 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1213 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1219 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1222 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1226 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1233 sense->fmt.f71.smc); in tape_3590_print_dev_sim_msg_f2()
1249 struct tape_3590_sense *sense; in tape_3590_print_era_msg() local
1251 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_era_msg()
1252 if (sense->mc == 0) in tape_3590_print_era_msg()
1254 if ((sense->mc > 0) && (sense->mc < TAPE_3590_MAX_MSG)) { in tape_3590_print_era_msg()
1255 if (tape_3590_msg[sense->mc] != NULL) in tape_3590_print_era_msg()
1258 tape_3590_msg[sense->mc]); in tape_3590_print_era_msg()
1262 sense->mc); in tape_3590_print_era_msg()
1265 if (sense->mc == 0xf0) { in tape_3590_print_era_msg()
1268 "RC=%02x-%04x-%02x\n", sense->fmt.f70.sev, sense->mc, in tape_3590_print_era_msg()
1269 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg()
1270 sense->fmt.f70.refcode, sense->fmt.f70.mid, in tape_3590_print_era_msg()
1271 sense->fmt.f70.fid); in tape_3590_print_era_msg()
1275 if (sense->mc == 0xf1) { in tape_3590_print_era_msg()
1279 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1280 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1281 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1282 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1286 if (sense->mc == 0xf2) { in tape_3590_print_era_msg()
1290 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1291 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1292 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1293 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1297 if (sense->mc == 0xf3) { in tape_3590_print_era_msg()
1302 "sense message code %x\n", sense->mc); in tape_3590_print_era_msg()
1310 char *sense; in tape_3590_crypt_error() local
1312 sense = ((struct tape_3590_sense *) irb->ecw)->fmt.data; in tape_3590_crypt_error()
1313 cu_rc = sense[0]; in tape_3590_crypt_error()
1314 ekm_rc2 = *((u16*) &sense[10]); in tape_3590_crypt_error()
1337 struct tape_3590_sense *sense; in tape_3590_unit_check() local
1339 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_unit_check()
1341 DBF_EVENT(6, "Unit Check: RQC = %x\n", sense->rc_rqc); in tape_3590_unit_check()
1348 switch (sense->rc_rqc) { in tape_3590_unit_check()
1406 if (sense->rac == 0xd0) { in tape_3590_unit_check()
1411 if (sense->rac == 0x26) { in tape_3590_unit_check()