Searched refs:wordid (Results 1 – 1 of 1) sorted by relevance
154 uint32_t wordid = (addr & (plic->enable_stride - 1)) >> 2; in sifive_plic_read() local156 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() local215 if (wordid < plic->bitfield_words) { in sifive_plic_write()216 plic->enable[addrid * plic->bitfield_words + wordid] = value; in sifive_plic_write()