Lines Matching full:device
10 #include <zephyr/device.h>
19 * @param i2c_dev Pointer to the device structure for i2c controller instance.
21 void npcx_i2c_ctrl_mutex_lock(const struct device *i2c_dev);
26 * @param i2c_dev Pointer to the device structure for i2c controller instance.
28 void npcx_i2c_ctrl_mutex_unlock(const struct device *i2c_dev);
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
38 * @retval -EIO General input / output error, failed to configure device.
41 int npcx_i2c_ctrl_configure(const struct device *i2c_dev, uint32_t dev_config);
46 * @param i2c_dev Pointer to the device structure for i2c controller instance.
53 int npcx_i2c_ctrl_get_speed(const struct device *i2c_dev, uint32_t *speed);
58 * @param i2c_dev Pointer to the device structure for i2c controller instance.
61 * @param addr Address of the I2C target device.
69 int npcx_i2c_ctrl_transfer(const struct device *i2c_dev, struct i2c_msg *msgs,
76 * @param i2c_dev Pointer to the device structure for i2c controller instance.
81 int npcx_i2c_ctrl_recover_bus(const struct device *dev);
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.
93 int npcx_i2c_ctrl_target_register(const struct device *i2c_dev,
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.
106 int npcx_i2c_ctrl_target_unregister(const struct device *i2c_dev,