| /linux/drivers/gpu/drm/ |
| H A D | drm_client_event.c | 65 if (client->suspended) { in drm_client_hotplug() 131 if (drm_WARN_ON_ONCE(dev, client->suspended)) in drm_client_suspend() 138 client->suspended = true; in drm_client_suspend() 149 if (!client->suspended) in drm_client_dev_suspend() 161 if (drm_WARN_ON_ONCE(dev, !client->suspended)) in drm_client_resume() 168 client->suspended = false; in drm_client_resume() 182 if (client->suspended) in drm_client_dev_resume()
|
| /linux/drivers/video/backlight/ |
| H A D | platform_lcd.c | 23 unsigned int suspended:1; member 43 if (power == LCD_POWER_OFF || plcd->suspended) in platform_lcd_set_power() 109 plcd->suspended = 1; in platform_lcd_suspend() 119 plcd->suspended = 0; in platform_lcd_resume()
|
| /linux/drivers/platform/surface/ |
| H A D | surfacepro3_button.c | 71 bool suspended; member 122 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify() 123 if (button->suspended) in surface_button_notify() 135 button->suspended = true; in surface_button_suspend() 144 button->suspended = false; in surface_button_resume()
|
| /linux/drivers/input/misc/ |
| H A D | nxp-bbnsm-pwrkey.c | 41 bool suspended; member 87 if (bbnsm->suspended) { in bbnsm_pwrkey_interrupt() 92 bbnsm->suspended = false; in bbnsm_pwrkey_interrupt() 201 bbnsm->suspended = true; in bbnsm_pwrkey_suspend() 211 bbnsm->suspended = false; in bbnsm_pwrkey_resume()
|
| H A D | pwm-beeper.c | 25 bool suspended; member 103 if (!beeper->suspended) in pwm_beeper_event() 207 beeper->suspended = true; in pwm_beeper_suspend() 220 beeper->suspended = false; in pwm_beeper_resume()
|
| /linux/drivers/soc/loongson/ |
| H A D | loongson2_pm.c | 35 bool suspended; member 135 if (!loongson2_pm.suspended && (status & LOONGSON2_PM1_PWRBTN_STS)) { in loongson2_pm_irq_handler() 150 loongson2_pm.suspended = true; in loongson2_pm_suspend() 157 loongson2_pm.suspended = false; in loongson2_pm_resume()
|
| /linux/drivers/input/keyboard/ |
| H A D | imx-sm-bbm-key.c | 25 bool suspended; member 71 if (READ_ONCE(bbnsm->suspended)) { in scmi_imx_bbm_pwrkey_event() 75 WRITE_ONCE(bbnsm->suspended, false); in scmi_imx_bbm_pwrkey_event() 194 WRITE_ONCE(bbnsm->suspended, true); in scmi_imx_bbm_key_suspend()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_device.h | 80 atomic_t suspended; member 413 if (atomic_read(&pirq->suspended)) \ 438 if (!atomic_read(&pirq->suspended)) \ 449 atomic_set(&pirq->suspended, true); \ 454 atomic_set(&pirq->suspended, false); \
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-dev.c | 386 cmd_q->suspended = 1; in ccp_dequeue_cmd() 536 unsigned int suspended = 0; in ccp_queues_suspended() local 543 if (ccp->cmd_q[i].suspended) in ccp_queues_suspended() 544 suspended++; in ccp_queues_suspended() 548 return ccp->cmd_q_count == suspended; in ccp_queues_suspended() 593 ccp->cmd_q[i].suspended = 0; in ccp_dev_resume()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-platform-_UDC_-gadget | 1 What: /sys/devices/platform/_UDC_/gadget/suspended 7 - 1 -> suspended
|
| H A D | sysfs-class-regulator | 256 the system is suspended to memory, for voltage regulators 267 the system is suspended to disk, for voltage regulators 278 the system is suspended to standby, for voltage regulators 288 setting for this domain when the system is suspended to 299 setting for this domain when the system is suspended to disk, 310 setting for this domain when the system is suspended to 321 when suspended to memory, for regulators implementing suspend 334 when suspended to disk, for regulators implementing 347 state when suspended to standby, for regulators implementing
|
| H A D | sysfs-class-remoteproc | 20 - "suspended" 27 "suspended" means that the remote processor is suspended and
|
| /linux/Documentation/power/ |
| H A D | suspend-and-interrupts.rst | 18 there is no legitimate reason why any interrupts from suspended devices should 19 trigger and if any devices have not been suspended properly yet, it is better to 22 not prepared for interrupts triggering after their devices had been suspended. 24 of suspended devices and cause unpredictable behavior to ensue as a result. 47 interrupt will wake the system from a suspended state -- for such cases it is 82 it will be disabled, marked as pending and "suspended" so that it will be 90 already suspended. However, after suspend_device_irqs() interrupt handlers are
|
| H A D | runtime_pm.rst | 95 core regards the device as suspended, which need not mean that it has been 100 'suspended'. 109 is directly set to either 'active', or 'suspended' (the PM core provides 137 'suspended' (by means of special helper functions provided by the PM core 152 if the device can be suspended (i.e. if all of the conditions necessary for 182 (4) ->runtime_resume() can only be executed for 'suspended' devices (i.e. the 184 PM status of which is 'suspended'). 259 suspend to complete; means "start a resume as soon as you've suspended" 264 PM core as 'suspended', regardless of its real hardware status 325 success, 1 if the device's runtime PM status was already 'suspended', or [all …]
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-rbtn.c | 25 bool suspended; member 249 rbtn_data->suspended = false; in rbtn_clear_suspended_flag() 257 rbtn_data->suspended = true; in rbtn_suspend() 456 if (rbtn_data->suspended) { in rbtn_notify()
|
| /linux/Documentation/driver-api/usb/ |
| H A D | power-management.rst | 35 component is ``suspended`` it is in a nonfunctional low-power state; it 36 might even be turned off completely. A suspended component can be 40 suspended; an example would be reducing the CPU's clock rate. This 43 When the parts being suspended include the CPU and most of the rest of 69 When a device has been suspended, it generally doesn't resume until 71 suspended, it generally doesn't resume until the user tells it to, say 78 device is enabled for remote wakeup and it is suspended, it may resume 80 event. Examples include a suspended keyboard resuming when a key is 81 pressed, or a suspended USB hub resuming when a device is plugged in. 88 anything important and thus is a candidate for being suspended. The [all …]
|
| /linux/drivers/platform/olpc/ |
| H A D | olpc-ec.c | 63 bool suspended; member 142 if (WARN_ON(ec->suspended)) in olpc_ec_cmd() 461 ec->suspended = true; in olpc_ec_suspend() 471 ec->suspended = false; in olpc_ec_resume()
|
| /linux/drivers/scsi/libsas/ |
| H A D | sas_port.c | 36 if (port->suspended) in sas_resume_port() 37 port->suspended = 0; in sas_resume_port() 117 else if (phy->suspended) { in sas_form_port() 118 phy->suspended = 0; in sas_form_port()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-interface.c | 441 goto suspended; in tpm_pm_suspend() 445 goto suspended; in tpm_pm_suspend() 450 goto suspended; in tpm_pm_suspend() 455 suspended: in tpm_pm_suspend()
|
| /linux/drivers/usb/host/ |
| H A D | ehci-fsl.c | 436 "mode=%d usbcmd %08x\n", pdata->suspended, in ehci_fsl_mpc512x_drv_suspend() 445 if (pdata->suspended) { in ehci_fsl_mpc512x_drv_suspend() 482 pdata->suspended = 1; in ehci_fsl_mpc512x_drv_suspend() 500 pdata->suspended, pdata->already_suspended); in ehci_fsl_mpc512x_drv_resume() 512 if (!pdata->suspended) { in ehci_fsl_mpc512x_drv_resume() 517 pdata->suspended = 0; in ehci_fsl_mpc512x_drv_resume()
|
| /linux/drivers/iio/light/ |
| H A D | isl29018.c | 90 bool suspended; member 370 if (chip->suspended) { in isl29018_write_raw() 410 if (chip->suspended) { in isl29018_read_raw() 734 chip->suspended = false; in isl29018_probe() 787 chip->suspended = true; in isl29018_suspend() 813 chip->suspended = false; in isl29018_resume()
|
| /linux/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-usb2.c | 210 bool suspended; member 582 if (!rport->suspended) in rockchip_usb2phy_power_on() 610 rport->suspended = false; in rockchip_usb2phy_power_on() 623 if (rport->suspended) in rockchip_usb2phy_power_off() 630 rport->suspended = true; in rockchip_usb2phy_power_off() 831 if (!rport->suspended) in rockchip_chg_detect_work() 972 if (!rport->suspended) { in rockchip_usb2phy_sm_work() 979 if (rport->suspended) { in rockchip_usb2phy_sm_work() 982 rport->suspended = false; in rockchip_usb2phy_sm_work() 989 if (!rport->suspended) { in rockchip_usb2phy_sm_work() [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | ds.c | 1050 if (p_dev->suspended) in pm_state_show() 1065 if ((!p_dev->suspended) && !strncmp(buf, "off", 3)) in pm_state_store() 1067 else if (p_dev->suspended && !strncmp(buf, "on", 2)) in pm_state_store() 1139 if (p_dev->suspended) { in pcmcia_dev_suspend() 1143 p_dev->suspended = 1; in pcmcia_dev_suspend() 1161 p_dev->suspended = 0; in pcmcia_dev_suspend() 1184 if (!p_dev->suspended) { in pcmcia_dev_resume() 1188 p_dev->suspended = 0; in pcmcia_dev_resume() 1219 if (p_dev->socket != skt || p_dev->suspended) in pcmcia_bus_suspend_callback() 1230 if (p_dev->socket != skt || !p_dev->suspended) in pcmcia_bus_resume_callback()
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-nit6xlite.dtsi | 80 retain-state-suspended; 86 retain-state-suspended; 92 retain-state-suspended; 98 retain-state-suspended; 104 retain-state-suspended;
|
| /linux/drivers/input/touchscreen/ |
| H A D | ads7846.c | 135 bool suspended; /* P: lock */ member 242 if (!ts->disabled && !ts->suspended) { in ads7846_stop() 254 if (!ts->disabled && !ts->suspended) { in ads7846_restart() 296 if (!ts->suspended) in ads7846_disable() 313 if (!ts->suspended) in ads7846_enable() 971 if (!ts->suspended) { in ads7846_suspend() 979 ts->suspended = true; in ads7846_suspend() 993 if (ts->suspended) { in ads7846_resume() 995 ts->suspended = false; in ads7846_resume()
|