Home
last modified time | relevance | path

Searched refs:pm_state (Results 1 – 25 of 42) sorted by relevance

12

/drivers/cpuidle/
Dcpuidle-cps.c26 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()
/drivers/net/wireless/st/cw1200/
Dpm.c160 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()
Dmain.c418 err = cw1200_pm_init(&priv->pm_state, priv); in cw1200_register_common()
431 cw1200_pm_deinit(&priv->pm_state); in cw1200_register_common()
476 cw1200_pm_deinit(&priv->pm_state); in cw1200_unregister_common()
Dcw1200.h173 struct cw1200_pm_state pm_state; member
/drivers/acpi/
Dsleep.c536 static int acpi_suspend_begin(suspend_state_t pm_state) in acpi_suspend_begin() argument
538 u32 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_begin()
564 static int acpi_suspend_enter(suspend_state_t pm_state) in acpi_suspend_enter() argument
632 static int acpi_suspend_state_valid(suspend_state_t pm_state) in acpi_suspend_state_valid() argument
636 switch (pm_state) { in acpi_suspend_state_valid()
640 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_state_valid()
663 static int acpi_suspend_begin_old(suspend_state_t pm_state) in acpi_suspend_begin_old() argument
665 int error = acpi_suspend_begin(pm_state); in acpi_suspend_begin_old()
/drivers/dma/sh/
Dshdma-base.c113 schan->pm_state = SHDMA_PM_BUSY; in shdma_tx_submit()
126 if (schan->pm_state != SHDMA_PM_ESTABLISHED) { in shdma_tx_submit()
139 if (schan->pm_state == SHDMA_PM_PENDING) in shdma_tx_submit()
141 schan->pm_state = SHDMA_PM_ESTABLISHED; in shdma_tx_submit()
148 schan->pm_state = SHDMA_PM_PENDING; in shdma_tx_submit()
413 schan->pm_state = SHDMA_PM_ESTABLISHED; in __ld_cleanup()
414 } else if (schan->pm_state == SHDMA_PM_PENDING) { in __ld_cleanup()
811 if (schan->pm_state == SHDMA_PM_ESTABLISHED) in shdma_issue_pending()
814 schan->pm_state = SHDMA_PM_PENDING; in shdma_issue_pending()
878 schan->pm_state = SHDMA_PM_ESTABLISHED; in shdma_reset()
[all …]
/drivers/pnp/
Dcard.c88 clink->pm_state = PMSG_ON; in card_probe()
393 if (link->pm_state.event == state.event) in card_suspend()
395 link->pm_state = state; in card_suspend()
403 if (link->pm_state.event == PM_EVENT_ON) in card_resume()
405 link->pm_state = PMSG_ON; in card_resume()
/drivers/ide/
Dide-pm.c28 rqpm.pm_state = mesg.event; in generic_ide_suspend()
84 rqpm.pm_state = PM_EVENT_ON; in generic_ide_resume()
112 if (pm->pm_state == PM_EVENT_FREEZE) in ide_complete_power_step()
/drivers/gpu/drm/msm/
Dmsm_drv.c1034 if (WARN_ON(priv->pm_state)) in msm_pm_suspend()
1035 drm_atomic_state_put(priv->pm_state); in msm_pm_suspend()
1037 priv->pm_state = drm_atomic_helper_suspend(ddev); in msm_pm_suspend()
1038 if (IS_ERR(priv->pm_state)) { in msm_pm_suspend()
1039 int ret = PTR_ERR(priv->pm_state); in msm_pm_suspend()
1053 if (WARN_ON(!priv->pm_state)) in msm_pm_resume()
1056 ret = drm_atomic_helper_resume(ddev, priv->pm_state); in msm_pm_resume()
1058 priv->pm_state = NULL; in msm_pm_resume()
/drivers/tty/serial/
Dserial_core.c47 enum uart_pm_state pm_state);
1822 enum uart_pm_state pm_state; in uart_line_info() local
1847 pm_state = state->pm_state; in uart_line_info()
1848 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1853 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1854 uart_change_pm(state, pm_state); in uart_line_info()
2124 enum uart_pm_state pm_state) in uart_change_pm() argument
2128 if (state->pm_state != pm_state) { in uart_change_pm()
2130 port->ops->pm(port, pm_state, state->pm_state); in uart_change_pm()
2131 state->pm_state = pm_state; in uart_change_pm()
[all …]
/drivers/dma/
Dfsl-edma.c341 fsl_chan->pm_state = RUNNING; in fsl_edma_probe()
436 fsl_chan->pm_state = SUSPENDED; in fsl_edma_suspend_late()
452 fsl_chan->pm_state = RUNNING; in fsl_edma_resume_early()
Dfsldma.c416 if (unlikely(chan->pm_state != RUNNING)) { in fsl_dma_tx_submit()
1180 chan->pm_state = RUNNING; in fsl_dma_chan_probe()
1340 chan->pm_state = SUSPENDED; in fsldma_suspend_late()
1350 chan->pm_state = RUNNING; in fsldma_suspend_late()
1372 chan->pm_state = RUNNING; in fsldma_resume_early()
Dfsldma.h180 enum fsldma_pm_state pm_state; member
Dfsl-edma-common.h117 enum fsl_edma_pm_state pm_state; member
/drivers/media/platform/omap3isp/
Dispresizer.h103 int pm_state; member
/drivers/misc/cardreader/
Drts5227.c79 static void rts5227_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5227_force_power_down() argument
86 if (pm_state == HOST_ENTER_S3) in rts5227_force_power_down()
Drts5209.c49 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down() argument
Drts5229.c46 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down() argument
Drts5260.c89 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down() argument
97 if (pm_state == HOST_ENTER_S3) in rtsx_base_force_power_down()
Drts5249.c80 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down() argument
87 if (pm_state == HOST_ENTER_S3) in rtsx_base_force_power_down()
Drtl8411.c77 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtl8411_force_power_down() argument
Drtsx_pcr.c1129 static void rtsx_pci_power_off(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_pci_power_off() argument
1138 rtsx_pci_write_register(pcr, HOST_SLEEP_STATE, 0x03, pm_state); in rtsx_pci_power_off()
1141 pcr->ops->force_power_down(pcr, pm_state); in rtsx_pci_power_off()
/drivers/video/fbdev/nvidia/
Dnv_type.h136 int pm_state; member
Dnvidia.c1052 par->pm_state = mesg.event; in nvidiafb_suspend()
1076 if (par->pm_state != PM_EVENT_FREEZE) { in nvidiafb_resume()
1085 par->pm_state = PM_EVENT_ON; in nvidiafb_resume()
/drivers/video/fbdev/savage/
Dsavagefb.h202 int pm_state; member

12