129 return ocs->pm_context.pm_state;
const char * ocs_pm_get_state_string(ocs_t *ocs)
Return driver power state as an ascii string.
int32_t ocs_device_detach(ocs_t *ocs)
Remove the PCI device instance.
int32_t ocs_device_attach(ocs_t *ocs)
ocs_pm_state_e ocs_pm_get_state(ocs_t *ocs)
Return driver power state.
int32_t ocs_pm_request(ocs_t *ocs, ocs_pm_msg_e msg, int32_t(*callback)(ocs_t *ocs, int32_t status, void *arg), void *arg)
Handle Power Management Request.
ocs_pm_state_e
Power State values.
ocs_pm_msg_e
Power State change message types.