/** * struct fpga_bridge_ops - ops for low level FPGA bridge drivers * @enable_show: returns the FPGA bridge's status * @enable_set: set an FPGA bridge as enabled or disabled * @fpga_bridge_remove: set FPGA into a specific state during driver remove * @groups: optional attribute groups.
*/ struct fpga_bridge_ops { int (*enable_show)(struct fpga_bridge *bridge); int (*enable_set)(struct fpga_bridge *bridge, bool enable); void (*fpga_bridge_remove)(struct fpga_bridge *bridge); conststruct attribute_group **groups;
};
/** * struct fpga_bridge_info - collection of parameters an FPGA Bridge * @name: fpga bridge name * @br_ops: pointer to structure of fpga bridge ops * @priv: fpga bridge private data * * fpga_bridge_info contains parameters for the register 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_bridge_info { constchar *name; conststruct fpga_bridge_ops *br_ops; void *priv;
};
/** * struct fpga_bridge - FPGA bridge structure * @name: name of low level FPGA bridge * @dev: FPGA bridge device * @mutex: enforces exclusive reference to bridge * @br_ops: pointer to struct of FPGA bridge ops * @br_ops_owner: module containing the br_ops * @info: fpga image specific information * @node: FPGA bridge list node * @priv: low level driver private date
*/ struct fpga_bridge { constchar *name; struct device dev; struct mutex mutex; /* for exclusive reference to bridge */ conststruct fpga_bridge_ops *br_ops; struct module *br_ops_owner; struct fpga_image_info *info; struct list_head node; void *priv;
};
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.