Searched refs:CVMX_L2C_IDX_ADDR_SHIFT (Results 1 – 2 of 2) sorted by relevance
314 …= CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, cvmx_l2c_address_to_index(addr) << CVMX_L2C_IDX_ADDR_SHIFT); in cvmx_l2c_lock_line()374 int alias_shift = CVMX_L2C_IDX_ADDR_SHIFT + 2 * CVMX_L2_SET_BITS - 1; in cvmx_l2c_lock_line()435 int set_shift = CVMX_L2C_IDX_ADDR_SHIFT; in cvmx_l2c_flush()654 (index << CVMX_L2C_IDX_ADDR_SHIFT)); in cvmx_l2c_get_tag()718 uint64_t idx = addr >> CVMX_L2C_IDX_ADDR_SHIFT; in cvmx_l2c_address_to_index()733 uint32_t a_14_12 = (idx / (CVMX_L2C_MEMBANK_SELECT_SIZE/(1<<CVMX_L2C_IDX_ADDR_SHIFT))) & 0x7; in cvmx_l2c_address_to_index()871 (index << CVMX_L2C_IDX_ADDR_SHIFT)); in cvmx_l2c_flush_line()
41 #define CVMX_L2C_IDX_ADDR_SHIFT 7 /* based on 128 byte cache line size */ macro45 #define CVMX_L2C_TAG_ADDR_ALIAS_SHIFT (CVMX_L2C_IDX_ADDR_SHIFT + cvmx_l2c_get_set_bits())