Lines Matching +full:controller +full:- +full:out
4 * SPDX-License-Identifier: Apache-2.0
17 * @brief Lock the mutex of npcx i2c controller.
19 * @param i2c_dev Pointer to the device structure for i2c controller instance.
24 * @brief Unlock the mutex of npcx i2c controller.
26 * @param i2c_dev Pointer to the device structure for i2c controller instance.
31 * @brief Configure operation of a npcx i2c controller.
33 * @param i2c_dev Pointer to the device structure for i2c controller instance.
34 * @param dev_config Bit-packed 32-bit value to the device runtime configuration
35 * for the I2C controller.
38 * @retval -EIO General input / output error, failed to configure device.
39 * @retval -ERANGE Out of supported i2c frequency.
44 * @brief Get I2C controller speed.
46 * @param i2c_dev Pointer to the device structure for i2c controller instance.
50 * @retval -ERANGE Stored I2C frequency out of supported range.
51 * @retval -EIO Controller is not configured.
56 * @brief Perform data transfer to via npcx i2c controller.
58 * @param i2c_dev Pointer to the device structure for i2c controller instance.
65 * @retval -EIO General input / output error.
66 * @retval -ENXIO No slave address match.
67 * @retval -ETIMEDOUT Timeout occurred for a i2c transaction.
76 * @param i2c_dev Pointer to the device structure for i2c controller instance.
79 * @retval -EBUSY fail to recover the bus.
84 * @brief Registers the provided config as Target device of a npcx i2c controller.
86 * @param i2c_dev Pointer to the device structure for i2c controller instance.
91 * @retval -EBUSY If i2c transaction is proceeding.
97 * @brief Unregisters the provided config as Target device of a npcx i2c controller.
99 * @param i2c_dev Pointer to the device structure for i2c controller instance.
103 * @retval -EBUSY If i2c transaction is proceeding.
104 * @retval -EINVAL If parameters are invalid