Go to the source code of this file.
Functions | |
void | dsi_init_streams (void) |
Initialize stream table. | |
static dsi_stream_t * | __allocate_stream (void) |
Find and allocate unused stream descriptor. | |
int | dsi_is_valid_stream (dsi_stream_t *stream) |
Check if stream is a valid stream descriptor. | |
static int | dsi_is_valid_component (dsi_component_t *component) |
Check if component is a valid component decription. | |
int | dsi_stream_create (dsi_component_t *sender, dsi_component_t *receiver, l4dm_dataspace_t ctrl, l4dm_dataspace_t data, dsi_stream_t **stream) |
Create application stream and connect send/receive component. | |
int | dsi_stream_start (dsi_stream_t *stream) |
Send start messages to send/receive components. | |
int | dsi_stream_stop (dsi_stream_t *stream) |
stop the transfer on a stream
This function calls the stop-functions provided on dsi_stream_create() to stop the data transfer. It is up to the two components to react in a reasonable way, dsi does not check anything, it just calls the functions, first sender, receiver then. | |
int | dsi_stream_close (dsi_stream_t *stream) |
Close stream. | |
Variables | |
static dsi_stream_t | streams [DSI_MAX_STREAMS] |
stream descriptors | |
static int | next_stream |
next index to search for unused stream |
Definition in file app.c.