Searched refs:enable_stride (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | sifive_plic.c | 152 plic->num_addrs * plic->enable_stride)) { in sifive_plic_read() 153 uint32_t addrid = (addr - plic->enable_base) / plic->enable_stride; in sifive_plic_read() 154 uint32_t wordid = (addr & (plic->enable_stride - 1)) >> 2; in sifive_plic_read() 216 plic->num_addrs * plic->enable_stride)) { in sifive_plic_write() 217 uint32_t addrid = (addr - plic->enable_base) / plic->enable_stride; in sifive_plic_write() 218 uint32_t wordid = (addr & (plic->enable_stride - 1)) >> 2; in sifive_plic_write() 443 DEFINE_PROP_UINT32("enable-stride", SiFivePLICState, enable_stride, 0), 482 uint32_t enable_stride, uint32_t context_base, in type_init() 489 assert(enable_stride == (enable_stride & -enable_stride)); in type_init() 498 qdev_prop_set_uint32(dev, "enable-stride", enable_stride); in type_init()
|
/openbmc/qemu/include/hw/intc/ |
H A D | sifive_plic.h | 70 uint32_t enable_stride; member 84 uint32_t enable_stride, uint32_t context_base,
|