Home
last modified time | relevance | path

Searched refs:pm_op (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/power/
H A Dmain.c345 * pm_op - Return the PM operation appropriate for given PM event.
349 static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) in pm_op() function
926 callback = pm_op(&dev->pm_domain->ops, state); in __device_resume()
932 callback = pm_op(dev->type->pm, state); in __device_resume()
938 callback = pm_op(dev->class->pm, state); in __device_resume()
945 callback = pm_op(dev->bus->pm, state); in __device_resume()
956 callback = pm_op(dev->driver->pm, state); in __device_resume()
1665 callback = pm_op(&dev->pm_domain->ops, state); in __device_suspend()
1671 callback = pm_op(dev->type->pm, state); in __device_suspend()
1677 callback = pm_op(de in __device_suspend()
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dmain.c341 * pm_op - Return the PM operation appropriate for given PM event.
345 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(de in __device_suspend()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufs-hisi.c410 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 Dufs-mediatek.c824 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_suspend() argument
854 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume() argument
H A Dufs-exynos.c1192 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
H A Dufs-qcom.c581 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend() argument
602 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
H A Dufshcd.c8504 * @pm_op: desired low power operation type
8517 static int ufshcd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufshcd_suspend() argument
8525 if (!ufshcd_is_shutdown_pm(pm_op)) { in ufshcd_suspend()
8526 pm_lvl = ufshcd_is_runtime_pm(pm_op) ? in ufshcd_suspend()
8563 if (ufshcd_is_runtime_pm(pm_op)) { in ufshcd_suspend()
8591 if ((ufshcd_is_runtime_pm(pm_op) && !hba->auto_bkops_enabled) || in ufshcd_suspend()
8592 !ufshcd_is_runtime_pm(pm_op)) { in ufshcd_suspend()
8617 ret = ufshcd_vops_suspend(hba, pm_op); in ufshcd_suspend()
8671 * @pm_op: runtime PM or system PM
8678 static int ufshcd_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufshcd_resume() argument
[all...]
/kernel/linux/linux-6.6/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-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
H A Dufs-qcom.c725 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_qcom_suspend() argument
753 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume() argument
/kernel/linux/linux-6.6/drivers/ufs/core/
H A Dufshcd.c6241 enum ufs_pm_op pm_op; in ufshcd_err_handling_prepare() local
6256 pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM; in ufshcd_err_handling_prepare()
6257 ufshcd_vops_resume(hba, pm_op); in ufshcd_err_handling_prepare()
9510 static int __ufshcd_wl_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in __ufshcd_wl_suspend() argument
9519 if (pm_op != UFS_SHUTDOWN_PM) { in __ufshcd_wl_suspend()
9520 pm_lvl = pm_op == UFS_RUNTIME_PM ? in __ufshcd_wl_suspend()
9554 if (pm_op == UFS_RUNTIME_PM) { in __ufshcd_wl_suspend()
9591 ret = ufshcd_vops_suspend(hba, pm_op, PRE_CHANGE); in __ufshcd_wl_suspend()
9596 if (pm_op != UFS_RUNTIME_PM) in __ufshcd_wl_suspend()
9602 if (ret && pm_op ! in __ufshcd_wl_suspend()
9688 __ufshcd_wl_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) __ufshcd_wl_resume() argument
[all...]

Completed in 37 milliseconds