Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
transport.h File Reference

Header file for the SCMI Transport Layer. More...

#include <zephyr/device.h>
#include <zephyr/kernel.h>

Go to the source code of this file.

Data Structures

struct  scmi_channel
 SCMI channel structure. More...
struct  scmi_transport_api

Typedefs

typedef void(* scmi_channel_cb) (struct scmi_channel *chan)
 Callback function for message replies.

Functions

static struct scmi_channelscmi_transport_request_channel (const struct device *transport, uint32_t proto, bool tx)
 Request an SCMI channel dynamically.
static int scmi_transport_init (const struct device *transport)
 Perform initialization for the transport layer driver.
static int scmi_transport_setup_chan (const struct device *transport, struct scmi_channel *chan, bool tx)
 Setup an SCMI channel.
static int scmi_transport_send_message (const struct device *transport, struct scmi_channel *chan, struct scmi_message *msg)
 Send an SCMI channel.
static int scmi_transport_read_message (const struct device *transport, struct scmi_channel *chan, struct scmi_message *msg)
 Read an SCMI message.
static bool scmi_transport_channel_is_free (const struct device *transport, struct scmi_channel *chan)
 Check if an SCMI channel is free.
int scmi_core_transport_init (const struct device *transport)
 Perfrom SCMI core initialization.

Detailed Description

Header file for the SCMI Transport Layer.