/** * struct fpga_region_info - collection of parameters an FPGA Region * @mgr: fpga region manager * @compat_id: FPGA region id for compatibility check. * @priv: fpga region private data * @get_bridges: optional function to get bridges to a list * * fpga_region_info contains parameters for the register_full function. * These are separated into an info structure because they some are optional * others could be added to in the future. The info structure facilitates * maintaining a stable API.
*/ struct fpga_region_info { struct fpga_manager *mgr; struct fpga_compat_id *compat_id; void *priv; int (*get_bridges)(struct fpga_region *region);
};
/** * struct fpga_region - FPGA Region structure * @dev: FPGA Region device * @mutex: enforces exclusive reference to region * @bridge_list: list of FPGA bridges specified in region * @mgr: FPGA manager * @info: FPGA image info * @compat_id: FPGA region id for compatibility check. * @ops_owner: module containing the get_bridges function * @priv: private data * @get_bridges: optional function to get bridges to a list
*/ struct fpga_region { struct device dev; struct mutex mutex; /* for exclusive reference to region */ struct list_head bridge_list; struct fpga_manager *mgr; struct fpga_image_info *info; struct fpga_compat_id *compat_id; struct module *ops_owner; void *priv; int (*get_bridges)(struct fpga_region *region);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.