Release 4.10 arch/mips/kernel/irq-rm7000.c
/*
* Copyright (C) 2003 Ralf Baechle
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* Handler for RM7000 extended interrupts. These are a non-standard
* feature so we handle them separately from standard interrupts.
*/
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <asm/irq_cpu.h>
#include <asm/mipsregs.h>
static inline void unmask_rm7k_irq(struct irq_data *d)
{
set_c0_intcontrol(0x100 << (d->irq - RM7K_CPU_IRQ_BASE));
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 18 | 72.00% | 2 | 50.00% |
thomas gleixner | thomas gleixner | 6 | 24.00% | 1 | 25.00% |
atsushi nemoto | atsushi nemoto | 1 | 4.00% | 1 | 25.00% |
| Total | 25 | 100.00% | 4 | 100.00% |
static inline void mask_rm7k_irq(struct irq_data *d)
{
clear_c0_intcontrol(0x100 << (d->irq - RM7K_CPU_IRQ_BASE));
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 18 | 72.00% | 2 | 50.00% |
thomas gleixner | thomas gleixner | 6 | 24.00% | 1 | 25.00% |
atsushi nemoto | atsushi nemoto | 1 | 4.00% | 1 | 25.00% |
| Total | 25 | 100.00% | 4 | 100.00% |
static struct irq_chip rm7k_irq_controller = {
.name = "RM7000",
.irq_ack = mask_rm7k_irq,
.irq_mask = mask_rm7k_irq,
.irq_mask_ack = mask_rm7k_irq,
.irq_unmask = unmask_rm7k_irq,
.irq_eoi = unmask_rm7k_irq
};
void __init rm7k_cpu_irq_init(void)
{
int base = RM7K_CPU_IRQ_BASE;
int i;
clear_c0_intcontrol(0x00000f00); /* Mask all */
for (i = base; i < base + 4; i++)
irq_set_chip_and_handler(i, &rm7k_irq_controller,
handle_percpu_irq);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 35 | 74.47% | 2 | 28.57% |
atsushi nemoto | atsushi nemoto | 10 | 21.28% | 3 | 42.86% |
ralf baechle | ralf baechle | 1 | 2.13% | 1 | 14.29% |
thomas gleixner | thomas gleixner | 1 | 2.13% | 1 | 14.29% |
| Total | 47 | 100.00% | 7 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
andrew morton | andrew morton | 96 | 62.75% | 2 | 14.29% |
thomas gleixner | thomas gleixner | 18 | 11.76% | 2 | 14.29% |
atsushi nemoto | atsushi nemoto | 17 | 11.11% | 4 | 28.57% |
ralf baechle | ralf baechle | 14 | 9.15% | 4 | 28.57% |
thomas koeller | thomas koeller | 5 | 3.27% | 1 | 7.14% |
david howells | david howells | 3 | 1.96% | 1 | 7.14% |
| Total | 153 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.