Lines Matching full:espi
9 * @brief Public APIs for eSPI driver
27 * @brief eSPI Driver APIs
28 * @defgroup espi_interface ESPI Driver APIs
34 * @brief eSPI I/O mode capabilities
46 *| eSPI host +-------------+ |
63 *| | | | eSPI Flash | | eSPI protocol block | |
77 * +---------+ | + + + + | eSPI bus
84 *| eSPI slave |
87 *| eSPI endpoint | VWIRE | OOB | Flash |
93 * @brief eSPI channel.
95 * Identifies each eSPI logical channel supported by eSPI controller
100 * over eSPI can occur if all channels are disabled or not ready
110 * @brief eSPI bus event.
112 * eSPI bus event to indicate events for which user can register callbacks
124 * @brief eSPI peripheral channel events.
126 * eSPI peripheral channel event types to indicate users.
164 * @brief eSPI peripheral notification type.
166 * eSPI peripheral notification event details to indicate which peripheral
167 * trigger the eSPI callback
181 * @brief eSPI cycle types supported over eSPI peripheral channel
196 * @brief eSPI system platform signals that can be send or receive through
260 /* eSPI LPC peripherals. */
321 * @brief eSPI event
333 * @brief eSPI bus configuration parameters
345 * @brief eSPI peripheral request packet format
356 * @brief eSPI out-of-band transaction packet format
364 * @brief eSPI flash transactions packet format
378 * @param dev Device struct for the eSPI device.
416 * eSPI driver API definition and system call entry points
480 * @brief Configure operation of a eSPI controller.
482 * This routine provides a generic interface to override eSPI controller
485 * If this eSPI controller is acting as slave, the values set here
487 * issued by the eSPI master during initialization.
489 * If this eSPI controller is acting as master, the values set here
490 * will be used by eSPI master to determine minimum common capabilities with
491 * eSPI slave then send via SET_CONFIGURATION command.
495 * | eSPI | | eSPI | | eSPI | | eSPI | | eSPI |
499 * | espi_config | Set eSPI | Set eSPI | espi_config |
508 * | | eSPI caps | | |
520 * @param cfg the device runtime configuration for the eSPI controller.
525 * @retval -ENOTSUP capability not supported by eSPI slave.
545 * @param ch the eSPI channel for which status is to be retrieved.
547 * @retval true If eSPI channel is ready.
563 * @brief Sends memory, I/O or message read request over eSPI.
572 * @retval -ENOTSUP if eSPI controller doesn't support raw packets and instead
593 * @brief Sends memory, I/O or message write request over eSPI.
602 * @retval -ENOTSUP if eSPI controller doesn't support raw packets and instead
624 * updated over eSPI.
627 * information was updated by an eSPI transaction. Reading may trigger
628 * a transaction. The eSPI packet is assembled by the HW block.
635 * @retval -ENOTSUP if eSPI peripheral is off or not supported.
657 * @brief Writes data to a LPC peripheral which generates an eSPI transaction.
660 * triggers an eSPI transaction. The eSPI packet is assembled by the HW
668 * @retval -ENOTSUP if eSPI peripheral is off or not supported.
696 * @param signal The signal to be send to eSPI master.
720 * from eSPI master and retrieve the signal level.
723 * @param signal the signal to be requested from eSPI master.
743 * @brief Sends SMBus transaction (out-of-band) packet over eSPI bus.
746 * and send into packet over eSPI bus
770 * @brief Receives SMBus transaction (out-of-band) packet from eSPI bus.
773 * transaction from eSPI bus
800 * component shared between the eSPI master and eSPI slaves.
805 * @retval -ENOTSUP eSPI flash logical channel transactions not supported.
806 * @retval -EBUSY eSPI flash channel is not ready or disabled by master.
829 * components shared between the eSPI master and eSPI slaves.
834 * @retval -ENOTSUP eSPI flash logical channel transactions not supported.
835 * @retval -EBUSY eSPI flash channel is not ready or disabled by master.
858 * components shared between the eSPI master and eSPI slaves.
863 * @retval -ENOTSUP eSPI flash logical channel transactions not supported.
864 * @retval -EBUSY eSPI flash channel is not ready or disabled by master.
888 *| App | | eSPI driver | | HW | |eSPI Host|
895 * | | | eSPI reset | eSPI host
904 * | | | VW CH ready| eSPI host
919 * | | | SLP_S5 | eSPI host
929 * | | | HOST_RST | eSPI host
936 * | | | C10 | eSPI host
950 * @param evt_type indicates the eSPI event relevant for the handler.
972 * eSPI event is not specified.
1025 #include <syscalls/espi.h>