Release 4.11 arch/arm/include/asm/glue-cache.h
/*
* arch/arm/include/asm/glue-cache.h
*
* Copyright (C) 1999-2002 Russell King
*
* 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.
*/
#ifndef ASM_GLUE_CACHE_H
#define ASM_GLUE_CACHE_H
#include <asm/glue.h>
/*
* Cache Model
* ===========
*/
#undef _CACHE
#undef MULTI_CACHE
#if defined(CONFIG_CPU_CACHE_V4)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE v4
# endif
#endif
#if defined(CONFIG_CPU_ARM920T) || defined(CONFIG_CPU_ARM922T) || \
defined(CONFIG_CPU_ARM925T) || defined(CONFIG_CPU_ARM1020) || \
defined(CONFIG_CPU_ARM1026)
# define MULTI_CACHE 1
#endif
#if defined(CONFIG_CPU_FA526)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE fa
# endif
#endif
#if defined(CONFIG_CPU_ARM926T)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE arm926
# endif
#endif
#if defined(CONFIG_CPU_ARM940T)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE arm940
# endif
#endif
#if defined(CONFIG_CPU_ARM946E)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE arm946
# endif
#endif
#if defined(CONFIG_CPU_CACHE_V4WB)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE v4wb
# endif
#endif
#if defined(CONFIG_CPU_XSCALE)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE xscale
# endif
#endif
#if defined(CONFIG_CPU_XSC3)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE xsc3
# endif
#endif
#if defined(CONFIG_CPU_MOHAWK)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE mohawk
# endif
#endif
#if defined(CONFIG_CPU_FEROCEON)
# define MULTI_CACHE 1
#endif
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE v6
# endif
#endif
#if defined(CONFIG_CPU_V7)
# ifdef _CACHE
# define MULTI_CACHE 1
# else
# define _CACHE v7
# endif
#endif
#if defined(CONFIG_CPU_V7M)
# define MULTI_CACHE 1
#endif
#if !defined(_CACHE) && !defined(MULTI_CACHE)
#error Unknown cache maintenance model
#endif
#ifndef __ASSEMBLER__
static inline void nop_flush_icache_all(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 7 | 87.50% | 1 | 50.00% |
Behan Webster | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
static inline void nop_flush_kern_cache_all(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 7 | 87.50% | 1 | 50.00% |
Behan Webster | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
static inline void nop_flush_kern_cache_louis(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 7 | 87.50% | 1 | 50.00% |
Behan Webster | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
static inline void nop_flush_user_cache_all(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 7 | 87.50% | 1 | 50.00% |
Behan Webster | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
static inline void nop_flush_user_cache_range(unsigned long a,
unsigned long b, unsigned int c) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 17 | 94.44% | 1 | 50.00% |
Behan Webster | 1 | 5.56% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 13 | 92.86% | 1 | 50.00% |
Behan Webster | 1 | 7.14% | 1 | 50.00% |
Total | 14 | 100.00% | 2 | 100.00% |
static inline int nop_coherent_user_range(unsigned long a,
unsigned long b) { return 0; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 17 | 94.44% | 1 | 50.00% |
Behan Webster | 1 | 5.56% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
static inline void nop_flush_kern_dcache_area(void *a, size_t s) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 12 | 92.31% | 1 | 50.00% |
Behan Webster | 1 | 7.69% | 1 | 50.00% |
Total | 13 | 100.00% | 2 | 100.00% |
static inline void nop_dma_flush_range(const void *a, const void *b) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 15 | 93.75% | 1 | 50.00% |
Behan Webster | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline void nop_dma_map_area(const void *s, size_t l, int f) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 16 | 94.12% | 1 | 50.00% |
Behan Webster | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
static inline void nop_dma_unmap_area(const void *s, size_t l, int f) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Catalin Marinas | 16 | 94.12% | 1 | 50.00% |
Behan Webster | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
#endif
#ifndef MULTI_CACHE
#define __cpuc_flush_icache_all __glue(_CACHE,_flush_icache_all)
#define __cpuc_flush_kern_all __glue(_CACHE,_flush_kern_cache_all)
#define __cpuc_flush_kern_louis __glue(_CACHE,_flush_kern_cache_louis)
#define __cpuc_flush_user_all __glue(_CACHE,_flush_user_cache_all)
#define __cpuc_flush_user_range __glue(_CACHE,_flush_user_cache_range)
#define __cpuc_coherent_kern_range __glue(_CACHE,_coherent_kern_range)
#define __cpuc_coherent_user_range __glue(_CACHE,_coherent_user_range)
#define __cpuc_flush_dcache_area __glue(_CACHE,_flush_kern_dcache_area)
#define dmac_flush_range __glue(_CACHE,_dma_flush_range)
#endif
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Russell King | 377 | 69.30% | 3 | 42.86% |
Catalin Marinas | 151 | 27.76% | 1 | 14.29% |
Behan Webster | 11 | 2.02% | 1 | 14.29% |
Lorenzo Pieralisi | 4 | 0.74% | 1 | 14.29% |
Lucas De Marchi | 1 | 0.18% | 1 | 14.29% |
Total | 544 | 100.00% | 7 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.