Home
last modified time | relevance | path

Searched refs:suspend_state (Results 1 – 11 of 11) sorted by relevance

/drivers/char/
Dapm-emulation.c117 enum apm_suspend_state suspend_state; member
231 if (as->suspend_state == SUSPEND_PENDING && in apm_read()
233 as->suspend_state = SUSPEND_READ; in apm_read()
279 switch (as->suspend_state) { in apm_ioctl()
286 as->suspend_state = SUSPEND_ACKED; in apm_ioctl()
304 as->suspend_state != SUSPEND_ACKED)) in apm_ioctl()
312 as->suspend_state = SUSPEND_WAIT; in apm_ioctl()
325 as->suspend_state = SUSPEND_NONE; in apm_ioctl()
348 if (as->suspend_state == SUSPEND_PENDING || in apm_release()
349 as->suspend_state == SUSPEND_READ) in apm_release()
[all …]
/drivers/regulator/
Dof_regulator.c32 struct regulator_state *suspend_state; in of_get_regulation_constraints() local
124 suspend_state = &constraints->state_mem; in of_get_regulation_constraints()
127 suspend_state = &constraints->state_disk; in of_get_regulation_constraints()
137 if (!suspend_np || !suspend_state) in of_get_regulation_constraints()
148 suspend_state->mode = ret; in of_get_regulation_constraints()
157 suspend_state->enabled = true; in of_get_regulation_constraints()
160 suspend_state->disabled = true; in of_get_regulation_constraints()
164 suspend_state->uV = pval; in of_get_regulation_constraints()
170 suspend_state = NULL; in of_get_regulation_constraints()
Ds2mps11.c54 DECLARE_BITMAP(suspend_state, S2MPS_REGULATOR_MAX);
525 if (test_bit(rdev_get_id(rdev), s2mps11->suspend_state)) in s2mps14_regulator_enable()
533 if (test_bit(rdev_get_id(rdev), s2mps11->suspend_state)) in s2mps14_regulator_enable()
587 set_bit(rdev_get_id(rdev), s2mps11->suspend_state); in s2mps14_regulator_set_suspend_disable()
/drivers/mfd/
Dtc6393xb.c106 } suspend_state; member
776 tc6393xb->suspend_state.ccr = ioread16(tc6393xb->scr + SCR_CCR); in tc6393xb_suspend()
777 tc6393xb->suspend_state.fer = ioread8(tc6393xb->scr + SCR_FER); in tc6393xb_suspend()
780 tc6393xb->suspend_state.gpo_dsr[i] = in tc6393xb_suspend()
782 tc6393xb->suspend_state.gpo_doecr[i] = in tc6393xb_suspend()
784 tc6393xb->suspend_state.gpi_bcr[i] = in tc6393xb_suspend()
809 iowrite8(tc6393xb->suspend_state.fer, tc6393xb->scr + SCR_FER); in tc6393xb_resume()
811 iowrite16(tc6393xb->suspend_state.ccr, tc6393xb->scr + SCR_CCR); in tc6393xb_resume()
820 iowrite8(tc6393xb->suspend_state.gpo_dsr[i], in tc6393xb_resume()
822 iowrite8(tc6393xb->suspend_state.gpo_doecr[i], in tc6393xb_resume()
[all …]
/drivers/input/misc/
Dmax77693-haptic.c62 bool suspend_state; member
311 haptic->suspend_state = false; in max77693_haptic_probe()
389 haptic->suspend_state = true; in max77693_haptic_suspend()
400 if (haptic->suspend_state) { in max77693_haptic_resume()
402 haptic->suspend_state = false; in max77693_haptic_resume()
/drivers/scsi/aic7xxx/
Daic79xx_pci.c396 ahd->suspend_state.pci_state.devconfig = in ahd_pci_suspend()
398 ahd->suspend_state.pci_state.command = in ahd_pci_suspend()
400 ahd->suspend_state.pci_state.csize_lattime = in ahd_pci_suspend()
409 ahd->suspend_state.pci_state.devconfig, /*bytes*/4); in ahd_pci_resume()
411 ahd->suspend_state.pci_state.command, /*bytes*/1); in ahd_pci_resume()
413 ahd->suspend_state.pci_state.csize_lattime, /*bytes*/1); in ahd_pci_resume()
Daic79xx.h1213 struct ahd_suspend_state suspend_state; member
/drivers/net/wireless/st/cw1200/
Dpm.c263 pm_state->suspend_state = state; in cw1200_wow_suspend()
312 state = pm_state->suspend_state; in cw1200_wow_resume()
313 pm_state->suspend_state = NULL; in cw1200_wow_resume()
Dpm.h22 struct cw1200_suspend_state *suspend_state; member
/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c489 private->suspend_state = drm_atomic_helper_suspend(drm); in mtk_drm_sys_suspend()
490 if (IS_ERR(private->suspend_state)) { in mtk_drm_sys_suspend()
492 return PTR_ERR(private->suspend_state); in mtk_drm_sys_suspend()
504 drm_atomic_helper_resume(drm, private->suspend_state); in mtk_drm_sys_resume()
Dmtk_drm_drv.h50 struct drm_atomic_state *suspend_state; member