/* I2C local functions which touch the registers in 'Normal' bank. These utilities will change bank back to FIFO mode when leaving themselves in case the other utilities access the registers in 'FIFO' bank.  */
static void i2c_ctrl_hold_bus(const struct device *dev, int stall)
/* I2C local functions which touch the registers in 'Normal' bank. These utilities will change bank back to FIFO mode when leaving themselves in case the other utilities access the registers in 'FIFO' bank.  */
static void i2c_ctrl_hold_bus(const struct device *dev, int stall)
{
	i2c_ctrl_bank_sel(dev, NPCX_I2C_BANK_NORMAL);
	if (stall) {
		i2c_ctrl_norm_stall_scl(dev);
	} else {
		i2c_ctrl_norm_free_scl(dev);
	}
	i2c_ctrl_bank_sel(dev, NPCX_I2C_BANK_FIFO);
}