cregit-Linux how code gets into the kernel

Release 4.14 arch/m68k/apollo/dn_ints.c

Directory: arch/m68k/apollo
// 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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)6082.19%240.00%
Geert Uytterhoeven1216.44%240.00%
Roman Zippel11.37%120.00%
Total73100.00%5100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)5480.60%250.00%
Geert Uytterhoeven1116.42%125.00%
Roman Zippel22.99%125.00%
Total67100.00%4100.00%


void apollo_irq_eoi(struct irq_data *data) { *(volatile unsigned char *)(pica) = 0x20; *(volatile unsigned char *)(picb) = 0x20; }

Contributors

PersonTokensPropCommitsCommitProp
Geert Uytterhoeven36100.00%1100.00%
Total36100.00%1100.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

PersonTokensPropCommitsCommitProp
Geert Uytterhoeven1344.83%342.86%
Linus Torvalds (pre-git)827.59%114.29%
Roman Zippel620.69%114.29%
Linus Torvalds13.45%114.29%
Al Viro13.45%114.29%
Total29100.00%7100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)13655.51%218.18%
Geert Uytterhoeven8534.69%545.45%
Roman Zippel218.57%19.09%
Greg Kroah-Hartman10.41%19.09%
Linus Torvalds10.41%19.09%
Al Viro10.41%19.09%
Total245100.00%11100.00%
Directory: arch/m68k/apollo
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.