mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
853dc104e6
Add a couple of new APIs to check the probing status of qman and bman: 'int bman_is_probed()' and 'int qman_is_probed()'. They return the following values. * 1 if qman/bman were probed correctly * 0 if qman/bman were not yet probed * -1 if probing of qman/bman failed Drivers that use qman/bman driver services are required to use these APIs before calling any functions exported by qman or bman drivers or otherwise they will crash the kernel. The APIs will be used in the following couple of qbman portal patches and later in the series in the dpaa1 ethernet driver. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com> |
||
---|---|---|
.. | ||
bman_ccsr.c | ||
bman_portal.c | ||
bman_priv.h | ||
bman_test_api.c | ||
bman_test.c | ||
bman_test.h | ||
bman.c | ||
dpaa_sys.c | ||
dpaa_sys.h | ||
Kconfig | ||
Makefile | ||
qman_ccsr.c | ||
qman_portal.c | ||
qman_priv.h | ||
qman_test_api.c | ||
qman_test_stash.c | ||
qman_test.c | ||
qman_test.h | ||
qman.c |