Lines Matching refs:word
189 uint32_t word) in riscv_aplic_read_input_word() argument
194 irq = word * 32 + i; in riscv_aplic_read_input_word()
204 uint32_t word) in riscv_aplic_read_pending_word() argument
209 irq = word * 32 + i; in riscv_aplic_read_pending_word()
272 uint32_t word, uint32_t value, in riscv_aplic_set_pending_word() argument
278 irq = word * 32 + i; in riscv_aplic_set_pending_word()
290 int word) in riscv_aplic_read_enabled_word() argument
295 irq = word * 32 + i; in riscv_aplic_read_enabled_word()
339 uint32_t word, uint32_t value, in riscv_aplic_set_enabled_word() argument
345 irq = word * 32 + i; in riscv_aplic_set_enabled_word()
594 uint32_t irq, word, idc; in riscv_aplic_read() local
632 word = (addr - APLIC_SETIP_BASE) >> 2; in riscv_aplic_read()
633 return riscv_aplic_read_pending_word(aplic, word); in riscv_aplic_read()
638 word = (addr - APLIC_CLRIP_BASE) >> 2; in riscv_aplic_read()
639 return riscv_aplic_read_input_word(aplic, word); in riscv_aplic_read()
644 word = (addr - APLIC_SETIE_BASE) >> 2; in riscv_aplic_read()
645 return riscv_aplic_read_enabled_word(aplic, word); in riscv_aplic_read()
693 uint32_t irq, word, idc = UINT32_MAX; in riscv_aplic_write() local
758 word = (addr - APLIC_SETIP_BASE) >> 2; in riscv_aplic_write()
759 riscv_aplic_set_pending_word(aplic, word, value, true); in riscv_aplic_write()
764 word = (addr - APLIC_CLRIP_BASE) >> 2; in riscv_aplic_write()
765 riscv_aplic_set_pending_word(aplic, word, value, false); in riscv_aplic_write()
770 word = (addr - APLIC_SETIE_BASE) >> 2; in riscv_aplic_write()
771 riscv_aplic_set_enabled_word(aplic, word, value, true); in riscv_aplic_write()
776 word = (addr - APLIC_CLRIE_BASE) >> 2; in riscv_aplic_write()
777 riscv_aplic_set_enabled_word(aplic, word, value, false); in riscv_aplic_write()