/linux-4.4.14/arch/mips/include/asm/ |
D | r4kcache.h | 41 #define cache_op(op,addr) \ macro 94 cache_op(Index_Invalidate_I, addr); in flush_icache_line_indexed() 101 cache_op(Index_Writeback_Inv_D, addr); in flush_dcache_line_indexed() 107 cache_op(Index_Writeback_Inv_SD, addr); in flush_scache_line_indexed() 115 cache_op(Hit_Invalidate_I_Loongson2, addr); in flush_icache_line() 119 cache_op(Hit_Invalidate_I, addr); in flush_icache_line() 128 cache_op(Hit_Writeback_Inv_D, addr); in flush_dcache_line() 135 cache_op(Hit_Invalidate_D, addr); in invalidate_dcache_line() 141 cache_op(Hit_Invalidate_SD, addr); in invalidate_scache_line() 146 cache_op(Hit_Writeback_Inv_SD, addr); in flush_scache_line() [all …]
|
D | bmips.h | 97 cache_op(Index_Load_Tag_S, ZSCM_REG_BASE + offset); in bmips_read_zscm_reg() 118 cache_op(Index_Store_Tag_S, ZSCM_REG_BASE + offset); in bmips_write_zscm_reg()
|
/linux-4.4.14/arch/mips/mm/ |
D | sc-rm7k.c | 98 cache_op(Page_Invalidate_T, start); in blast_rm7k_tcache() 116 cache_op(Index_Store_Tag_T, CKSEG0ADDR(i)); in __rm7k_tc_enable() 142 cache_op(Index_Store_Tag_SD, CKSEG0ADDR(i)); in __rm7k_sc_enable() 209 cache_op(Index_Store_Tag_T, begin); in __probe_tcache() 214 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 | 39 cache_op(Hit_Writeback_Inv_SD, addr & almask); in mips_sc_inv() 40 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv()
|
D | uasm-mips.c | 66 { insn_cache, M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM }, 68 { insn_cache, M6(cache_op, 0, 0, 0, cache6_op), RS | RT | SIMM9 },
|
D | c-r4k.c | 1367 cache_op(Index_Store_Tag_I, begin); in probe_scache() 1368 cache_op(Index_Store_Tag_D, begin); in probe_scache() 1369 cache_op(Index_Store_Tag_SD, begin); in probe_scache() 1374 cache_op(Index_Load_Tag_SD, addr); in probe_scache()
|
/linux-4.4.14/arch/mips/kernel/ |
D | spram.c | 58 cache_op(Index_Store_Tag_I, CKSEG0|offset); in ispram_store_tag() 74 cache_op(Index_Load_Tag_I, CKSEG0 | offset); in ispram_load_tag() 93 cache_op(Index_Store_Tag_D, CKSEG0 | offset); in dspram_store_tag() 107 cache_op(Index_Load_Tag_D, CKSEG0 | offset); in dspram_load_tag()
|
D | mips-mt.c | 262 cache_op(Index_Load_Tag_D, INDEX_8); in mips_mt_set_cpuoptions() 272 cache_op(Index_Store_Tag_D, INDEX_8); in mips_mt_set_cpuoptions() 277 cache_op(Index_Store_Tag_D, INDEX_0); in mips_mt_set_cpuoptions()
|
D | perf_event_mipsxx.c | 689 unsigned int cache_type, cache_op, cache_result; in mipspmu_map_cache_event() local 696 cache_op = (config >> 8) & 0xff; in mipspmu_map_cache_event() 697 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in mipspmu_map_cache_event() 706 [cache_op] in mipspmu_map_cache_event()
|
/linux-4.4.14/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-4.4.14/arch/arc/kernel/ |
D | perf_event.c | 126 unsigned int cache_type, cache_op, cache_result; in arc_pmu_cache_event() local 130 cache_op = (config >> 8) & 0xff; in arc_pmu_cache_event() 134 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in arc_pmu_cache_event() 139 ret = arc_pmu_cache_map[cache_type][cache_op][cache_result]; in arc_pmu_cache_event() 145 cache_type, cache_op, cache_result, ret, in arc_pmu_cache_event()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | perf_event.c | 109 unsigned int cache_type, cache_op, cache_result; in xtensa_pmu_cache_event() local 113 cache_op = (config >> 8) & 0xff; in xtensa_pmu_cache_event() 117 cache_op >= C(OP_MAX) || in xtensa_pmu_cache_event() 121 ret = xtensa_cache_ctl[cache_type][cache_op][cache_result]; in xtensa_pmu_cache_event()
|
/linux-4.4.14/arch/mips/txx9/generic/ |
D | setup.c | 193 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache() 194 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache() 195 cache_op(Index_Writeback_Inv_D, addr | 2); in early_flush_dcache() 196 cache_op(Index_Writeback_Inv_D, addr | 3); in early_flush_dcache() 242 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache() 243 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
|
/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
D | msp_setup.c | 62 cache_op(Fill, iptr); in msp7120_reset()
|
/linux-4.4.14/drivers/perf/ |
D | arm_pmu.c | 36 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local 42 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event() 43 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event() 50 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
|
/linux-4.4.14/arch/tile/kernel/ |
D | perf_event.c | 757 unsigned int cache_type, cache_op, cache_result; in tile_map_cache_event() local 767 cache_op = (config >> 8) & 0xff; in tile_map_cache_event() 768 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in tile_map_cache_event() 775 code = (*tile_pmu->cache_events)[cache_type][cache_op][cache_result]; in tile_map_cache_event()
|
/linux-4.4.14/tools/perf/util/ |
D | parse-events.c | 341 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local 361 if (cache_op == -1) { in parse_events_add_cache() 362 cache_op = parse_aliases(str, perf_evsel__hw_cache_op, in parse_events_add_cache() 364 if (cache_op >= 0) { in parse_events_add_cache() 365 if (!perf_evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache() 382 if (cache_op == -1) in parse_events_add_cache() 383 cache_op = PERF_COUNT_HW_CACHE_OP_READ; in parse_events_add_cache() 392 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event.c | 295 unsigned int cache_type, cache_op, cache_result; in set_ext_hw_attr() local 304 cache_op = (config >> 8) & 0xff; in set_ext_hw_attr() 305 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in set_ext_hw_attr() 312 val = hw_cache_event_ids[cache_type][cache_op][cache_result]; in set_ext_hw_attr() 321 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | perf_event.c | 1183 unsigned int cache_type, cache_op, cache_result; in sparc_map_cache_event() local 1193 cache_op = (config >> 8) & 0xff; in sparc_map_cache_event() 1194 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in sparc_map_cache_event() 1201 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()
|
/linux-4.4.14/arch/mips/include/uapi/asm/ |
D | inst.h | 33 sdl_op, sdr_op, swr_op, cache_op, enumerator
|
/linux-4.4.14/arch/mips/kvm/ |
D | emulate.c | 1756 case cache_op: in kvm_mips_emulate_inst()
|