![]() |
TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
|
#include <errno.h>#include <zephyr/device.h>#include <zephyr/devicetree.h>#include <zephyr/drivers/flash.h>#include <zephyr/logging/log.h>#include <zephyr/sys/util.h>
Data Structures | |
| struct | flash_mux_config |
| struct | flash_mux_data |
Macros | |
| #define | DT_DRV_COMPAT tenstorrent_flash_mux |
| #define | FLASH_MUX_CANDIDATE(node_id, prop, idx) |
| #define | FLASH_MUX_DEFINE(inst) |
Functions | |
| LOG_MODULE_REGISTER (flash_mux, CONFIG_FLASH_LOG_LEVEL) | |
| static const struct device * | flash_mux_active (const struct device *dev) |
| static int | flash_mux_read (const struct device *dev, off_t offset, void *data, size_t len) |
| static int | flash_mux_write (const struct device *dev, off_t offset, const void *data, size_t len) |
| static int | flash_mux_erase (const struct device *dev, off_t offset, size_t len) |
| static const struct flash_parameters * | flash_mux_get_parameters (const struct device *dev) |
| static int | flash_mux_get_size (const struct device *dev, uint64_t *size) |
| static int | flash_mux_init (const struct device *dev) |
| static | DEVICE_API (flash, flash_mux_api) |
| #define DT_DRV_COMPAT tenstorrent_flash_mux |
| #define FLASH_MUX_CANDIDATE | ( | node_id, | |
| prop, | |||
| idx ) |
| #define FLASH_MUX_DEFINE | ( | inst | ) |
|
static |
|
static |
|
static |
|
static |
| LOG_MODULE_REGISTER | ( | flash_mux | , |
| CONFIG_FLASH_LOG_LEVEL | ) |