Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/* Copyright(c) 2020 Intel Corporation. */
3
4#ifndef __CXL_CORE_H__
5#define __CXL_CORE_H__
6
7extern const struct device_type cxl_nvdimm_bridge_type;
8extern const struct device_type cxl_nvdimm_type;
9
10extern struct attribute_group cxl_base_attribute_group;
11
12struct cxl_send_command;
13struct cxl_mem_query_commands;
14int cxl_query_cmd(struct cxl_memdev *cxlmd,
15 struct cxl_mem_query_commands __user *q);
16int cxl_send_cmd(struct cxl_memdev *cxlmd, struct cxl_send_command __user *s);
17void __iomem *devm_cxl_iomap_block(struct device *dev, resource_size_t addr,
18 resource_size_t length);
19
20int cxl_memdev_init(void);
21void cxl_memdev_exit(void);
22void cxl_mbox_init(void);
23void cxl_mbox_exit(void);
24
25#endif /* __CXL_CORE_H__ */