L4Re Operating System Framework – Interface and Usage Documentation
Loading...
Searching...
No Matches
L4vbus power management functions
+ Collaboration diagram for L4vbus power management functions:

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.
 

Detailed Description

Function Documentation

◆ l4vbus_pm_resume()

int l4vbus_pm_resume ( l4_cap_idx_t  vbus,
l4vbus_device_handle_t  handle 
)

Resume the device.

Parameters
vbusV-BUS capability
handleHandle for the device to be resumed

Switches the device from low-power mode to normal operation and restores the saved state.

Return values
0Success.

Referenced by L4vbus::Pm< DEC >::pm_resume().

+ Here is the caller graph for this function:

◆ l4vbus_pm_suspend()

int l4vbus_pm_suspend ( l4_cap_idx_t  vbus,
l4vbus_device_handle_t  handle 
)

Suspend the device.

Parameters
vbusV-BUS capability
handleHandle for the device to be suspended

Saves the state of the device and puts it into a low-power mode.

Return values
0Success.

Referenced by L4vbus::Pm< DEC >::pm_suspend().

+ Here is the caller graph for this function: