Searched refs:mask_index (Results 1 – 3 of 3) sorted by relevance
153 int index, mask_index; in slice_mask_for_size() local168 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() local236 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() local661 mask_index = index & 0x1; in get_slice_psize()662 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xf; in get_slice_psize()[all …]
1116 unsigned long index, mask_index; in get_paca_psize() local1125 mask_index = index & 0x1; in get_paca_psize()1126 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xF; in get_paca_psize()
486 static inline void cvmx_pip_tag_mask_clear(uint64_t mask_index) in cvmx_pip_tag_mask_clear() argument492 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() argument516 uint64_t index = mask_index * 16 + offset / 8; in cvmx_pip_tag_mask_set()