7#ifndef ZEPHYR_INCLUDE_DRIVERS_ESPI_SPI_EMUL_H_
8#define ZEPHYR_INCLUDE_DRIVERS_ESPI_SPI_EMUL_H_
30#define EMUL_ESPI_HOST_CHIPSEL 0
64#ifdef CONFIG_ESPI_PERIPHERAL_ACPI_SHM_REGION
87 unsigned int chipsel);
106#ifdef CONFIG_ESPI_PERIPHERAL_ACPI_SHM_REGION
107 emul_espi_api_get_acpi_shm get_acpi_shm;
168#ifdef CONFIG_ESPI_PERIPHERAL_ACPI_SHM_REGION
int espi_emul_register(const struct device *dev, const char *name, struct espi_emul *emul)
int emul_espi_host_port80_write(const struct device *espi_dev, uint32_t data)
int(* emul_espi_api_get_vw)(struct espi_emul *emul, enum espi_vwire_signal vw, uint8_t *level)
Definition: espi_emul.h:60
int(* emul_trigger_event)(const struct device *dev, struct espi_event *evt)
Definition: espi_emul.h:99
int emul_espi_host_send_vw(const struct device *espi_dev, enum espi_vwire_signal vw, uint8_t level)
struct espi_emul *(* emul_find_emul)(const struct device *dev, unsigned int chipsel)
Definition: espi_emul.h:86
int(* emul_espi_api_set_vw)(struct espi_emul *emul, enum espi_vwire_signal vw, uint8_t level)
Definition: espi_emul.h:45
espi_vwire_signal
eSPI system platform signals that can be send or receive through virtual wire channel
Definition: espi.h:184
struct _snode sys_snode_t
Definition: slist.h:33
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
__UINTPTR_TYPE__ uintptr_t
Definition: stdint.h:75
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
Definition: espi_emul.h:103
emul_espi_api_set_vw set_vw
Definition: espi_emul.h:104
emul_espi_api_get_vw get_vw
Definition: espi_emul.h:105
Definition: espi_emul.h:121
emul_trigger_event trigger_event
Definition: espi_emul.h:127
struct espi_driver_api espi_api
Definition: espi_emul.h:125
emul_find_emul find_emul
Definition: espi_emul.h:128
Definition: espi_emul.h:112
const struct emul_espi_device_api * api
Definition: espi_emul.h:115
uint16_t chipsel
Definition: espi_emul.h:117
sys_snode_t node
Definition: espi_emul.h:113
eSPI event
Definition: espi.h:282
static fdata_t data[2]
Definition: test_fifo_contexts.c:15