1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/ioport.h>
6 #include <linux/list.h>
8 struct tcm_allocation {
16 * TCM memory region descriptor.
23 #define TCM_INVALID_TAG 0xffffffff
25 unsigned long tcm_alloc(unsigned int tag, size_t len);
26 void tcm_free(unsigned int tag, unsigned long addr, size_t len);
27 unsigned int tcm_lookup_tag(unsigned long p);
29 int tcm_add_region(struct tcm_region *reg);