|
OpenBIC
OpenSource Bridge-IC
|
#include "hal_i3c.h"#include <stdio.h>#include <string.h>#include <stdlib.h>#include <zephyr.h>#include <logging/log.h>#include "libutil.h"
Functions | |
| LOG_MODULE_REGISTER (hal_i3c) | |
| int | i3c_slave_mqueue_read (const struct device *dev, uint8_t *dest, int budget) |
| int | i3c_slave_mqueue_write (const struct device *dev, uint8_t *src, int size) |
| int | i3c_smq_read (I3C_MSG *msg) |
| api to read i3c message from target message queue More... | |
| int | i3c_smq_write (I3C_MSG *msg) |
| api to write i3c message to target message queue More... | |
| int | i3c_attach (I3C_MSG *msg) |
| int | i3c_detach (I3C_MSG *msg) |
| int | i3c_brocast_ccc (I3C_MSG *msg, uint8_t ccc_id, uint8_t ccc_addr) |
| int | i3c_transfer (I3C_MSG *msg) |
| int | i3c_spd_reg_read (I3C_MSG *msg, bool is_nvm) |
| int | i3c_controller_write (I3C_MSG *msg) |
| int | i3c_set_pid (I3C_MSG *msg, uint16_t slot_pid) |
| void | util_init_i3c (void) |
| int | i3c_controller_ibi_init (I3C_MSG *msg) |
| int | i3c_controller_ibi_read (I3C_MSG *msg) |
| int | i3c_target_set_address (I3C_MSG *msg) |
| int | i3c_target_get_dynamic_address (I3C_MSG *msg, uint8_t *dynamic_addr) |
| __weak bool | pal_get_slot_pid (uint16_t *pid) |
| int | i3c_mutex_lock (int bus) |
| int | i3c_mutex_unlock (int bus) |
| int i3c_attach | ( | I3C_MSG * | msg | ) |
| int i3c_brocast_ccc | ( | I3C_MSG * | msg, |
| uint8_t | ccc_id, | ||
| uint8_t | ccc_addr | ||
| ) |
| int i3c_controller_ibi_init | ( | I3C_MSG * | msg | ) |
| int i3c_controller_ibi_read | ( | I3C_MSG * | msg | ) |
| int i3c_controller_write | ( | I3C_MSG * | msg | ) |
| int i3c_detach | ( | I3C_MSG * | msg | ) |
| int i3c_mutex_lock | ( | int | bus | ) |
| int i3c_mutex_unlock | ( | int | bus | ) |
| int i3c_set_pid | ( | I3C_MSG * | msg, |
| uint16_t | slot_pid | ||
| ) |
| int i3c_slave_mqueue_read | ( | const struct device * | dev, |
| uint8_t * | dest, | ||
| int | budget | ||
| ) |
| int i3c_slave_mqueue_write | ( | const struct device * | dev, |
| uint8_t * | src, | ||
| int | size | ||
| ) |
| int i3c_smq_read | ( | I3C_MSG * | msg | ) |
api to read i3c message from target message queue
| msg | i3c message structure |
| int i3c_smq_write | ( | I3C_MSG * | msg | ) |
api to write i3c message to target message queue
| msg | i3c message structure |
| int i3c_spd_reg_read | ( | I3C_MSG * | msg, |
| bool | is_nvm | ||
| ) |
| int i3c_target_get_dynamic_address | ( | I3C_MSG * | msg, |
| uint8_t * | dynamic_addr | ||
| ) |
| int i3c_target_set_address | ( | I3C_MSG * | msg | ) |
| int i3c_transfer | ( | I3C_MSG * | msg | ) |
| LOG_MODULE_REGISTER | ( | hal_i3c | ) |
| __weak bool pal_get_slot_pid | ( | uint16_t * | pid | ) |
| void util_init_i3c | ( | void | ) |