1
0
Fork 0
alistair23-linux/include/soc
Laurentiu Tudor 853dc104e6 soc: fsl: qbman: add APIs to retrieve the probing status
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>
2018-09-27 15:43:35 -05:00
..
arc ARC: mcip: update MCIP debug mask when the new cpu came online 2018-02-28 10:45:31 -08:00
at91 clk: at91: utmi: set the mainck rate 2017-11-01 23:39:49 -07:00
bcm2835 ARM: bcm2835: Add GET_THROTTLED firmware property 2018-06-21 17:17:11 -07:00
brcmstb soc: add stubs for brcmstb SoC's 2015-09-14 15:44:18 -07:00
fsl soc: fsl: qbman: add APIs to retrieve the probing status 2018-09-27 15:43:35 -05:00
imx ARM: imx6: fix static declaration in include/soc/imx/cpuidle.h 2016-06-21 14:35:29 +08:00
mediatek iommu/mediatek: Add mt2712 IOMMU support 2017-08-22 16:37:58 +02:00
nps soc: Support for NPS HW scheduling 2016-11-30 11:54:25 -08:00
qcom drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
rockchip soc: rockchip: add header for ddr rate SIP interface 2016-08-31 18:53:24 +02:00
sa1100 ARM: 8361/1: sa1100: add platform functions to handle PWER settings 2015-05-18 22:00:22 +01:00
tegra ARM: tegra: fix compile-testing PCI host driver 2018-06-02 01:17:47 -07:00