Home
last modified time | relevance | path

Searched refs:nr_lrs (Results 1 – 4 of 4) sorted by relevance

/xen/xen/arch/arm/
A Dgic-vgic.c113 unsigned int nr_lrs = gic_get_nr_lrs(); in gic_find_unused_lr() local
123 for_each_set_bit(used_lr, lr_mask, nr_lrs) in gic_find_unused_lr()
131 lr = find_next_zero_bit(lr_mask, nr_lrs, lr); in gic_find_unused_lr()
140 unsigned int nr_lrs = gic_get_nr_lrs(); in gic_raise_guest_irq() local
153 if (i < nr_lrs) { in gic_raise_guest_irq()
256 unsigned int nr_lrs = gic_get_nr_lrs(); in vgic_sync_from_lrs() local
269 nr_lrs, i)) < nr_lrs ) { in vgic_sync_from_lrs()
282 unsigned int nr_lrs = gic_get_nr_lrs(); in gic_restore_pending_irqs() local
283 int lrs = nr_lrs; in gic_restore_pending_irqs()
296 if ( lr >= nr_lrs ) in gic_restore_pending_irqs()
A Dgic-v2.c185 for ( i = 0; i < gicv2_info.nr_lrs; i++ ) in gicv2_save_state()
198 for ( i = 0; i < gicv2_info.nr_lrs; i++ ) in gicv2_restore_state()
212 for ( i = 0; i < gicv2_info.nr_lrs; i++ ) in gicv2_dump_state()
218 for ( i = 0; i < gicv2_info.nr_lrs; i++ ) in gicv2_dump_state()
433 uint8_t nr_lrs; in gicv2_hyp_init() local
436 nr_lrs = (vtr & GICH_V2_VTR_NRLRGS) + 1; in gicv2_hyp_init()
437 gicv2_info.nr_lrs = nr_lrs; in gicv2_hyp_init()
503 BUG_ON(lr >= gicv2_info.nr_lrs); in gicv2_update_lr()
A Dgic-v3.c73 switch ( gicv3_info.nr_lrs ) in gicv3_save_lrs()
120 switch ( gicv3_info.nr_lrs ) in gicv3_restore_lrs()
419 for ( i = 0; i < gicv3_info.nr_lrs; i++ ) in gicv3_dump_state()
424 for ( i = 0; i < gicv3_info.nr_lrs; i++ ) in gicv3_dump_state()
888 gicv3_info.nr_lrs = (vtr & ICH_VTR_NRLRGS) + 1; in gicv3_hyp_init()
1037 BUG_ON(lr >= gicv3_info.nr_lrs); in gicv3_update_lr()
/xen/xen/include/asm-arm/
A Dgic.h315 uint8_t nr_lrs; member
397 return gic_hw_ops->info->nr_lrs; in gic_get_nr_lrs()

Completed in 11 milliseconds