/linux/drivers/char/ |
A D | apm-emulation.c | 111 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 D | of_regulator.c | 86 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 D | s2mps11.c | 40 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 D | pm33xx.c | 188 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 D | drv.c | 123 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 D | ltdc.h | 40 struct drm_atomic_state *suspend_state; member
|
/linux/drivers/gpu/drm/ |
A D | drm_modeset_helper.c | 211 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 D | tc6393xb.c | 103 } 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 D | max77693-haptic.c | 58 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 D | pm.c | 80 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 D | aic79xx_pci.c | 387 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 D | aic79xx.h | 1204 struct ahd_suspend_state suspend_state; member
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | pm.c | 259 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 D | pm.h | 19 struct cw1200_suspend_state *suspend_state; member
|
/linux/sound/pci/ |
A D | sis7019.c | 127 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 D | suspend.c | 19 static int shmobile_suspend_default_enter(suspend_state_t suspend_state) in shmobile_suspend_default_enter() argument
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_drm_drv.h | 46 struct drm_atomic_state *suspend_state; member
|
/linux/include/drm/ |
A D | drm_mode_config.h | 947 struct drm_atomic_state *suspend_state; member
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_kms.c | 2684 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 D | vmwgfx_drv.c | 1510 if (dev_priv->suspend_state) in vmw_pm_freeze() 1545 if (dev_priv->suspend_state) in vmw_pm_restore()
|
A D | vmwgfx_drv.h | 532 struct drm_atomic_state *suspend_state; member
|
/linux/drivers/usb/serial/ |
A D | cp210x.c | 502 __le16 suspend_state; member 517 __le16 suspend_state; member 569 struct cp210x_quad_port_state suspend_state; member
|
/linux/include/net/bluetooth/ |
A D | mgmt.h | 1094 __u8 suspend_state; member
|
A D | hci_core.h | 524 enum suspended_state suspend_state; member
|
/linux/net/bluetooth/ |
A D | hci_request.c | 1138 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()
|