/** * struct icc_onecell_data - driver data for onecell interconnect providers * * @num_nodes: number of nodes in this device * @nodes: array of pointers to the nodes in this device
*/ struct icc_onecell_data { unsignedint num_nodes; struct icc_node *nodes[] __counted_by(num_nodes);
};
/** * struct icc_provider - interconnect provider (controller) entity that might * provide multiple interconnect controls * * @provider_list: list of the registered interconnect providers * @nodes: internal list of the interconnect provider nodes * @set: pointer to device specific set operation function * @aggregate: pointer to device specific aggregate operation function * @pre_aggregate: pointer to device specific function that is called * before the aggregation begins (optional) * @get_bw: pointer to device specific function to get current bandwidth * @xlate: provider-specific callback for mapping nodes from phandle arguments * @xlate_extended: vendor-specific callback for mapping node data from phandle arguments * @dev: the device this interconnect provider belongs to * @users: count of active users * @inter_set: whether inter-provider pairs will be configured with @set * @data: pointer to private data
*/ struct icc_provider { struct list_head provider_list; struct list_head nodes; int (*set)(struct icc_node *src, struct icc_node *dst); int (*aggregate)(struct icc_node *node, u32 tag, u32 avg_bw,
u32 peak_bw, u32 *agg_avg, u32 *agg_peak); void (*pre_aggregate)(struct icc_node *node); int (*get_bw)(struct icc_node *node, u32 *avg, u32 *peak); struct icc_node* (*xlate)(conststruct of_phandle_args *spec, void *data); struct icc_node_data* (*xlate_extended)(conststruct of_phandle_args *spec, void *data); struct device *dev; int users; bool inter_set; void *data;
};
/** * struct icc_node - entity that is part of the interconnect topology * * @id: platform specific node id * @name: node name used in debugfs * @links: a list of targets pointing to where we can go next when traversing * @num_links: number of links to other interconnect nodes * @provider: points to the interconnect provider of this node * @node_list: the list entry in the parent provider's "nodes" list * @search_list: list used when walking the nodes graph * @reverse: pointer to previous node when walking the nodes graph * @is_traversed: flag that is used when walking the nodes graph * @req_list: a list of QoS constraint requests associated with this node * @avg_bw: aggregated value of average bandwidth requests from all consumers * @peak_bw: aggregated value of peak bandwidth requests from all consumers * @init_avg: average bandwidth value that is read from the hardware during init * @init_peak: peak bandwidth value that is read from the hardware during init * @data: pointer to private data
*/ struct icc_node { int id; constchar *name; struct icc_node **links;
size_t num_links;
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.