Lines Matching refs:assoc
318 uint64_t assoc = cvmx_l2c_get_num_assoc(); in cvmx_l2c_lock_line() local
327 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line()
337 if (way >= assoc) { in cvmx_l2c_lock_line()
433 uint64_t assoc, set; in cvmx_l2c_flush() local
446 for (assoc = 0; assoc < n_assoc; assoc++) { in cvmx_l2c_flush()
448 (assoc << assoc_shift) | (set << set_shift)); in cvmx_l2c_flush()
454 for (assoc = 0; assoc < n_assoc; assoc++) in cvmx_l2c_flush()
455 cvmx_l2c_flush_line(assoc, set); in cvmx_l2c_flush()
464 int assoc; in cvmx_l2c_unlock_line() local
477 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line()
478 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
486 int assoc; in cvmx_l2c_unlock_line() local
494 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line()
495 tag = cvmx_l2c_get_tag(assoc, index); in cvmx_l2c_unlock_line()
498 cvmx_l2c_flush_line(assoc, index); in cvmx_l2c_unlock_line()
591 static union __cvmx_l2c_tag __read_l2_tag(uint64_t assoc, uint64_t index) in __read_l2_tag() argument
609 debug_val.s.set = assoc; in __read_l2_tag()
867 void cvmx_l2c_flush_line(uint32_t assoc, uint32_t index) in cvmx_l2c_flush_line() argument
876 if (assoc > (uint32_t)cvmx_l2c_get_num_assoc()) { in cvmx_l2c_flush_line()
889 (assoc << CVMX_L2C_TAG_ADDR_ALIAS_SHIFT) | in cvmx_l2c_flush_line()
900 l2cdbg.s.set = assoc; in cvmx_l2c_flush_line()