coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cache.c File Reference
#include <arch/cache.h>
Include dependency graph for cache.c:

Go to the source code of this file.

Functions

void tlb_invalidate_all (void)
 
void dcache_clean_all (void)
 
void dcache_clean_invalidate_all (void)
 
void dcache_invalidate_all (void)
 
unsigned int dcache_line_bytes (void)
 
void dcache_clean_by_mva (void const *addr, size_t len)
 
void dcache_clean_invalidate_by_mva (void const *addr, size_t len)
 
void dcache_invalidate_by_mva (void const *addr, size_t len)
 
void dcache_mmu_disable (void)
 
void dcache_mmu_enable (void)
 
void cache_sync_instructions (void)
 

Function Documentation

◆ cache_sync_instructions()

void cache_sync_instructions ( void  )

Definition at line 57 of file cache.c.

Referenced by arch_prog_run(), arch_segment_loaded(), and load_ipq_blob().

Here is the caller graph for this function:

◆ dcache_clean_all()

void dcache_clean_all ( void  )

Definition at line 14 of file cache.c.

Referenced by board_reset(), cache_sync_instructions(), cold_reset(), do_full_reset(), do_system_reset(), global_reset(), mtk_wdt_swreset(), soft_reset(), and warm_reset().

Here is the caller graph for this function:

◆ dcache_clean_by_mva()

void dcache_clean_by_mva ( void const *  addr,
size_t  len 
)

Definition at line 37 of file cache.c.

Referenced by arch_segment_loaded(), queue_direct_data(), shrm_fw_load_reset(), soc_get_bl31_plat_params(), and tegra_spi_dma_prepare().

Here is the caller graph for this function:

◆ dcache_clean_invalidate_all()

void dcache_clean_invalidate_all ( void  )

Definition at line 18 of file cache.c.

Referenced by cache_sync_instructions(), and dcache_mmu_disable().

Here is the caller graph for this function:

◆ dcache_clean_invalidate_by_mva()

void dcache_clean_invalidate_by_mva ( void const *  addr,
size_t  len 
)

Definition at line 41 of file cache.c.

Referenced by arch_segment_loaded().

Here is the caller graph for this function:

◆ dcache_invalidate_all()

void dcache_invalidate_all ( void  )

Definition at line 22 of file cache.c.

◆ dcache_invalidate_by_mva()

void dcache_invalidate_by_mva ( void const *  addr,
size_t  len 
)

Definition at line 45 of file cache.c.

◆ dcache_line_bytes()

unsigned int dcache_line_bytes ( void  )

Definition at line 26 of file cache.c.

Referenced by dcache_op_mva(), dcache_op_va(), quadspi_init(), and xfer_setup().

Here is the caller graph for this function:

◆ dcache_mmu_disable()

void dcache_mmu_disable ( void  )

Definition at line 49 of file cache.c.

Referenced by arch_prog_run(), mainboard_init(), setup_mmu(), usb_cbfs_open(), and wakeup().

Here is the caller graph for this function:

◆ dcache_mmu_enable()

void dcache_mmu_enable ( void  )

Definition at line 53 of file cache.c.

Referenced by bootblock_soc_init(), enable_cache(), mainboard_enable(), romstage(), setup_mmu(), and usb_cbfs_open().

Here is the caller graph for this function:

◆ tlb_invalidate_all()

void tlb_invalidate_all ( void  )

Definition at line 10 of file cache.c.

Referenced by mmu_restore_context().

Here is the caller graph for this function: