Home
last modified time | relevance | path

Searched refs:CACHE_LINE_ADDR_MSK (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/crypto/
A Drtl8721dhp_crypto_ram.c712 header_offset = (start_addr & (~CACHE_LINE_ADDR_MSK)); in CRYPTO_Cache_Sync()
713 tail_offset = (end_addr & (~CACHE_LINE_ADDR_MSK)); in CRYPTO_Cache_Sync()
720 DCache_Invalidate((start_addr & CACHE_LINE_ADDR_MSK), CACHE_LINE_SIZE); in CRYPTO_Cache_Sync()
722 if((end_addr & CACHE_LINE_ADDR_MSK) == (start_addr & CACHE_LINE_ADDR_MSK)) in CRYPTO_Cache_Sync()
733 DCache_Clean((start_addr & CACHE_LINE_ADDR_MSK), CACHE_LINE_SIZE); in CRYPTO_Cache_Sync()
736 …HE_LINE_ALIGNED_ADDR(end_addr)) && ((end_addr & CACHE_LINE_ADDR_MSK) != (start_addr & CACHE_LINE_A… in CRYPTO_Cache_Sync()
739 memcpy(cache_buf, (u8 *)(end_addr & CACHE_LINE_ADDR_MSK), CACHE_LINE_SIZE); in CRYPTO_Cache_Sync()
741 DCache_Invalidate((end_addr & CACHE_LINE_ADDR_MSK), CACHE_LINE_SIZE); in CRYPTO_Cache_Sync()
743 memcpy(cache_buf, (u8 *)(end_addr & CACHE_LINE_ADDR_MSK), tail_offset); in CRYPTO_Cache_Sync()
745 memcpy((u8 *)(end_addr & CACHE_LINE_ADDR_MSK), cache_buf, CACHE_LINE_SIZE); in CRYPTO_Cache_Sync()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_cache.h62 #define CACHE_LINE_ADDR_MSK 0xFFFFFFE0 macro

Completed in 5 milliseconds