Home
last modified time | relevance | path

Searched refs:cache_op (Results 1 – 17 of 17) sorted by relevance

/linux-3.4.99/arch/mips/include/asm/
Dr4kcache.h33 #define cache_op(op,addr) \ macro
146 cache_op(Index_Invalidate_I, addr); in flush_icache_line_indexed()
153 cache_op(Index_Writeback_Inv_D, addr); in flush_dcache_line_indexed()
159 cache_op(Index_Writeback_Inv_SD, addr); in flush_scache_line_indexed()
165 cache_op(Hit_Invalidate_I, addr); in flush_icache_line()
172 cache_op(Hit_Writeback_Inv_D, addr); in flush_dcache_line()
179 cache_op(Hit_Invalidate_D, addr); in invalidate_dcache_line()
185 cache_op(Hit_Invalidate_SD, addr); in invalidate_scache_line()
190 cache_op(Hit_Writeback_Inv_SD, addr); in flush_scache_line()
235 cache_op(Page_Invalidate_T, addr); in invalidate_tcache_page()
[all …]
Dinst.h29 sdl_op, sdr_op, swr_op, cache_op, enumerator
/linux-3.4.99/tools/perf/util/
Dparse-events.c250 static int is_cache_op_valid(u8 cache_type, u8 cache_op) in is_cache_op_valid() argument
252 if (hw_cache_stat[cache_type] & COP(cache_op)) in is_cache_op_valid()
258 static char *event_cache_name(u8 cache_type, u8 cache_op, u8 cache_result) in event_cache_name() argument
264 hw_cache_op[cache_op][0], in event_cache_name()
268 hw_cache_op[cache_op][1]); in event_cache_name()
323 u8 cache_type, cache_op, cache_result; in __event_name() local
329 cache_op = (config >> 8) & 0xff; in __event_name()
330 if (cache_op > PERF_COUNT_HW_CACHE_OP_MAX) in __event_name()
337 if (!is_cache_op_valid(cache_type, cache_op)) in __event_name()
340 return event_cache_name(cache_type, cache_op, cache_result); in __event_name()
[all …]
/linux-3.4.99/arch/mips/mm/
Dsc-rm7k.c99 cache_op(Page_Invalidate_T, start); in blast_rm7k_tcache()
117 cache_op(Index_Store_Tag_T, CKSEG0ADDR(i)); in __rm7k_tc_enable()
143 cache_op(Index_Store_Tag_SD, CKSEG0ADDR(i)); in __rm7k_sc_enable()
210 cache_op(Index_Store_Tag_T, begin); in __probe_tcache()
215 cache_op(Index_Load_Tag_T, addr); in __probe_tcache()
Dsc-r5k.c30 cache_op(R5K_Page_Invalidate_S, start); in blast_r5000_scache()
54 cache_op(R5K_Page_Invalidate_S, a); in r5k_dma_cache_inv_sc()
Dsc-mips.c37 cache_op(Hit_Writeback_Inv_SD, addr & almask); in mips_sc_inv()
38 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv()
Dc-r4k.c646 cache_op(Hit_Writeback_Inv_SD, addr & almask); in r4k_dma_cache_inv()
647 cache_op(Hit_Writeback_Inv_SD, in r4k_dma_cache_inv()
662 cache_op(Hit_Writeback_Inv_D, addr & almask); in r4k_dma_cache_inv()
663 cache_op(Hit_Writeback_Inv_D, (addr + size - 1) & almask); in r4k_dma_cache_inv()
1141 cache_op(Index_Store_Tag_I, begin); in probe_scache()
1142 cache_op(Index_Store_Tag_D, begin); in probe_scache()
1143 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
1148 cache_op(Index_Load_Tag_SD, addr); in probe_scache()
Duasm.c102 { insn_cache, M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
/linux-3.4.99/arch/mips/kernel/
Dspram.c59 cache_op(Index_Store_Tag_I, CKSEG0|offset); in ispram_store_tag()
75 cache_op(Index_Load_Tag_I, CKSEG0 | offset); in ispram_load_tag()
94 cache_op(Index_Store_Tag_D, CKSEG0 | offset); in dspram_store_tag()
108 cache_op(Index_Load_Tag_D, CKSEG0 | offset); in dspram_load_tag()
Dmips-mt.c268 cache_op(Index_Load_Tag_D, INDEX_8); in mips_mt_set_cpuoptions()
278 cache_op(Index_Store_Tag_D, INDEX_8); in mips_mt_set_cpuoptions()
283 cache_op(Index_Store_Tag_D, INDEX_0); in mips_mt_set_cpuoptions()
Dperf_event_mipsxx.c683 unsigned int cache_type, cache_op, cache_result; in mipspmu_map_cache_event() local
690 cache_op = (config >> 8) & 0xff; in mipspmu_map_cache_event()
691 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in mipspmu_map_cache_event()
700 [cache_op] in mipspmu_map_cache_event()
/linux-3.4.99/arch/mips/sgi-ip22/
Dip28-berr.c70 cache_op(Index_Load_Tag_S, addr); in save_cache_tags()
73 cache_op(Index_Load_Tag_S, addr | 1L); in save_cache_tags()
88 cache_op(Index_Load_Tag_D, addr); in save_cache_tags()
91 cache_op(Index_Load_Tag_D, addr | 1L); in save_cache_tags()
104 cache_op(Index_Load_Tag_I, addr); in save_cache_tags()
107 cache_op(Index_Load_Tag_I, addr | 1L); in save_cache_tags()
/linux-3.4.99/arch/mips/txx9/generic/
Dsetup.c208 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
209 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
210 cache_op(Index_Writeback_Inv_D, addr | 2); in early_flush_dcache()
211 cache_op(Index_Writeback_Inv_D, addr | 3); in early_flush_dcache()
257 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
258 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
/linux-3.4.99/arch/arm/kernel/
Dperf_event.c87 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local
93 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event()
94 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event()
101 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
/linux-3.4.99/arch/mips/pmc-sierra/msp71xx/
Dmsp_setup.c61 cache_op(Fill, iptr); in msp7120_reset()
/linux-3.4.99/arch/x86/kernel/cpu/
Dperf_event.c265 unsigned int cache_type, cache_op, cache_result; in set_ext_hw_attr() local
274 cache_op = (config >> 8) & 0xff; in set_ext_hw_attr()
275 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in set_ext_hw_attr()
282 val = hw_cache_event_ids[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
291 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
/linux-3.4.99/arch/sparc/kernel/
Dperf_event.c891 unsigned int cache_type, cache_op, cache_result; in sparc_map_cache_event() local
901 cache_op = (config >> 8) & 0xff; in sparc_map_cache_event()
902 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in sparc_map_cache_event()
909 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()