/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mpic.c | 1005 struct mpic *mpic = h->host_data; in mpic_host_map() local 1092 struct mpic *mpic = h->host_data; in mpic_host_xlate() local 1223 struct mpic *mpic; in mpic_alloc() local 1370 mpic_map(mpic, mpic->paddr, &mpic->thiscpuregs, in mpic_alloc() 1448 mpic_map(mpic, mpic->paddr, &mpic->cpuregs[cpu], in mpic_alloc() 1477 mpic_map(mpic, mpic->paddr, &mpic->isus[0], in mpic_alloc() 1516 mpic->isu_size, mpic->isu_shift, mpic->isu_mask); in mpic_alloc() 1948 struct mpic *mpic = mpics; in mpic_suspend() local 1952 mpic = mpic->next; in mpic_suspend() 1990 struct mpic *mpic = mpics; in mpic_resume() local [all …]
|
H A D | fsl_mpic_err.c | 36 struct mpic *mpic = irq_data_get_irq_chip_data(d); in fsl_mpic_mask_err() local 47 struct mpic *mpic = irq_data_get_irq_chip_data(d); in fsl_mpic_unmask_err() local 61 int __init mpic_setup_error_int(struct mpic *mpic, int intvec) in mpic_setup_error_int() argument 65 mpic->err_regs = ioremap(mpic->paddr + MPIC_ERR_INT_BASE, 0x1000); in mpic_setup_error_int() 66 if (!mpic->err_regs) { in mpic_setup_error_int() 71 mpic->hc_err.name = mpic->name; in mpic_setup_error_int() 80 int mpic_map_error_int(struct mpic *mpic, unsigned int virq, irq_hw_number_t hw) in mpic_map_error_int() argument 88 irq_set_chip_data(virq, mpic); in mpic_map_error_int() 99 struct mpic *mpic = (struct mpic *) data; in fsl_error_int_handler() local 124 void __init mpic_err_int_init(struct mpic *mpic, irq_hw_number_t irqnum) in mpic_err_int_init() argument [all …]
|
H A D | mpic.h | 10 extern void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq); 11 int __init mpic_msi_init_allocator(struct mpic *mpic); 12 int __init mpic_u3msi_init(struct mpic *mpic); 14 static inline void mpic_msi_reserve_hwirq(struct mpic *mpic, in mpic_msi_reserve_hwirq() argument 20 static inline int mpic_u3msi_init(struct mpic *mpic) in mpic_u3msi_init() argument 27 int __init mpic_pasemi_msi_init(struct mpic *mpic); 29 static inline int mpic_pasemi_msi_init(struct mpic *mpic) { return -1; } in mpic_pasemi_msi_init() argument 40 void __init mpic_err_int_init(struct mpic *mpic, irq_hw_number_t irqnum); 41 int __init mpic_setup_error_int(struct mpic *mpic, int intvec); 49 static inline void mpic_err_int_init(struct mpic *mpic, irq_hw_number_t irqnum) in mpic_err_int_init() argument [all …]
|
H A D | mpic_msi.c | 18 void mpic_msi_reserve_hwirq(struct mpic *mpic, irq_hw_number_t hwirq) in mpic_msi_reserve_hwirq() argument 21 if (!mpic->msi_bitmap.bitmap) in mpic_msi_reserve_hwirq() 28 static int __init mpic_msi_reserve_u3_hwirqs(struct mpic *mpic) in mpic_msi_reserve_u3_hwirqs() argument 53 for (i = 124; i < mpic->num_sources; i++) in mpic_msi_reserve_u3_hwirqs() 63 ops->xlate(mpic->irqhost, NULL, oirq.args, in mpic_msi_reserve_u3_hwirqs() 72 static int __init mpic_msi_reserve_u3_hwirqs(struct mpic *mpic) in mpic_msi_reserve_u3_hwirqs() argument 78 int __init mpic_msi_init_allocator(struct mpic *mpic) in mpic_msi_init_allocator() argument 82 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator() 89 if (mpic->flags & MPIC_U3_HT_IRQS) in mpic_msi_init_allocator() 90 rc = mpic_msi_reserve_u3_hwirqs(mpic); in mpic_msi_init_allocator() [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A D | stxssa8555.dts | 69 interrupt-parent = <&mpic>; 75 interrupt-parent = <&mpic>; 84 interrupt-parent = <&mpic>; 95 interrupt-parent = <&mpic>; 111 interrupt-parent = <&mpic>; 119 interrupt-parent = <&mpic>; 127 interrupt-parent = <&mpic>; 151 interrupt-parent = <&mpic>; 189 interrupt-parent = <&mpic>; 237 mpic: pic@40000 { label [all …]
|
H A D | stx_gp3_8560.dts | 203 mpic: pic@40000 { label 266 0x6000 0 0 1 &mpic 1 1 267 0x6000 0 0 2 &mpic 2 1 268 0x6000 0 0 3 &mpic 3 1 269 0x6000 0 0 4 &mpic 4 1 272 0x6800 0 0 1 &mpic 4 1 273 0x6800 0 0 2 &mpic 1 1 274 0x6800 0 0 3 &mpic 2 1 275 0x6800 0 0 4 &mpic 3 1 278 0x7000 0 0 1 &mpic 3 1 [all …]
|
H A D | mvme5100.dts | 62 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 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 122 0x6800 0x0 0x0 0x3 &mpic 0x7 0x1 [all …]
|
H A D | storcenter.dts | 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 128 0x7000 0 0 2 &mpic 0 1 129 0x7000 0 0 3 &mpic 0 1 130 0x7000 0 0 4 &mpic 0 1 132 0x7800 0 0 1 &mpic 0 1 133 0x7800 0 0 2 &mpic 0 1 [all …]
|
H A D | tqm8540.dts | 68 interrupt-parent = <&mpic>; 74 interrupt-parent = <&mpic>; 83 interrupt-parent = <&mpic>; 94 interrupt-parent = <&mpic>; 265 mpic: pic@40000 { label 328 0xe000 0 0 1 &mpic 2 1 329 0xe000 0 0 2 &mpic 3 1 330 0xe000 0 0 3 &mpic 6 1 331 0xe000 0 0 4 &mpic 5 1 334 0x5800 0 0 1 &mpic 6 1 [all …]
|
H A D | tqm8541.dts | 67 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 250 mpic: pic@40000 { label 308 0xe000 0 0 1 &mpic 2 1 309 0xe000 0 0 2 &mpic 3 1 310 0xe000 0 0 3 &mpic 6 1 311 0xe000 0 0 4 &mpic 5 1 314 0x5800 0 0 1 &mpic 6 1 [all …]
|
H A D | tqm8555.dts | 67 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 250 mpic: pic@40000 { label 308 0xe000 0 0 1 &mpic 2 1 309 0xe000 0 0 2 &mpic 3 1 310 0xe000 0 0 3 &mpic 6 1 311 0xe000 0 0 4 &mpic 5 1 314 0x5800 0 0 1 &mpic 6 1 [all …]
|
H A D | tqm8548-bigflash.dts | 67 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 324 mpic: pic@40000 { label 446 0xe000 0 0 1 &mpic 2 1 447 0xe000 0 0 2 &mpic 3 1 448 0xe000 0 0 3 &mpic 6 1 467 0x00000 0 0 1 &mpic 0 1 468 0x00000 0 0 2 &mpic 1 1 [all …]
|
H A D | tqm8548.dts | 67 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 324 mpic: pic@40000 { label 446 0xe000 0 0 1 &mpic 2 1 447 0xe000 0 0 2 &mpic 3 1 448 0xe000 0 0 3 &mpic 6 1 467 0x00000 0 0 1 &mpic 0 1 468 0x00000 0 0 2 &mpic 1 1 [all …]
|
H A D | kuroboxHG.dts | 76 interrupt-parent = <&mpic>; 92 interrupt-parent = <&mpic>; 103 interrupt-parent = <&mpic>; 126 interrupt-parent = <&mpic>; 130 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 131 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 132 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 133 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 135 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 136 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 [all …]
|
H A D | kuroboxHD.dts | 76 interrupt-parent = <&mpic>; 92 interrupt-parent = <&mpic>; 103 interrupt-parent = <&mpic>; 126 interrupt-parent = <&mpic>; 130 0x5800 0x0 0x0 0x1 &mpic 0x0 0x1 131 0x5800 0x0 0x0 0x2 &mpic 0x1 0x1 132 0x5800 0x0 0x0 0x3 &mpic 0x2 0x1 133 0x5800 0x0 0x0 0x4 &mpic 0x3 0x1 135 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 136 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 [all …]
|
H A D | tqm8560.dts | 69 interrupt-parent = <&mpic>; 75 interrupt-parent = <&mpic>; 84 interrupt-parent = <&mpic>; 95 interrupt-parent = <&mpic>; 221 mpic: pic@40000 { label 381 0xe000 0 0 1 &mpic 2 1 382 0xe000 0 0 2 &mpic 3 1 383 0xe000 0 0 3 &mpic 6 1 384 0xe000 0 0 4 &mpic 5 1 387 0x5800 0 0 1 &mpic 6 1 [all …]
|
H A D | xpedite5330.dts | 105 interrupt-parent = <&mpic>; 210 interrupt-parent = <&mpic>; 216 interrupt-parent = <&mpic>; 223 interrupt-parent = <&mpic>; 232 interrupt-parent = <&mpic>; 243 interrupt-parent = <&mpic>; 317 interrupt-parent = <&mpic>; 529 mpic: pic@40000 { label 607 interrupt-parent = <&mpic>; 643 interrupt-parent = <&mpic>; [all …]
|
H A D | xcalibur1501.dts | 68 interrupt-parent = <&mpic>; 158 interrupt-parent = <&mpic>; 181 interrupt-parent = <&mpic>; 187 interrupt-parent = <&mpic>; 194 interrupt-parent = <&mpic>; 203 interrupt-parent = <&mpic>; 214 interrupt-parent = <&mpic>; 301 interrupt-parent = <&mpic>; 399 interrupt-parent = <&mpic>; 583 mpic: pic@40000 { label [all …]
|
H A D | xpedite5370.dts | 67 interrupt-parent = <&mpic>; 172 interrupt-parent = <&mpic>; 178 interrupt-parent = <&mpic>; 185 interrupt-parent = <&mpic>; 194 interrupt-parent = <&mpic>; 205 interrupt-parent = <&mpic>; 279 interrupt-parent = <&mpic>; 377 interrupt-parent = <&mpic>; 491 mpic: pic@40000 { label 574 interrupt-parent = <&mpic>; [all …]
|
H A D | xpedite5301.dts | 69 interrupt-parent = <&mpic>; 174 interrupt-parent = <&mpic>; 180 interrupt-parent = <&mpic>; 187 interrupt-parent = <&mpic>; 196 interrupt-parent = <&mpic>; 207 interrupt-parent = <&mpic>; 281 interrupt-parent = <&mpic>; 379 interrupt-parent = <&mpic>; 493 mpic: pic@40000 { label 576 interrupt-parent = <&mpic>; [all …]
|
H A D | xpedite5200_xmon.dts | 70 interrupt-parent = <&mpic>; 76 interrupt-parent = <&mpic>; 85 interrupt-parent = <&mpic>; 97 interrupt-parent = <&mpic>; 153 interrupt-parent = <&mpic>; 362 mpic: pic@40000 { label 457 0xe000 0 0 1 &mpic 2 1 472 0x00000 0 0 1 &mpic 0 1 473 0x00000 0 0 2 &mpic 1 1 474 0x00000 0 0 3 &mpic 2 1 [all …]
|
H A D | socrates.dts | 67 interrupt-parent = <&mpic>; 73 interrupt-parent = <&mpic>; 82 interrupt-parent = <&mpic>; 93 interrupt-parent = <&mpic>; 104 interrupt-parent = <&mpic>; 113 interrupt-parent = <&mpic>; 125 interrupt-parent = <&mpic>; 140 interrupt-parent = <&mpic>; 178 interrupt-parent = <&mpic>; 221 mpic: pic@40000 { label [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A 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 …]
|
/openbmc/linux/arch/powerpc/platforms/embedded6xx/ |
H A D | linkstation.c | 85 struct mpic *mpic; in linkstation_init_IRQ() local 87 mpic = mpic_alloc(NULL, 0, 0, 4, 0, " EPIC "); in linkstation_init_IRQ() 88 BUG_ON(mpic == NULL); in linkstation_init_IRQ() 91 mpic_assign_isu(mpic, 0, mpic->paddr + 0x10200); in linkstation_init_IRQ() 94 mpic_assign_isu(mpic, 1, mpic->paddr + 0x11000); in linkstation_init_IRQ() 97 mpic_assign_isu(mpic, 2, mpic->paddr + 0x11100); in linkstation_init_IRQ() 99 mpic_init(mpic); in linkstation_init_IRQ()
|
H A D | storcenter.c | 86 struct mpic *mpic; in storcenter_init_IRQ() local 88 mpic = mpic_alloc(NULL, 0, 0, 16, 0, " OpenPIC "); in storcenter_init_IRQ() 89 BUG_ON(mpic == NULL); in storcenter_init_IRQ() 95 mpic_assign_isu(mpic, 0, mpic->paddr + 0x10200); in storcenter_init_IRQ() 96 mpic_assign_isu(mpic, 1, mpic->paddr + 0x11000); in storcenter_init_IRQ() 98 mpic_init(mpic); in storcenter_init_IRQ()
|