Home
last modified time | relevance | path

Searched refs:vgic_irq (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic.h113 static inline bool irq_is_pending(struct vgic_irq *irq) in irq_is_pending()
121 static inline bool vgic_irq_is_mapped_level(struct vgic_irq *irq) in vgic_irq_is_mapped_level()
126 static inline int vgic_irq_get_lr_count(struct vgic_irq *irq) in vgic_irq_get_lr_count()
135 static inline bool vgic_irq_is_multi_sgi(struct vgic_irq *irq) in vgic_irq_is_multi_sgi()
173 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu,
175 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq);
176 bool vgic_get_phys_line_level(struct vgic_irq *irq);
177 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending);
178 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active);
179 bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *irq,
[all …]
Dvgic.c69 static struct vgic_irq *vgic_get_lpi(struct kvm *kvm, u32 intid) in vgic_get_lpi()
72 struct vgic_irq *irq = NULL; in vgic_get_lpi()
101 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu, in vgic_get_irq()
133 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq()
154 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending()
161 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level()
177 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active()
197 static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) in vgic_target_oracle()
242 struct vgic_irq *irqa = container_of(a, struct vgic_irq, ap_list); in vgic_irq_cmp()
243 struct vgic_irq *irqb = container_of(b, struct vgic_irq, ap_list); in vgic_irq_cmp()
[all …]
Dvgic-mmio.c59 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_group()
78 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_group()
101 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_enable()
121 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_senable()
140 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_cenable()
160 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_pending()
196 static void vgic_hw_irq_spending(struct kvm_vcpu *vcpu, struct vgic_irq *irq, in vgic_hw_irq_spending()
206 static bool is_vgic_v2_sgi(struct kvm_vcpu *vcpu, struct vgic_irq *irq) in is_vgic_v2_sgi()
222 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_spending()
241 static void vgic_hw_irq_cpending(struct kvm_vcpu *vcpu, struct vgic_irq *irq, in vgic_hw_irq_cpending()
[all …]
Dvgic-mmio-v2.c143 struct vgic_irq *irq; in vgic_mmio_write_sgir()
167 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_target()
191 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid + i); in vgic_mmio_write_target()
213 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_sgipend()
231 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipendc()
253 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_sgipends()
Dvgic-init.c158 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL); in kvm_vgic_dist_init()
171 struct vgic_irq *irq = &dist->spis[i]; in kvm_vgic_dist_init()
224 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in kvm_vgic_vcpu_init()
301 struct vgic_irq *irq = &vgic_cpu->private_irqs[i]; in vgic_init()
Dvgic-debug.c172 static void print_header(struct seq_file *s, struct vgic_irq *irq, in print_header()
188 static void print_irq_state(struct seq_file *s, struct vgic_irq *irq, in print_irq_state()
233 struct vgic_irq *irq; in vgic_debug_show()
Dvgic-its.c40 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq,
50 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid, in vgic_add_lpi()
54 struct vgic_irq *irq = vgic_get_irq(kvm, NULL, intid), *oldirq; in vgic_add_lpi()
62 irq = kzalloc(sizeof(struct vgic_irq), GFP_KERNEL); in vgic_add_lpi()
154 struct vgic_irq *irq;
290 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq, in update_lpi_config()
332 struct vgic_irq *irq; in vgic_copy_lpi_list()
364 static int update_affinity(struct vgic_irq *irq, struct kvm_vcpu *vcpu) in update_affinity()
438 struct vgic_irq *irq; in its_sync_lpi_pending_table()
556 u32 devid, u32 eventid, struct vgic_irq **irq) in vgic_its_resolve_lpi()
[all …]
Dvgic-v4.c263 struct vgic_irq *irq; in kvm_vgic_v4_set_forwarding()
318 struct vgic_irq *irq; in kvm_vgic_v4_unset_forwarding()
Dvgic-v3.c57 struct vgic_irq *irq; in vgic_v3_fold_lr_state()
130 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v3_populate_lr()
326 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq) in vgic_v3_lpi_sync_pending_status()
378 struct vgic_irq *irq; in vgic_v3_save_pending_tables()
Dvgic-mmio-v3.c141 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid); in vgic_mmio_read_irouter()
160 struct vgic_irq *irq; in vgic_mmio_write_irouter()
279 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_v3_uaccess_read_pending()
299 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_v3_uaccess_write_pending()
957 struct vgic_irq *irq; in vgic_v3_dispatch_sgi()
Dvgic-v2.c73 struct vgic_irq *irq; in vgic_v2_fold_lr_state()
148 void vgic_v2_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr) in vgic_v2_populate_lr()
/linux-4.19.296/include/kvm/
Darm_vgic.h102 struct vgic_irq { struct
244 struct vgic_irq *spis;
308 struct vgic_irq private_irqs[VGIC_NR_PRIVATE_IRQS];