cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/pistachio/time.c

/*
 * Pistachio clocksource/timer setup
 *
 * Copyright (C) 2014 Google, Inc.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 */

#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/of.h>

#include <asm/mips-cps.h>
#include <asm/time.h>


unsigned int get_c0_compare_int(void) { return gic_get_c0_compare_int(); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Bresticker12100.00%1100.00%
Total12100.00%1100.00%


int get_c0_perfcount_int(void) { return gic_get_c0_perfcount_int(); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Bresticker11100.00%1100.00%
Total11100.00%1100.00%

EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
int get_c0_fdc_int(void) { return gic_get_c0_fdc_int(); }

Contributors

PersonTokensPropCommitsCommitProp
James Hogan11100.00%1100.00%
Total11100.00%1100.00%


void __init plat_time_init(void) { struct device_node *np; struct clk *clk; of_clk_init(NULL); timer_probe(); np = of_get_cpu_node(0, NULL); if (!np) { pr_err("Failed to get CPU node\n"); return; } clk = of_clk_get(np, 0); if (IS_ERR(clk)) { pr_err("Failed to get CPU clock: %ld\n", PTR_ERR(clk)); return; } mips_hpt_frequency = clk_get_rate(clk) / 2; clk_put(clk); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Bresticker9098.90%150.00%
Daniel Lezcano11.10%150.00%
Total91100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Bresticker13387.50%120.00%
James Hogan117.24%120.00%
Felix Fietkau53.29%120.00%
Paul Burton21.32%120.00%
Daniel Lezcano10.66%120.00%
Total152100.00%5100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.