Home
last modified time | relevance | path

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

12345

/drivers/gpu/drm/gma500/
Dpower.c57 dev_priv->suspended = false; /* And not suspended */ in gma_power_init()
87 if (dev_priv->suspended) in gma_suspend_display()
107 dev_priv->suspended = false; in gma_resume_display()
130 if (dev_priv->suspended) in gma_suspend_pci()
144 dev_priv->suspended = true; in gma_suspend_pci()
160 if (!dev_priv->suspended) in gma_resume_pci()
175 dev_priv->suspended = false; in gma_resume_pci()
176 return !dev_priv->suspended; in gma_resume_pci()
195 if (!dev_priv->suspended) { in gma_power_suspend()
/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c53 bool suspended; member
87 if (ctx->suspended) in decon_wait_for_vblank()
157 if (ctx->suspended) in decon_commit()
221 if (ctx->suspended) in decon_enable_vblank()
246 if (ctx->suspended) in decon_disable_vblank()
371 if (ctx->suspended) in decon_atomic_begin()
393 if (ctx->suspended) in decon_update_plane()
483 if (ctx->suspended) in decon_disable_plane()
504 if (ctx->suspended) in decon_atomic_flush()
533 if (!ctx->suspended) in decon_enable()
[all …]
Dexynos_drm_fimd.c183 bool suspended; member
248 if (ctx->suspended) in fimd_enable_vblank()
280 if (ctx->suspended) in fimd_disable_vblank()
303 if (ctx->suspended) in fimd_wait_for_vblank()
373 ctx->suspended = false; in fimd_clear_channels()
379 ctx->suspended = true; in fimd_clear_channels()
461 if (ctx->suspended) in fimd_commit()
766 if (ctx->suspended) in fimd_atomic_begin()
778 if (ctx->suspended) in fimd_atomic_flush()
801 if (ctx->suspended) in fimd_update_plane()
[all …]
Dexynos_drm_vidi.c45 bool suspended; member
96 if (ctx->suspended) in vidi_enable_vblank()
116 if (ctx->suspended) in vidi_update_plane()
129 ctx->suspended = false; in vidi_enable()
144 ctx->suspended = true; in vidi_disable()
/drivers/platform/x86/
Dsurfacepro3_button.c73 bool suspended; member
124 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify()
125 if (button->suspended) in surface_button_notify()
137 button->suspended = true; in surface_button_suspend()
146 button->suspended = false; in surface_button_resume()
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()
/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()
/drivers/video/backlight/
Dplatform_lcd.c26 unsigned int suspended:1; member
46 if (power == FB_BLANK_POWERDOWN || plcd->suspended) in platform_lcd_set_power()
116 plcd->suspended = 1; in platform_lcd_suspend()
126 plcd->suspended = 0; in platform_lcd_resume()
/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 && ts->input->users) in ad7879_suspend()
312 ts->suspended = true; in ad7879_suspend()
325 if (ts->suspended && !ts->disabled && ts->input->users) in ad7879_resume()
328 ts->suspended = false; in ad7879_resume()
342 if (!ts->suspended && ts->input->users != 0) { in ad7879_toggle()
Dtsc200x-core.c101 bool suspended; member
416 if (!ts->suspended) in tsc200x_open()
432 if (!ts->suspended) in tsc200x_close()
598 if (!ts->suspended && ts->opened) in tsc200x_suspend()
601 ts->suspended = true; in tsc200x_suspend()
614 if (ts->suspended && ts->opened) in tsc200x_resume()
617 ts->suspended = false; in tsc200x_resume()
/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()
/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c179 bool suspended; member
462 if (!rport->suspended) in rockchip_usb2phy_power_on()
476 rport->suspended = false; in rockchip_usb2phy_power_on()
489 if (rport->suspended) in rockchip_usb2phy_power_off()
496 rport->suspended = true; in rockchip_usb2phy_power_off()
697 if (!rport->suspended) in rockchip_chg_detect_work()
833 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
840 if (rport->suspended) { in rockchip_usb2phy_sm_work()
843 rport->suspended = false; in rockchip_usb2phy_sm_work()
850 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
[all …]
/drivers/crypto/ccp/
Dccp-dev.c386 cmd_q->suspended = 1; in ccp_dequeue_cmd()
537 unsigned int suspended = 0; in ccp_queues_suspended() local
544 if (ccp->cmd_q[i].suspended) in ccp_queues_suspended()
545 suspended++; in ccp_queues_suspended()
549 return ccp->cmd_q_count == suspended; in ccp_queues_suspended()
596 ccp->cmd_q[i].suspended = 0; in ccp_dev_resume()
/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c61 bool suspended; member
80 if (clk_wzrd->suspended) in clk_wzrd_clk_notifier()
107 clk_wzrd->suspended = true; in clk_wzrd_suspend()
123 clk_wzrd->suspended = false; in clk_wzrd_resume()
/drivers/platform/olpc/
Dolpc-ec.c64 bool suspended; member
143 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()
/drivers/scsi/libsas/
Dsas_port.c36 if (port->suspended) in sas_resume_port()
37 port->suspended = 0; in sas_resume_port()
90 else if (phy->suspended) { in sas_form_port()
91 phy->suspended = 0; in sas_form_port()
/drivers/usb/host/
Dehci-fsl.c444 "mode=%d usbcmd %08x\n", pdata->suspended, in ehci_fsl_mpc512x_drv_suspend()
453 if (pdata->suspended) { in ehci_fsl_mpc512x_drv_suspend()
490 pdata->suspended = 1; in ehci_fsl_mpc512x_drv_suspend()
508 pdata->suspended, pdata->already_suspended); in ehci_fsl_mpc512x_drv_resume()
520 if (!pdata->suspended) { in ehci_fsl_mpc512x_drv_resume()
525 pdata->suspended = 0; in ehci_fsl_mpc512x_drv_resume()
/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()
804 chip->suspended = true; in isl29018_suspend()
830 chip->suspended = false; in isl29018_resume()
/drivers/pcmcia/
Dds.c1052 if (p_dev->suspended) in pm_state_show()
1067 if ((!p_dev->suspended) && !strncmp(buf, "off", 3)) in pm_state_store()
1069 else if (p_dev->suspended && !strncmp(buf, "on", 2)) in pm_state_store()
1142 if (p_dev->suspended) { in pcmcia_dev_suspend()
1146 p_dev->suspended = 1; in pcmcia_dev_suspend()
1164 p_dev->suspended = 0; in pcmcia_dev_suspend()
1187 if (!p_dev->suspended) { in pcmcia_dev_resume()
1191 p_dev->suspended = 0; in pcmcia_dev_resume()
1222 if (p_dev->socket != skt || p_dev->suspended) in pcmcia_bus_suspend_callback()
1233 if (p_dev->socket != skt || !p_dev->suspended) in pcmcia_bus_resume_callback()
/drivers/gpu/drm/i915/
Dintel_runtime_pm.h54 bool suspended; member
98 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
/drivers/rtc/
Drtc-at91rm9200.c51 static bool suspended; variable
297 if (!suspended) { in at91_rtc_interrupt()
492 suspended = true; in at91_rtc_suspend()
516 suspended = false; in at91_rtc_resume()
Drtc-at91sam9.c76 bool suspended; member
307 if (rtc->suspended) { in at91_rtc_interrupt()
489 rtc->suspended = true; in at91_rtc_suspend()
516 rtc->suspended = false; in at91_rtc_resume()

12345