Searched refs:pm_op (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/base/power/ |
| H A D | main.c | 349 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op() function 933 callback = pm_op(&dev->pm_domain->ops, state); in device_resume() 939 callback = pm_op(dev->type->pm, state); in device_resume() 945 callback = pm_op(dev->class->pm, state); in device_resume() 952 callback = pm_op(dev->bus->pm, state); in device_resume() 963 callback = pm_op(dev->driver->pm, state); in device_resume() 1660 callback = pm_op(&dev->pm_domain->ops, state); in __device_suspend() 1666 callback = pm_op(dev->type->pm, state); in __device_suspend() 1672 callback = pm_op(dev->class->pm, state); in __device_suspend() 1679 callback = pm_op(dev->bus->pm, state); in __device_suspend() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ufs/ |
| H A D | ufs-hisi.c | 410 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_suspend() argument 414 if (ufshcd_is_runtime_pm(pm_op)) in ufs_hisi_suspend() 432 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() argument
|
| H A D | ufs-mediatek.c | 944 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_suspend() argument 981 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume() argument
|
| H A D | ufshcd.c | 5900 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare() local 5916 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM; in ufshcd_err_handling_prepare() 5917 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_prepare() 8684 static int ufshcd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufshcd_suspend() argument 8692 if (!ufshcd_is_shutdown_pm(pm_op)) { in ufshcd_suspend() 8693 pm_lvl = ufshcd_is_runtime_pm(pm_op) ? in ufshcd_suspend() 8729 if (ufshcd_is_runtime_pm(pm_op)) { in ufshcd_suspend() 8759 if ((ufshcd_is_runtime_pm(pm_op) && !hba->auto_bkops_enabled) || in ufshcd_suspend() 8760 !ufshcd_is_runtime_pm(pm_op)) { in ufshcd_suspend() 8782 ret = ufshcd_vops_suspend(hba, pm_op); in ufshcd_suspend() [all …]
|
| H A D | ufs-qcom.c | 592 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend() argument 616 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
|
| H A D | ufs-exynos.c | 1192 static int exynos_ufs_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in exynos_ufs_suspend() argument 1202 static int exynos_ufs_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in exynos_ufs_resume() argument
|