Home
last modified time | relevance | path

Searched refs:cdesc (Results 1 – 3 of 3) sorted by relevance

/arch/loongarch/mm/
A Dcache.c53 for (i = 0; i < cdesc->sets; i++) { in flush_cache_leaf()
54 for (j = 0; j < cdesc->ways; j++) { in flush_cache_leaf()
59 addr -= cdesc->ways; in flush_cache_leaf()
60 addr += cdesc->linesz; in flush_cache_leaf()
73 if (cache_inclusive(cdesc + leaf)) { in __flush_cache_all()
107 cdesc->level = level; \
112 cdesc++; leaf++; \
125 cdesc->type = CACHE_TYPE_INST; in cpu_cache_init()
130 cdesc->type = CACHE_TYPE_DATA; in cpu_cache_init()
143 cdesc->type = CACHE_TYPE_INST; in cpu_cache_init()
[all …]
/arch/loongarch/include/asm/
A Dcacheflush.h12 static inline bool cache_present(struct cache_desc *cdesc) in cache_present() argument
14 return cdesc->flags & CACHE_PRESENT; in cache_present()
17 static inline bool cache_private(struct cache_desc *cdesc) in cache_private() argument
19 return cdesc->flags & CACHE_PRIVATE; in cache_private()
22 static inline bool cache_inclusive(struct cache_desc *cdesc) in cache_inclusive() argument
24 return cdesc->flags & CACHE_INCLUSIVE; in cache_inclusive()
/arch/loongarch/kernel/
A Dcacheinfo.c73 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves; in populate_cache_leaves() local
76 cd = cdesc + i; in populate_cache_leaves()

Completed in 5 milliseconds