Lines Matching refs:rd_dev
776 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_register_redist_iodev() local
807 kvm_iodevice_init(&rd_dev->dev, &kvm_io_gic_ops); in vgic_register_redist_iodev()
808 rd_dev->base_addr = rd_base; in vgic_register_redist_iodev()
809 rd_dev->iodev_type = IODEV_REDIST; in vgic_register_redist_iodev()
810 rd_dev->regions = vgic_v3_rd_registers; in vgic_register_redist_iodev()
811 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev()
812 rd_dev->redist_vcpu = vcpu; in vgic_register_redist_iodev()
817 2 * SZ_64K, &rd_dev->dev); in vgic_register_redist_iodev()
832 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_unregister_redist_iodev() local
834 kvm_io_bus_unregister_dev(vcpu->kvm, KVM_MMIO_BUS, &rd_dev->dev); in vgic_unregister_redist_iodev()
1166 struct vgic_io_device rd_dev = { in vgic_v3_redist_uaccess() local
1171 return vgic_uaccess(vcpu, &rd_dev, is_write, offset, val); in vgic_v3_redist_uaccess()