|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Shared memory transport definitions for SCMI. More...
Files | |
| file | shmem.h |
| Header file for the SCMI Shared Memory. | |
Functions | |
| int | scmi_shmem_write_message (const struct device *shmem, struct scmi_message *msg, bool use_polling) |
| Write a message in the SHMEM area. | |
| int | scmi_shmem_read_message (const struct device *shmem, struct scmi_message *msg) |
| Read a message from a SHMEM area. | |
| void | scmi_shmem_update_flags (const struct device *shmem, uint32_t mask, uint32_t val) |
| Update the channel flags. | |
| uint32_t | scmi_shmem_channel_status (const struct device *shmem) |
| Read a channel's status. | |
| int | scmi_shmem_vendor_write_message (struct scmi_shmem_layout *layout) |
| Process vendor specific features when writing message. | |
| int | scmi_shmem_vendor_read_message (const struct scmi_shmem_layout *layout) |
| Process vendor specific features when reading message. | |
Shared memory transport definitions for SCMI.
#include <zephyr/drivers/firmware/scmi/shmem.h>
Read a channel's status.
| shmem | Pointer to shmem device |
| int scmi_shmem_read_message | ( | const struct device * | shmem, |
| struct scmi_message * | msg ) |
#include <zephyr/drivers/firmware/scmi/shmem.h>
Read a message from a SHMEM area.
| shmem | Pointer to shmem device |
| msg | Message to write the data into |
#include <zephyr/drivers/firmware/scmi/shmem.h>
Update the channel flags.
| shmem | Pointer to shmem device |
| mask | Value to negate and bitwise-and the old channel flags value |
| val | Value to bitwise and with the mask and bitwise-or with the masked old value |
| int scmi_shmem_vendor_read_message | ( | const struct scmi_shmem_layout * | layout | ) |
#include <zephyr/drivers/firmware/scmi/shmem.h>
Process vendor specific features when reading message.
| layout | Layout of the message |
| int scmi_shmem_vendor_write_message | ( | struct scmi_shmem_layout * | layout | ) |
#include <zephyr/drivers/firmware/scmi/shmem.h>
Process vendor specific features when writing message.
| layout | Layout of the message |
| int scmi_shmem_write_message | ( | const struct device * | shmem, |
| struct scmi_message * | msg, | ||
| bool | use_polling ) |
#include <zephyr/drivers/firmware/scmi/shmem.h>
Write a message in the SHMEM area.
| shmem | Pointer to shmem device |
| msg | Message to write |
| use_polling | true if polling should be used, false otherwise |