Home
last modified time | relevance | path

Searched refs:suspended (Results 1 – 25 of 187) sorted by relevance

12345678

/linux/drivers/gpu/drm/
H A Ddrm_client_event.c65 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 Dplatform_lcd.c23 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/input/misc/
H A Dcma3000_d0x.c71 bool suspended; member
223 if (!data->suspended) in cma3000_open()
237 if (!data->suspended) in cma3000_close()
247 if (!data->suspended && data->opened) in cma3000_suspend()
250 data->suspended = true; in cma3000_suspend()
259 if (data->suspended && data->opened) in cma3000_resume()
262 data->suspended = false; in cma3000_resume()
H A Dnxp-bbnsm-pwrkey.c41 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 Dpwm-beeper.c25 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 Dloongson2_pm.c35 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 Dimx-sm-bbm-key.c25 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/crypto/ccp/
H A Dccp-dev.c386 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 Dsysfs-devices-platform-_UDC_-gadget1 What: /sys/devices/platform/_UDC_/gadget/suspended
7 - 1 -> suspended
H A Dsysfs-class-regulator256 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 Dsysfs-class-remoteproc20 - "suspended"
27 "suspended" means that the remote processor is suspended and
H A Dsysfs-block-dm18 What: /sys/block/dm-<num>/dm/suspended
23 Contains the value 1 while the device is suspended.
/linux/Documentation/power/
H A Dsuspend-and-interrupts.rst18 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
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst35 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/scsi/libsas/
H A Dsas_port.c36 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 Dtpm-interface.c441 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/platform/olpc/
H A Dolpc-ec.c63 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/usb/host/
H A Dehci-fsl.c436 "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/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c210 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()
833 if (!rport->suspended && !vbus_attach) in rockchip_chg_detect_work()
976 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
983 if (rport->suspended) { in rockchip_usb2phy_sm_work()
986 rport->suspended = false; in rockchip_usb2phy_sm_work()
993 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
[all …]
/linux/drivers/pcmcia/
H A Dds.c1050 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 Dimx6qdl-nit6xlite.dtsi80 retain-state-suspended;
86 retain-state-suspended;
92 retain-state-suspended;
98 retain-state-suspended;
104 retain-state-suspended;
/linux/arch/arm/mach-omap2/
H A Dprm_common.c125 if (prcm_irq_setup->suspended) { in omap_prcm_irq_handler()
134 while (!prcm_irq_setup->suspended) { in omap_prcm_irq_handler()
234 prcm_irq_setup->suspended = true; in omap_prcm_irq_prepare()
239 prcm_irq_setup->suspended = false; in omap_prcm_irq_complete()
/linux/Documentation/arch/powerpc/
H A Dsyscall64-abi.rst87 Syscall behavior can change if the processor is in transactional or suspended
90 If the processor is in suspended state when a syscall is made, the syscall
92 performed in suspended state, so its side effects will be persistent according
106 suspended state syscall, and will resume the transactional state before
/linux/drivers/rtc/
H A Drtc-at91sam9.c76 bool suspended; member
307 if (rtc->suspended) { in at91_rtc_interrupt()
486 rtc->suspended = true; in at91_rtc_suspend()
513 rtc->suspended = false; in at91_rtc_resume()
/linux/include/linux/mtd/
H A Dmtd.h235 unsigned int suspended : 1; member
551 if (master->master.suspended) in mtd_suspend()
558 master->master.suspended = 1; in mtd_suspend()
566 if (!master->master.suspended) in mtd_resume()
572 master->master.suspended = 0; in mtd_resume()

12345678