Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/drivers/net/wireless/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.c417 err = cw1200_pm_init(&priv->pm_state, priv); in cw1200_register_common()
430 cw1200_pm_deinit(&priv->pm_state); in cw1200_register_common()
475 cw1200_pm_deinit(&priv->pm_state); in cw1200_unregister_common()
Dcw1200.h176 struct cw1200_pm_state pm_state; member
Dscan.c42 cw1200_pm_stay_awake(&priv->pm_state, msecs_to_jiffies(tmo)); in cw1200_scan_start()
Dqueue.c127 cw1200_pm_stay_awake(&stats->priv->pm_state, in __cw1200_queue_gc()
Dsta.c62 cw1200_pm_stay_awake(&priv->pm_state, HZ); in cw1200_start()
1322 cw1200_pm_stay_awake(&priv->pm_state, in cw1200_do_join()
2172 cw1200_pm_stay_awake(&priv->pm_state, in cw1200_suspend_resume()
Dtxrx.c1207 cw1200_pm_stay_awake(&priv->pm_state, grace_period); in cw1200_rx_cb()
/linux-4.4.14/arch/x86/platform/olpc/
Dolpc-xo1-pm.c52 static int xo1_power_state_enter(suspend_state_t pm_state) in xo1_power_state_enter() argument
57 if (pm_state != PM_SUSPEND_MEM) in xo1_power_state_enter()
113 static int xo1_power_state_valid(suspend_state_t pm_state) in xo1_power_state_valid() argument
116 return pm_state == PM_SUSPEND_MEM; in xo1_power_state_valid()
/linux-4.4.14/drivers/acpi/
Dsleep.c477 static int acpi_suspend_begin(suspend_state_t pm_state) in acpi_suspend_begin() argument
479 u32 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_begin()
505 static int acpi_suspend_enter(suspend_state_t pm_state) in acpi_suspend_enter() argument
573 static int acpi_suspend_state_valid(suspend_state_t pm_state) in acpi_suspend_state_valid() argument
577 switch (pm_state) { in acpi_suspend_state_valid()
581 acpi_state = acpi_suspend_states[pm_state]; in acpi_suspend_state_valid()
604 static int acpi_suspend_begin_old(suspend_state_t pm_state) in acpi_suspend_begin_old() argument
606 int error = acpi_suspend_begin(pm_state); in acpi_suspend_begin_old()
/linux-4.4.14/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()
415 schan->pm_state = SHDMA_PM_ESTABLISHED; in __ld_cleanup()
416 } 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 …]
/linux-4.4.14/arch/tile/include/arch/
Dtrio_pcie_intfc.h129 uint_reg_t pm_state : 3; member
134 uint_reg_t pm_state : 3;
/linux-4.4.14/drivers/pnp/
Dcard.c87 clink->pm_state = PMSG_ON; in card_probe()
392 if (link->pm_state.event == state.event) in card_suspend()
394 link->pm_state = state; in card_suspend()
402 if (link->pm_state.event == PM_EVENT_ON) in card_resume()
404 link->pm_state = PMSG_ON; in card_resume()
/linux-4.4.14/drivers/ide/
Dide-pm.c27 rqpm.pm_state = mesg.event; in generic_ide_suspend()
96 rqpm.pm_state = PM_EVENT_ON; in generic_ide_resume()
124 if (pm->pm_state == PM_EVENT_FREEZE) in ide_complete_power_step()
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-pcm.c138 enum hsw_pm_state pm_state; member
1071 priv_data->pm_state = HSW_PM_STATE_D0; in hsw_pcm_probe()
1232 if (pdata->pm_state >= HSW_PM_STATE_RTD3) in hsw_pcm_runtime_suspend()
1243 pdata->pm_state = HSW_PM_STATE_RTD3; in hsw_pcm_runtime_suspend()
1254 if (pdata->pm_state != HSW_PM_STATE_RTD3) in hsw_pcm_runtime_resume()
1288 pdata->pm_state = HSW_PM_STATE_D0; in hsw_pcm_runtime_resume()
1307 if (pdata->pm_state != HSW_PM_STATE_D3) in hsw_pcm_complete()
1342 pdata->pm_state = HSW_PM_STATE_D0; in hsw_pcm_complete()
1352 if (pdata->pm_state == HSW_PM_STATE_D3) in hsw_pcm_prepare()
1354 else if (pdata->pm_state == HSW_PM_STATE_D0) { in hsw_pcm_prepare()
[all …]
/linux-4.4.14/drivers/tty/serial/
Dserial_core.c58 enum uart_pm_state pm_state);
1666 enum uart_pm_state pm_state; in uart_line_info() local
1690 pm_state = state->pm_state; in uart_line_info()
1691 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1696 if (pm_state != UART_PM_STATE_ON) in uart_line_info()
1697 uart_change_pm(state, pm_state); in uart_line_info()
2001 enum uart_pm_state pm_state) in uart_change_pm() argument
2005 if (state->pm_state != pm_state) { in uart_change_pm()
2007 port->ops->pm(port, pm_state, state->pm_state); in uart_change_pm()
2008 state->pm_state = pm_state; in uart_change_pm()
[all …]
Dpmac_zilog.c1616 static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state) in pmz_suspend() argument
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispresizer.h106 int pm_state; member
/linux-4.4.14/include/linux/
Dshdma-base.h75 enum shdma_pm_state pm_state; member
Dserial_core.h280 enum uart_pm_state pm_state; member
Dpnp.h231 pm_message_t pm_state; member
Dide.h1338 u32 pm_state; member
/linux-4.4.14/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()
Drts5209.c61 static void rts5209_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5209_force_power_down() argument
Drts5229.c58 static void rts5229_force_power_down(struct rtsx_pcr *pcr, u8 pm_state) in rts5229_force_power_down() argument
Drtsx_pcr.c971 static void rtsx_pci_power_off(struct rtsx_pcr *pcr, u8 pm_state) in rtsx_pci_power_off() argument
980 rtsx_pci_write_register(pcr, HOST_SLEEP_STATE, 0x03, pm_state); in rtsx_pci_power_off()
983 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
/linux-4.4.14/drivers/dma/
Dfsldma.c418 if (unlikely(chan->pm_state != RUNNING)) { in fsl_dma_tx_submit()
1301 chan->pm_state = RUNNING; in fsl_dma_chan_probe()
1463 chan->pm_state = SUSPENDED; in fsldma_suspend_late()
1473 chan->pm_state = RUNNING; in fsldma_suspend_late()
1496 chan->pm_state = RUNNING; in fsldma_resume_early()
Dfsldma.h181 enum fsldma_pm_state pm_state; member
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_type.h135 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()
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c66 bool pm_state; member
1346 context->pm_state = pm_runtime_active(mcasp->dev); in davinci_mcasp_suspend()
1347 if (!context->pm_state) in davinci_mcasp_suspend()
1396 if (!context->pm_state) in davinci_mcasp_resume()
/linux-4.4.14/drivers/video/fbdev/savage/
Dsavagefb.h202 int pm_state; member
Dsavagefb_driver.c2366 par->pm_state = mesg.event; in savagefb_suspend()
2397 int cur_state = par->pm_state; in savagefb_resume()
2401 par->pm_state = PM_EVENT_ON; in savagefb_resume()
/linux-4.4.14/drivers/s390/net/
Dnetiucv.c230 int pm_state; member
1325 priv->pm_state = fsm_getstate(priv->fsm); in netiucv_pm_freeze()
1348 switch (priv->pm_state) { in netiucv_pm_restore_thaw()
/linux-4.4.14/include/linux/mfd/
Drtsx_pci.h875 void (*force_power_down)(struct rtsx_pcr *pcr, u8 pm_state);
/linux-4.4.14/drivers/pcmcia/
Dds.c1077 static DEVICE_ATTR_RW(pm_state);
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.h1351 u32 pm_state[16]; member
/linux-4.4.14/include/linux/mlx5/
Dmlx5_ifc.h1687 u8 pm_state[0x2]; member