Lines Matching defs:media

1946  * Sets the given media track type.
2251 int media = s->aATAPICmd[1];
2280 if (media == 0)
2387 case 0x81: /* TODO: AACS media serial number */
2388 case 0x82: /* TODO: AACS media identifier */
2389 case 0x83: /* TODO: AACS media key block */
2620 ataH2BE_U16(pbBuf + 6, 0x00); /* current profile: none -> no media */
2690 pbBuf[2] = 0x04; /* media */
2691 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */
2702 pbBuf[2] = 0x04; /* media */
2703 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */
2704 pbBuf[4] = 0x03; /* media removal */
2714 pbBuf[2] = 0x04; /* media */
2715 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */
2726 pbBuf[3] = 0x5e; /* supported = busy|media|external|power|operational */
3074 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3141 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3184 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3241 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3277 case 2: /* 10 - Eject media */
3303 case 3: /* 11 - Load media */
3326 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3361 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3375 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3390 atapiCmdErrorSimple(s, SCSI_SENSE_UNIT_ATTENTION, SCSI_ASC_MEDIUM_MAY_HAVE_CHANGED); /* media changed */
3402 /* No media change stuff here, it can confuse Linux guests. */
3801 * Called when a media is mounted.
3821 /* Report media changed in TEST UNIT and other (probably incorrect) places. */
3829 * Called when a media is unmounted
3840 * However, it will respond to TEST UNIT with a 0x6 0x28 (media changed) sense code.
3841 * So, we'll give it 4 TEST UNIT command to catch up, two which the media is not
6259 * Init geometry (only for non-CD/DVD media).