L4Re Operating System Framework
Interface and Usage Documentation
|
Functions | |
int | l4vbus_pm_suspend (l4_cap_idx_t vbus, l4vbus_device_handle_t handle) |
Suspend the device. | |
int | l4vbus_pm_resume (l4_cap_idx_t vbus, l4vbus_device_handle_t handle) |
Resume the device. | |
int l4vbus_pm_resume | ( | l4_cap_idx_t | vbus, |
l4vbus_device_handle_t | handle | ||
) |
Resume the device.
vbus | V-BUS capability |
handle | Handle for the device to be resumed |
Switches the device from low-power mode to normal operation and restores the saved state.
0 | Success. |
Referenced by L4vbus::Pm< DEC >::pm_resume().
int l4vbus_pm_suspend | ( | l4_cap_idx_t | vbus, |
l4vbus_device_handle_t | handle | ||
) |
Suspend the device.
vbus | V-BUS capability |
handle | Handle for the device to be suspended |
Saves the state of the device and puts it into a low-power mode.
0 | Success. |
Referenced by L4vbus::Pm< DEC >::pm_suspend().