Release 4.14 arch/m68k/apollo/dn_ints.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <asm/traps.h>
#include <asm/apollohw.h>
unsigned int apollo_irq_startup(struct irq_data *data)
{
unsigned int irq = data->irq;
if (irq < 8)
*(volatile unsigned char *)(pica+1) &= ~(1 << irq);
else
*(volatile unsigned char *)(picb+1) &= ~(1 << (irq - 8));
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 60 | 82.19% | 2 | 40.00% |
Geert Uytterhoeven | 12 | 16.44% | 2 | 40.00% |
Roman Zippel | 1 | 1.37% | 1 | 20.00% |
Total | 73 | 100.00% | 5 | 100.00% |
void apollo_irq_shutdown(struct irq_data *data)
{
unsigned int irq = data->irq;
if (irq < 8)
*(volatile unsigned char *)(pica+1) |= (1 << irq);
else
*(volatile unsigned char *)(picb+1) |= (1 << (irq - 8));
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 54 | 80.60% | 2 | 50.00% |
Geert Uytterhoeven | 11 | 16.42% | 1 | 25.00% |
Roman Zippel | 2 | 2.99% | 1 | 25.00% |
Total | 67 | 100.00% | 4 | 100.00% |
void apollo_irq_eoi(struct irq_data *data)
{
*(volatile unsigned char *)(pica) = 0x20;
*(volatile unsigned char *)(picb) = 0x20;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Geert Uytterhoeven | 36 | 100.00% | 1 | 100.00% |
Total | 36 | 100.00% | 1 | 100.00% |
static struct irq_chip apollo_irq_chip = {
.name = "apollo",
.irq_startup = apollo_irq_startup,
.irq_shutdown = apollo_irq_shutdown,
.irq_eoi = apollo_irq_eoi,
};
void __init dn_init_IRQ(void)
{
m68k_setup_user_interrupt(VEC_USER + 96, 16);
m68k_setup_irq_controller(&apollo_irq_chip, handle_fasteoi_irq,
IRQ_APOLLO, 16);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Geert Uytterhoeven | 13 | 44.83% | 3 | 42.86% |
Linus Torvalds (pre-git) | 8 | 27.59% | 1 | 14.29% |
Roman Zippel | 6 | 20.69% | 1 | 14.29% |
Linus Torvalds | 1 | 3.45% | 1 | 14.29% |
Al Viro | 1 | 3.45% | 1 | 14.29% |
Total | 29 | 100.00% | 7 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 136 | 55.51% | 2 | 18.18% |
Geert Uytterhoeven | 85 | 34.69% | 5 | 45.45% |
Roman Zippel | 21 | 8.57% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 0.41% | 1 | 9.09% |
Linus Torvalds | 1 | 0.41% | 1 | 9.09% |
Al Viro | 1 | 0.41% | 1 | 9.09% |
Total | 245 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.