Lines Matching defs:runtime
3891 static inline bool sd_do_start_stop(struct scsi_device *sdev, bool runtime)
3893 return (sdev->manage_system_start_stop && !runtime) ||
3894 (sdev->manage_runtime_start_stop && runtime);
3897 static int sd_suspend_common(struct device *dev, bool runtime)
3902 if (!sdkp) /* E.g.: runtime suspend following sd_remove() */
3917 if (sd_do_start_stop(sdkp->device, runtime)) {
3922 if (!runtime)
3945 static int sd_resume(struct device *dev, bool runtime)
3950 if (!sdkp) /* E.g.: runtime resume at the start of sd_probe() */
3953 if (!sd_do_start_stop(sdkp->device, runtime)) {
3991 if (!sdkp) /* E.g.: runtime resume at the start of sd_probe() */