Searched refs:suspend_state (Results 1 – 11 of 11) sorted by relevance
/drivers/char/ |
D | apm-emulation.c | 117 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/ |
D | of_regulator.c | 32 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()
|
D | s2mps11.c | 54 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/ |
D | tc6393xb.c | 106 } 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/ |
D | max77693-haptic.c | 62 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/ |
D | aic79xx_pci.c | 396 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()
|
D | aic79xx.h | 1213 struct ahd_suspend_state suspend_state; member
|
/drivers/net/wireless/st/cw1200/ |
D | pm.c | 263 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()
|
D | pm.h | 22 struct cw1200_suspend_state *suspend_state; member
|
/drivers/gpu/drm/mediatek/ |
D | mtk_drm_drv.c | 489 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()
|
D | mtk_drm_drv.h | 50 struct drm_atomic_state *suspend_state; member
|