Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cacheflush.h File Reference
#include <asm/blackfin.h>
#include <asm/sections.h>

Go to the source code of this file.

Macros

#define flush_dcache_mmap_lock(mapping)   do { } while (0)
 
#define flush_dcache_mmap_unlock(mapping)   do { } while (0)
 
#define flush_cache_mm(mm)   do { } while (0)
 
#define flush_cache_range(vma, start, end)   do { } while (0)
 
#define flush_cache_page(vma, vmaddr)   do { } while (0)
 
#define flush_cache_vmap(start, end)   do { } while (0)
 
#define flush_cache_vunmap(start, end)   do { } while (0)
 
#define flush_icache_range_others(start, end)   do { } while (0)
 
#define copy_to_user_page(vma, page, vaddr, dst, src, len)
 
#define copy_from_user_page(vma, page, vaddr, dst, src, len)   memcpy(dst, src, len)
 
#define invalidate_dcache_range(start, end)   do { } while (0)
 
#define flush_dcache_range(start, end)   do { } while (0)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0
 
#define flush_dcache_page(page)   do { } while (0)
 

Functions

void blackfin_icache_flush_range (unsigned long start_address, unsigned long end_address)
 
void blackfin_dcache_flush_range (unsigned long start_address, unsigned long end_address)
 
void blackfin_dcache_invalidate_range (unsigned long start_address, unsigned long end_address)
 
void blackfin_dflush_page (void *page)
 
void blackfin_invalidate_entire_dcache (void)
 
void blackfin_invalidate_entire_icache (void)
 

Variables

unsigned long reserved_mem_dcache_on
 
unsigned long reserved_mem_icache_on
 

Macro Definition Documentation

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0

Definition at line 92 of file cacheflush.h.

#define copy_from_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)    memcpy(dst, src, len)

Definition at line 79 of file cacheflush.h.

#define copy_to_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)
Value:
do { memcpy(dst, src, len); \
flush_icache_range((unsigned) (dst), (unsigned) (dst) + (len)); \
} while (0)

Definition at line 74 of file cacheflush.h.

#define flush_cache_mm (   mm)    do { } while (0)

Definition at line 27 of file cacheflush.h.

#define flush_cache_page (   vma,
  vmaddr 
)    do { } while (0)

Definition at line 29 of file cacheflush.h.

#define flush_cache_range (   vma,
  start,
  end 
)    do { } while (0)

Definition at line 28 of file cacheflush.h.

#define flush_cache_vmap (   start,
  end 
)    do { } while (0)

Definition at line 30 of file cacheflush.h.

#define flush_cache_vunmap (   start,
  end 
)    do { } while (0)

Definition at line 31 of file cacheflush.h.

#define flush_dcache_mmap_lock (   mapping)    do { } while (0)

Definition at line 25 of file cacheflush.h.

#define flush_dcache_mmap_unlock (   mapping)    do { } while (0)

Definition at line 26 of file cacheflush.h.

#define flush_dcache_page (   page)    do { } while (0)

Definition at line 93 of file cacheflush.h.

#define flush_dcache_range (   start,
  end 
)    do { } while (0)

Definition at line 91 of file cacheflush.h.

#define flush_icache_range_others (   start,
  end 
)    do { } while (0)

Definition at line 37 of file cacheflush.h.

#define invalidate_dcache_range (   start,
  end 
)    do { } while (0)

Definition at line 84 of file cacheflush.h.

Function Documentation

void blackfin_dcache_flush_range ( unsigned long  start_address,
unsigned long  end_address 
)
void blackfin_dcache_invalidate_range ( unsigned long  start_address,
unsigned long  end_address 
)
void blackfin_dflush_page ( void page)
void blackfin_icache_flush_range ( unsigned long  start_address,
unsigned long  end_address 
)
void blackfin_invalidate_entire_dcache ( void  )

Definition at line 16 of file cache-c.c.

void blackfin_invalidate_entire_icache ( void  )

Definition at line 28 of file cache-c.c.

Variable Documentation

unsigned long reserved_mem_dcache_on

Definition at line 44 of file setup.c.

unsigned long reserved_mem_icache_on

Definition at line 45 of file setup.c.