/linux/drivers/bus/mhi/host/ |
H A D | pm.c | 123 unsigned long cur_state = mhi_cntrl->pm_state; in mhi_tryset_pm_state() 136 mhi_cntrl->pm_state = state; in mhi_tryset_pm_state() 137 return mhi_cntrl->pm_state; in mhi_tryset_pm_state() 180 if (MHI_PM_IN_FATAL_STATE(mhi_cntrl->pm_state)) { in mhi_ready_state_transition() 218 if (!MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state)) { in mhi_ready_state_transition() 404 if (MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state)) in mhi_pm_mission_mode_transition() 408 mhi_cntrl->pm_state = MHI_PM_LD_ERR_FATAL_DETECT; in mhi_pm_mission_mode_transition() 429 if (MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state)) { in mhi_pm_mission_mode_transition() 483 to_mhi_pm_state_str(mhi_cntrl->pm_state)); in mhi_pm_disable_transition() 488 if (!MHI_PM_IN_FATAL_STATE(mhi_cntrl->pm_state)) { in mhi_pm_disable_transition() [all …]
|
H A D | debugfs.c | 21 to_mhi_pm_state_str(mhi_cntrl->pm_state), in mhi_debugfs_states_show() 204 if (!MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state)) in mhi_debugfs_regdump_show() 208 to_mhi_pm_state_str(mhi_cntrl->pm_state), in mhi_debugfs_regdump_show()
|
/linux/arch/arm/mach-exynos/ |
H A D | suspend.c | 71 static struct exynos_pm_state pm_state; variable 336 pm_state.pmu_spare3 = pmu_raw_readl(S5P_PMU_SPARE3); in exynos5420_pm_prepare() 344 pm_state.cpu_state = readl_relaxed(pm_state.sysram_base + in exynos5420_pm_prepare() 346 writel_relaxed(0x0, pm_state.sysram_base + EXYNOS5420_CPU_STATE); in exynos5420_pm_prepare() 347 if (pm_state.secure_firmware) in exynos5420_pm_prepare() 348 exynos_smc(SMC_CMD_REG, SMC_REG_ID_SFR_W(pm_state.sysram_phys + in exynos5420_pm_prepare() 487 writel_relaxed(pm_state.cpu_state, in exynos5420_pm_resume() 488 pm_state.sysram_base + EXYNOS5420_CPU_STATE); in exynos5420_pm_resume() 489 if (pm_state.secure_firmware) in exynos5420_pm_resume() 491 SMC_REG_ID_SFR_W(pm_state.sysram_phys + in exynos5420_pm_resume() [all …]
|
/linux/drivers/cpuidle/ |
H A D | cpuidle-cps.c | 26 enum cps_pm_state pm_state; in cps_nc_enter() local 42 pm_state = CPS_PM_NC_WAIT; in cps_nc_enter() 45 pm_state = CPS_PM_CLOCK_GATED; in cps_nc_enter() 48 pm_state = CPS_PM_POWER_GATED; in cps_nc_enter() 56 if ((pm_state == CPS_PM_POWER_GATED) && cpu_pm_enter()) in cps_nc_enter() 60 err = cps_pm_enter_state(pm_state); in cps_nc_enter() 63 if (pm_state == CPS_PM_POWER_GATED) in cps_nc_enter()
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | pm.c | 160 struct cw1200_pm_state *pm_state = &priv->pm_state; in cw1200_wow_suspend() local 164 spin_lock_bh(&pm_state->lock); in cw1200_wow_suspend() 165 ret = timer_pending(&pm_state->stay_awake); in cw1200_wow_suspend() 166 spin_unlock_bh(&pm_state->lock); in cw1200_wow_suspend() 259 pm_state->suspend_state = state; in cw1200_wow_suspend() 305 struct cw1200_pm_state *pm_state = &priv->pm_state; in cw1200_wow_resume() local 308 state = pm_state->suspend_state; in cw1200_wow_resume() 309 pm_state->suspend_state = NULL; in cw1200_wow_resume()
|
H A D | main.c | 425 err = cw1200_pm_init(&priv->pm_state, priv); in cw1200_register_common() 438 cw1200_pm_deinit(&priv->pm_state); in cw1200_register_common() 483 cw1200_pm_deinit(&priv->pm_state); in cw1200_unregister_common()
|
H A D | cw1200.h | 173 struct cw1200_pm_state pm_state; member
|
/linux/drivers/acpi/ |
H A D | sleep.c | 562 static int acpi_suspend_begin(suspend_state_t pm_state) in acpi_suspend_begin() argument 564 u32 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_begin() 590 static int acpi_suspend_enter(suspend_state_t pm_state) in acpi_suspend_enter() argument 664 static int acpi_suspend_state_valid(suspend_state_t pm_state) in acpi_suspend_state_valid() argument 668 switch (pm_state) { in acpi_suspend_state_valid() 672 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_state_valid() 696 static int acpi_suspend_begin_old(suspend_state_t pm_state) in acpi_suspend_begin_old() argument 698 int error = acpi_suspend_begin(pm_state); in acpi_suspend_begin_old()
|
/linux/sound/soc/sof/ |
H A D | trace.c | 39 void sof_fw_trace_suspend(struct snd_sof_dev *sdev, pm_message_t pm_state) in sof_fw_trace_suspend() argument 44 sdev->ipc->ops->fw_tracing->suspend(sdev, pm_state); in sof_fw_trace_suspend()
|
H A D | pm.c | 201 pm_message_t pm_state; in sof_suspend() local 235 pm_state.event = target_state; in sof_suspend() 238 sof_fw_trace_suspend(sdev, pm_state); in sof_suspend() 241 sof_suspend_clients(sdev, pm_state); in sof_suspend()
|
H A D | ipc3-dtrace.c | 635 static void ipc3_dtrace_suspend(struct snd_sof_dev *sdev, pm_message_t pm_state) in ipc3_dtrace_suspend() argument 637 ipc3_dtrace_release(sdev, pm_state.event == SOF_DSP_PM_D0); in ipc3_dtrace_suspend()
|
H A D | sof-priv.h | 448 void (*suspend)(struct snd_sof_dev *sdev, pm_message_t pm_state); 794 void sof_fw_trace_suspend(struct snd_sof_dev *sdev, pm_message_t pm_state);
|
/linux/drivers/dma/qcom/ |
H A D | gpi.c | 486 enum gpi_pm_state pm_state; member 509 enum gpi_pm_state pm_state; member 845 if (!REG_ACCESS_VALID(gpii->pm_state)) { in gpi_handle_irq() 847 TO_GPI_PM_STR(gpii->pm_state)); in gpi_handle_irq() 938 if (gchan->pm_state != ACTIVE_STATE) { in gpi_process_imed_data_event() 940 TO_GPI_PM_STR(gchan->pm_state)); in gpi_process_imed_data_event() 1018 if (unlikely(gchan->pm_state != ACTIVE_STATE)) { in gpi_process_xfer_compl_event() 1020 TO_GPI_PM_STR(gchan->pm_state)); in gpi_process_xfer_compl_event() 1148 if (!REG_ACCESS_VALID(gpii->pm_state)) { in gpi_ev_tasklet() 1151 TO_GPI_PM_STR(gpii->pm_state)); in gpi_ev_tasklet() [all …]
|
/linux/drivers/pnp/ |
H A D | card.c | 88 clink->pm_state = PMSG_ON; in card_probe() 395 if (link->pm_state.event == state.event) in card_suspend() 397 link->pm_state = state; in card_suspend() 405 if (link->pm_state.event == PM_EVENT_ON) in card_resume() 407 link->pm_state = PMSG_ON; in card_resume()
|
/linux/drivers/tty/serial/ |
H A D | serial_core.c | 56 enum uart_pm_state pm_state); 2036 enum uart_pm_state pm_state; in uart_line_info() local 2062 pm_state = state->pm_state; in uart_line_info() 2063 if (pm_state != UART_PM_STATE_ON) in uart_line_info() 2068 if (pm_state != UART_PM_STATE_ON) in uart_line_info() 2069 uart_change_pm(state, pm_state); in uart_line_info() 2352 enum uart_pm_state pm_state) in uart_change_pm() argument 2356 if (state->pm_state != pm_state) { in uart_change_pm() 2358 port->ops->pm(port, pm_state, state->pm_state); in uart_change_pm() 2359 state->pm_state = pm_state; in uart_change_pm() [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.h | 103 int pm_state; member
|
/linux/drivers/dma/sf-pdma/ |
H A D | sf-pdma.h | 94 enum sf_pdma_pm_state pm_state; member
|
/linux/include/linux/ |
H A D | shdma-base.h | 72 enum shdma_pm_state pm_state; member
|
H A D | mhi.h | 410 u32 pm_state; member
|
/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_type.h | 136 int pm_state; member
|
/linux/drivers/misc/cardreader/ |
H A D | rts5229.c | 47 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5229_force_power_down() argument
|
H A D | rts5209.c | 50 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5209_force_power_down() argument
|
H A D | rts5261.c | 60 static void rts5261_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5261_force_power_down() argument 68 if (pm_state == HOST_ENTER_S3) in rts5261_force_power_down()
|
H A D | rts5264.c | 57 static void rts5264_force_power_down(struct rtsx_pcr *pcr, u8 pm_state, bool runtime) in rts5264_force_power_down() argument 65 if (pm_state == HOST_ENTER_S3) in rts5264_force_power_down()
|
/linux/drivers/dma/ |
H A D | fsldma.h | 180 enum fsldma_pm_state pm_state; member
|