Lines Matching refs:idx
587 uint32_t idx; in hv_emulate_pio() local
602 for (idx = 0U; idx < EMUL_PIO_IDX_MAX; idx++) { in hv_emulate_pio()
603 handler = &(vm->emul_pio[idx]); in hv_emulate_pio()
651 uint16_t idx; in hv_emulate_mmio() local
666 for (idx = 0U; idx <= vcpu->vm->nr_emul_mmio_regions; idx++) { in hv_emulate_mmio()
667 mmio_handler = &(vcpu->vm->emul_mmio[idx]); in hv_emulate_mmio()
819 uint16_t idx; in find_match_mmio_node() local
822 for (idx = 0U; idx < CONFIG_MAX_EMULATED_MMIO_REGIONS; idx++) { in find_match_mmio_node()
823 mmio_node = &(vm->emul_mmio[idx]); in find_match_mmio_node()
850 uint16_t idx; in find_free_mmio_node() local
854 idx = (uint16_t)(uint64_t)(mmio_node - &(vm->emul_mmio[0U])); in find_free_mmio_node()
855 if (vm->nr_emul_mmio_regions < idx) { in find_free_mmio_node()
856 vm->nr_emul_mmio_regions = idx; in find_free_mmio_node()