src/ssx/occhw/occhw_async_gpe.c
/// Internal function that handles aysnc IPC command responses
Internal function that handles aysnc IPC command responses
Internal function that handles aysnc IPC command responses
void
gpe_async_handler(ipc_msg_t* rsp, void* arg)
{
    if(rsp->ipc_rc != IPC_RC_SUCCESS)
    {
        async_error_handler((AsyncQueue*)arg, ASYNC_REQUEST_STATE_FAILED);
    }
    else
    {
        async_handler((AsyncQueue*) arg);
    }
}
void gpe_async_handler ( ipc_msg_t * rsp , void * arg ) { if ( rsp -> ipc_rc != IPC_RC_SUCCESS ) { async_error_handler ( ( AsyncQueue * ) arg , ASYNC_REQUEST_STATE_FAILED ) ; } else { async_handler ( ( AsyncQueue * ) arg ) ; } }
Internal function that handles aysnc IPC command responses
Internal function that handles aysnc IPC command responses
// check for errors detected by the GPE code //calls gpe_error_method before calling async_handler //handle async callbacks and process the next gpe request in the queue //(if any)