Go to the documentation of this file.
16 #ifdef CONFIG_PM_RUNTIME
23 #define MFC_GATE_CLK_NAME "mfc"
42 mfc_err(
"Failed to get clock-gating control\n");
49 mfc_err(
"Failed to preapre clock-gating control\n");
54 if (IS_ERR(pm->
clock)) {
55 mfc_err(
"Failed to get MFC clock\n");
56 ret = PTR_ERR(pm->
clock);
62 mfc_err(
"Failed to prepare MFC clock\n");
67 #ifdef CONFIG_PM_RUNTIME
91 #ifdef CONFIG_PM_RUNTIME
92 pm_runtime_disable(pm->
device);
118 #ifdef CONFIG_PM_RUNTIME
119 return pm_runtime_get_sync(pm->
device);
128 #ifdef CONFIG_PM_RUNTIME
129 return pm_runtime_put_sync(pm->
device);