Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/include/asm/
Dr4kcache.h41 #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 …]
Dbmips.h97 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.1.27/arch/mips/mm/
Dsc-rm7k.c98 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()
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.c38 cache_op(Hit_Writeback_Inv_SD, addr & almask); in mips_sc_inv()
39 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv()
Duasm-mips.c66 { 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 },
Dc-r4k.c1364 cache_op(Index_Store_Tag_I, begin); in probe_scache()
1365 cache_op(Index_Store_Tag_D, begin); in probe_scache()
1366 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
1371 cache_op(Index_Load_Tag_SD, addr); in probe_scache()
/linux-4.1.27/arch/mips/kernel/
Dspram.c58 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()
Dmips-mt.c262 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()
Dperf_event_mipsxx.c689 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.1.27/arch/arc/kernel/
Dperf_event.c114 unsigned int cache_type, cache_op, cache_result; in arc_pmu_cache_event() local
118 cache_op = (config >> 8) & 0xff; in arc_pmu_cache_event()
122 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in arc_pmu_cache_event()
127 ret = arc_pmu_cache_map[cache_type][cache_op][cache_result]; in arc_pmu_cache_event()
133 cache_type, cache_op, cache_result, ret, in arc_pmu_cache_event()
/linux-4.1.27/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-4.1.27/arch/arm/kernel/
Dperf_event.c30 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local
36 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event()
37 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event()
44 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
/linux-4.1.27/arch/mips/txx9/generic/
Dsetup.c209 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
210 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
211 cache_op(Index_Writeback_Inv_D, addr | 2); in early_flush_dcache()
212 cache_op(Index_Writeback_Inv_D, addr | 3); in early_flush_dcache()
258 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
259 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
/linux-4.1.27/tools/perf/util/
Dparse-events.c323 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local
343 if (cache_op == -1) { in parse_events_add_cache()
344 cache_op = parse_aliases(str, perf_evsel__hw_cache_op, in parse_events_add_cache()
346 if (cache_op >= 0) { in parse_events_add_cache()
347 if (!perf_evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache()
364 if (cache_op == -1) in parse_events_add_cache()
365 cache_op = PERF_COUNT_HW_CACHE_OP_READ; in parse_events_add_cache()
374 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()
/linux-4.1.27/arch/mips/pmcs-msp71xx/
Dmsp_setup.c61 cache_op(Fill, iptr); in msp7120_reset()
/linux-4.1.27/arch/tile/kernel/
Dperf_event.c757 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.1.27/arch/arm64/kernel/
Dperf_event.c88 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local
94 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event()
95 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event()
102 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event.c293 unsigned int cache_type, cache_op, cache_result; in set_ext_hw_attr() local
302 cache_op = (config >> 8) & 0xff; in set_ext_hw_attr()
303 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in set_ext_hw_attr()
310 val = hw_cache_event_ids[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
319 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
/linux-4.1.27/arch/sparc/kernel/
Dperf_event.c1183 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.1.27/arch/mips/include/uapi/asm/
Dinst.h33 sdl_op, sdr_op, swr_op, cache_op, enumerator
/linux-4.1.27/arch/mips/kvm/
Demulate.c1756 case cache_op: in kvm_mips_emulate_inst()