Searched refs:iodev (Results 1 – 5 of 5) sorted by relevance
/arch/arm64/kvm/vgic/ |
D | vgic-mmio.c | 943 vgic_get_mmio_region(struct kvm_vcpu *vcpu, struct vgic_io_device *iodev, in vgic_get_mmio_region() argument 948 region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, in vgic_get_mmio_region() 949 addr - iodev->base_addr); in vgic_get_mmio_region() 959 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in vgic_uaccess_read() local 963 region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); in vgic_uaccess_read() 969 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_read() 981 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in vgic_uaccess_write() local 985 region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); in vgic_uaccess_write() 989 r_vcpu = iodev->redist_vcpu ? iodev->redist_vcpu : vcpu; in vgic_uaccess_write() 1012 struct vgic_io_device *iodev = kvm_to_vgic_iodev(dev); in dispatch_mmio_read() local [all …]
|
D | vgic-mmio-v2.c | 489 struct vgic_io_device iodev; in vgic_v2_has_attr_regs() local 504 iodev.regions = vgic_v2_dist_registers; in vgic_v2_has_attr_regs() 505 iodev.nr_regions = ARRAY_SIZE(vgic_v2_dist_registers); in vgic_v2_has_attr_regs() 506 iodev.base_addr = 0; in vgic_v2_has_attr_regs() 509 iodev.regions = vgic_v2_cpu_registers; in vgic_v2_has_attr_regs() 510 iodev.nr_regions = ARRAY_SIZE(vgic_v2_cpu_registers); in vgic_v2_has_attr_regs() 511 iodev.base_addr = 0; in vgic_v2_has_attr_regs() 521 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v2_has_attr_regs()
|
D | vgic-mmio-v3.c | 880 struct vgic_io_device iodev; in vgic_v3_has_attr_regs() local 895 iodev.regions = vgic_v3_dist_registers; in vgic_v3_has_attr_regs() 896 iodev.nr_regions = ARRAY_SIZE(vgic_v3_dist_registers); in vgic_v3_has_attr_regs() 897 iodev.base_addr = 0; in vgic_v3_has_attr_regs() 900 iodev.regions = vgic_v3_rd_registers; in vgic_v3_has_attr_regs() 901 iodev.nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_v3_has_attr_regs() 902 iodev.base_addr = 0; in vgic_v3_has_attr_regs() 919 region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); in vgic_v3_has_attr_regs()
|
D | vgic-its.c | 706 struct vgic_io_device *iodev; in vgic_msi_to_its() local 723 iodev = container_of(kvm_io_dev, struct vgic_io_device, dev); in vgic_msi_to_its() 724 if (iodev->iodev_type != IODEV_ITS) in vgic_msi_to_its() 727 return iodev->its; in vgic_msi_to_its() 1817 struct vgic_io_device *iodev = &its->iodev; in vgic_register_its_iodev() local 1827 iodev->regions = its_registers; in vgic_register_its_iodev() 1828 iodev->nr_regions = ARRAY_SIZE(its_registers); in vgic_register_its_iodev() 1829 kvm_iodevice_init(&iodev->dev, &kvm_io_gic_ops); in vgic_register_its_iodev() 1831 iodev->base_addr = its->vgic_its_base; in vgic_register_its_iodev() 1832 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,
|