/kernel/linux/linux-5.10/arch/csky/mm/ |
D | dma-mapping.c | 15 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op() function 56 cache_op(page_to_phys(page), size, dma_wbinv_set_zero_range); in arch_dma_prep_coherent() 64 cache_op(paddr, size, dma_wb_range); in arch_sync_dma_for_device() 68 cache_op(paddr, size, dma_wbinv_range); in arch_sync_dma_for_device() 83 cache_op(paddr, size, dma_inv_range); in arch_sync_dma_for_cpu()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | r4kcache.h | 54 #define cache_op(op, addr) \ macro 59 cache_op(Index_Invalidate_I, addr); in flush_icache_line_indexed() 64 cache_op(Index_Writeback_Inv_D, addr); in flush_dcache_line_indexed() 69 cache_op(Index_Writeback_Inv_SD, addr); in flush_scache_line_indexed() 76 cache_op(Hit_Invalidate_I_Loongson2, addr); in flush_icache_line() 80 cache_op(Hit_Invalidate_I, addr); in flush_icache_line() 87 cache_op(Hit_Writeback_Inv_D, addr); in flush_dcache_line() 92 cache_op(Hit_Invalidate_D, addr); in invalidate_dcache_line() 97 cache_op(Hit_Invalidate_SD, addr); in invalidate_scache_line() 102 cache_op(Hit_Writeback_Inv_SD, addr); in flush_scache_line() [all …]
|
D | bmips.h | 98 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()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | dma.c | 13 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op() function 57 cache_op(paddr, size, cpu_dma_wb_range); in arch_sync_dma_for_device() 72 cache_op(paddr, size, cpu_dma_inval_range); in arch_sync_dma_for_cpu() 81 cache_op(page_to_phys(page), size, cpu_dma_wbinval_range); in arch_dma_prep_coherent()
|
D | perf_event_cpu.c | 46 unsigned int cache_type, cache_op, cache_result, ret; in nds32_pmu_map_cache_event() local 52 cache_op = (config >> 8) & 0xff; in nds32_pmu_map_cache_event() 53 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in nds32_pmu_map_cache_event() 60 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in nds32_pmu_map_cache_event()
|
/kernel/linux/linux-5.10/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 | 40 cache_op(Hit_Writeback_Inv_SD, addr & almask); in mips_sc_inv() 41 cache_op(Hit_Writeback_Inv_SD, (addr + size - 1) & almask); in mips_sc_inv()
|
D | c-r4k.c | 1572 cache_op(Index_Store_Tag_I, begin); in probe_scache() 1573 cache_op(Index_Store_Tag_D, begin); in probe_scache() 1574 cache_op(Index_Store_Tag_SD, begin); in probe_scache() 1579 cache_op(Index_Load_Tag_SD, addr); in probe_scache()
|
D | uasm-mips.c | 68 [insn_cache] = {M(cache_op, 0, 0, 0, 0, 0), RS | RT | SIMM},
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | spram.c | 54 cache_op(Index_Store_Tag_I, CKSEG0|offset); in ispram_store_tag() 70 cache_op(Index_Load_Tag_I, CKSEG0 | offset); in ispram_load_tag() 89 cache_op(Index_Store_Tag_D, CKSEG0 | offset); in dspram_store_tag() 103 cache_op(Index_Load_Tag_D, CKSEG0 | offset); in dspram_load_tag()
|
D | mips-mt.c | 208 cache_op(Index_Load_Tag_D, INDEX_8); in mips_mt_set_cpuoptions() 218 cache_op(Index_Store_Tag_D, INDEX_8); in mips_mt_set_cpuoptions() 223 cache_op(Index_Store_Tag_D, INDEX_0); in mips_mt_set_cpuoptions()
|
D | perf_event_mipsxx.c | 733 unsigned int cache_type, cache_op, cache_result; in mipspmu_map_cache_event() local 740 cache_op = (config >> 8) & 0xff; in mipspmu_map_cache_event() 741 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in mipspmu_map_cache_event() 750 [cache_op] in mipspmu_map_cache_event()
|
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
D | ip28-berr.c | 74 cache_op(Index_Load_Tag_S, addr); in save_cache_tags() 77 cache_op(Index_Load_Tag_S, addr | 1L); in save_cache_tags() 92 cache_op(Index_Load_Tag_D, addr); in save_cache_tags() 95 cache_op(Index_Load_Tag_D, addr | 1L); in save_cache_tags() 108 cache_op(Index_Load_Tag_I, addr); in save_cache_tags() 111 cache_op(Index_Load_Tag_I, addr | 1L); in save_cache_tags()
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | perf_event.c | 106 unsigned int cache_type, cache_op, cache_result; in xtensa_pmu_cache_event() local 110 cache_op = (config >> 8) & 0xff; in xtensa_pmu_cache_event() 114 cache_op >= C(OP_MAX) || in xtensa_pmu_cache_event() 118 ret = xtensa_cache_ctl[cache_type][cache_op][cache_result]; in xtensa_pmu_cache_event()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | perf_event.c | 141 unsigned int cache_type, cache_op, cache_result; in arc_pmu_cache_event() local 145 cache_op = (config >> 8) & 0xff; in arc_pmu_cache_event() 149 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in arc_pmu_cache_event() 154 ret = arc_pmu_cache_map[cache_type][cache_op][cache_result]; in arc_pmu_cache_event() 160 cache_type, cache_op, cache_result, ret, in arc_pmu_cache_event()
|
/kernel/linux/linux-5.10/arch/mips/txx9/generic/ |
D | setup.c | 161 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()
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | arm_pmu.c | 123 unsigned int cache_type, cache_op, cache_result, ret; in armpmu_map_cache_event() local 129 cache_op = (config >> 8) & 0xff; in armpmu_map_cache_event() 130 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in armpmu_map_cache_event() 140 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | perf_event.c | 952 unsigned int cache_type, cache_op, cache_result; in csky_pmu_cache_event() local 955 cache_op = (config >> 8) & 0xff; in csky_pmu_cache_event() 960 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in csky_pmu_cache_event() 965 return csky_pmu_cache_map[cache_type][cache_op][cache_result]; in csky_pmu_cache_event()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | parse-events.c | 463 int cache_type = -1, cache_op = -1, cache_result = -1; in parse_events_add_cache() local 483 if (cache_op == -1) { in parse_events_add_cache() 484 cache_op = parse_aliases(str, evsel__hw_cache_op, in parse_events_add_cache() 486 if (cache_op >= 0) { in parse_events_add_cache() 487 if (!evsel__is_cache_op_valid(cache_type, cache_op)) in parse_events_add_cache() 504 if (cache_op == -1) in parse_events_add_cache() 505 cache_op = PERF_COUNT_HW_CACHE_OP_READ; in parse_events_add_cache() 514 attr.config = cache_type | (cache_op << 8) | (cache_result << 16); in parse_events_add_cache()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
D | core.c | 337 unsigned int cache_type, cache_op, cache_result; in set_ext_hw_attr() local 347 cache_op = (config >> 8) & 0xff; in set_ext_hw_attr() 348 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in set_ext_hw_attr() 350 cache_op = array_index_nospec(cache_op, PERF_COUNT_HW_CACHE_OP_MAX); in set_ext_hw_attr() 357 val = hw_cache_event_ids[cache_type][cache_op][cache_result]; in set_ext_hw_attr() 366 attr->config1 = hw_cache_extra_regs[cache_type][cache_op][cache_result]; in set_ext_hw_attr()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | perf_event.c | 1198 unsigned int cache_type, cache_op, cache_result; in sparc_map_cache_event() local 1208 cache_op = (config >> 8) & 0xff; in sparc_map_cache_event() 1209 if (cache_op >= PERF_COUNT_HW_CACHE_OP_MAX) in sparc_map_cache_event() 1216 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | inst.h | 73 cache_op, enumerator
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | inst.h | 34 sdl_op, sdr_op, swr_op, cache_op, enumerator
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | vz.c | 1237 case cache_op: in kvm_trap_vz_handle_gpsi()
|