cregit-Linux how code gets into the kernel

Release 4.10 arch/m68k/apollo/dn_ints.c

Directory: arch/m68k/apollo
#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
pre-gitpre-git6082.19%240.00%
geert uytterhoevengeert uytterhoeven1216.44%240.00%
roman zippelroman 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
pre-gitpre-git5480.60%250.00%
geert uytterhoevengeert uytterhoeven1116.42%125.00%
roman zippelroman 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 uytterhoevengeert 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 uytterhoevengeert uytterhoeven1344.83%342.86%
pre-gitpre-git827.59%114.29%
roman zippelroman zippel620.69%114.29%
al viroal viro13.45%114.29%
linus torvaldslinus torvalds13.45%114.29%
Total29100.00%7100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
pre-gitpre-git13655.74%220.00%
geert uytterhoevengeert uytterhoeven8534.84%550.00%
roman zippelroman zippel218.61%110.00%
al viroal viro10.41%110.00%
linus torvaldslinus torvalds10.41%110.00%
Total244100.00%10100.00%
Directory: arch/m68k/apollo
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.