Lines Matching +full:op +full:- +full:mode
4 * SPDX-License-Identifier: Apache-2.0
21 * @brief Initializes all host sub-modules in Core domain.
23 * This routine initializes all host sub-modules which HW blocks belong to
31 * @retval -EIO if cannot turn on host sub-module source clocks in core domain.
37 * @brief Initializes all host sub-modules in Host domain.
39 * This routine initializes all host sub-modules which HW blocks belong to
41 * de-asserted signal and eSPI peripheral channel is enabled and ready.
46 * @brief Reads data from a host sub-module which is updated via eSPI.
48 * This routine provides a generic interface to read a host sub-module which
51 * @param op Enum representing opcode for peripheral type and read request.
52 * @param data Parameter to be read from to the host sub-module.
55 * @retval -ENOTSUP if eSPI peripheral is off or not supported.
56 * @retval -EINVAL for unimplemented lpc opcode, but in range.
58 int npcx_host_periph_read_request(enum lpc_peripheral_opcode op,
62 * @brief Writes data to a host sub-module which generates an eSPI transaction.
64 * This routine provides a generic interface to write data to a host sub-module
67 * @param op Enum representing an opcode for peripheral type and write request.
68 * @param data Represents the parameter passed to the host sub-module.
71 * @retval -ENOTSUP if eSPI peripheral is off or not supported.
72 * @retval -EINVAL for unimplemented lpc opcode, but in range.
74 int npcx_host_periph_write_request(enum lpc_peripheral_opcode op,
78 * @brief Enable host access wake-up interrupt. Usually, it is used to wake up
79 * ec during system is in Modern standby power mode.
84 * @brief Disable host access wake-up interrupt.