/** * Timeout callback for transition * * @param data Unused * @return Always returns FALSE, to disable the timeout */ static gboolean transition_timeout_cb(gpointer data) { (void)data; transition_timeout_cb_id = 0; mce_rem_submode_int32(MCE_TRANSITION_SUBMODE); return FALSE; }
/** * Timeout callback for transition * * @param data Unused * @return Always returns FALSE, to disable the timeout */ static gboolean mce_dsme_state_report_cb(gpointer data) { (void)data; mce_dsme_state_report_id = 0; mce_rem_submode_int32(MCE_TRANSITION_SUBMODE); return FALSE; }
/** * Request soft poweron */ void request_soft_poweron(void) { /* Disable the soft poweroff LED pattern */ execute_datapipe_output_triggers(&led_pattern_deactivate_pipe, MCE_LED_PATTERN_DEVICE_SOFT_OFF, USE_INDATA); mce_rem_submode_int32(MCE_SOFTOFF_SUBMODE); execute_datapipe(&display_state_req_pipe, GINT_TO_POINTER(MCE_DISPLAY_ON), USE_INDATA, CACHE_INDATA); }