| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Public APIs for eSPI driver. More...
#include <zephyr/sys/__assert.h>#include <zephyr/types.h>#include <zephyr/device.h>#include <syscalls/espi_saf.h>Go to the source code of this file.
Data Structures | |
| struct | espi_saf_cfg | 
| eSPI SAF configuration parameters  More... | |
| struct | espi_saf_packet | 
| eSPI SAF transaction packet format  More... | |
Functions | |
| int | espi_saf_config (const struct device *dev, const struct espi_saf_cfg *cfg) | 
| Configure operation of a eSPI controller.  More... | |
| int | espi_saf_set_protection_regions (const struct device *dev, const struct espi_saf_protection *pr) | 
| Set one or more SAF protection regions.  More... | |
| int | espi_saf_activate (const struct device *dev) | 
| Activate SAF block.  More... | |
| bool | espi_saf_get_channel_status (const struct device *dev) | 
| Query to see if SAF is ready.  More... | |
| int | espi_saf_flash_read (const struct device *dev, struct espi_saf_packet *pckt) | 
| Sends a read request packet for slave attached flash.  More... | |
| int | espi_saf_flash_write (const struct device *dev, struct espi_saf_packet *pckt) | 
| Sends a write request packet for slave attached flash.  More... | |
| int | espi_saf_flash_erase (const struct device *dev, struct espi_saf_packet *pckt) | 
| Sends a write request packet for slave attached flash.  More... | |
| static void | espi_saf_init_callback (struct espi_callback *callback, espi_callback_handler_t handler, enum espi_bus_event evt_type) | 
| Helper to initialize a struct espi_callback properly.  More... | |
| static int | espi_saf_add_callback (const struct device *dev, struct espi_callback *callback) | 
| Add an application callback.  More... | |
| static int | espi_saf_remove_callback (const struct device *dev, struct espi_callback *callback) | 
| Remove an application callback.  More... | |
Public APIs for eSPI driver.