Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/power/
H A Dmain.c345 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op() function
920 callback = pm_op(&dev->pm_domain->ops, state); in __device_resume()
926 callback = pm_op(dev->type->pm, state); in __device_resume()
932 callback = pm_op(dev->class->pm, state); in __device_resume()
939 callback = pm_op(dev->bus->pm, state); in __device_resume()
950 callback = pm_op(dev->driver->pm, state); in __device_resume()
1658 callback = pm_op(&dev->pm_domain->ops, state); in __device_suspend()
1664 callback = pm_op(dev->type->pm, state); in __device_suspend()
1670 callback = pm_op(dev->class->pm, state); in __device_suspend()
1677 callback = pm_op(dev->bus->pm, state); in __device_suspend()
[all …]
/openbmc/linux/drivers/ufs/host/
H A Dufs-hisi.c407 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
H A Dufs-sprd.c180 static int ufs_sprd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_sprd_suspend() argument
H A Dufs-mediatek.c1315 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_mtk_suspend() argument
1360 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume() argument
H A Dufs-qcom.c731 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_qcom_suspend() argument
759 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
H A Dufs-exynos.c1387 static int exynos_ufs_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in exynos_ufs_suspend() argument
1401 static int exynos_ufs_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in exynos_ufs_resume() argument
/openbmc/linux/drivers/ufs/core/
H A Dufshcd.c6304 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare()
6319 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM;
6320 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_unprepare()
9657 static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_suspend()
9666 if (pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
9667 pm_lvl = pm_op == UFS_RUNTIME_PM ? in __ufshcd_wl_suspend()
9704 if (pm_op == UFS_RUNTIME_PM) { in __ufshcd_wl_suspend()
9741 ret = ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE);
9746 if (pm_op != UFS_RUNTIME_PM) in __ufshcd_wl_resume()
9752 if (ret && pm_op ! in __ufshcd_wl_resume()
6290 enum ufs_pm_op pm_op; ufshcd_err_handling_prepare() local
9562 __ufshcd_wl_suspend(struct ufs_hba * hba,enum ufs_pm_op pm_op) __ufshcd_wl_suspend() argument
9743 __ufshcd_wl_resume(struct ufs_hba * hba,enum ufs_pm_op pm_op) __ufshcd_wl_resume() argument
[all...]