Lines Matching refs:openpic
129 static inline void write_IRQreg_idr(struct openpic *opp, int n_IRQ,
191 struct openpic { struct
242 static void mpic_irq_raise(struct openpic *opp, struct irq_dest *dst, in mpic_irq_raise() argument
264 static void mpic_irq_lower(struct openpic *opp, struct irq_dest *dst, in mpic_irq_lower()
292 static void IRQ_check(struct openpic *opp, struct irq_queue *q) in IRQ_check()
316 static int IRQ_get_next(struct openpic *opp, struct irq_queue *q) in IRQ_get_next()
324 static void IRQ_local_pipe(struct openpic *opp, int n_CPU, int n_IRQ, in IRQ_local_pipe()
412 static void openpic_update_irq(struct openpic *opp, int n_IRQ) in openpic_update_irq()
478 struct openpic *opp = opaque; in openpic_set_irq()
513 static void openpic_reset(struct openpic *opp) in openpic_reset()
562 static inline uint32_t read_IRQreg_idr(struct openpic *opp, int n_IRQ) in read_IRQreg_idr()
567 static inline uint32_t read_IRQreg_ilr(struct openpic *opp, int n_IRQ) in read_IRQreg_ilr()
575 static inline uint32_t read_IRQreg_ivpr(struct openpic *opp, int n_IRQ) in read_IRQreg_ivpr()
580 static inline void write_IRQreg_idr(struct openpic *opp, int n_IRQ, in write_IRQreg_idr()
625 static inline void write_IRQreg_ilr(struct openpic *opp, int n_IRQ, in write_IRQreg_ilr()
639 static inline void write_IRQreg_ivpr(struct openpic *opp, int n_IRQ, in write_IRQreg_ivpr()
678 static void openpic_gcr_write(struct openpic *opp, uint64_t val) in openpic_gcr_write()
691 struct openpic *opp = opaque; in openpic_gbl_write()
747 struct openpic *opp = opaque; in openpic_gbl_read()
809 struct openpic *opp = opaque; in openpic_tmr_write()
851 struct openpic *opp = opaque; in openpic_tmr_read()
889 struct openpic *opp = opaque; in openpic_src_write()
914 struct openpic *opp = opaque; in openpic_src_read()
943 struct openpic *opp = opaque; in openpic_msi_write()
969 struct openpic *opp = opaque; in openpic_msi_read()
1027 struct openpic *opp = opaque; in openpic_cpu_write_internal()
1121 struct openpic *opp = opaque; in openpic_cpu_write()
1127 static uint32_t openpic_iack(struct openpic *opp, struct irq_dest *dst, in openpic_iack()
1179 struct openpic *opp = vcpu->arch.mpic; in kvmppc_mpic_set_epr()
1194 struct openpic *opp = opaque; in openpic_cpu_read_internal()
1234 struct openpic *opp = opaque; in openpic_cpu_read()
1289 static void add_mmio_region(struct openpic *opp, const struct mem_reg *mr) in add_mmio_region()
1299 static void fsl_common_init(struct openpic *opp) in fsl_common_init()
1340 static int kvm_mpic_read_internal(struct openpic *opp, gpa_t addr, u32 *ptr) in kvm_mpic_read_internal()
1356 static int kvm_mpic_write_internal(struct openpic *opp, gpa_t addr, u32 val) in kvm_mpic_write_internal()
1376 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_read()
1418 struct openpic *opp = container_of(this, struct openpic, mmio); in kvm_mpic_write()
1446 static void map_mmio(struct openpic *opp) in map_mmio()
1455 static void unmap_mmio(struct openpic *opp) in unmap_mmio()
1460 static int set_base_addr(struct openpic *opp, struct kvm_device_attr *attr) in set_base_addr()
1497 static int access_reg(struct openpic *opp, gpa_t addr, u32 *val, int type) in access_reg()
1520 struct openpic *opp = dev->private; in mpic_set_attr()
1559 struct openpic *opp = dev->private; in mpic_get_attr()
1634 struct openpic *opp = dev->private; in mpic_destroy()
1641 static int mpic_set_default_irq_routing(struct openpic *opp) in mpic_set_default_irq_routing()
1658 struct openpic *opp; in mpic_create()
1665 opp = kzalloc(sizeof(struct openpic), GFP_KERNEL); in mpic_create()
1736 struct openpic *opp = dev->private; in kvmppc_mpic_connect_vcpu()
1778 void kvmppc_mpic_disconnect_vcpu(struct openpic *opp, struct kvm_vcpu *vcpu) in kvmppc_mpic_disconnect_vcpu()
1796 struct openpic *opp = kvm->arch.mpic; in mpic_set_irq()
1810 struct openpic *opp = kvm->arch.mpic; in kvm_set_msi()