/linux-3.4.99/arch/mips/include/asm/ |
D | r4kcache.h | 33 #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 …]
|
D | inst.h | 29 sdl_op, sdr_op, swr_op, cache_op, enumerator
|
/linux-3.4.99/tools/perf/util/ |
D | parse-events.c | 250 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/ |
D | sc-rm7k.c | 99 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()
|
D | sc-r5k.c | 30 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()
|
D | sc-mips.c | 37 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()
|
D | c-r4k.c | 646 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()
|
D | uasm.c | 102 { insn_cache, M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM },
|
/linux-3.4.99/arch/mips/kernel/ |
D | spram.c | 59 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()
|
D | mips-mt.c | 268 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()
|
D | perf_event_mipsxx.c | 683 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/ |
D | ip28-berr.c | 70 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/ |
D | setup.c | 208 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/ |
D | perf_event.c | 87 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/ |
D | msp_setup.c | 61 cache_op(Fill, iptr); in msp7120_reset()
|
/linux-3.4.99/arch/x86/kernel/cpu/ |
D | perf_event.c | 265 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/ |
D | perf_event.c | 891 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()
|