SCMI SHMEM API.
More...
Go to the source code of this file.
◆ SCMI_SHMEM_CHAN_FLAG_IRQ_BIT
#define SCMI_SHMEM_CHAN_FLAG_IRQ_BIT BIT(0) |
◆ SCMI_SHMEM_CHAN_STATUS_BUSY_BIT
#define SCMI_SHMEM_CHAN_STATUS_BUSY_BIT BIT(0) |
◆ scmi_shmem_channel_status()
Read a channel's status.
- Parameters
-
shmem | pointer to shmem device |
◆ scmi_shmem_read_message()
Read a message from a SHMEM area.
- Parameters
-
shmem | pointer to shmem device |
msg | message to write the data into |
- Return values
-
0 | if successful |
negative | errno if failure |
◆ scmi_shmem_update_flags()
Update the channel flags.
- Parameters
-
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 |
◆ scmi_shmem_write_message()
Write a message in the SHMEM area.
- Parameters
-
shmem | pointer to shmem device |
msg | message to write |
- Return values
-
0 | if successful |
negative | errno if failure |