Home
last modified time | relevance | path

Searched refs:media_present (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dsr.h43 unsigned media_present:1; /* media is present */ member
Dsd.h68 u8 media_present; member
Dsr.c233 last_present = cd->media_present; in sr_check_events()
241 cd->media_present = scsi_status_is_good(ret) || in sr_check_events()
244 if (last_present != cd->media_present) in sr_check_events()
650 cd->media_present = 1; in sr_probe()
Dsd.c956 if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) in sd_open()
1109 if (sdkp->media_present) in set_media_not_present()
1113 sdkp->media_present = 0; in set_media_not_present()
1196 if (!sdkp->media_present) in sd_check_events()
1198 sdkp->media_present = 1; in sd_check_events()
2339 if (sdkp->media_present) { in sd_revalidate_disk()
2467 sdkp->media_present = 1; in sd_probe_async()
Dsr_ioctl.c319 if (med.media_present) in sr_drive_status()
/linux-2.6.39/include/linux/
Dcdrom.h1183 __u8 media_present : 1; member
1189 __u8 media_present : 1;
/linux-2.6.39/drivers/ide/
Dide-cd_ioctl.c56 if (med.media_present) in ide_cdrom_drive_status()