• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/s390/char/

Lines Matching defs:sense

536  * 1. A unit check is presented, when attention sense is present (e.g. when
537 * a medium has been unloaded). The attention sense comes then
710 struct tape_3590_med_sense *sense)
716 if (sense->masst == MSENSE_UNASSOCIATED) {
721 if (sense->masst != MSENSE_ASSOCIATED_MOUNT) {
722 PRINT_ERR("Unknown medium state: %x\n", sense->masst);
727 if (sense->flags & MSENSE_CRYPT_MASK) {
728 PRINT_INFO("Medium is encrypted (%04x)\n", sense->flags);
731 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags);
862 struct tape_3590_sense *sense;
864 sense = (struct tape_3590_sense *) irb->ecw;
866 switch (sense->bra) {
877 sense->bra);
997 struct tape_3590_sense *sense;
999 sense = (struct tape_3590_sense *) irb->ecw;
1001 switch (sense->fmt.f70.emc) {
1007 device->cdev->dev.bus_id, sense->fmt.f70.mp);
1014 device->cdev->dev.bus_id, sense->fmt.f70.mp);
1021 device->cdev->dev.bus_id, sense->fmt.f70.md);
1025 device->cdev->dev.bus_id, sense->fmt.f70.emc);
1029 switch (sense->fmt.f70.smc) {
1032 device->cdev->dev.bus_id, sense->fmt.f70.md);
1036 device->cdev->dev.bus_id, sense->fmt.f70.smc);
1047 struct tape_3590_sense *sense;
1049 sense = (struct tape_3590_sense *) irb->ecw;
1051 switch (sense->fmt.f71.emc) {
1062 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1066 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1070 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1074 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1078 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1082 device->cdev->dev.bus_id, sense->fmt.f71.emc);
1085 switch (sense->fmt.f71.smc) {
1095 if (sense->fmt.f71.mdf == 0)
1099 sense->fmt.f71.md[1]);
1104 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1107 if (sense->fmt.f71.mdf == 0)
1111 sense->fmt.f71.md[1]);
1116 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1119 if (sense->fmt.f71.mdf == 0)
1123 sense->fmt.f71.md[1]);
1128 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1131 if (sense->fmt.f71.mdf == 0)
1135 sense->fmt.f71.md[1]);
1140 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1148 device->cdev->dev.bus_id, sense->fmt.f71.smc);
1158 struct tape_3590_sense *sense;
1160 sense = (struct tape_3590_sense *) irb->ecw;
1162 switch (sense->fmt.f71.emc) {
1173 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1177 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1181 device->cdev->dev.bus_id, sense->fmt.f71.md[0]);
1193 device->cdev->dev.bus_id, sense->fmt.f71.emc);
1196 switch (sense->fmt.f71.smc) {
1206 if (sense->fmt.f71.mdf == 0)
1210 sense->fmt.f71.md[1]);
1215 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1218 if (sense->fmt.f71.mdf == 0)
1222 sense->fmt.f71.md[1]);
1227 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1230 if (sense->fmt.f71.mdf == 0)
1234 sense->fmt.f71.md[1]);
1239 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1246 if (sense->fmt.f71.mdf == 0)
1250 sense->fmt.f71.md[1]);
1255 sense->fmt.f71.md[1], sense->fmt.f71.md[2]);
1262 device->cdev->dev.bus_id, sense->fmt.f71.smc);
1272 struct tape_3590_sense *sense;
1274 sense = (struct tape_3590_sense *) irb->ecw;
1275 if (sense->mc == 0)
1277 if ((sense->mc > 0) && (sense->mc < TAPE_3590_MAX_MSG)) {
1278 if (tape_3590_msg[sense->mc] != NULL)
1280 tape_3590_msg[sense->mc]);
1283 device->cdev->dev.bus_id, sense->mc);
1287 if (sense->mc == 0xf0) {
1291 sense->fmt.f70.sev, sense->mc,
1292 sense->fmt.f70.emc, sense->fmt.f70.smc,
1293 sense->fmt.f70.refcode, sense->fmt.f70.mid,
1294 sense->fmt.f70.fid);
1298 if (sense->mc == 0xf1) {
1302 device->cdev->dev.bus_id, sense->fmt.f71.sev,
1304 sense->mc, sense->fmt.f71.emc,
1305 sense->fmt.f71.smc, sense->fmt.f71.refcode1,
1306 sense->fmt.f71.refcode2, sense->fmt.f71.refcode3);
1310 if (sense->mc == 0xf2) {
1314 device->cdev->dev.bus_id, sense->fmt.f71.sev,
1316 sense->mc, sense->fmt.f71.emc,
1317 sense->fmt.f71.smc, sense->fmt.f71.refcode1,
1318 sense->fmt.f71.refcode2, sense->fmt.f71.refcode3);
1322 if (sense->mc == 0xf3) {
1327 device->cdev->dev.bus_id, sense->mc);
1336 char *bus_id, *sense;
1338 sense = ((struct tape_3590_sense *) irb->ecw)->fmt.data;
1340 cu_rc = sense[0];
1341 drv_rc = *((u32*) &sense[5]) & 0xffffff;
1342 ekm_rc1 = sense[9];
1343 ekm_rc2 = *((u16*) &sense[10]);
1367 struct tape_3590_sense *sense;
1384 sense = (struct tape_3590_sense *) irb->ecw;
1386 DBF_EVENT(6, "Unit Check: RQC = %x\n", sense->rc_rqc);
1394 switch (sense->rc_rqc) {
1453 if (sense->rac == 0xd0) {
1458 if (sense->rac == 0x26) {
1612 DBF_LH(3, "3590 medium sense returned %d\n", rc);