Home
last modified time | relevance | path

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

/hal_xtensa-latest/src/hal/
Dattribute.c201 # define CA_MASK 0xF /*((1L<<XCHAL_CA_BITS)-1)*/ /* mask of cache attribute bits */ in xthal_set_region_attribute()
230 cattr &= CA_MASK; in xthal_set_region_attribute()
240 unsigned oldattr = ((cacheattr >> sh) & CA_MASK); in xthal_set_region_attribute()
259 cachewrtr = ((cachewrtr & ~(CA_MASK << sh)) | (tmpattr << sh)); in xthal_set_region_attribute()
262 cacheattr = ((cacheattr & ~(CA_MASK << sh)) | (newattr << sh)); in xthal_set_region_attribute()
Dset_region_translate.c401 const unsigned CA_MASK = 0xF; in xthal_set_region_translation() local
418 icache_attr = cattr & CA_MASK; in xthal_set_region_translation()
459 unsigned old_attr = (old_cache_attr >> sh) & CA_MASK; in xthal_set_region_translation()
462 cachewrtr = (cachewrtr & ~(CA_MASK << sh)) in xthal_set_region_translation()