Home
last modified time | relevance | path

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

/drivers/base/power/
Dmain.c347 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op() function
924 callback = pm_op(&dev->pm_domain->ops, state); in __device_resume()
930 callback = pm_op(dev->type->pm, state); in __device_resume()
936 callback = pm_op(dev->class->pm, state); in __device_resume()
943 callback = pm_op(dev->bus->pm, state); in __device_resume()
954 callback = pm_op(dev->driver->pm, state); in __device_resume()
1667 callback = pm_op(&dev->pm_domain->ops, state); in __device_suspend()
1673 callback = pm_op(dev->type->pm, state); in __device_suspend()
1679 callback = pm_op(dev->class->pm, state); in __device_suspend()
1686 callback = pm_op(dev->bus->pm, state); in __device_suspend()
[all …]
/drivers/scsi/ufs/
Dufs-hisi.c399 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_hisi_suspend() argument
407 if (pm_op == UFS_RUNTIME_PM) in ufs_hisi_suspend()
425 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() argument
Dufshcd.c6057 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare() local
6073 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM; in ufshcd_err_handling_prepare()
6074 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_prepare()
8906 static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_suspend() argument
8915 if (pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
8916 pm_lvl = pm_op == UFS_RUNTIME_PM ? in __ufshcd_wl_suspend()
8952 if (pm_op == UFS_RUNTIME_PM) { in __ufshcd_wl_suspend()
8989 ret = ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE); in __ufshcd_wl_suspend()
8994 if (pm_op != UFS_RUNTIME_PM) in __ufshcd_wl_suspend()
9000 if (ret && pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
[all …]
Dufs-mediatek.c1066 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_mtk_suspend() argument
1110 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume() argument
Dufs-qcom.c592 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_qcom_suspend() argument
620 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
Dufs-exynos.c1179 static int exynos_ufs_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in exynos_ufs_suspend() argument
1193 static int exynos_ufs_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in exynos_ufs_resume() argument