/Linux-v4.19/arch/powerpc/sysdev/ |
D | mpic.c | 56 static struct mpic *mpics; 57 static struct mpic *mpic_primary; 150 #define MPIC_INFO(name) mpic->hw_set[MPIC_IDX_##name] 158 static inline unsigned int mpic_processor_id(struct mpic *mpic) in mpic_processor_id() argument 162 if (!(mpic->flags & MPIC_SECONDARY)) in mpic_processor_id() 210 static inline u32 _mpic_ipi_read(struct mpic *mpic, unsigned int ipi) in _mpic_ipi_read() argument 212 enum mpic_reg_type type = mpic->reg_type; in _mpic_ipi_read() 216 if ((mpic->flags & MPIC_BROKEN_IPI) && type == mpic_access_mmio_le) in _mpic_ipi_read() 218 return _mpic_read(type, &mpic->gregs, offset); in _mpic_ipi_read() 221 static inline void _mpic_ipi_write(struct mpic *mpic, unsigned int ipi, u32 value) in _mpic_ipi_write() argument [all …]
|
D | fsl_mpic_err.c | 40 struct mpic *mpic = irq_data_get_irq_chip_data(d); in fsl_mpic_mask_err() local 41 unsigned int src = virq_to_hw(d->irq) - mpic->err_int_vecs[0]; in fsl_mpic_mask_err() 43 eimr = mpic_fsl_err_read(mpic->err_regs, MPIC_ERR_INT_EIMR); in fsl_mpic_mask_err() 45 mpic_fsl_err_write(mpic->err_regs, eimr); in fsl_mpic_mask_err() 51 struct mpic *mpic = irq_data_get_irq_chip_data(d); in fsl_mpic_unmask_err() local 52 unsigned int src = virq_to_hw(d->irq) - mpic->err_int_vecs[0]; in fsl_mpic_unmask_err() 54 eimr = mpic_fsl_err_read(mpic->err_regs, MPIC_ERR_INT_EIMR); in fsl_mpic_unmask_err() 56 mpic_fsl_err_write(mpic->err_regs, eimr); in fsl_mpic_unmask_err() 65 int mpic_setup_error_int(struct mpic *mpic, int intvec) in mpic_setup_error_int() argument 69 mpic->err_regs = ioremap(mpic->paddr + MPIC_ERR_INT_BASE, 0x1000); in mpic_setup_error_int() [all …]
|
D | mpic.h | 15 extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq); 16 extern int mpic_msi_init_allocator(struct mpic *mpic); 17 extern int mpic_u3msi_init(struct mpic *mpic); 19 static inline void mpic_msi_reserve_hwirq(struct mpic *mpic, in mpic_msi_reserve_hwirq() argument 25 static inline int mpic_u3msi_init(struct mpic *mpic) in mpic_u3msi_init() argument 32 int mpic_pasemi_msi_init(struct mpic *mpic); 34 static inline int mpic_pasemi_msi_init(struct mpic *mpic) { return -1; } in mpic_pasemi_msi_init() argument 44 extern int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw); 45 extern void mpic_err_int_init(struct mpic *mpic, irq_hw_number_t irqnum); 46 extern int mpic_setup_error_int(struct mpic *mpic, int intvec); [all …]
|
D | mpic_msi.c | 22 void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq) in mpic_msi_reserve_hwirq() argument 25 if (!mpic->msi_bitmap.bitmap) in mpic_msi_reserve_hwirq() 28 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, hwirq); in mpic_msi_reserve_hwirq() 32 static int mpic_msi_reserve_u3_hwirqs(struct mpic *mpic) in mpic_msi_reserve_u3_hwirqs() argument 35 const struct irq_domain_ops *ops = mpic->irqhost->ops; in mpic_msi_reserve_u3_hwirqs() 49 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 52 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 55 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() 57 for (i = 124; i < mpic->num_sources; i++) in mpic_msi_reserve_u3_hwirqs() 58 msi_bitmap_reserve_hwirq(&mpic->msi_bitmap, i); in mpic_msi_reserve_u3_hwirqs() [all …]
|
/Linux-v4.19/arch/powerpc/boot/dts/fsl/ |
D | mpc8641_hpcn_36b.dts | 139 0x8800 0 0 1 &mpic 2 1 140 0x8800 0 0 2 &mpic 3 1 141 0x8800 0 0 3 &mpic 4 1 142 0x8800 0 0 4 &mpic 1 1 145 0x8900 0 0 1 &mpic 2 1 146 0x8900 0 0 2 &mpic 3 1 147 0x8900 0 0 3 &mpic 4 1 148 0x8900 0 0 4 &mpic 1 1 151 0x8a00 0 0 1 &mpic 2 1 152 0x8a00 0 0 2 &mpic 3 1 [all …]
|
D | mpc8641_hpcn.dts | 172 0x8800 0 0 1 &mpic 2 1 173 0x8800 0 0 2 &mpic 3 1 174 0x8800 0 0 3 &mpic 4 1 175 0x8800 0 0 4 &mpic 1 1 178 0x8900 0 0 1 &mpic 2 1 179 0x8900 0 0 2 &mpic 3 1 180 0x8900 0 0 3 &mpic 4 1 181 0x8900 0 0 4 &mpic 1 1 184 0x8a00 0 0 1 &mpic 2 1 185 0x8a00 0 0 2 &mpic 3 1 [all …]
|
D | mpc8540ads.dts | 72 interrupt-parent = <&mpic>; 78 interrupt-parent = <&mpic>; 87 interrupt-parent = <&mpic>; 98 interrupt-parent = <&mpic>; 114 interrupt-parent = <&mpic>; 122 interrupt-parent = <&mpic>; 130 interrupt-parent = <&mpic>; 138 interrupt-parent = <&mpic>; 154 interrupt-parent = <&mpic>; 165 interrupt-parent = <&mpic>; [all …]
|
D | mpc8560ads.dts | 72 interrupt-parent = <&mpic>; 78 interrupt-parent = <&mpic>; 87 interrupt-parent = <&mpic>; 103 interrupt-parent = <&mpic>; 111 interrupt-parent = <&mpic>; 119 interrupt-parent = <&mpic>; 127 interrupt-parent = <&mpic>; 143 interrupt-parent = <&mpic>; 154 interrupt-parent = <&mpic>; 159 interrupt-parent = <&mpic>; [all …]
|
D | mpc8548cds.dtsi | 172 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0 173 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0 174 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0 175 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0 178 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0 179 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1 0 0 180 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0 181 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1 0 0 184 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0 185 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0 [all …]
|
D | mpc8572ds.dtsi | 250 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 0 0 251 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 0 0 252 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 0 0 253 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1 0 0 256 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1 0 0 257 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1 0 0 258 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1 0 0 259 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1 0 0 262 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1 0 0 263 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1 0 0 [all …]
|
D | mpc8541cds.dts | 72 interrupt-parent = <&mpic>; 78 interrupt-parent = <&mpic>; 87 interrupt-parent = <&mpic>; 98 interrupt-parent = <&mpic>; 114 interrupt-parent = <&mpic>; 122 interrupt-parent = <&mpic>; 130 interrupt-parent = <&mpic>; 138 interrupt-parent = <&mpic>; 154 interrupt-parent = <&mpic>; 165 interrupt-parent = <&mpic>; [all …]
|
D | mpc8555cds.dts | 72 interrupt-parent = <&mpic>; 78 interrupt-parent = <&mpic>; 87 interrupt-parent = <&mpic>; 98 interrupt-parent = <&mpic>; 114 interrupt-parent = <&mpic>; 122 interrupt-parent = <&mpic>; 130 interrupt-parent = <&mpic>; 138 interrupt-parent = <&mpic>; 154 interrupt-parent = <&mpic>; 165 interrupt-parent = <&mpic>; [all …]
|
/Linux-v4.19/arch/powerpc/boot/dts/ |
D | stxssa8555.dts | 71 interrupt-parent = <&mpic>; 77 interrupt-parent = <&mpic>; 86 interrupt-parent = <&mpic>; 97 interrupt-parent = <&mpic>; 113 interrupt-parent = <&mpic>; 121 interrupt-parent = <&mpic>; 129 interrupt-parent = <&mpic>; 137 interrupt-parent = <&mpic>; 153 interrupt-parent = <&mpic>; 164 interrupt-parent = <&mpic>; [all …]
|
D | stx_gp3_8560.dts | 68 interrupt-parent = <&mpic>; 74 interrupt-parent = <&mpic>; 83 interrupt-parent = <&mpic>; 94 interrupt-parent = <&mpic>; 110 interrupt-parent = <&mpic>; 118 interrupt-parent = <&mpic>; 126 interrupt-parent = <&mpic>; 134 interrupt-parent = <&mpic>; 150 interrupt-parent = <&mpic>; 161 interrupt-parent = <&mpic>; [all …]
|
D | mvme5100.dts | 62 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 76 mpic: interrupt-controller@f3f80000 { label 98 interrupt-parent = <&mpic>; 112 0x5800 0x0 0x0 0x1 &mpic 0x0 0x2 113 0x5800 0x0 0x0 0x2 &mpic 0x0 0x2 114 0x5800 0x0 0x0 0x3 &mpic 0x0 0x2 115 0x5800 0x0 0x0 0x4 &mpic 0x0 0x2 120 0x6800 0x0 0x0 0x1 &mpic 0x5 0x1 121 0x6800 0x0 0x0 0x2 &mpic 0x6 0x1 [all …]
|
D | mpc8610_hpcd.dts | 57 interrupt-parent = <&mpic>; 111 interrupt-parent = <&mpic>; 142 interrupt-parent = <&mpic>; 152 interrupt-parent = <&mpic>; 170 interrupt-parent = <&mpic>; 182 interrupt-parent = <&mpic>; 193 interrupt-parent = <&mpic>; 204 interrupt-parent = <&mpic>; 224 interrupt-parent = <&mpic>; 228 mpic: interrupt-controller@40000 { label [all …]
|
D | storcenter.dts | 66 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 96 mpic: interrupt-controller@40000 { label 118 interrupt-parent = <&mpic>; 122 0x6800 0 0 1 &mpic 0 1 123 0x6800 0 0 2 &mpic 0 1 124 0x6800 0 0 3 &mpic 0 1 125 0x6800 0 0 4 &mpic 0 1 127 0x7000 0 0 1 &mpic 0 1 [all …]
|
D | sbc8548-post.dtsi | 33 interrupt-parent = <&mpic>; 39 interrupt-parent = <&mpic>; 48 interrupt-parent = <&mpic>; 59 interrupt-parent = <&mpic>; 70 interrupt-parent = <&mpic>; 86 interrupt-parent = <&mpic>; 94 interrupt-parent = <&mpic>; 102 interrupt-parent = <&mpic>; 110 interrupt-parent = <&mpic>; 126 interrupt-parent = <&mpic>; [all …]
|
D | tqm8548-bigflash.dts | 71 interrupt-parent = <&mpic>; 77 interrupt-parent = <&mpic>; 86 interrupt-parent = <&mpic>; 97 interrupt-parent = <&mpic>; 118 interrupt-parent = <&mpic>; 134 interrupt-parent = <&mpic>; 142 interrupt-parent = <&mpic>; 150 interrupt-parent = <&mpic>; 158 interrupt-parent = <&mpic>; 174 interrupt-parent = <&mpic>; [all …]
|
D | tqm8548.dts | 71 interrupt-parent = <&mpic>; 77 interrupt-parent = <&mpic>; 86 interrupt-parent = <&mpic>; 97 interrupt-parent = <&mpic>; 118 interrupt-parent = <&mpic>; 134 interrupt-parent = <&mpic>; 142 interrupt-parent = <&mpic>; 150 interrupt-parent = <&mpic>; 158 interrupt-parent = <&mpic>; 174 interrupt-parent = <&mpic>; [all …]
|
D | tqm8540.dts | 70 interrupt-parent = <&mpic>; 76 interrupt-parent = <&mpic>; 85 interrupt-parent = <&mpic>; 96 interrupt-parent = <&mpic>; 122 interrupt-parent = <&mpic>; 130 interrupt-parent = <&mpic>; 138 interrupt-parent = <&mpic>; 146 interrupt-parent = <&mpic>; 162 interrupt-parent = <&mpic>; 172 interrupt-parent = <&mpic>; [all …]
|
D | tqm8541.dts | 69 interrupt-parent = <&mpic>; 75 interrupt-parent = <&mpic>; 84 interrupt-parent = <&mpic>; 95 interrupt-parent = <&mpic>; 121 interrupt-parent = <&mpic>; 129 interrupt-parent = <&mpic>; 137 interrupt-parent = <&mpic>; 145 interrupt-parent = <&mpic>; 161 interrupt-parent = <&mpic>; 172 interrupt-parent = <&mpic>; [all …]
|
D | tqm8555.dts | 69 interrupt-parent = <&mpic>; 75 interrupt-parent = <&mpic>; 84 interrupt-parent = <&mpic>; 95 interrupt-parent = <&mpic>; 121 interrupt-parent = <&mpic>; 129 interrupt-parent = <&mpic>; 137 interrupt-parent = <&mpic>; 145 interrupt-parent = <&mpic>; 161 interrupt-parent = <&mpic>; 172 interrupt-parent = <&mpic>; [all …]
|
/Linux-v4.19/arch/powerpc/platforms/embedded6xx/ |
D | linkstation.c | 83 struct mpic *mpic; in linkstation_init_IRQ() local 85 mpic = mpic_alloc(NULL, 0, 0, 4, 0, " EPIC "); in linkstation_init_IRQ() 86 BUG_ON(mpic == NULL); in linkstation_init_IRQ() 89 mpic_assign_isu(mpic, 0, mpic->paddr + 0x10200); in linkstation_init_IRQ() 92 mpic_assign_isu(mpic, 1, mpic->paddr + 0x11000); in linkstation_init_IRQ() 95 mpic_assign_isu(mpic, 2, mpic->paddr + 0x11100); in linkstation_init_IRQ() 97 mpic_init(mpic); in linkstation_init_IRQ()
|
D | storcenter.c | 84 struct mpic *mpic; in storcenter_init_IRQ() local 86 mpic = mpic_alloc(NULL, 0, 0, 16, 0, " OpenPIC "); in storcenter_init_IRQ() 87 BUG_ON(mpic == NULL); in storcenter_init_IRQ() 93 mpic_assign_isu(mpic, 0, mpic->paddr + 0x10200); in storcenter_init_IRQ() 94 mpic_assign_isu(mpic, 1, mpic->paddr + 0x11000); in storcenter_init_IRQ() 96 mpic_init(mpic); in storcenter_init_IRQ()
|