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