Home
last modified time | relevance | path

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

12

/drivers/cpuidle/
Dcpuidle-cps.c30 enum cps_pm_state pm_state; in cps_nc_enter() local
46 pm_state = CPS_PM_NC_WAIT; in cps_nc_enter()
49 pm_state = CPS_PM_CLOCK_GATED; in cps_nc_enter()
52 pm_state = CPS_PM_POWER_GATED; in cps_nc_enter()
60 if ((pm_state == CPS_PM_POWER_GATED) && cpu_pm_enter()) in cps_nc_enter()
64 err = cps_pm_enter_state(pm_state); in cps_nc_enter()
67 if (pm_state == CPS_PM_POWER_GATED) in cps_nc_enter()
/drivers/net/wireless/st/cw1200/
Dpm.c164 struct cw1200_pm_state *pm_state = &priv->pm_state; in cw1200_wow_suspend() local
168 spin_lock_bh(&pm_state->lock); in cw1200_wow_suspend()
169 ret = timer_pending(&pm_state->stay_awake); in cw1200_wow_suspend()
170 spin_unlock_bh(&pm_state->lock); in cw1200_wow_suspend()
263 pm_state->suspend_state = state; in cw1200_wow_suspend()
309 struct cw1200_pm_state *pm_state = &priv->pm_state; in cw1200_wow_resume() local
312 state = pm_state->suspend_state; in cw1200_wow_resume()
313 pm_state->suspend_state = NULL; in cw1200_wow_resume()
Dmain.c422 err = cw1200_pm_init(&priv->pm_state, priv); in cw1200_register_common()
435 cw1200_pm_deinit(&priv->pm_state); in cw1200_register_common()
480 cw1200_pm_deinit(&priv->pm_state); in cw1200_unregister_common()
Dcw1200.h176 struct cw1200_pm_state pm_state; member
/drivers/acpi/
Dsleep.c546 static int acpi_suspend_begin(suspend_state_t pm_state) in acpi_suspend_begin() argument
548 u32 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_begin()
574 static int acpi_suspend_enter(suspend_state_t pm_state) in acpi_suspend_enter() argument
642 static int acpi_suspend_state_valid(suspend_state_t pm_state) in acpi_suspend_state_valid() argument
646 switch (pm_state) { in acpi_suspend_state_valid()
650 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_state_valid()
673 static int acpi_suspend_begin_old(suspend_state_t pm_state) in acpi_suspend_begin_old() argument
675 int error = acpi_suspend_begin(pm_state); in acpi_suspend_begin_old()
/drivers/dma/sh/
Dshdma-base.c116 schan->pm_state = SHDMA_PM_BUSY; in shdma_tx_submit()
129 if (schan->pm_state != SHDMA_PM_ESTABLISHED) { in shdma_tx_submit()
142 if (schan->pm_state == SHDMA_PM_PENDING) in shdma_tx_submit()
144 schan->pm_state = SHDMA_PM_ESTABLISHED; in shdma_tx_submit()
151 schan->pm_state = SHDMA_PM_PENDING; in shdma_tx_submit()
416 schan->pm_state = SHDMA_PM_ESTABLISHED; in __ld_cleanup()
417 } else if (schan->pm_state == SHDMA_PM_PENDING) { in __ld_cleanup()
814 if (schan->pm_state == SHDMA_PM_ESTABLISHED) in shdma_issue_pending()
817 schan->pm_state = SHDMA_PM_PENDING; in shdma_issue_pending()
881 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()
98 rqpm.pm_state = PM_EVENT_ON; in generic_ide_resume()
126 if (pm->pm_state == PM_EVENT_FREEZE) in ide_complete_power_step()
/drivers/tty/serial/
Dserial_core.c59 enum uart_pm_state pm_state);
1782 enum uart_pm_state pm_state; in uart_line_info() local
1807 pm_state = state->pm_state; in uart_line_info()
1808 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1813 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1814 uart_change_pm(state, pm_state); in uart_line_info()
2092 enum uart_pm_state pm_state) in uart_change_pm() argument
2096 if (state->pm_state != pm_state) { in uart_change_pm()
2098 port->ops->pm(port, pm_state, state->pm_state); in uart_change_pm()
2099 state->pm_state = pm_state; in uart_change_pm()
[all …]
/drivers/gpu/drm/arm/
Dmalidp_drv.c758 malidp->pm_state = drm_atomic_helper_suspend(drm); in malidp_pm_suspend()
759 if (IS_ERR(malidp->pm_state)) { in malidp_pm_suspend()
764 return PTR_ERR(malidp->pm_state); in malidp_pm_suspend()
775 drm_atomic_helper_resume(drm, malidp->pm_state); in malidp_pm_resume()
Dmalidp_drv.h27 struct drm_atomic_state *pm_state; member
/drivers/media/platform/omap3isp/
Dispresizer.h106 int pm_state; member
/drivers/dma/
Dfsldma.c421 if (unlikely(chan->pm_state != RUNNING)) { in fsl_dma_tx_submit()
1184 chan->pm_state = RUNNING; in fsl_dma_chan_probe()
1345 chan->pm_state = SUSPENDED; in fsldma_suspend_late()
1355 chan->pm_state = RUNNING; in fsldma_suspend_late()
1378 chan->pm_state = RUNNING; in fsldma_resume_early()
Dfsl-edma.c154 enum fsl_edma_pm_state pm_state; member
740 if (unlikely(fsl_chan->pm_state != RUNNING)) { in fsl_edma_issue_pending()
936 fsl_chan->pm_state = RUNNING; in fsl_edma_probe()
1040 fsl_chan->pm_state = SUSPENDED; in fsl_edma_suspend_late()
1055 fsl_chan->pm_state = RUNNING; in fsl_edma_resume_early()
Dfsldma.h185 enum fsldma_pm_state pm_state; member
/drivers/mfd/
Drts5227.c91 static void rts5227_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5227_force_power_down() argument
98 if (pm_state == HOST_ENTER_S3) in rts5227_force_power_down()
Drts5249.c92 static void rtsx_base_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_base_force_power_down() argument
99 if (pm_state == HOST_ENTER_S3) in rtsx_base_force_power_down()
Drts5229.c58 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down() argument
Drts5209.c61 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down() argument
Drtsx_pcr.c984 static void rtsx_pci_power_off(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_pci_power_off() argument
993 rtsx_pci_write_register(pcr, HOST_SLEEP_STATE, 0x03, pm_state); in rtsx_pci_power_off()
996 pcr->ops->force_power_down(pcr, pm_state); in rtsx_pci_power_off()
Drtl8411.c89 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtl8411_force_power_down() argument
/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
/drivers/s390/net/
Dnetiucv.c230 int pm_state; member
1322 priv->pm_state = fsm_getstate(priv->fsm); in netiucv_pm_freeze()
1345 switch (priv->pm_state) { in netiucv_pm_restore_thaw()

12