forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/include/soc/fsl/bman.h
....@@ -133,5 +133,13 @@
133133 * failed to probe or 0 if the bman driver did not probed yet.
134134 */
135135 int bman_is_probed(void);
136
+/**
137
+ * bman_portals_probed - Check if all cpu bound bman portals are probed
138
+ *
139
+ * Returns 1 if all the required cpu bound bman portals successfully probed,
140
+ * -1 if probe errors appeared or 0 if the bman portals did not yet finished
141
+ * probing.
142
+ */
143
+int bman_portals_probed(void);
136144
137145 #endif /* __FSL_BMAN_H */