cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/boards/board-shmin.c

Directory: arch/sh/boards
// SPDX-License-Identifier: GPL-2.0
/*
 * arch/sh/boards/shmin/setup.c
 *
 * Copyright (C) 2006 Takashi YOSHII
 *
 * SHMIN Support.
 */
#include <linux/init.h>
#include <linux/irq.h>
#include <asm/machvec.h>
#include <mach/shmin.h>
#include <asm/clock.h>
#include <asm/io.h>


#define PFC_PHCR	0xa400010eUL

#define INTC_ICR1	0xa4000010UL


static void __init init_shmin_irq(void) { __raw_writew(0x2a00, PFC_PHCR); // IRQ0-3=IRQ __raw_writew(0x0aaa, INTC_ICR1); // IRQ0-3=IRQ-mode,Low-active. plat_irq_setup_pins(IRQ_MODE_IRQ); }

Contributors

PersonTokensPropCommitsCommitProp
Takashi Yoshii2686.67%250.00%
Magnus Damm26.67%125.00%
Paul Mundt26.67%125.00%
Total30100.00%4100.00%


static void __init shmin_setup(char **cmdline_p) { __set_io_port_base(SHMIN_IO_BASE); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Mundt952.94%150.00%
Takashi Yoshii847.06%150.00%
Total17100.00%2100.00%

static struct sh_machine_vector mv_shmin __initmv = { .mv_name = "SHMIN", .mv_setup = shmin_setup, .mv_init_irq = init_shmin_irq, };

Overall Contributors

PersonTokensPropCommitsCommitProp
Takashi Yoshii6970.41%218.18%
Paul Mundt2222.45%545.45%
Magnus Damm55.10%218.18%
Nobuhiro Iwamatsu11.02%19.09%
Greg Kroah-Hartman11.02%19.09%
Total98100.00%11100.00%
Directory: arch/sh/boards
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.