Home
last modified time | relevance | path

Searched refs:addr_between (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/intc/
H A Dsifive_plic.c35 static bool addr_between(uint32_t addr, uint32_t base, uint32_t num) in addr_between() function
142 if (addr_between(addr, plic->priority_base, plic->num_sources << 2)) { in sifive_plic_read()
146 } else if (addr_between(addr, plic->pending_base, in sifive_plic_read()
151 } else if (addr_between(addr, plic->enable_base, in sifive_plic_read()
159 } else if (addr_between(addr, plic->context_base, in sifive_plic_read()
190 if (addr_between(addr, plic->priority_base, plic->num_sources << 2)) { in sifive_plic_write()
205 } else if (addr_between(addr, plic->pending_base, in sifive_plic_write()
210 } else if (addr_between(addr, plic->enable_base, in sifive_plic_write()
222 } else if (addr_between(addr, plic->context_base, in sifive_plic_write()