Lines Matching refs:openpic

128 static inline void write_IRQreg_idr(struct openpic *opp, int n_IRQ,
190 struct openpic { struct
241 static void mpic_irq_raise(struct openpic *opp, struct irq_dest *dst, in mpic_irq_raise() argument
263 static void mpic_irq_lower(struct openpic *opp, struct irq_dest *dst, in mpic_irq_lower()
291 static void IRQ_check(struct openpic *opp, struct irq_queue *q) in IRQ_check()
315 static int IRQ_get_next(struct openpic *opp, struct irq_queue *q) in IRQ_get_next()
323 static void IRQ_local_pipe(struct openpic *opp, int n_CPU, int n_IRQ, in IRQ_local_pipe()
411 static void openpic_update_irq(struct openpic *opp, int n_IRQ) in openpic_update_irq()
477 struct openpic *opp = opaque; in openpic_set_irq()
512 static void openpic_reset(struct openpic *opp) in openpic_reset()
561 static inline uint32_t read_IRQreg_idr(struct openpic *opp, int n_IRQ) in read_IRQreg_idr()
566 static inline uint32_t read_IRQreg_ilr(struct openpic *opp, int n_IRQ) in read_IRQreg_ilr()
574 static inline uint32_t read_IRQreg_ivpr(struct openpic *opp, int n_IRQ) in read_IRQreg_ivpr()
579 static inline void write_IRQreg_idr(struct openpic *opp, int n_IRQ, in write_IRQreg_idr()
624 static inline void write_IRQreg_ilr(struct openpic *opp, int n_IRQ, in write_IRQreg_ilr()
638 static inline void write_IRQreg_ivpr(struct openpic *opp, int n_IRQ, in write_IRQreg_ivpr()
677 static void openpic_gcr_write(struct openpic *opp, uint64_t val) in openpic_gcr_write()
690 struct openpic *opp = opaque; in openpic_gbl_write()
746 struct openpic *opp = opaque; in openpic_gbl_read()
808 struct openpic *opp = opaque; in openpic_tmr_write()
850 struct openpic *opp = opaque; in openpic_tmr_read()
888 struct openpic *opp = opaque; in openpic_src_write()
913 struct openpic *opp = opaque; in openpic_src_read()
942 struct openpic *opp = opaque; in openpic_msi_write()
968 struct openpic *opp = opaque; in openpic_msi_read()
1026 struct openpic *opp = opaque; in openpic_cpu_write_internal()
1120 struct openpic *opp = opaque; in openpic_cpu_write()
1126 static uint32_t openpic_iack(struct openpic *opp, struct irq_dest *dst, in openpic_iack()
1178 struct openpic *opp = vcpu->arch.mpic; in kvmppc_mpic_set_epr()
1193 struct openpic *opp = opaque; in openpic_cpu_read_internal()
1233 struct openpic *opp = opaque; in openpic_cpu_read()
1288 static void add_mmio_region(struct openpic *opp, const struct mem_reg *mr) in add_mmio_region()
1298 static void fsl_common_init(struct openpic *opp) in fsl_common_init()
1339 static int kvm_mpic_read_internal(struct openpic *opp, gpa_t addr, u32 *ptr) in kvm_mpic_read_internal()
1355 static int kvm_mpic_write_internal(struct openpic *opp, gpa_t addr, u32 val) in kvm_mpic_write_internal()
1375 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_read()
1417 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_write()
1445 static void map_mmio(struct openpic *opp) in map_mmio()
1454 static void unmap_mmio(struct openpic *opp) in unmap_mmio()
1459 static int set_base_addr(struct openpic *opp, struct kvm_device_attr *attr) in set_base_addr()
1496 static int access_reg(struct openpic *opp, gpa_t addr, u32 *val, int type) in access_reg()
1519 struct openpic *opp = dev->private; in mpic_set_attr()
1558 struct openpic *opp = dev->private; in mpic_get_attr()
1633 struct openpic *opp = dev->private; in mpic_destroy()
1640 static int mpic_set_default_irq_routing(struct openpic *opp) in mpic_set_default_irq_routing()
1657 struct openpic *opp; in mpic_create()
1664 opp = kzalloc(sizeof(struct openpic), GFP_KERNEL); in mpic_create()
1735 struct openpic *opp = dev->private; in kvmppc_mpic_connect_vcpu()
1777 void kvmppc_mpic_disconnect_vcpu(struct openpic *opp, struct kvm_vcpu *vcpu) in kvmppc_mpic_disconnect_vcpu()
1795 struct openpic *opp = kvm->arch.mpic; in mpic_set_irq()
1809 struct openpic *opp = kvm->arch.mpic; in kvm_set_msi()