Lines Matching refs:sense

670 				    struct tape_3590_med_sense *sense)  in tape_3590_med_state_set()  argument
676 DBF_EVENT(6, "medium state: %x:%x\n", sense->macst, sense->masst); in tape_3590_med_state_set()
677 switch (sense->macst) { in tape_3590_med_state_set()
693 if (sense->flags & MSENSE_CRYPT_MASK) { in tape_3590_med_state_set()
694 DBF_EVENT(6, "Medium is encrypted (%04x)\n", sense->flags); in tape_3590_med_state_set()
697 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags); in tape_3590_med_state_set()
827 struct tape_3590_sense *sense; in tape_3590_erp_basic() local
829 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_erp_basic()
831 switch (sense->bra) { in tape_3590_erp_basic()
959 struct tape_3590_sense *sense; in tape_3590_print_mim_msg_f0() local
968 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_mim_msg_f0()
970 switch (sense->fmt.f70.emc) { in tape_3590_print_mim_msg_f0()
976 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
983 sense->fmt.f70.mp); in tape_3590_print_mim_msg_f0()
990 sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
994 sense->fmt.f70.emc); in tape_3590_print_mim_msg_f0()
998 switch (sense->fmt.f70.smc) { in tape_3590_print_mim_msg_f0()
1001 "procedure %i", sense->fmt.f70.md); in tape_3590_print_mim_msg_f0()
1005 sense->fmt.f70.smc); in tape_3590_print_mim_msg_f0()
1023 struct tape_3590_sense *sense; in tape_3590_print_io_sim_msg_f1() local
1032 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_io_sim_msg_f1()
1034 switch (sense->fmt.f71.emc) { in tape_3590_print_io_sim_msg_f1()
1044 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1048 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1052 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1056 sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1060 "0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_io_sim_msg_f1()
1064 sense->fmt.f71.emc); in tape_3590_print_io_sim_msg_f1()
1067 switch (sense->fmt.f71.smc) { in tape_3590_print_io_sim_msg_f1()
1076 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1078 "0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1081 "nodes (0x%x-0x%x) on CU", sense->fmt.f71.md[1], in tape_3590_print_io_sim_msg_f1()
1082 sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1085 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1088 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1092 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1095 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1097 " path 0x%x on CU", sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1101 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1104 if (sense->fmt.f71.mdf == 0) in tape_3590_print_io_sim_msg_f1()
1107 sense->fmt.f71.md[1]); in tape_3590_print_io_sim_msg_f1()
1111 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1118 sense->fmt.f71.smc); in tape_3590_print_io_sim_msg_f1()
1134 struct tape_3590_sense *sense; in tape_3590_print_dev_sim_msg_f2() local
1143 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_dev_sim_msg_f2()
1145 switch (sense->fmt.f71.emc) { in tape_3590_print_dev_sim_msg_f2()
1155 "interface 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1159 sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1163 " 0x%02x", sense->fmt.f71.md[0]); in tape_3590_print_dev_sim_msg_f2()
1173 sense->fmt.f71.emc); in tape_3590_print_dev_sim_msg_f2()
1176 switch (sense->fmt.f71.smc) { in tape_3590_print_dev_sim_msg_f2()
1185 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1188 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1192 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1195 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1197 "interface 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1201 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1204 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1206 " 0x%x on DV", sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1210 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1216 if (sense->fmt.f71.mdf == 0) in tape_3590_print_dev_sim_msg_f2()
1219 sense->fmt.f71.md[1]); in tape_3590_print_dev_sim_msg_f2()
1223 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1230 sense->fmt.f71.smc); in tape_3590_print_dev_sim_msg_f2()
1246 struct tape_3590_sense *sense; in tape_3590_print_era_msg() local
1248 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_print_era_msg()
1249 if (sense->mc == 0) in tape_3590_print_era_msg()
1251 if ((sense->mc > 0) && (sense->mc < TAPE_3590_MAX_MSG)) { in tape_3590_print_era_msg()
1252 if (tape_3590_msg[sense->mc] != NULL) in tape_3590_print_era_msg()
1255 tape_3590_msg[sense->mc]); in tape_3590_print_era_msg()
1259 sense->mc); in tape_3590_print_era_msg()
1262 if (sense->mc == 0xf0) { in tape_3590_print_era_msg()
1265 "RC=%02x-%04x-%02x\n", sense->fmt.f70.sev, sense->mc, in tape_3590_print_era_msg()
1266 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg()
1267 sense->fmt.f70.refcode, sense->fmt.f70.mid, in tape_3590_print_era_msg()
1268 sense->fmt.f70.fid); in tape_3590_print_era_msg()
1272 if (sense->mc == 0xf1) { in tape_3590_print_era_msg()
1276 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1277 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1278 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1279 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1283 if (sense->mc == 0xf2) { in tape_3590_print_era_msg()
1287 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1288 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1289 sense->fmt.f71.refcode1, sense->fmt.f71.refcode2, in tape_3590_print_era_msg()
1290 sense->fmt.f71.refcode3); in tape_3590_print_era_msg()
1294 if (sense->mc == 0xf3) { in tape_3590_print_era_msg()
1299 "sense message code %x\n", sense->mc); in tape_3590_print_era_msg()
1307 char *sense; in tape_3590_crypt_error() local
1309 sense = ((struct tape_3590_sense *) irb->ecw)->fmt.data; in tape_3590_crypt_error()
1310 cu_rc = sense[0]; in tape_3590_crypt_error()
1311 ekm_rc2 = *((u16*) &sense[10]); in tape_3590_crypt_error()
1334 struct tape_3590_sense *sense; in tape_3590_unit_check() local
1336 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_unit_check()
1338 DBF_EVENT(6, "Unit Check: RQC = %x\n", sense->rc_rqc); in tape_3590_unit_check()
1345 switch (sense->rc_rqc) { in tape_3590_unit_check()
1403 if (sense->rac == 0xd0) { in tape_3590_unit_check()
1408 if (sense->rac == 0x26) { in tape_3590_unit_check()