1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* 3 * Copyright(c) 2021 MediaTek. All rights reserved. 4 * 5 * Author: Bo Pan <bo.pan@mediatek.com> 6 * YC Hung <yc.hung@mediatek.com> 7 */ 8 9 #ifndef __SOF_DRIVERS_AFE_MEMIF_H__ 10 #define __SOF_DRIVERS_AFE_MEMIF_H__ 11 12 #include <rtos/bit.h> 13 #include <sof/common.h> 14 #include <sof/lib/dma.h> 15 #include <sof/trace/trace.h> 16 #include <user/trace.h> 17 #include <stdint.h> 18 19 enum { 20 MEM_DIR_CAPTURE = 0, 21 MEM_DIR_PLAYBACK, 22 }; 23 24 extern const struct dma_ops memif_ops; 25 26 #endif /* __SOF_DRIVERS_AFE_MEMIF_H__ */ 27 28