cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/include/asm/dec/ioasic.h

/*
 *      include/asm-mips/dec/ioasic.h
 *
 *      DEC I/O ASIC access operations.
 *
 *      Copyright (C) 2000, 2002, 2003  Maciej W. Rozycki
 *
 *      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.
 */

#ifndef __ASM_DEC_IOASIC_H

#define __ASM_DEC_IOASIC_H

#include <linux/spinlock.h>
#include <linux/types.h>

extern spinlock_t ioasic_ssr_lock;

extern volatile u32 *ioasic_base;


static inline void ioasic_write(unsigned int reg, u32 v) { ioasic_base[reg / 4] = v; }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds2191.30%150.00%
Ralf Bächle28.70%150.00%
Total23100.00%2100.00%


static inline u32 ioasic_read(unsigned int reg) { return ioasic_base[reg / 4]; }

Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds1789.47%150.00%
Ralf Bächle210.53%150.00%
Total19100.00%2100.00%

extern void init_ioasic_irqs(int base); extern int dec_ioasic_clocksource_init(void); #endif /* __ASM_DEC_IOASIC_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds5262.65%125.00%
Ralf Bächle2428.92%125.00%
Yoichi Yuasa67.23%125.00%
Maciej W. Rozycki11.20%125.00%
Total83100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.