Home
last modified time | relevance | path

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

/openbmc/qemu/hw/intc/
H A Dsifive_plic.c154 uint32_t wordid = (addr & (plic->enable_stride - 1)) >> 2; in sifive_plic_read() local
156 if (wordid < plic->bitfield_words) { in sifive_plic_read()
157 return plic->enable[addrid * plic->bitfield_words + wordid]; in sifive_plic_read()
213 uint32_t wordid = (addr & (plic->enable_stride - 1)) >> 2; in sifive_plic_write() local
215 if (wordid < plic->bitfield_words) { in sifive_plic_write()
216 plic->enable[addrid * plic->bitfield_words + wordid] = value; in sifive_plic_write()