Lines Matching +full:l2 +full:- +full:cache
7 * Copyright (c) 2003-2017 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29 * Interface to the Level 2 Cache (L2C) control, measurement, and debugging
42 /* Based on 128 byte cache line size */
44 #define CVMX_L2C_IDX_MASK (cvmx_l2c_get_num_sets() - 1)
52 /* Number of L2C Tag-and-data sections (TADs) that are connected to LMC. */
159 * Configure one of the four L2 Cache performance counters to capture event
163 * @event: The type of L2 Cache event occurrence to count.
173 * Read the given L2 Cache performance counter. The counter must be configured
183 * Return the L2 Cache way partitioning for a given core.
188 * the cache 'ways' that a core can evict from.
189 * -1 on error
194 * Partitions the L2 cache for a core
198 * mask. A 0 bit allows the core to evict cache lines from
205 * those ways will never have any cache lines evicted from them.
212 * Return the L2 Cache way partitioning for the hw blocks.
215 * the cache 'ways' that a core can evict from.
216 * -1 on error
221 * Partitions the L2 cache for the hardware blocks.
224 * mask. A 0 bit allows the core to evict cache lines from
231 * those ways will never have any cache lines evicted from them.
239 * Locks a line in the L2 cache at the specified physical address
249 * Locks a specified memory region in the L2 cache.
255 * Care should be taken to ensure that enough of the L2 cache is left
267 * Unlock and flush a cache line from the L2 cache.
270 * Note that this function will flush a matching but unlocked cache line.
271 * (If address is not in L2, no lines are flushed.)
281 * Unlocks a region of memory that is locked in the L2 cache
291 * Read the L2 controller tag for a given location in L2
313 * Returns the cache index for a given physical address
317 * Returns L2 cache index
322 * Flushes (and unlocks) the entire L2 cache.
330 * Returns the size of the L2 cache in bytes,
331 * -1 on error (unrecognized model)
336 * Return the number of sets in the L2 Cache
343 * Return log base 2 of the number of sets in the L2 cache
348 * Return the number of associations in the L2 Cache
355 * Flush a line from the L2 cache