Home
last modified time | relevance | path

Searched refs:CVMX_L2C_IDX_ADDR_SHIFT (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-l2c.c320 …= CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, cvmx_l2c_address_to_index(addr) << CVMX_L2C_IDX_ADDR_SHIFT); in cvmx_l2c_lock_line()
380 int alias_shift = CVMX_L2C_IDX_ADDR_SHIFT + 2 * CVMX_L2_SET_BITS - 1; in cvmx_l2c_lock_line()
443 int set_shift = CVMX_L2C_IDX_ADDR_SHIFT; in cvmx_l2c_flush()
668 (index << CVMX_L2C_IDX_ADDR_SHIFT)); in cvmx_l2c_get_tag()
732 uint64_t idx = addr >> CVMX_L2C_IDX_ADDR_SHIFT; in cvmx_l2c_address_to_index()
749 uint32_t a_14_12 = (idx / (CVMX_L2C_MEMBANK_SELECT_SIZE/(1<<CVMX_L2C_IDX_ADDR_SHIFT))) & 0x7; in cvmx_l2c_address_to_index()
890 (index << CVMX_L2C_IDX_ADDR_SHIFT)); in cvmx_l2c_flush_line()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-l2c.h43 #define CVMX_L2C_IDX_ADDR_SHIFT 7 macro
47 #define CVMX_L2C_TAG_ADDR_ALIAS_SHIFT (CVMX_L2C_IDX_ADDR_SHIFT + \