Home
last modified time | relevance | path

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

/Linux-v4.19/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.h98 cache_op(Index_Load_Tag_S, ZSCM_REG_BASE + offset); in bmips_read_zscm_reg()
119 cache_op(Index_Store_Tag_S, ZSCM_REG_BASE + offset); in bmips_write_zscm_reg()
/Linux-v4.19/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.c31 cache_op(R5K_Page_Invalidate_S, start); in blast_r5000_scache()
55 cache_op(R5K_Page_Invalidate_S, a); in r5k_dma_cache_inv_sc()
Dsc-mips.c41 cache_op(Hit_Writeback_Inv_SD, addr & almask); in mips_sc_inv()
42 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv()
Dc-r4k.c1623 cache_op(Index_Store_Tag_I, begin); in probe_scache()
1624 cache_op(Index_Store_Tag_D, begin); in probe_scache()
1625 cache_op(Index_Store_Tag_SD, begin); in probe_scache()
1630 cache_op(Index_Load_Tag_SD, addr); in probe_scache()
Duasm-mips.c68 [insn_cache] = {M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM},
/Linux-v4.19/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.c263 cache_op(Index_Load_Tag_D, INDEX_8); in mips_mt_set_cpuoptions()
273 cache_op(Index_Store_Tag_D, INDEX_8); in mips_mt_set_cpuoptions()
278 cache_op(Index_Store_Tag_D, INDEX_0); in mips_mt_set_cpuoptions()
Dperf_event_mipsxx.c702 unsigned int cache_type, cache_op, cache_result; in mipspmu_map_cache_event() local
709 cache_op = (config >> 8) & 0xff; in mipspmu_map_cache_event()
710 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in mipspmu_map_cache_event()
719 [cache_op] in mipspmu_map_cache_event()
/Linux-v4.19/arch/mips/sgi-ip22/
Dip28-berr.c73 cache_op(Index_Load_Tag_S, addr); in save_cache_tags()
76 cache_op(Index_Load_Tag_S, addr | 1L); in save_cache_tags()
91 cache_op(Index_Load_Tag_D, addr); in save_cache_tags()
94 cache_op(Index_Load_Tag_D, addr | 1L); in save_cache_tags()
107 cache_op(Index_Load_Tag_I, addr); in save_cache_tags()
110 cache_op(Index_Load_Tag_I, addr | 1L); in save_cache_tags()
/Linux-v4.19/arch/arc/kernel/
Dperf_event.c126 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-v4.19/arch/xtensa/kernel/
Dperf_event.c109 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-v4.19/arch/nds32/kernel/
Ddma.c327 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op() function
371 cache_op(paddr, size, cpu_dma_wb_range); in arch_sync_dma_for_device()
386 cache_op(paddr, size, cpu_dma_inval_range); in arch_sync_dma_for_cpu()
/Linux-v4.19/arch/mips/txx9/generic/
Dsetup.c161 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
162 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
163 cache_op(Index_Writeback_Inv_D, addr | 2); in early_flush_dcache()
164 cache_op(Index_Writeback_Inv_D, addr | 3); in early_flush_dcache()
210 cache_op(Index_Writeback_Inv_D, addr | 0); in early_flush_dcache()
211 cache_op(Index_Writeback_Inv_D, addr | 1); in early_flush_dcache()
/Linux-v4.19/drivers/perf/
Darm_pmu.c46 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local
52 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event()
53 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event()
63 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
/Linux-v4.19/arch/mips/pmcs-msp71xx/
Dmsp_setup.c62 cache_op(Fill, iptr); in msp7120_reset()
/Linux-v4.19/arch/x86/events/
Dcore.c303 unsigned int cache_type, cache_op, cache_result; in set_ext_hw_attr() local
313 cache_op = (config >> 8) & 0xff; in set_ext_hw_attr()
314 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in set_ext_hw_attr()
316 cache_op = array_index_nospec(cache_op, PERF_COUNT_HW_CACHE_OP_MAX); in set_ext_hw_attr()
323 val = hw_cache_event_ids[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
332 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
/Linux-v4.19/tools/perf/util/
Dparse-events.c391 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local
412 if (cache_op == -1) { in parse_events_add_cache()
413 cache_op = parse_aliases(str, perf_evsel__hw_cache_op, in parse_events_add_cache()
415 if (cache_op >= 0) { in parse_events_add_cache()
416 if (!perf_evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache()
433 if (cache_op == -1) in parse_events_add_cache()
434 cache_op = PERF_COUNT_HW_CACHE_OP_READ; in parse_events_add_cache()
443 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()
/Linux-v4.19/arch/sparc/kernel/
Dperf_event.c1194 unsigned int cache_type, cache_op, cache_result; in sparc_map_cache_event() local
1204 cache_op = (config >> 8) & 0xff; in sparc_map_cache_event()
1205 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in sparc_map_cache_event()
1212 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()
/Linux-v4.19/arch/mips/include/uapi/asm/
Dinst.h34 sdl_op, sdr_op, swr_op, cache_op, enumerator
/Linux-v4.19/arch/mips/kvm/
Dvz.c1156 case cache_op: in kvm_trap_vz_handle_gpsi()
Demulate.c1953 case cache_op: in kvm_mips_emulate_inst()