Home
last modified time | relevance | path

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

/linux/drivers/scsi/
A Dsr.c160 if (cd->media_present) in sr_runtime_suspend()
283 last_present = cd->media_present; in sr_check_events()
291 cd->media_present = scsi_status_is_good(ret) || in sr_check_events()
294 if (last_present != cd->media_present) in sr_check_events()
698 cd->media_present = 1; in sr_probe()
A Dsr.h46 unsigned media_present:1; /* media is present */ member
A Dsd.c1449 if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) in sd_open()
1582 if (sdkp->media_present) in set_media_not_present()
1586 sdkp->media_present = 0; in set_media_not_present()
1672 if (!sdkp->media_present) in sd_check_events()
1674 sdkp->media_present = 1; in sd_check_events()
2167 bool media_was_present = sdkp->media_present; in sd_spinup_disk()
3307 if (sdkp->media_present) { in sd_revalidate_disk()
3558 sdkp->media_present = 1; in sd_probe()
3736 if (sdkp->WCE && sdkp->media_present) { in sd_shutdown()
3756 if (sdkp->WCE && sdkp->media_present) { in sd_suspend_common()
A Dsd.h104 u8 media_present; member
A Dsr_ioctl.c303 if (med.media_present) in sr_drive_status()
/linux/include/linux/
A Dcdrom.h294 __u8 media_present : 1; member
300 __u8 media_present : 1;

Completed in 17 milliseconds