Searched refs:context_stride (Results 1 – 2 of 2) sorted by relevance
160 plic->num_addrs * plic->context_stride)) { in sifive_plic_read()161 uint32_t addrid = (addr - plic->context_base) / plic->context_stride; in sifive_plic_read()162 uint32_t contextid = (addr & (plic->context_stride - 1)); in sifive_plic_read()228 plic->num_addrs * plic->context_stride)) { in sifive_plic_write()229 uint32_t addrid = (addr - plic->context_base) / plic->context_stride; in sifive_plic_write()230 uint32_t contextid = (addr & (plic->context_stride - 1)); in sifive_plic_write()445 DEFINE_PROP_UINT32("context-stride", SiFivePLICState, context_stride, 0),483 uint32_t context_stride, uint32_t aperture_size) in type_init()490 assert(context_stride == (context_stride & -context_stride)); in type_init()500 qdev_prop_set_uint32(dev, "context-stride", context_stride); in type_init()
72 uint32_t context_stride; member85 uint32_t context_stride, uint32_t aperture_size);