Lines Matching full:i2c

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.
35 * for the I2C controller.
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.
47 * @param speed Pointer to store the I2C speed.
50 * @retval -ERANGE Stored I2C frequency out of supported range.
56 * @brief Perform data transfer to via npcx i2c controller.
58 * @param i2c_dev Pointer to the device structure for i2c controller instance.
61 * @param addr Address of the I2C target device.
62 * @param port Port index of selected i2c port.
67 * @retval -ETIMEDOUT Timeout occurred for a i2c transaction.
76 * @param i2c_dev Pointer to the device structure for i2c controller instance.
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.
87 * @param target_cfg Config struct used by the i2c target driver
88 * @param port Port index of selected i2c port.
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.
100 * @param target_cfg Config struct used by the i2c target driver
103 * @retval -EBUSY If i2c transaction is proceeding.