Searched refs:iodev (Results 1 – 6 of 6) sorted by relevance
/virt/kvm/arm/vgic/ |
D | vgic-mmio.c | 759 vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev, in vgic_get_mmio_region() argument 764 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region() 765 addr - iodev->base_addr); in vgic_get_mmio_region() 775 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in vgic_uaccess_read() local 779 region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); in vgic_uaccess_read() 785 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_read() 797 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in vgic_uaccess_write() local 801 region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); in vgic_uaccess_write() 805 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_write() 828 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in dispatch_mmio_read() local [all …]
|
D | vgic-mmio-v2.c | 485 struct vgic_io_device iodev; in vgic_v2_has_attr_regs() local 500 iodev.regions = vgic_v2_dist_registers; in vgic_v2_has_attr_regs() 501 iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_has_attr_regs() 502 iodev.base_addr = 0; in vgic_v2_has_attr_regs() 505 iodev.regions = vgic_v2_cpu_registers; in vgic_v2_has_attr_regs() 506 iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); in vgic_v2_has_attr_regs() 507 iodev.base_addr = 0; in vgic_v2_has_attr_regs() 517 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v2_has_attr_regs()
|
D | vgic-mmio-v3.c | 788 struct vgic_io_device iodev; in vgic_v3_has_attr_regs() local 803 iodev.regions = vgic_v3_dist_registers; in vgic_v3_has_attr_regs() 804 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs() 805 iodev.base_addr = 0; in vgic_v3_has_attr_regs() 808 iodev.regions = vgic_v3_rd_registers; in vgic_v3_has_attr_regs() 809 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs() 810 iodev.base_addr = 0; in vgic_v3_has_attr_regs() 827 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v3_has_attr_regs()
|
D | vgic-its.c | 689 struct vgic_io_device *iodev; in vgic_msi_to_its() local 706 iodev = container_of(kvm_io_dev, struct vgic_io_device, dev); in vgic_msi_to_its() 707 if (iodev->iodev_type != IODEV_ITS) in vgic_msi_to_its() 710 return iodev->its; in vgic_msi_to_its() 1799 struct vgic_io_device *iodev = &its->iodev; in vgic_register_its_iodev() local 1809 iodev->regions = its_registers; in vgic_register_its_iodev() 1810 iodev->nr_regions = ARRAY_SIZE(its_registers); in vgic_register_its_iodev() 1811 kvm_iodevice_init(&iodev->dev, &kvm_io_gic_ops); in vgic_register_its_iodev() 1813 iodev->base_addr = its->vgic_its_base; in vgic_register_its_iodev() 1814 iodev->iodev_type = IODEV_ITS; in vgic_register_its_iodev() [all …]
|
D | vgic.h | 160 vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev,
|
/virt/kvm/ |
D | kvm_main.c | 3966 struct kvm_io_device *iodev = NULL; in kvm_io_bus_get_dev() local 3978 iodev = bus->range[dev_idx].dev; in kvm_io_bus_get_dev() 3983 return iodev; in kvm_io_bus_get_dev()
|