/kernel/linux/linux-5.10/drivers/char/ |
D | apm-emulation.c | 111 enum apm_suspend_state suspend_state; member 225 if (as->suspend_state == SUSPEND_PENDING && in apm_read() 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() 342 if (as->suspend_state == SUSPEND_PENDING || in apm_release() 343 as->suspend_state == SUSPEND_READ) in apm_release() [all …]
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | of_regulator.c | 30 struct regulator_state *suspend_state; in of_get_regulation_constraints() local 194 suspend_state = &constraints->state_mem; in of_get_regulation_constraints() 197 suspend_state = &constraints->state_disk; in of_get_regulation_constraints() 200 suspend_state = &constraints->state_standby; in of_get_regulation_constraints() 209 if (!suspend_np || !suspend_state) in of_get_regulation_constraints() 220 suspend_state->mode = mode; in of_get_regulation_constraints() 229 suspend_state->enabled = ENABLE_IN_SUSPEND; in of_get_regulation_constraints() 232 suspend_state->enabled = DISABLE_IN_SUSPEND; in of_get_regulation_constraints() 236 suspend_state->min_uV = pval; in of_get_regulation_constraints() 240 suspend_state->max_uV = pval; in of_get_regulation_constraints() [all …]
|
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/stm/ |
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()
|
D | ltdc.h | 40 struct drm_atomic_state *suspend_state; member
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | pm33xx.c | 189 static int am33xx_pm_suspend(suspend_state_t suspend_state) in am33xx_pm_suspend() argument 193 if (suspend_state == PM_SUSPEND_MEM && in am33xx_pm_suspend() 204 ret = pm_ops->soc_suspend(suspend_state, am33xx_rtc_only_idle, in am33xx_pm_suspend() 217 ret = pm_ops->soc_suspend(suspend_state, am33xx_do_wfi_sram, in am33xx_pm_suspend() 252 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend() 258 static int am33xx_pm_enter(suspend_state_t suspend_state) in am33xx_pm_enter() argument 262 switch (suspend_state) { in am33xx_pm_enter() 265 ret = am33xx_pm_suspend(suspend_state); in am33xx_pm_enter()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
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()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
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()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
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()
|
D | pm.h | 19 struct cw1200_suspend_state *suspend_state; member
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic79xx_pci.c | 388 ahd->suspend_state.pci_state.devconfig = in ahd_pci_suspend() 390 ahd->suspend_state.pci_state.command = in ahd_pci_suspend() 392 ahd->suspend_state.pci_state.csize_lattime = in ahd_pci_suspend() 401 ahd->suspend_state.pci_state.devconfig, /*bytes*/4); in ahd_pci_resume() 403 ahd->suspend_state.pci_state.command, /*bytes*/1); in ahd_pci_resume() 405 ahd->suspend_state.pci_state.csize_lattime, /*bytes*/1); in ahd_pci_resume()
|
D | aic79xx.h | 1204 struct ahd_suspend_state suspend_state; member
|
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
D | suspend.c | 19 static int shmobile_suspend_default_enter(suspend_state_t suspend_state) in shmobile_suspend_default_enter() argument
|
/kernel/linux/linux-5.10/sound/pci/ |
D | sis7019.c | 128 void *suspend_state[SIS_SUSPEND_PAGES]; member 375 sis->suspend_state[0], in __sis_map_silence() 1016 kfree(sis->suspend_state[i]); in sis_free_suspend() 1200 memcpy_fromio(sis->suspend_state[i], ioaddr, 4096); in sis_suspend() 1230 memcpy_toio(ioaddr, sis->suspend_state[i], 4096); in sis_resume() 1234 memset(sis->suspend_state[0], 0, 4096); in sis_resume() 1269 sis->suspend_state[i] = kmalloc(4096, GFP_KERNEL); in sis_alloc_suspend() 1270 if (!sis->suspend_state[i]) in sis_alloc_suspend() 1273 memset(sis->suspend_state[0], 0, 4096); in sis_alloc_suspend()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_drv.h | 46 struct drm_atomic_state *suspend_state; member
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_mode_config.h | 945 struct drm_atomic_state *suspend_state; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 2647 dev_priv->suspend_state = drm_atomic_helper_suspend(dev); in vmw_kms_suspend() 2648 if (IS_ERR(dev_priv->suspend_state)) { in vmw_kms_suspend() 2649 int ret = PTR_ERR(dev_priv->suspend_state); in vmw_kms_suspend() 2652 dev_priv->suspend_state = NULL; in vmw_kms_suspend() 2675 if (WARN_ON(!dev_priv->suspend_state)) in vmw_kms_resume() 2678 ret = drm_atomic_helper_resume(dev, dev_priv->suspend_state); in vmw_kms_resume() 2679 dev_priv->suspend_state = NULL; in vmw_kms_resume()
|
D | vmwgfx_drv.c | 1397 if (dev_priv->suspend_state) in vmw_pm_freeze() 1434 if (dev_priv->suspend_state) in vmw_pm_restore()
|
D | vmwgfx_drv.h | 544 struct drm_atomic_state *suspend_state; member
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | mgmt.h | 1037 __u8 suspend_state; member
|
D | hci_core.h | 484 enum suspended_state suspend_state; member
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | cp210x.c | 494 __le16 suspend_state; member 509 __le16 suspend_state; member
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | hci_request.c | 1192 if (next == hdev->suspend_state) { in hci_req_prepare_suspend() 1197 hdev->suspend_state = next; in hci_req_prepare_suspend() 1305 hdev->suspend_state = next; in hci_req_prepare_suspend()
|