Source
x
struct device *dfl_fpga_pdata_to_parent(struct dfl_feature_platform_data *pdata)
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Driver Header File for FPGA Device Feature List (DFL) Support
*
* Copyright (C) 2017-2018 Intel Corporation, Inc.
*
* Authors:
* Kang Luwei <luwei.kang@intel.com>
* Zhang Yi <yi.z.zhang@intel.com>
* Wu Hao <hao.wu@intel.com>
* Xiao Guangrong <guangrong.xiao@linux.intel.com>
*/
/* maximum supported number of ports */
/* plus one for fme device */
/* Reserved 0x0 for Header Group Register and 0xff for AFU */
/*
* Device Feature Header Register Set
*
* For FIUs, they all have DFH + GUID + NEXT_AFU as common header registers.
* For AFUs, they have DFH + GUID as common header registers.
* For private features, they only have DFH register as common header.
*/
/* Device Feature Header Register Bitfield */
/* Feature ID */
/* Feature revision */
/* Offset to next DFH */
/* End of list */
/* Feature type */
/* Next AFU Register Bitfield */
/* Offset to next AFU */
/* FME Header Register Set */
/* FME Fab Capability Register Bitfield */