summaryrefslogtreecommitdiff
path: root/drivers/interconnect/internal.h
diff options
context:
space:
mode:
authorGeorgi Djakov <djakov@kernel.org>2023-08-22 21:05:09 +0300
committerGeorgi Djakov <djakov@kernel.org>2023-08-22 21:05:09 +0300
commit6ac3f01201fa1c453fc8a8ce5a7208da9cca254d (patch)
tree783984c36304219ab9bc30c04ec3c3cb9e186775 /drivers/interconnect/internal.h
parent3a60e2a1c8a6eaa38336d798c23ab6dcb61b5cc2 (diff)
parent770c69f037c18cfaa37c3d6c6ef8bd257635513f (diff)
downloadlinux-6ac3f01201fa1c453fc8a8ce5a7208da9cca254d.tar.xz
Merge branch 'icc-debugfs' into icc-next
This series introduces interconnect debugfs files that support voting for any interconnect path the framework supports. It is useful for debug, test and verification. * icc-debugfs debugfs: Add write support to debugfs_create_str() interconnect: Reintroduce icc_get() interconnect: Add debugfs test client Link: https://lore.kernel.org/r/20230807142914.12480-1-quic_mdtipton@quicinc.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers/interconnect/internal.h')
-rw-r--r--drivers/interconnect/internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/interconnect/internal.h b/drivers/interconnect/internal.h
index b30856db523d..3b9d50589c01 100644
--- a/drivers/interconnect/internal.h
+++ b/drivers/interconnect/internal.h
@@ -41,4 +41,7 @@ struct icc_path {
struct icc_req reqs[] __counted_by(num_nodes);
};
+struct icc_path *icc_get(struct device *dev, const char *src, const char *dst);
+int icc_debugfs_client_init(struct dentry *icc_dir);
+
#endif