Searched refs:riscv_cbom_block_size (Results 1 – 11 of 11) sorted by relevance
/linux/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 28 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 D | pmem.c | 20 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 D | cacheflush.c | 98 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 D | errata.c | 89 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 D | errata.c | 61 riscv_cbom_block_size = 1; in errata_probe_iocp()
|
/linux/arch/riscv/include/asm/ |
H A D | cacheflush.h | 81 extern unsigned int riscv_cbom_block_size;
|
/linux/drivers/cache/ |
H A D | starfive_starlink_cache.c | 124 riscv_cbom_block_size = block_size; in starlink_cache_init()
|
H A D | ax45mp_cache.c | 200 if (!riscv_cbom_block_size) in ax45mp_cache_init()
|
H A D | sifive_ccache.c | 320 riscv_cbom_block_size = SIFIVE_CCACHE_LINE_SIZE; in sifive_ccache_init()
|
/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 79 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 D | vcpu_onereg.c | 223 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()
|