Lines Matching refs:IS_BIT_SET
206 return IS_BIT_SET(inst->SMBCST, NPCX_SMBCST_BB); in i2c_ctrl_bus_busy()
428 if (!IS_BIT_SET(inst->SMBCTL1, NPCX_SMBCTL1_STOP)) { in i2c_ctrl_wait_stop_completed()
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()
761 if (IS_BIT_SET(status, NPCX_SMBST_BER)) { in i2c_ctrl_target_isr()
787 if (IS_BIT_SET(status, NPCX_SMBST_SLVSTP)) { in i2c_ctrl_target_isr()
800 if (IS_BIT_SET(status, NPCX_SMBST_NEGACK)) { in i2c_ctrl_target_isr()
808 if (IS_BIT_SET(status, NPCX_SMBST_NMATCH)) { in i2c_ctrl_target_isr()
813 if (IS_BIT_SET(inst->SMBST, NPCX_SMBST_XMIT)) { in i2c_ctrl_target_isr()
833 if (IS_BIT_SET(status, NPCX_SMBST_SDAST)) { in i2c_ctrl_target_isr()
880 if (IS_BIT_SET(status, NPCX_SMBST_BER)) { in i2c_ctrl_isr()
899 if (IS_BIT_SET(status, NPCX_SMBST_NEGACK)) { in i2c_ctrl_isr()
915 if (IS_BIT_SET(status, NPCX_SMBST_SDAST)) { in i2c_ctrl_isr()
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()