Home
last modified time | relevance | path

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

/linux-2.6.39/arch/mips/include/asm/octeon/
Dcvmx-l2c.h38 #define CVMX_L2_SETS cvmx_l2c_get_num_sets() /* Deprecated macro, use function */
42 #define CVMX_L2C_IDX_MASK (cvmx_l2c_get_num_sets() - 1)
336 int cvmx_l2c_get_num_sets(void);
/linux-2.6.39/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c428 n_set = cvmx_l2c_get_num_sets(); in cvmx_l2c_flush()
645 if ((int)index >= cvmx_l2c_get_num_sets()) { in cvmx_l2c_get_tag()
647 (int)index, cvmx_l2c_get_num_sets()); in cvmx_l2c_get_tag()
734 idx ^= idx / cvmx_l2c_get_num_sets(); in cvmx_l2c_address_to_index()
746 return cvmx_l2c_get_num_sets() * cvmx_l2c_get_num_assoc() * in cvmx_l2c_get_cache_size_bytes()
775 int cvmx_l2c_get_num_sets(void) in cvmx_l2c_get_num_sets() function
851 if (index > (uint32_t)cvmx_l2c_get_num_sets()) { in cvmx_l2c_flush_line()