Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cache.h File Reference
#include <xtensa/config/core-isa.h>
#include <zephyr/toolchain.h>
#include <zephyr/sys/util.h>
#include <zephyr/debug/sparse.h>
#include <xtensa/hal.h>

Go to the source code of this file.

Functions

static ALWAYS_INLINE int arch_dcache_flush_range (void *addr, size_t bytes)
 Implementation of arch_dcache_flush_range.
 
static ALWAYS_INLINE int arch_dcache_flush_and_invd_range (void *addr, size_t bytes)
 Implementation of arch_dcache_flush_and_invd_range.
 
static ALWAYS_INLINE int arch_dcache_invd_range (void *addr, size_t bytes)
 Implementation of arch_dcache_invd_range.
 
static ALWAYS_INLINE int arch_dcache_invd_all (void)
 Implementation of arch_dcache_invd_all.
 
static ALWAYS_INLINE int arch_dcache_flush_all (void)
 Implementation of arch_dcache_flush_all.
 
static ALWAYS_INLINE int arch_dcache_flush_and_invd_all (void)
 Implementation of arch_dcache_flush_and_invd_all.
 
static ALWAYS_INLINE void arch_dcache_enable (void)
 Implementation of arch_dcache_enable.
 
static ALWAYS_INLINE void arch_dcache_disable (void)
 Implementation of arch_dcache_disable.
 
static ALWAYS_INLINE size_t arch_icache_line_size_get (void)
 Implementation of arch_icache_line_size_get.
 
static ALWAYS_INLINE int arch_icache_flush_all (void)
 Implementation of arch_icache_flush_all.
 
static ALWAYS_INLINE int arch_icache_invd_all (void)
 Implementation of arch_icache_invd_all.
 
static ALWAYS_INLINE int arch_icache_flush_and_invd_all (void)
 Implementation of arch_icache_flush_and_invd_all.
 
static ALWAYS_INLINE int arch_icache_flush_range (void *addr, size_t size)
 Implementation of arch_icache_flush_range.
 
static ALWAYS_INLINE int arch_icache_invd_range (void *addr, size_t size)
 Implementation of arch_icache_invd_range.
 
static ALWAYS_INLINE int arch_icache_flush_and_invd_range (void *addr, size_t size)
 Implementation of arch_icache_flush_and_invd_range.
 
static ALWAYS_INLINE void arch_icache_enable (void)
 Implementation of arch_icache_enable.
 
static ALWAYS_INLINE void arch_icache_disable (void)
 Implementation of arch_icache_disable.
 
static bool arch_cache_is_ptr_cached (void *ptr)
 
static bool arch_cache_is_ptr_uncached (void *ptr)
 
static void * arch_cache_cached_ptr_get (void *ptr)
 
static void * arch_cache_uncached_ptr_get (void *ptr)
 

Function Documentation

◆ arch_cache_cached_ptr_get()

static void * arch_cache_cached_ptr_get ( void *  ptr)
inlinestatic

◆ arch_cache_is_ptr_cached()

static bool arch_cache_is_ptr_cached ( void *  ptr)
inlinestatic

◆ arch_cache_is_ptr_uncached()

static bool arch_cache_is_ptr_uncached ( void *  ptr)
inlinestatic

◆ arch_cache_uncached_ptr_get()

static void * arch_cache_uncached_ptr_get ( void *  ptr)
inlinestatic

◆ arch_dcache_disable()

static ALWAYS_INLINE void arch_dcache_disable ( void  )
static

Implementation of arch_dcache_disable.

◆ arch_dcache_enable()

static ALWAYS_INLINE void arch_dcache_enable ( void  )
static

Implementation of arch_dcache_enable.

◆ arch_dcache_flush_all()

static ALWAYS_INLINE int arch_dcache_flush_all ( void  )
static

Implementation of arch_dcache_flush_all.

◆ arch_dcache_flush_and_invd_all()

static ALWAYS_INLINE int arch_dcache_flush_and_invd_all ( void  )
static

Implementation of arch_dcache_flush_and_invd_all.

◆ arch_dcache_flush_and_invd_range()

static ALWAYS_INLINE int arch_dcache_flush_and_invd_range ( void *  addr,
size_t  bytes 
)
static

◆ arch_dcache_flush_range()

static ALWAYS_INLINE int arch_dcache_flush_range ( void *  addr,
size_t  bytes 
)
static

Implementation of arch_dcache_flush_range.

◆ arch_dcache_invd_all()

static ALWAYS_INLINE int arch_dcache_invd_all ( void  )
static

Implementation of arch_dcache_invd_all.

◆ arch_dcache_invd_range()

static ALWAYS_INLINE int arch_dcache_invd_range ( void *  addr,
size_t  bytes 
)
static

Implementation of arch_dcache_invd_range.

◆ arch_icache_disable()

static ALWAYS_INLINE void arch_icache_disable ( void  )
static

Implementation of arch_icache_disable.

◆ arch_icache_enable()

static ALWAYS_INLINE void arch_icache_enable ( void  )
static

Implementation of arch_icache_enable.

◆ arch_icache_flush_all()

static ALWAYS_INLINE int arch_icache_flush_all ( void  )
static

Implementation of arch_icache_flush_all.

◆ arch_icache_flush_and_invd_all()

static ALWAYS_INLINE int arch_icache_flush_and_invd_all ( void  )
static

Implementation of arch_icache_flush_and_invd_all.

◆ arch_icache_flush_and_invd_range()

static ALWAYS_INLINE int arch_icache_flush_and_invd_range ( void *  addr,
size_t  size 
)
static

◆ arch_icache_flush_range()

static ALWAYS_INLINE int arch_icache_flush_range ( void *  addr,
size_t  size 
)
static

Implementation of arch_icache_flush_range.

◆ arch_icache_invd_all()

static ALWAYS_INLINE int arch_icache_invd_all ( void  )
static

Implementation of arch_icache_invd_all.

◆ arch_icache_invd_range()

static ALWAYS_INLINE int arch_icache_invd_range ( void *  addr,
size_t  size 
)
static

Implementation of arch_icache_invd_range.

◆ arch_icache_line_size_get()

static ALWAYS_INLINE size_t arch_icache_line_size_get ( void  )
static

Implementation of arch_icache_line_size_get.