Searched refs:pm_op (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/base/power/ |
D | main.c | 345 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op() function 932 callback = pm_op(&dev->pm_domain->ops, state); in device_resume() 938 callback = pm_op(dev->type->pm, state); in device_resume() 944 callback = pm_op(dev->class->pm, state); in device_resume() 951 callback = pm_op(dev->bus->pm, state); in device_resume() 962 callback = pm_op(dev->driver->pm, state); in device_resume() 1670 callback = pm_op(&dev->pm_domain->ops, state); in __device_suspend() 1676 callback = pm_op(dev->type->pm, state); in __device_suspend() 1682 callback = pm_op(dev->class->pm, state); in __device_suspend() 1689 callback = pm_op(dev->bus->pm, state); in __device_suspend() [all …]
|
/linux-6.1.9/drivers/ufs/host/ |
D | ufs-hisi.c | 407 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_hisi_suspend() argument 415 if (pm_op == UFS_RUNTIME_PM) in ufs_hisi_suspend() 433 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() argument
|
D | ufs-qcom.c | 572 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_qcom_suspend() argument 600 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
|
D | ufs-mediatek.c | 1270 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_mtk_suspend() argument 1316 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume() argument
|
D | ufs-exynos.c | 1379 static int exynos_ufs_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in exynos_ufs_suspend() argument 1393 static int exynos_ufs_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in exynos_ufs_resume() argument
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshcd.c | 6130 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare() local 6146 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM; in ufshcd_err_handling_prepare() 6147 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_prepare() 8991 static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_suspend() argument 9000 if (pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend() 9001 pm_lvl = pm_op == UFS_RUNTIME_PM ? in __ufshcd_wl_suspend() 9037 if (pm_op == UFS_RUNTIME_PM) { in __ufshcd_wl_suspend() 9066 ret = ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE); in __ufshcd_wl_suspend() 9071 if (pm_op != UFS_RUNTIME_PM) in __ufshcd_wl_suspend() 9077 if (ret && pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend() [all …]
|