include/soc/sifive/sifive_ccache.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * SiFive Composable Cache Controller header file |
| 4 | * |
| 5 | */ |
| 6 | |
| 7 | #ifndef __SOC_SIFIVE_CCACHE_H |
| 8 | #define __SOC_SIFIVE_CCACHE_H |
| 9 | |
| 10 | extern int register_sifive_ccache_error_notifier(struct notifier_block *nb); |
| 11 | extern int unregister_sifive_ccache_error_notifier(struct notifier_block *nb); |
| 12 | |
| 13 | #define SIFIVE_CCACHE_ERR_TYPE_CE 0 |
| 14 | #define SIFIVE_CCACHE_ERR_TYPE_UE 1 |
| 15 | |
| 16 | #endif /* __SOC_SIFIVE_CCACHE_H */ |