Lines Matching refs:nr_events
604 uint32_t lpi, uint32_t nr_events) in gicv3_its_map_host_events() argument
609 for ( i = 0; i < nr_events; i++ ) in gicv3_its_map_host_events()
640 uint64_t nr_events, bool valid) in gicv3_its_map_guest_device() argument
663 nr_events = BIT(fls(nr_events - 1)); in gicv3_its_map_guest_device()
664 if ( nr_events < LPI_BLOCK ) in gicv3_its_map_guest_device()
665 nr_events = LPI_BLOCK; in gicv3_its_map_guest_device()
666 if ( nr_events >= BIT(hw_its->evid_bits) ) in gicv3_its_map_guest_device()
709 itt_addr = _xzalloc(nr_events * hw_its->itte_size, 256); in gicv3_its_map_guest_device()
729 dev->pend_irqs = xzalloc_array(struct pending_irq, nr_events); in gicv3_its_map_guest_device()
733 dev->host_lpi_blocks = xzalloc_array(uint32_t, nr_events); in gicv3_its_map_guest_device()
737 ret = its_send_cmd_mapd(hw_its, host_devid, fls(nr_events - 1), in gicv3_its_map_guest_device()
747 dev->eventids = nr_events; in gicv3_its_map_guest_device()
758 for ( i = 0; i < nr_events / LPI_BLOCK; i++ ) in gicv3_its_map_guest_device()