Home
last modified time | relevance | path

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

1234

/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/phy/
Dphy-rockchip-inno-usb2.c103 bool suspended; member
303 if (!rport->suspended) in rockchip_usb2phy_power_on()
314 rport->suspended = false; in rockchip_usb2phy_power_on()
326 if (rport->suspended) in rockchip_usb2phy_power_off()
333 rport->suspended = true; in rockchip_usb2phy_power_off()
415 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
422 if (rport->suspended) { in rockchip_usb2phy_sm_work()
425 rport->suspended = false; in rockchip_usb2phy_sm_work()
432 if (!rport->suspended) { in rockchip_usb2phy_sm_work()
435 rport->suspended = true; in rockchip_usb2phy_sm_work()
[all …]
/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c57 bool suspended; member
92 if (ctx->suspended) in decon_wait_for_vblank()
172 if (ctx->suspended) in decon_commit()
236 if (ctx->suspended) in decon_enable_vblank()
261 if (ctx->suspended) in decon_disable_vblank()
391 if (ctx->suspended) in decon_atomic_begin()
413 if (ctx->suspended) in decon_update_plane()
503 if (ctx->suspended) in decon_disable_plane()
524 if (ctx->suspended) in decon_atomic_flush()
552 if (!ctx->suspended) in decon_enable()
[all …]
Dexynos_drm_fimd.c195 bool suspended; member
246 if (ctx->suspended) in fimd_enable_vblank()
278 if (ctx->suspended) in fimd_disable_vblank()
301 if (ctx->suspended) in fimd_wait_for_vblank()
376 ctx->suspended = false; in fimd_clear_channels()
383 ctx->suspended = true; in fimd_clear_channels()
464 if (ctx->suspended) in fimd_commit()
711 if (ctx->suspended) in fimd_atomic_begin()
723 if (ctx->suspended) in fimd_atomic_flush()
744 if (ctx->suspended) in fimd_update_plane()
[all …]
Dexynos_drm_vidi.c51 bool suspended; member
103 if (ctx->suspended) in vidi_enable_vblank()
123 if (ctx->suspended) in vidi_update_plane()
136 ctx->suspended = false; in vidi_enable()
151 ctx->suspended = true; in vidi_disable()
/drivers/input/misc/
Dcma3000_d0x.c81 bool suspended; member
233 if (!data->suspended) in cma3000_open()
249 if (!data->suspended) in cma3000_close()
261 if (!data->suspended && data->opened) in cma3000_suspend()
264 data->suspended = true; in cma3000_suspend()
275 if (data->suspended && data->opened) in cma3000_resume()
278 data->suspended = false; in cma3000_resume()
Dregulator-haptic.c32 bool suspended; member
91 if (!haptic->suspended) in regulator_haptic_work()
219 haptic->suspended = true; in regulator_haptic_suspend()
234 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.c30 unsigned int suspended:1; member
50 if (power == FB_BLANK_POWERDOWN || plcd->suspended) in platform_lcd_set_power()
120 plcd->suspended = 1; in platform_lcd_suspend()
130 plcd->suspended = 0; in platform_lcd_resume()
/drivers/platform/x86/
Dsurfacepro3_button.c71 bool suspended; member
123 if (button->suspended) in surface_button_notify()
135 button->suspended = true; in surface_button_suspend()
144 button->suspended = false; in surface_button_resume()
Ddell-rbtn.c31 bool suspended; member
244 rbtn_data->suspended = false; in rbtn_clear_suspended_flag()
252 rbtn_data->suspended = true; in rbtn_suspend()
453 if (rbtn_data->suspended) { in rbtn_notify()
/drivers/net/ieee802154/
Dfakelb.c44 bool suspended; member
74 WARN_ON(current_phy->suspended); in fakelb_hw_xmit()
98 phy->suspended = false; in fakelb_hw_start()
110 phy->suspended = true; in fakelb_hw_stop()
/drivers/input/touchscreen/
Dad7879.c120 bool suspended; /* P: input->mutex */ member
272 if (!ts->disabled && !ts->suspended) in ad7879_open()
283 if (!ts->disabled && !ts->suspended) in ad7879_close()
293 if (!ts->suspended && !ts->disabled && ts->input->users) in ad7879_suspend()
296 ts->suspended = true; in ad7879_suspend()
309 if (ts->suspended && !ts->disabled && ts->input->users) in ad7879_resume()
312 ts->suspended = false; in ad7879_resume()
326 if (!ts->suspended && ts->input->users != 0) { in ad7879_toggle()
Dtsc200x-core.c110 bool suspended; member
429 if (!ts->suspended) in tsc200x_open()
445 if (!ts->suspended) in tsc200x_close()
643 if (!ts->suspended && ts->opened) in tsc200x_suspend()
646 ts->suspended = true; in tsc200x_suspend()
659 if (ts->suspended && ts->opened) in tsc200x_resume()
662 ts->suspended = false; in tsc200x_resume()
Dads7846.c138 bool suspended; /* P: lock */ member
205 if (!ts->disabled && !ts->suspended) { in ads7846_stop()
217 if (!ts->disabled && !ts->suspended) { in ads7846_restart()
255 if (!ts->suspended) in ads7846_disable()
272 if (!ts->suspended) in ads7846_enable()
894 if (!ts->suspended) { in ads7846_suspend()
902 ts->suspended = true; in ads7846_suspend()
916 if (ts->suspended) { in ads7846_resume()
918 ts->suspended = false; in ads7846_resume()
/drivers/crypto/ccp/
Dccp-dev.c378 cmd_q->suspended = 1; in ccp_dequeue_cmd()
522 unsigned int suspended = 0; in ccp_queues_suspended() local
529 if (ccp->cmd_q[i].suspended) in ccp_queues_suspended()
530 suspended++; in ccp_queues_suspended()
534 return ccp->cmd_q_count == suspended; in ccp_queues_suspended()
/drivers/platform/olpc/
Dolpc-ec.c54 bool suspended; member
130 if (WARN_ON(ec->suspended)) in olpc_ec_cmd()
300 ec->suspended = true; in olpc_ec_suspend()
310 ec->suspended = false; in olpc_ec_resume()
/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c72 bool suspended; member
91 if (clk_wzrd->suspended) in clk_wzrd_clk_notifier()
118 clk_wzrd->suspended = true; in clk_wzrd_suspend()
134 clk_wzrd->suspended = false; in clk_wzrd_resume()
/drivers/scsi/libsas/
Dsas_port.c52 if (port->suspended) in sas_resume_port()
53 port->suspended = 0; in sas_resume_port()
104 else if (phy->suspended) { in sas_form_port()
105 phy->suspended = 0; in sas_form_port()
/drivers/usb/host/
Dehci-fsl.c407 "mode=%d usbcmd %08x\n", pdata->suspended, in ehci_fsl_mpc512x_drv_suspend()
416 if (pdata->suspended) { in ehci_fsl_mpc512x_drv_suspend()
453 pdata->suspended = 1; in ehci_fsl_mpc512x_drv_suspend()
471 pdata->suspended, pdata->already_suspended); in ehci_fsl_mpc512x_drv_resume()
483 if (!pdata->suspended) { in ehci_fsl_mpc512x_drv_resume()
488 pdata->suspended = 0; in ehci_fsl_mpc512x_drv_resume()
/drivers/pcmcia/
Dds.c1055 if (p_dev->suspended) in pm_state_show()
1070 if ((!p_dev->suspended) && !strncmp(buf, "off", 3)) in pm_state_store()
1072 else if (p_dev->suspended && !strncmp(buf, "on", 2)) in pm_state_store()
1145 if (p_dev->suspended) { in pcmcia_dev_suspend()
1149 p_dev->suspended = 1; in pcmcia_dev_suspend()
1167 p_dev->suspended = 0; in pcmcia_dev_suspend()
1190 if (!p_dev->suspended) { in pcmcia_dev_resume()
1194 p_dev->suspended = 0; in pcmcia_dev_resume()
1225 if (p_dev->socket != skt || p_dev->suspended) in pcmcia_bus_suspend_callback()
1236 if (p_dev->socket != skt || !p_dev->suspended) in pcmcia_bus_resume_callback()
/drivers/watchdog/
DiTCO_wdt.c107 bool suspended; member
615 iTCO_wdt_private.suspended = false; in iTCO_wdt_suspend_noirq()
619 iTCO_wdt_private.suspended = true; in iTCO_wdt_suspend_noirq()
626 if (iTCO_wdt_private.suspended) in iTCO_wdt_resume_noirq()
/drivers/acpi/
Dbutton.c111 bool suspended; member
406 if (button->suspended) in acpi_button_notify()
435 button->suspended = true; in acpi_button_suspend()
444 button->suspended = false; in acpi_button_resume()
/drivers/rtc/
Drtc-at91rm9200.c59 static bool suspended; variable
316 if (!suspended) { in at91_rtc_interrupt()
509 suspended = true; in at91_rtc_suspend()
533 suspended = false; in at91_rtc_resume()
/drivers/staging/iio/light/
Disl29018.c107 bool suspended; member
399 if (chip->suspended) { in isl29018_read_raw()
735 chip->suspended = false; in isl29018_probe()
769 chip->suspended = true; in isl29018_suspend()
784 chip->suspended = false; in isl29018_resume()

1234