Searched refs:i2c_ctrl (Results 1 – 2 of 2) sorted by relevance
48 const struct device *i2c_ctrl; member59 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 …]
106 uint8_t i2c_ctrl; member149 data->i2c_ctrl = ctrl; in i2c_ctl_wr()503 data->i2c_ctrl = ctrl; in gen_stop()