/* SPDX-License-Identifier: GPL-2.0 */ /* * Intel(R) Trace Hub data structures for implementing buffer sinks. * * Copyright (C) 2019 Intel Corporation. */ #ifndef _INTEL_TH_H_ #define _INTEL_TH_H_ #include <linux/scatterlist.h> /* MSC operating modes (MSC_MODE) */ enum { … }; struct msu_buffer { … }; int intel_th_msu_buffer_register(const struct msu_buffer *mbuf, struct module *owner); void intel_th_msu_buffer_unregister(const struct msu_buffer *mbuf); void intel_th_msc_window_unlock(struct device *dev, struct sg_table *sgt); #define module_intel_th_msu_buffer(__buffer) … #endif /* _INTEL_TH_H_ */