Home
last modified time | relevance | path

Searched refs:riscv_cbom_block_size (Results 1 – 11 of 11) sorted by relevance

/linux/arch/riscv/mm/
H A Ddma-noncoherent.c28 ALT_CMO_OP(CLEAN, vaddr, size, riscv_cbom_block_size); in arch_dma_cache_wback()
42 ALT_CMO_OP(INVAL, vaddr, size, riscv_cbom_block_size); in arch_dma_cache_inv()
56 ALT_CMO_OP(FLUSH, vaddr, size, riscv_cbom_block_size); in arch_dma_cache_wback_inv()
128 ALT_CMO_OP(FLUSH, flush_addr, size, riscv_cbom_block_size); in arch_dma_prep_coherent()
133 WARN_TAINT(!coherent && riscv_cbom_block_size > ARCH_DMA_MINALIGN, in arch_setup_dma_ops()
137 ARCH_DMA_MINALIGN, riscv_cbom_block_size); in arch_setup_dma_ops()
148 WARN(!riscv_cbom_block_size, in riscv_noncoherent_supported()
H A Dpmem.c20 ALT_CMO_OP(CLEAN, addr, size, riscv_cbom_block_size); in arch_wb_cache_pmem()
32 ALT_CMO_OP(INVAL, addr, size, riscv_cbom_block_size); in arch_invalidate_pmem()
H A Dcacheflush.c98 unsigned int riscv_cbom_block_size; variable
99 EXPORT_SYMBOL_GPL(riscv_cbom_block_size);
152 riscv_cbom_block_size = cbom_block_size; in riscv_init_cbo_blocksizes()
/linux/arch/riscv/errata/thead/
H A Derrata.c89 THEAD_CMO_OP(INVAL, paddr, size, riscv_cbom_block_size); in thead_errata_cache_inv()
94 THEAD_CMO_OP(CLEAN, paddr, size, riscv_cbom_block_size); in thead_errata_cache_wback()
99 THEAD_CMO_OP(FLUSH, paddr, size, riscv_cbom_block_size); in thead_errata_cache_wback_inv()
121 riscv_cbom_block_size = L1_CACHE_BYTES; in errata_probe_cmo()
/linux/arch/riscv/errata/andes/
H A Derrata.c61 riscv_cbom_block_size = 1; in errata_probe_iocp()
/linux/arch/riscv/include/asm/
H A Dcacheflush.h81 extern unsigned int riscv_cbom_block_size;
/linux/drivers/cache/
H A Dstarfive_starlink_cache.c124 riscv_cbom_block_size = block_size; in starlink_cache_init()
H A Dax45mp_cache.c200 if (!riscv_cbom_block_size) in ax45mp_cache_init()
H A Dsifive_ccache.c320 riscv_cbom_block_size = SIFIVE_CCACHE_LINE_SIZE; in sifive_ccache_init()
/linux/arch/riscv/kernel/
H A Dcpufeature.c79 if (!riscv_cbom_block_size) { in riscv_ext_zicbom_validate()
83 if (!is_power_of_2(riscv_cbom_block_size)) { in riscv_ext_zicbom_validate()
/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c223 reg_val = riscv_cbom_block_size; in kvm_riscv_vcpu_get_reg_config()
312 if (reg_val != riscv_cbom_block_size) in kvm_riscv_vcpu_set_reg_config()