Home
last modified time | relevance | path

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

/openbmc/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()
134 WARN_TAINT(!coherent && riscv_cbom_block_size > ARCH_DMA_MINALIGN, in arch_setup_dma_ops()
138 ARCH_DMA_MINALIGN, riscv_cbom_block_size); in arch_setup_dma_ops()
149 WARN(!riscv_cbom_block_size, in riscv_noncoherent_supported()
H A Dcacheflush.c94 unsigned int riscv_cbom_block_size; variable
95 EXPORT_SYMBOL_GPL(riscv_cbom_block_size);
137 riscv_cbom_block_size = cbom_block_size; in riscv_init_cbo_blocksizes()
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()
/openbmc/linux/arch/riscv/errata/andes/
H A Derrata.c60 riscv_cbom_block_size = 1; in errata_probe_iocp()
/openbmc/linux/arch/riscv/include/asm/
H A Dcacheflush.h56 extern unsigned int riscv_cbom_block_size;
/openbmc/linux/arch/riscv/errata/thead/
H A Derrata.c49 riscv_cbom_block_size = L1_CACHE_BYTES; in errata_probe_cmo()
/openbmc/linux/drivers/cache/
H A Dax45mp_cache.c200 if (!riscv_cbom_block_size) in ax45mp_cache_init()
/openbmc/linux/arch/riscv/kernel/
H A Dcpufeature.c87 if (!riscv_cbom_block_size) { in riscv_isa_extension_check()
90 } else if (!is_power_of_2(riscv_cbom_block_size)) { in riscv_isa_extension_check()
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c139 reg_val = riscv_cbom_block_size; in kvm_riscv_vcpu_get_reg_config()
228 if (reg_val != riscv_cbom_block_size) in kvm_riscv_vcpu_set_reg_config()