Home
last modified time | relevance | path

Searched refs:i2c_ctrl (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_npcx_port.c48 const struct device *i2c_ctrl; member
59 if (config->i2c_ctrl == NULL) { in i2c_npcx_port_configure()
74 return npcx_i2c_ctrl_configure(config->i2c_ctrl, dev_config); in i2c_npcx_port_configure()
83 if (config->i2c_ctrl == NULL) { in i2c_npcx_port_get_config()
88 ret = npcx_i2c_ctrl_get_speed(config->i2c_ctrl, &speed); in i2c_npcx_port_get_config()
104 if (config->i2c_ctrl == NULL) { in i2c_npcx_port_transfer()
111 npcx_i2c_ctrl_mutex_lock(config->i2c_ctrl); in i2c_npcx_port_transfer()
117 ret = npcx_i2c_ctrl_transfer(config->i2c_ctrl, msgs, num_msgs, addr, in i2c_npcx_port_transfer()
121 npcx_i2c_ctrl_mutex_unlock(config->i2c_ctrl); in i2c_npcx_port_transfer()
130 if (config->i2c_ctrl == NULL) { in i2c_npcx_port_recover_bus()
[all …]
Di2c_mchp_xec_v2.c106 uint8_t i2c_ctrl; member
149 data->i2c_ctrl = ctrl; in i2c_ctl_wr()
503 data->i2c_ctrl = ctrl; in gen_stop()