cregit-Linux how code gets into the kernel

Release 4.11 arch/arm/mach-omap2/prcm_mpu44xx.c

/*
 * OMAP4 PRCM_MPU module functions
 *
 * Copyright (C) 2009 Nokia Corporation
 * Paul Walmsley
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/io.h>

#include "iomap.h"
#include "common.h"
#include "prcm_mpu44xx.h"
#include "cm-regbits-44xx.h"

/*
 * prcm_mpu_base: the virtual address of the start of the PRCM_MPU IP
 *   block registers
 */

void __iomem *prcm_mpu_base;

/* PRCM_MPU low-level functions */


u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 reg) { return readl_relaxed(OMAP44XX_PRCM_MPU_REGADDR(inst, reg)); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Walmsley2195.45%150.00%
Victor Kamensky14.55%150.00%
Total22100.00%2100.00%


void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 reg) { writel_relaxed(val, OMAP44XX_PRCM_MPU_REGADDR(inst, reg)); }

Contributors

PersonTokensPropCommitsCommitProp
Paul Walmsley2596.15%150.00%
Victor Kamensky13.85%150.00%
Total26100.00%2100.00%


u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 reg) { u32 v; v = omap4_prcm_mpu_read_inst_reg(inst, reg); v &= ~mask; v |= bits; omap4_prcm_mpu_write_inst_reg(v, inst, reg); return v; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Walmsley50100.00%1100.00%
Total50100.00%1100.00%

/** * omap2_set_globals_prcm_mpu - set the MPU PRCM base address (for early use) * @prcm_mpu: PRCM_MPU base virtual address * * XXX Will be replaced when the PRM/CM drivers are completed. */
void __init omap2_set_globals_prcm_mpu(void __iomem *prcm_mpu) { prcm_mpu_base = prcm_mpu; }

Contributors

PersonTokensPropCommitsCommitProp
Paul Walmsley15100.00%1100.00%
Total15100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Paul Walmsley14395.97%240.00%
Tony Lindgren42.68%240.00%
Victor Kamensky21.34%120.00%
Total149100.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.