Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cache.h File Reference

Go to the source code of this file.

Macros

#define L1_CACHE_BYTES   32
 
#define L1_CACHE_SHIFT   5
 
#define SMP_CACHE_BYTES   L1_CACHE_BYTES
 
#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES
 
#define __read_mostly   __attribute__((__section__(".data..read_mostly")))
 
#define pdtlb(addr)   asm volatile("pdtlb 0(%%sr1,%0)" : : "r" (addr));
 
#define pitlb(addr)   asm volatile("pitlb 0(%%sr1,%0)" : : "r" (addr));
 
#define pdtlb_kernel(addr)   asm volatile("pdtlb 0(%0)" : : "r" (addr));
 
#define SRHASH_PCXST   0 /* pcxs, pcxt, pcxt_ */
 
#define SRHASH_PCXL   1 /* pcxl */
 
#define SRHASH_PA20   2 /* pcxu, pcxu_, pcxw, pcxw_ */
 

Functions

void parisc_cache_init (void)
 
void disable_sr_hashing_asm (int)
 
void disable_sr_hashing (void)
 
void free_sid (unsigned long)
 
unsigned long alloc_sid (void)
 
void show_cache_info (struct seq_file *m)
 
void parisc_setup_cache_timing (void)
 

Variables

int split_tlb
 
int dcache_stride
 
int icache_stride
 
struct pdc_cache_info cache_info
 

Macro Definition Documentation

#define __read_mostly   __attribute__((__section__(".data..read_mostly")))

Definition at line 31 of file cache.h.

#define ARCH_DMA_MINALIGN   L1_CACHE_BYTES

Definition at line 29 of file cache.h.

#define L1_CACHE_BYTES   32

Definition at line 21 of file cache.h.

#define L1_CACHE_SHIFT   5

Definition at line 22 of file cache.h.

#define pdtlb (   addr)    asm volatile("pdtlb 0(%%sr1,%0)" : : "r" (addr));

Definition at line 48 of file cache.h.

#define pdtlb_kernel (   addr)    asm volatile("pdtlb 0(%0)" : : "r" (addr));

Definition at line 50 of file cache.h.

#define pitlb (   addr)    asm volatile("pitlb 0(%%sr1,%0)" : : "r" (addr));

Definition at line 49 of file cache.h.

#define SMP_CACHE_BYTES   L1_CACHE_BYTES

Definition at line 27 of file cache.h.

#define SRHASH_PA20   2 /* pcxu, pcxu_, pcxw, pcxw_ */

Definition at line 58 of file cache.h.

#define SRHASH_PCXL   1 /* pcxl */

Definition at line 57 of file cache.h.

#define SRHASH_PCXST   0 /* pcxs, pcxt, pcxt_ */

Definition at line 56 of file cache.h.

Function Documentation

unsigned long alloc_sid ( void  )

Definition at line 963 of file init.c.

void disable_sr_hashing ( void  )

Definition at line 228 of file cache.c.

void disable_sr_hashing_asm ( int  )
void free_sid ( unsigned  long)

Definition at line 989 of file init.c.

void parisc_cache_init ( void  )

Definition at line 131 of file cache.c.

void parisc_setup_cache_timing ( void  )

Definition at line 346 of file cache.c.

void show_cache_info ( struct seq_file m)

Definition at line 89 of file cache.c.

Variable Documentation

unsigned char cache_info

Definition at line 288 of file dasd_eckd.h.

int dcache_stride
int icache_stride
int split_tlb