Searched refs:vgic_irq (Results 1 - 13 of 13) sorted by relevance

/linux-master/arch/arm64/kvm/vgic/
H A Dvgic.h108 static inline bool irq_is_pending(struct vgic_irq *irq)
116 static inline bool vgic_irq_is_mapped_level(struct vgic_irq *irq)
121 static inline int vgic_irq_get_lr_count(struct vgic_irq *irq)
130 static inline bool vgic_irq_is_multi_sgi(struct vgic_irq *irq)
181 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu,
183 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq);
184 bool vgic_get_phys_line_level(struct vgic_irq *irq);
185 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending);
186 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active);
187 bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *ir
[all...]
H A Dvgic.c34 * vgic_irq->irq_lock must be taken with IRQs disabled
62 static struct vgic_irq *vgic_get_lpi(struct kvm *kvm, u32 intid)
65 struct vgic_irq *irq = NULL;
80 * struct vgic_irq. It also increases the refcount, so any caller is expected
83 struct vgic_irq *vgic_get_irq(struct kvm *kvm, struct kvm_vcpu *vcpu,
114 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq)
136 struct vgic_irq *irq, *tmp;
154 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending)
161 bool vgic_get_phys_line_level(struct vgic_irq *irq)
177 void vgic_irq_set_phys_active(struct vgic_irq *ir
[all...]
H A Dvgic-mmio.c53 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
64 static void vgic_update_vsgi(struct vgic_irq *irq)
77 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
105 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
125 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
174 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
196 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
217 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
239 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
298 static bool is_vgic_v2_sgi(struct kvm_vcpu *vcpu, struct vgic_irq *ir
[all...]
H A Dvgic-mmio-v2.c146 struct vgic_irq *irq;
170 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
194 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid + i);
216 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
234 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
256 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i);
H A Dvgic-v4.c108 static void vgic_v4_sync_sgi_config(struct its_vpe *vpe, struct vgic_irq *irq)
126 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i);
163 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i);
213 void vgic_v4_get_vlpi_state(struct vgic_irq *irq, bool *val)
415 struct vgic_irq *irq;
494 struct vgic_irq *irq;
H A Dvgic-debug.c161 static void print_header(struct seq_file *s, struct vgic_irq *irq,
177 static void print_irq_state(struct seq_file *s, struct vgic_irq *irq,
234 struct vgic_irq *irq;
H A Dvgic-init.c146 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL_ACCOUNT);
159 struct vgic_irq *irq = &dist->spis[i];
212 struct vgic_irq *irq = &vgic_cpu->private_irqs[i];
291 struct vgic_irq *irq = &vgic_cpu->private_irqs[i];
H A Dvgic-its.c29 static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq,
33 * Creates a new (reference to a) struct vgic_irq for a given LPI.
36 * If this is a "new" LPI, we allocate and initialize a new struct vgic_irq.
39 static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid,
43 struct vgic_irq *irq = vgic_get_irq(kvm, NULL, intid), *oldirq;
51 irq = kzalloc(sizeof(struct vgic_irq), GFP_KERNEL_ACCOUNT);
101 * We "cache" the configuration table entries in our struct vgic_irq's.
148 struct vgic_irq *irq;
158 struct vgic_irq *irq;
281 * updates the fields in struct vgic_irq
[all...]
H A Dvgic-v3.c49 struct vgic_irq *irq;
107 void vgic_v3_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr)
305 int vgic_v3_lpi_sync_pending_status(struct kvm *kvm, struct vgic_irq *irq)
380 struct vgic_irq *irq;
H A Dvgic-v2.c62 struct vgic_irq *irq;
113 * - for an edge sensitive IRQ the pending state is cleared in struct vgic_irq
122 void vgic_v2_populate_lr(struct kvm_vcpu *vcpu, struct vgic_irq *irq, int lr)
H A Dvgic-mmio-v3.c197 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, NULL, intid);
216 struct vgic_irq *irq;
532 struct vgic_irq *irq;
1012 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, sgi);
/linux-master/include/kvm/
H A Darm_vgic.h118 struct vgic_irq { struct
161 static inline bool vgic_irq_needs_resampling(struct vgic_irq *irq)
262 struct vgic_irq *spis;
333 struct vgic_irq private_irqs[VGIC_NR_PRIVATE_IRQS];
/linux-master/tools/testing/selftests/kvm/
H A DMakefile159 TEST_GEN_PROGS_aarch64 += aarch64/vgic_irq

Completed in 154 milliseconds