Searched refs:sr (Results 1 – 6 of 6) sorted by relevance
161 static bool bus_is_idle(uint32_t sr) in bus_is_idle() argument163 return (sr & I2SR_IBB) == 0; in bus_is_idle()166 static bool bus_is_busy(uint32_t sr) in bus_is_busy() argument168 return !bus_is_idle(sr); in bus_is_busy()171 static bool isr_active(uint32_t sr) in isr_active() argument173 return (sr & I2SR_IIF) == I2SR_IIF; in isr_active()238 uint32_t sr = 0; in i2c_sync_bus() local241 sr = i2c_io_read8(bid, I2SR); in i2c_sync_bus()242 if (sr & I2SR_IAL) { in i2c_sync_bus()247 if ((*match)(sr)) { in i2c_sync_bus()[all …]
209 uint32_t sr = io_read32(secumod_base + SECUMOD_SR); in secumod_it_handler() local212 if (sr & SECUMOD_PIN_VAL(i)) in secumod_it_handler()216 if (sr & SECUMOD_SR_JTAG) in secumod_it_handler()219 if (sr & SECUMOD_SR_TST_PIN) in secumod_it_handler()
130 uint32_t sr = io_read32(wdt->base + WDT_SR); in atmel_wdt_itr_cb() local132 if (sr & WDT_SR_DUNF) in atmel_wdt_itr_cb()134 if (sr & WDT_SR_DERR) in atmel_wdt_itr_cb()
153 uint32_t sr = 0; in atmel_rtc_set_time() local165 sr = atmel_rtc_read(RTC_SR); in atmel_rtc_set_time()166 } while (!(sr & RTC_SR_ACKUPD)); in atmel_rtc_set_time()
81 $(foreach sr, $(arm32-user-sysregs), \82 $(eval $(call process-arm32-user-sysreg,$(sr))))
416 $(foreach sr, $(arm32-sysregs), $(eval $(call process-arm32-sysreg,$(sr))))
Completed in 7 milliseconds