1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * Copyright (C) 2023 Renesas Electronics Corp 4 */ 5 6 #ifndef __ASM_DMA_NONCOHERENT_H 7 #define __ASM_DMA_NONCOHERENT_H 8 9 #include <linux/dma-direct.h> 10 11 /* 12 * struct riscv_nonstd_cache_ops - Structure f 13 * 14 * @wback: Function pointer for cache writebac 15 * @inv: Function pointer for invalidating cac 16 * @wback_inv: Function pointer for flushing t 17 */ 18 struct riscv_nonstd_cache_ops { 19 void (*wback)(phys_addr_t paddr, size_ 20 void (*inv)(phys_addr_t paddr, size_t 21 void (*wback_inv)(phys_addr_t paddr, s 22 }; 23 24 extern struct riscv_nonstd_cache_ops noncohere 25 26 void riscv_noncoherent_register_cache_ops(cons 27 28 #endif /* __ASM_DMA_NONCOHERENT_H */ 29
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.