Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.15/drivers/gpu/drm/
H A Ddrm_client_event.c63 if (client->suspended) { in drm_client_hotplug()
129 if (drm_WARN_ON_ONCE(dev, client->suspended)) in drm_client_suspend()
136 client->suspended = true; in drm_client_suspend()
147 if (!client->suspended) in drm_client_dev_suspend()
159 if (drm_WARN_ON_ONCE(dev, !client->suspended)) in drm_client_resume()
166 client->suspended = false; in drm_client_resume()
180 if (client->suspended) in drm_client_dev_resume()
/linux-6.15/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-6.15/drivers/platform/surface/
H A 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.15/drivers/input/misc/
H A Dcma3000_d0x.c70 bool suspended; member
222 if (!data->suspended) in cma3000_open()
236 if (!data->suspended) in cma3000_close()
246 if (!data->suspended && data->opened) in cma3000_suspend()
249 data->suspended = true; in cma3000_suspend()
258 if (data->suspended && data->opened) in cma3000_resume()
261 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()
H A Dregulator-haptic.c30 bool suspended; member
89 if (!haptic->suspended) in regulator_haptic_work()
210 haptic->suspended = true; in regulator_haptic_suspend()
226 haptic->suspended = false; in regulator_haptic_resume()
H A 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()
435 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
438 ac->suspended = false; in adxl34x_resume()
465 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
587 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
662 if (!ac->suspended && !ac->disabled) in adxl34x_input_open()
676 if (!ac->suspended && !ac->disabled) in adxl34x_input_close()
/linux-6.15/drivers/gpu/drm/exynos/
H A Dexynos7_drm_decon.c72 bool suspended; member
135 if (ctx->suspended) in decon_wait_for_vblank()
213 if (ctx->suspended) in decon_commit()
277 if (ctx->suspended) in decon_enable_vblank()
302 if (ctx->suspended) in decon_disable_vblank()
407 if (ctx->suspended) in decon_atomic_begin()
430 if (ctx->suspended) in decon_update_plane()
520 if (ctx->suspended) in decon_disable_plane()
541 if (ctx->suspended) in decon_atomic_flush()
571 if (!ctx->suspended) in decon_atomic_enable()
[all …]
H A 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()
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()
930 if (ctx->suspended) in fimd_disable_plane()
943 if (!ctx->suspended) in fimd_atomic_enable()
[all …]
H A 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.15/drivers/gpu/drm/panthor/
H A Dpanthor_device.h67 atomic_t suspended; member
365 if (atomic_read(&pirq->suspended)) \
392 if (!atomic_read(&pirq->suspended)) \
403 atomic_set(&pirq->suspended, true); \
408 atomic_set(&pirq->suspended, false); \
/linux-6.15/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-6.15/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-6.15/drivers/net/ieee802154/
H A 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.15/drivers/input/touchscreen/
H A 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()
H A Dtsc200x-core.c103 bool suspended; member
411 if (!ts->suspended) in tsc200x_open()
425 if (!ts->suspended) in tsc200x_close()
562 if (!ts->suspended && ts->opened) in tsc200x_suspend()
565 ts->suspended = true; in tsc200x_suspend()
584 if (ts->suspended && ts->opened) in tsc200x_resume()
587 ts->suspended = false; in tsc200x_resume()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-devices-platform-_UDC_-gadget1 What: /sys/devices/platform/_UDC_/gadget/suspended
7 - 1 -> suspended
/linux-6.15/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-6.15/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
H A Druntime_pm.rst100 'suspended'.
152 if the device can be suspended (i.e. if all of the conditions necessary for
186 PM status of which is 'suspended').
266 PM core as 'suspended', regardless of its real hardware status
482 - return true if the device's runtime PM status is 'suspended'
591 status should be changed back to 'suspended' with the help of
594 If the default initial runtime PM status of the device (i.e. 'suspended')
618 resumes the device if it's in the suspended state and prevents it from
619 being suspended again while those routines are being executed.
707 suspend began in the suspended state.
[all …]
/linux-6.15/drivers/platform/x86/dell/
H A Ddell-rbtn.c25 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-6.15/drivers/gpu/drm/msm/
H A 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()
238 df->suspended = false; in msm_devfreq_resume()
252 df->suspended = true; in msm_devfreq_suspend()
/linux-6.15/Documentation/driver-api/usb/
H A Dpower-management.rst36 might even be turned off completely. A suspended component can be
40 suspended; an example would be reducing the CPU's clock rate. This
155 device is next suspended. (If the setting is changed
156 while the device is suspended, the change won't take
174 suspended and autoresume was not allowed. This
306 device is going to be suspended. If the driver returns a
343 interfaces are suspended when the device itself is suspended and all
387 does an autoresume if the device is suspended. If the
691 Once all children and descendants have suspended the
699 or 'suspended' (logically off). There is no indication to
[all …]
/linux-6.15/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()

12345678910>>...13