Home
last modified time | relevance | path

Searched refs:nr_lpis (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-debug.c28 int nr_lpis; member
49 if (iter->lpi_idx < iter->nr_lpis) in iter_next()
65 iter->nr_lpis = vgic_copy_lpi_list(kvm, NULL, &iter->lpi_array); in iter_init()
66 if (iter->nr_lpis < 0) in iter_init()
67 iter->nr_lpis = 0; in iter_init()
80 iter->lpi_idx > iter->nr_lpis; in end_of_vgic()
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v3-its.c150 int nr_lpis; member
245 if (WARN_ON_ONCE(event >= its_dev->event_map.nr_lpis)) in dev_event_to_vlpi_map()
1825 maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), in its_vlpi_map()
2033 static int alloc_lpi_range(u32 nr_lpis, u32 *base) in alloc_lpi_range() argument
2041 if (range->span >= nr_lpis) { in alloc_lpi_range()
2043 range->base_id += nr_lpis; in alloc_lpi_range()
2044 range->span -= nr_lpis; in alloc_lpi_range()
2058 pr_debug("ITS: alloc %u:%u\n", *base, nr_lpis); in alloc_lpi_range()
2074 static int free_lpi_range(u32 base, u32 nr_lpis) in free_lpi_range() argument
2078 new = mk_lpi_range(base, nr_lpis); in free_lpi_range()
[all …]