Searched refs:IS_SET (Results 1 – 1 of 1) sorted by relevance
23 #define IS_SET(config, reg, value) (sys_read8(I2C_REG(config, reg)) & (value)) macro75 return IS_SET(config, REG_STATUS, SF_STATUS_TIP); in i2c_sifive_busy()101 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_send_addr()149 if (IS_SET(config, REG_STATUS, SF_STATUS_RXACK)) { in i2c_sifive_write_msg()