Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dslice.c153 int index, mask_index; in slice_mask_for_size() local
168 mask_index = i & 0x1; in slice_mask_for_size()
170 if (((hpsizes[index] >> (mask_index * 4)) & 0xf) == psize) in slice_mask_for_size()
211 int index, mask_index; in slice_convert() local
236 mask_index = i & 0x1; in slice_convert()
240 ~(0xf << (mask_index * 4))) | in slice_convert()
241 (((unsigned long)psize) << (mask_index * 4)); in slice_convert()
641 int index, mask_index; in get_slice_psize() local
661 mask_index = index & 0x1; in get_slice_psize()
662 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xf; in get_slice_psize()
[all …]
Dhash_utils_64.c1116 unsigned long index, mask_index; in get_paca_psize() local
1125 mask_index = index & 0x1; in get_paca_psize()
1126 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xF; in get_paca_psize()
/arch/mips/include/asm/octeon/
Dcvmx-pip.h486 static inline void cvmx_pip_tag_mask_clear(uint64_t mask_index) in cvmx_pip_tag_mask_clear() argument
492 for (index = mask_index * 16; index < (mask_index + 1) * 16; index++) in cvmx_pip_tag_mask_clear()
511 static inline void cvmx_pip_tag_mask_set(uint64_t mask_index, uint64_t offset, in cvmx_pip_tag_mask_set() argument
516 uint64_t index = mask_index * 16 + offset / 8; in cvmx_pip_tag_mask_set()