Lines Matching refs:nr_lpis
135 int nr_lpis; member
1260 maps = kcalloc(its_dev->event_map.nr_lpis, sizeof(*maps), in its_vlpi_map()
1492 static int alloc_lpi_range(u32 nr_lpis, u32 *base) in alloc_lpi_range() argument
1500 if (range->span >= nr_lpis) { in alloc_lpi_range()
1502 range->base_id += nr_lpis; in alloc_lpi_range()
1503 range->span -= nr_lpis; in alloc_lpi_range()
1517 pr_debug("ITS: alloc %u:%u\n", *base, nr_lpis); in alloc_lpi_range()
1521 static int free_lpi_range(u32 base, u32 nr_lpis) in free_lpi_range() argument
1528 new = mk_lpi_range(base, nr_lpis); in free_lpi_range()
2198 int nr_lpis; in its_create_device() local
2218 lpi_map = its_lpi_alloc(nvecs, &lpi_base, &nr_lpis); in its_create_device()
2220 col_map = kcalloc(nr_lpis, sizeof(*col_map), in its_create_device()
2224 nr_lpis = 0; in its_create_device()
2244 dev->event_map.nr_lpis = nr_lpis; in its_create_device()
2275 dev->event_map.nr_lpis); in its_alloc_device_irq()
2276 if (idx == dev->event_map.nr_lpis) in its_alloc_device_irq()
2452 its_dev->event_map.nr_lpis)) { in its_irq_domain_free()
2455 its_dev->event_map.nr_lpis); in its_irq_domain_free()