Home
last modified time | relevance | path

Searched refs:suspend_state (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/char/
A Dapm-emulation.c111 enum apm_suspend_state suspend_state; member
227 as->suspend_state = SUSPEND_READ; in apm_read()
273 switch (as->suspend_state) { in apm_ioctl()
280 as->suspend_state = SUSPEND_ACKED; in apm_ioctl()
298 as->suspend_state != SUSPEND_ACKED)) in apm_ioctl()
306 as->suspend_state = SUSPEND_WAIT; in apm_ioctl()
319 as->suspend_state = SUSPEND_NONE; in apm_ioctl()
343 as->suspend_state == SUSPEND_READ) in apm_release()
536 as->suspend_state = SUSPEND_PENDING; in apm_suspend_notifier()
573 as->suspend_state = SUSPEND_ACKTO; in apm_suspend_notifier()
[all …]
/linux/drivers/regulator/
A Dof_regulator.c86 struct regulator_state *suspend_state; in of_get_regulation_constraints() local
252 suspend_state = &constraints->state_mem; in of_get_regulation_constraints()
255 suspend_state = &constraints->state_disk; in of_get_regulation_constraints()
267 if (!suspend_np || !suspend_state) in of_get_regulation_constraints()
278 suspend_state->mode = mode; in of_get_regulation_constraints()
294 suspend_state->min_uV = pval; in of_get_regulation_constraints()
298 suspend_state->max_uV = pval; in of_get_regulation_constraints()
302 suspend_state->uV = pval; in of_get_regulation_constraints()
304 suspend_state->uV = suspend_state->min_uV; in of_get_regulation_constraints()
308 suspend_state->changeable = true; in of_get_regulation_constraints()
[all …]
A Ds2mps11.c40 DECLARE_BITMAP(suspend_state, S2MPS_REGULATOR_MAX);
236 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
243 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
251 if (test_bit(rdev_id, s2mps11->suspend_state)) in s2mps11_regulator_enable()
317 set_bit(rdev_id, s2mps11->suspend_state); in s2mps11_regulator_set_suspend_disable()
/linux/drivers/soc/ti/
A Dpm33xx.c188 static int am33xx_pm_suspend(suspend_state_t suspend_state) in am33xx_pm_suspend() argument
192 if (suspend_state == PM_SUSPEND_MEM && in am33xx_pm_suspend()
203 ret = pm_ops->soc_suspend(suspend_state, am33xx_rtc_only_idle, in am33xx_pm_suspend()
216 ret = pm_ops->soc_suspend(suspend_state, am33xx_do_wfi_sram, in am33xx_pm_suspend()
251 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend()
257 static int am33xx_pm_enter(suspend_state_t suspend_state) in am33xx_pm_enter() argument
261 switch (suspend_state) { in am33xx_pm_enter()
264 ret = am33xx_pm_suspend(suspend_state); in am33xx_pm_enter()
/linux/drivers/gpu/drm/stm/
A Ddrv.c123 WARN_ON(ldev->suspend_state); in drv_suspend()
129 ldev->suspend_state = state; in drv_suspend()
141 if (WARN_ON(!ldev->suspend_state)) in drv_resume()
145 ret = drm_atomic_helper_resume(ddev, ldev->suspend_state); in drv_resume()
149 ldev->suspend_state = NULL; in drv_resume()
A Dltdc.h40 struct drm_atomic_state *suspend_state; member
/linux/drivers/gpu/drm/
A Ddrm_modeset_helper.c211 dev->mode_config.suspend_state = state; in drm_mode_config_helper_suspend()
238 if (WARN_ON(!dev->mode_config.suspend_state)) in drm_mode_config_helper_resume()
241 ret = drm_atomic_helper_resume(dev, dev->mode_config.suspend_state); in drm_mode_config_helper_resume()
244 dev->mode_config.suspend_state = NULL; in drm_mode_config_helper_resume()
/linux/drivers/mfd/
A Dtc6393xb.c103 } suspend_state; member
766 tc6393xb->suspend_state.ccr = ioread16(tc6393xb->scr + SCR_CCR); in tc6393xb_suspend()
767 tc6393xb->suspend_state.fer = ioread8(tc6393xb->scr + SCR_FER); in tc6393xb_suspend()
770 tc6393xb->suspend_state.gpo_dsr[i] = in tc6393xb_suspend()
772 tc6393xb->suspend_state.gpo_doecr[i] = in tc6393xb_suspend()
774 tc6393xb->suspend_state.gpi_bcr[i] = in tc6393xb_suspend()
801 iowrite8(tc6393xb->suspend_state.fer, tc6393xb->scr + SCR_FER); in tc6393xb_resume()
803 iowrite16(tc6393xb->suspend_state.ccr, tc6393xb->scr + SCR_CCR); in tc6393xb_resume()
812 iowrite8(tc6393xb->suspend_state.gpo_dsr[i], in tc6393xb_resume()
814 iowrite8(tc6393xb->suspend_state.gpo_doecr[i], in tc6393xb_resume()
[all …]
/linux/drivers/input/misc/
A Dmax77693-haptic.c58 bool suspend_state; member
307 haptic->suspend_state = false; in max77693_haptic_probe()
385 haptic->suspend_state = true; in max77693_haptic_suspend()
396 if (haptic->suspend_state) { in max77693_haptic_resume()
398 haptic->suspend_state = false; in max77693_haptic_resume()
/linux/arch/arm/mach-omap2/
A Dpm.c80 static int omap_pm_enter(suspend_state_t suspend_state) in omap_pm_enter() argument
87 switch (suspend_state) { in omap_pm_enter()
/linux/drivers/scsi/aic7xxx/
A Daic79xx_pci.c387 ahd->suspend_state.pci_state.devconfig = in ahd_pci_suspend()
389 ahd->suspend_state.pci_state.command = in ahd_pci_suspend()
391 ahd->suspend_state.pci_state.csize_lattime = in ahd_pci_suspend()
400 ahd->suspend_state.pci_state.devconfig, /*bytes*/4); in ahd_pci_resume()
402 ahd->suspend_state.pci_state.command, /*bytes*/1); in ahd_pci_resume()
404 ahd->suspend_state.pci_state.csize_lattime, /*bytes*/1); in ahd_pci_resume()
A Daic79xx.h1204 struct ahd_suspend_state suspend_state; member
/linux/drivers/net/wireless/st/cw1200/
A Dpm.c259 pm_state->suspend_state = state; in cw1200_wow_suspend()
308 state = pm_state->suspend_state; in cw1200_wow_resume()
309 pm_state->suspend_state = NULL; in cw1200_wow_resume()
A Dpm.h19 struct cw1200_suspend_state *suspend_state; member
/linux/sound/pci/
A Dsis7019.c127 void *suspend_state[SIS_SUSPEND_PAGES]; member
374 sis->suspend_state[0], in __sis_map_silence()
1181 memcpy_fromio(sis->suspend_state[i], ioaddr, 4096); in sis_suspend()
1211 memcpy_toio(ioaddr, sis->suspend_state[i], 4096); in sis_resume()
1215 memset(sis->suspend_state[0], 0, 4096); in sis_resume()
1250 sis->suspend_state[i] = devm_kmalloc(&sis->pci->dev, 4096, in sis_alloc_suspend()
1252 if (!sis->suspend_state[i]) in sis_alloc_suspend()
1255 memset(sis->suspend_state[0], 0, 4096); in sis_alloc_suspend()
/linux/arch/arm/mach-shmobile/
A Dsuspend.c19 static int shmobile_suspend_default_enter(suspend_state_t suspend_state) in shmobile_suspend_default_enter() argument
/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_drv.h46 struct drm_atomic_state *suspend_state; member
/linux/include/drm/
A Ddrm_mode_config.h947 struct drm_atomic_state *suspend_state; member
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_kms.c2684 dev_priv->suspend_state = drm_atomic_helper_suspend(dev); in vmw_kms_suspend()
2685 if (IS_ERR(dev_priv->suspend_state)) { in vmw_kms_suspend()
2686 int ret = PTR_ERR(dev_priv->suspend_state); in vmw_kms_suspend()
2689 dev_priv->suspend_state = NULL; in vmw_kms_suspend()
2712 if (WARN_ON(!dev_priv->suspend_state)) in vmw_kms_resume()
2715 ret = drm_atomic_helper_resume(dev, dev_priv->suspend_state); in vmw_kms_resume()
2716 dev_priv->suspend_state = NULL; in vmw_kms_resume()
A Dvmwgfx_drv.c1510 if (dev_priv->suspend_state) in vmw_pm_freeze()
1545 if (dev_priv->suspend_state) in vmw_pm_restore()
A Dvmwgfx_drv.h532 struct drm_atomic_state *suspend_state; member
/linux/drivers/usb/serial/
A Dcp210x.c502 __le16 suspend_state; member
517 __le16 suspend_state; member
569 struct cp210x_quad_port_state suspend_state; member
/linux/include/net/bluetooth/
A Dmgmt.h1094 __u8 suspend_state; member
A Dhci_core.h524 enum suspended_state suspend_state; member
/linux/net/bluetooth/
A Dhci_request.c1138 if (next == hdev->suspend_state) { in hci_req_prepare_suspend()
1143 hdev->suspend_state = next; in hci_req_prepare_suspend()
1263 hdev->suspend_state = next; in hci_req_prepare_suspend()

Completed in 69 milliseconds

12