Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/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.1.9/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.1.9/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()
216 beeper->suspended = true; in pwm_beeper_suspend()
229 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
419 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
422 ac->suspended = true; in adxl34x_suspend()
432 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
435 ac->suspended = false; in adxl34x_resume()
463 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
592 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
667 if (!ac->suspended && !ac->disabled) in adxl34x_input_open()
683 if (!ac->suspended && !ac->disabled) in adxl34x_input_close()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c55 bool suspended; member
89 if (ctx->suspended) in decon_wait_for_vblank()
159 if (ctx->suspended) in decon_commit()
223 if (ctx->suspended) in decon_enable_vblank()
248 if (ctx->suspended) in decon_disable_vblank()
374 if (ctx->suspended) in decon_atomic_begin()
396 if (ctx->suspended) in decon_update_plane()
486 if (ctx->suspended) in decon_disable_plane()
507 if (ctx->suspended) in decon_atomic_flush()
537 if (!ctx->suspended) in decon_atomic_enable()
[all …]
Dexynos_drm_fimd.c190 bool suspended; member
267 if (ctx->suspended) in fimd_enable_vblank()
299 if (ctx->suspended) in fimd_disable_vblank()
322 if (ctx->suspended) in fimd_wait_for_vblank()
397 ctx->suspended = false; in fimd_clear_channels()
403 ctx->suspended = true; in fimd_clear_channels()
487 if (ctx->suspended) in fimd_commit()
809 if (ctx->suspended) in fimd_atomic_begin()
821 if (ctx->suspended) in fimd_atomic_flush()
844 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.1.9/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.1.9/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.1.9/Documentation/ABI/testing/
Dsysfs-devices-platform-_UDC_-gadget1 What: /sys/devices/platform/_UDC_/gadget/suspended
7 - 1 -> suspended
/linux-6.1.9/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.1.9/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c188 bool suspended; member
480 if (!rport->suspended) in rockchip_usb2phy_power_on()
496 rport->suspended = false; in rockchip_usb2phy_power_on()
509 if (rport->suspended) in rockchip_usb2phy_power_off()
516 rport->suspended = true; in rockchip_usb2phy_power_off()
717 if (!rport->suspended) in rockchip_chg_detect_work()
852 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
859 if (rport->suspended) { in rockchip_usb2phy_sm_work()
862 rport->suspended = false; in rockchip_usb2phy_sm_work()
869 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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()
458 if (rbtn_data->suspended) { in rbtn_notify()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_gpu_devfreq.c38 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); in msm_devfreq_target()
72 if (df->suspended) { in get_raw_dev_status()
272 df->suspended = false; in msm_devfreq_resume()
286 df->suspended = true; in msm_devfreq_suspend()
/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/i915/
Dintel_runtime_pm.h52 bool suspended; member
119 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
/linux-6.1.9/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c676 st->suspended.gyro = st->conf.gyro.mode; in inv_icm42600_suspend()
677 st->suspended.accel = st->conf.accel.mode; in inv_icm42600_suspend()
678 st->suspended.temp = st->conf.temp_en; in inv_icm42600_suspend()
725 ret = inv_icm42600_set_pwr_mgmt0(st, st->suspended.gyro, in inv_icm42600_resume()
726 st->suspended.accel, in inv_icm42600_resume()
727 st->suspended.temp, NULL); in inv_icm42600_resume()
/linux-6.1.9/drivers/iio/light/
Disl29018.c89 bool suspended; member
369 if (chip->suspended) { in isl29018_write_raw()
409 if (chip->suspended) { in isl29018_read_raw()
746 chip->suspended = false; in isl29018_probe()
799 chip->suspended = true; in isl29018_suspend()
825 chip->suspended = false; in isl29018_resume()

1234567891011