Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.6.21/drivers/platform/surface/
Dsurfacepro3_button.c71 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-6.6.21/drivers/video/backlight/
Dplatform_lcd.c25 unsigned int suspended:1; member
45 if (power == FB_BLANK_POWERDOWN || plcd->suspended) in platform_lcd_set_power()
115 plcd->suspended = 1; in platform_lcd_suspend()
125 plcd->suspended = 0; in platform_lcd_resume()
/linux-6.6.21/drivers/input/misc/
Dcma3000_d0x.c70 bool suspended; member
222 if (!data->suspended) in cma3000_open()
238 if (!data->suspended) in cma3000_close()
250 if (!data->suspended && data->opened) in cma3000_suspend()
253 data->suspended = true; in cma3000_suspend()
264 if (data->suspended && data->opened) in cma3000_resume()
267 data->suspended = false; in cma3000_resume()
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()
Dregulator-haptic.c29 bool suspended; member
88 if (!haptic->suspended) in regulator_haptic_work()
216 haptic->suspended = true; in regulator_haptic_suspend()
231 haptic->suspended = false; in regulator_haptic_resume()
Dadxl34x.c203 bool suspended; /* P: mutex */ member
421 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
424 ac->suspended = true; in adxl34x_suspend()
437 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
440 ac->suspended = false; in adxl34x_resume()
469 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
598 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
673 if (!ac->suspended && !ac->disabled) in adxl34x_input_open()
689 if (!ac->suspended && !ac->disabled) in adxl34x_input_close()
/linux-6.6.21/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c54 bool suspended; member
88 if (ctx->suspended) in decon_wait_for_vblank()
158 if (ctx->suspended) in decon_commit()
222 if (ctx->suspended) in decon_enable_vblank()
247 if (ctx->suspended) in decon_disable_vblank()
373 if (ctx->suspended) in decon_atomic_begin()
395 if (ctx->suspended) in decon_update_plane()
485 if (ctx->suspended) in decon_disable_plane()
506 if (ctx->suspended) in decon_atomic_flush()
536 if (!ctx->suspended) in decon_atomic_enable()
[all …]
Dexynos_drm_fimd.c189 bool suspended; member
266 if (ctx->suspended) in fimd_enable_vblank()
298 if (ctx->suspended) in fimd_disable_vblank()
321 if (ctx->suspended) in fimd_wait_for_vblank()
396 ctx->suspended = false; in fimd_clear_channels()
402 ctx->suspended = true; in fimd_clear_channels()
486 if (ctx->suspended) in fimd_commit()
808 if (ctx->suspended) in fimd_atomic_begin()
820 if (ctx->suspended) in fimd_atomic_flush()
843 if (ctx->suspended) in fimd_update_plane()
[all …]
Dexynos_drm_vidi.c47 bool suspended; member
98 if (ctx->suspended) in vidi_enable_vblank()
118 if (ctx->suspended) in vidi_update_plane()
131 ctx->suspended = false; in vidi_atomic_enable()
146 ctx->suspended = true; in vidi_atomic_disable()
/linux-6.6.21/drivers/soc/loongson/
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-6.6.21/drivers/net/ieee802154/
Dfakelb.c36 bool suspended; member
66 WARN_ON(current_phy->suspended); in fakelb_hw_xmit()
90 phy->suspended = false; in fakelb_hw_start()
102 phy->suspended = true; in fakelb_hw_stop()
/linux-6.6.21/drivers/input/touchscreen/
Dad7879.c117 bool suspended; /* P: input->mutex */ member
288 if (!ts->disabled && !ts->suspended) in ad7879_open()
299 if (!ts->disabled && !ts->suspended) in ad7879_close()
309 if (!ts->suspended && !ts->disabled && input_device_enabled(ts->input)) in ad7879_suspend()
312 ts->suspended = true; in ad7879_suspend()
325 if (ts->suspended && !ts->disabled && input_device_enabled(ts->input)) in ad7879_resume()
328 ts->suspended = false; in ad7879_resume()
342 if (!ts->suspended && input_device_enabled(ts->input)) { in ad7879_toggle()
Dtsc200x-core.c103 bool suspended; member
417 if (!ts->suspended) in tsc200x_open()
433 if (!ts->suspended) in tsc200x_close()
597 if (!ts->suspended && ts->opened) in tsc200x_suspend()
600 ts->suspended = true; in tsc200x_suspend()
613 if (ts->suspended && ts->opened) in tsc200x_resume()
616 ts->suspended = false; in tsc200x_resume()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-devices-platform-_UDC_-gadget1 What: /sys/devices/platform/_UDC_/gadget/suspended
7 - 1 -> suspended
/linux-6.6.21/drivers/crypto/ccp/
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-6.6.21/Documentation/power/
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
Druntime_pm.rst95 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
184 (4) ->runtime_resume() can only be executed for 'suspended' devices (i.e. the
186 PM status of which is 'suspended').
261 suspend to complete; means "start a resume as soon as you've suspended"
266 PM core as 'suspended', regardless of its real hardware status
327 success, 1 if the device's runtime PM status was already 'suspended', or
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gpu_devfreq.c48 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); in msm_devfreq_target()
93 if (df->suspended) { in msm_devfreq_get_dev_status()
233 df->suspended = false; in msm_devfreq_resume()
247 df->suspended = true; in msm_devfreq_suspend()
/linux-6.6.21/sound/virtio/
Dvirtio_pcm_ops.c118 vss->suspended = false; in virtsnd_pcm_open()
276 if (!vss->suspended) { in virtsnd_pcm_prepare()
300 vss->suspended = false; in virtsnd_pcm_prepare()
356 vss->suspended = true; in virtsnd_pcm_trigger()
/linux-6.6.21/drivers/platform/x86/dell/
Ddell-rbtn.c25 bool suspended; member
249 rbtn_data->suspended = false; in rbtn_clear_suspended_flag()
257 rbtn_data->suspended = true; in rbtn_suspend()
457 if (rbtn_data->suspended) { in rbtn_notify()
/linux-6.6.21/Documentation/driver-api/usb/
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-6.6.21/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c206 bool suspended; member
550 if (!rport->suspended) in rockchip_usb2phy_power_on()
578 rport->suspended = false; in rockchip_usb2phy_power_on()
591 if (rport->suspended) in rockchip_usb2phy_power_off()
598 rport->suspended = true; in rockchip_usb2phy_power_off()
799 if (!rport->suspended) in rockchip_chg_detect_work()
940 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
947 if (rport->suspended) { in rockchip_usb2phy_sm_work()
950 rport->suspended = false; in rockchip_usb2phy_sm_work()
957 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
[all …]
/linux-6.6.21/drivers/scsi/libsas/
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-6.6.21/drivers/platform/olpc/
Dolpc-ec.c63 bool suspended; member
142 if (WARN_ON(ec->suspended)) in olpc_ec_cmd()
464 ec->suspended = true; in olpc_ec_suspend()
474 ec->suspended = false; in olpc_ec_resume()
/linux-6.6.21/drivers/usb/host/
Dehci-fsl.c438 "mode=%d usbcmd %08x\n", pdata->suspended, in ehci_fsl_mpc512x_drv_suspend()
447 if (pdata->suspended) { in ehci_fsl_mpc512x_drv_suspend()
484 pdata->suspended = 1; in ehci_fsl_mpc512x_drv_suspend()
502 pdata->suspended, pdata->already_suspended); in ehci_fsl_mpc512x_drv_resume()
514 if (!pdata->suspended) { in ehci_fsl_mpc512x_drv_resume()
519 pdata->suspended = 0; in ehci_fsl_mpc512x_drv_resume()

12345678910>>...12