Home
last modified time | relevance | path

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

/qemu/hw/intc/
H A Dsifive_plic.c82 for (i = 0; i < plic->bitfield_words; i++) { in sifive_plic_claimed()
91 if (i == (plic->bitfield_words - 1)) { in sifive_plic_claimed()
156 if (wordid < plic->bitfield_words) { in sifive_plic_read()
157 return plic->enable[addrid * plic->bitfield_words + wordid]; in sifive_plic_read()
215 if (wordid < plic->bitfield_words) { in sifive_plic_write()
275 memset(s->pending, 0, sizeof(uint32_t) * s->bitfield_words); in sifive_plic_reset()
276 memset(s->claimed, 0, sizeof(uint32_t) * s->bitfield_words); in sifive_plic_reset()
372 s->bitfield_words = (s->num_sources + 31) >> 5; in sifive_plic_realize()
373 s->num_enables = s->bitfield_words * s->num_addrs; in sifive_plic_realize()
376 s->pending = g_new0(uint32_t, s->bitfield_words); in sifive_plic_realize()
[all …]
H A Driscv_aplic.c616 (addr < (APLIC_SETIP_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_read()
622 (addr < (APLIC_CLRIP_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_read()
628 (addr < (APLIC_SETIE_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_read()
634 (addr < (APLIC_CLRIE_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_read()
738 (addr < (APLIC_SETIP_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_write()
744 (addr < (APLIC_CLRIP_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_write()
750 (addr < (APLIC_SETIE_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_write()
756 (addr < (APLIC_CLRIE_BASE + aplic->bitfield_words * 4))) { in riscv_aplic_write()
842 aplic->bitfield_words = (aplic->num_irqs + 31) >> 5; in riscv_aplic_realize()
/qemu/include/hw/intc/
H A Driscv_aplic.h43 uint32_t bitfield_words; member
H A Dsifive_plic.h53 uint32_t bitfield_words; member