Lines Matching refs:SMBCTL3
214 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_BNK_SEL); in i2c_ctrl_bank_sel()
216 inst->SMBCTL3 &= ~BIT(NPCX_SMBCTL3_BNK_SEL); in i2c_ctrl_bank_sel()
239 inst->SMBCTL3 = (inst->SMBCTL3 & ~BIT(NPCX_SMBCTL3_SCL_LVL)) in i2c_ctrl_norm_stall_scl()
255 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_SCL_LVL) | BIT(NPCX_SMBCTL3_SDA_LVL); in i2c_ctrl_norm_free_scl()
268 inst->SMBCTL3 = (inst->SMBCTL3 & ~BIT(NPCX_SMBCTL3_SDA_LVL)) in i2c_ctrl_norm_stall_sda()
284 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_SDA_LVL) | BIT(NPCX_SMBCTL3_SCL_LVL); in i2c_ctrl_norm_free_sda()
392 inst->SMBCTL3 &= ~(BIT(NPCX_SMBCTL3_400K)); in i2c_ctrl_config_bus_freq()
396 SET_FIELD(inst->SMBCTL3, NPCX_SMBCTL3_SCLFRQ7_8_FIELD, in i2c_ctrl_config_bus_freq()
402 inst->SMBCTL3 |= BIT(NPCX_SMBCTL3_400K); in i2c_ctrl_config_bus_freq()
445 if (IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SCL_LVL) && in i2c_ctrl_is_scl_sda_both_high()
446 IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SDA_LVL)) { in i2c_ctrl_is_scl_sda_both_high()
1007 if (!IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SCL_LVL)) { in npcx_i2c_ctrl_recover_bus()
1014 if (IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SCL_LVL)) { in npcx_i2c_ctrl_recover_bus()
1020 if (IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SDA_LVL)) { in npcx_i2c_ctrl_recover_bus()
1034 if (IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SDA_LVL)) { in npcx_i2c_ctrl_recover_bus()
1056 if (!IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SDA_LVL)) { in npcx_i2c_ctrl_recover_bus()
1060 if (!IS_BIT_SET(inst->SMBCTL3, NPCX_SMBCTL3_SCL_LVL)) { in npcx_i2c_ctrl_recover_bus()