diff options
Diffstat (limited to 'drivers/fpga/dfl-fme.h')
-rw-r--r-- | drivers/fpga/dfl-fme.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/fpga/dfl-fme.h b/drivers/fpga/dfl-fme.h new file mode 100644 index 000000000000..5394a216c5c0 --- /dev/null +++ b/drivers/fpga/dfl-fme.h @@ -0,0 +1,38 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Header file for FPGA Management Engine (FME) Driver + * + * Copyright (C) 2017-2018 Intel Corporation, Inc. + * + * Authors: + * Kang Luwei <[email protected]> + * Xiao Guangrong <[email protected]> + * Wu Hao <[email protected]> + * Joseph Grecco <[email protected]> + * Enno Luebbers <[email protected]> + * Tim Whisonant <[email protected]> + * Ananda Ravuri <[email protected]> + * Henry Mitchel <[email protected]> + */ + +#ifndef __DFL_FME_H +#define __DFL_FME_H + +/** + * struct dfl_fme - dfl fme private data + * + * @mgr: FME's FPGA manager platform device. + * @region_list: linked list of FME's FPGA regions. + * @bridge_list: linked list of FME's FPGA bridges. + * @pdata: fme platform device's pdata. + */ +struct dfl_fme { + struct platform_device *mgr; + struct list_head region_list; + struct list_head bridge_list; + struct dfl_feature_platform_data *pdata; +}; + +extern const struct dfl_feature_ops pr_mgmt_ops; + +#endif /* __DFL_FME_H */ |