Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/scsi/
Dsr.h43 unsigned media_present:1; /* media is present */ member
Dsr.c153 if (cd->media_present) in sr_runtime_suspend()
244 last_present = cd->media_present; in sr_check_events()
252 cd->media_present = scsi_status_is_good(ret) || in sr_check_events()
255 if (last_present != cd->media_present) in sr_check_events()
659 cd->media_present = 1; in sr_probe()
Dsd.h128 u8 media_present; member
Dsd.c1336 if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) in sd_open()
1469 if (sdkp->media_present) in set_media_not_present()
1473 sdkp->media_present = 0; in set_media_not_present()
1559 if (!sdkp->media_present) in sd_check_events()
1561 sdkp->media_present = 1; in sd_check_events()
2060 bool media_was_present = sdkp->media_present; in sd_spinup_disk()
3241 if (sdkp->media_present) { in sd_revalidate_disk()
3498 sdkp->media_present = 1; in sd_probe()
3638 if (sdkp->WCE && sdkp->media_present) { in sd_shutdown()
3658 if (sdkp->WCE && sdkp->media_present) { in sd_suspend_common()
Dsr_ioctl.c309 if (med.media_present) in sr_drive_status()
/linux-5.19.10/include/linux/
Dcdrom.h293 __u8 media_present : 1; member
299 __u8 media_present : 1;