Lines Matching refs:way
62 * ARC700 MMU-v1 had a Joint-TLB for Code and Data and is 2 way set-assoc.
67 * Although J-TLB is 2 way set assoc, ARC700 caches J-TLB into uTLBS which has
275 * Flush the entire MM for userland. The fastest way is to move to Next ASID
304 * -Here the fastest way (if range is too large) is to move to next ASID
874 #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way))
901 int is_valid, way;
905 for (way = 0, is_valid = 0; way < n_ways; way++) {
907 SET_WAY_TO_IDX(mmu, set, way));
909 pd0[way] = read_aux_reg(ARC_REG_TLBPD0);
910 is_valid |= pd0[way] & _PAGE_PRESENT;
911 pd0[way] &= PAGE_MASK;
919 for (way = 0; way < n_ways - 1; way++) {
923 if (!pd0[way])
926 for (n = way + 1; n < n_ways; n++) {
927 if (pd0[way] != pd0[n])
932 pd0[way], set, way, n);
935 * clear entry @way and not @n.
938 pd0[way] = 0;
940 SET_WAY_TO_IDX(mmu, set, way));