/drivers/cpuidle/ |
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()
|
/drivers/net/wireless/st/cw1200/ |
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()
|
D | main.c | 418 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()
|
D | cw1200.h | 173 struct cw1200_pm_state pm_state; member
|
/drivers/acpi/ |
D | sleep.c | 536 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/ |
D | shdma-base.c | 113 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/ |
D | card.c | 88 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/ |
D | ide-pm.c | 28 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/ |
D | msm_drv.c | 1034 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/ |
D | serial_core.c | 47 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/ |
D | fsl-edma.c | 341 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()
|
D | fsldma.c | 416 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()
|
D | fsldma.h | 180 enum fsldma_pm_state pm_state; member
|
D | fsl-edma-common.h | 117 enum fsl_edma_pm_state pm_state; member
|
/drivers/media/platform/omap3isp/ |
D | ispresizer.h | 103 int pm_state; member
|
/drivers/misc/cardreader/ |
D | rts5227.c | 79 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()
|
D | rts5209.c | 49 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down() argument
|
D | rts5229.c | 46 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down() argument
|
D | rts5260.c | 89 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()
|
D | rts5249.c | 80 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()
|
D | rtl8411.c | 77 static void rtl8411_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rtl8411_force_power_down() argument
|
D | rtsx_pcr.c | 1129 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/ |
D | nv_type.h | 136 int pm_state; member
|
D | nvidia.c | 1052 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/ |
D | savagefb.h | 202 int pm_state; member
|