xref: /openbmc/linux/drivers/soc/fsl/qbman/qman_test.h (revision de775623)
1de775623SClaudiu Manoil /* Copyright 2008 - 2016 Freescale Semiconductor, Inc.
2de775623SClaudiu Manoil  *
3de775623SClaudiu Manoil  * Redistribution and use in source and binary forms, with or without
4de775623SClaudiu Manoil  * modification, are permitted provided that the following conditions are met:
5de775623SClaudiu Manoil  *     * Redistributions of source code must retain the above copyright
6de775623SClaudiu Manoil  *	 notice, this list of conditions and the following disclaimer.
7de775623SClaudiu Manoil  *     * Redistributions in binary form must reproduce the above copyright
8de775623SClaudiu Manoil  *	 notice, this list of conditions and the following disclaimer in the
9de775623SClaudiu Manoil  *	 documentation and/or other materials provided with the distribution.
10de775623SClaudiu Manoil  *     * Neither the name of Freescale Semiconductor nor the
11de775623SClaudiu Manoil  *	 names of its contributors may be used to endorse or promote products
12de775623SClaudiu Manoil  *	 derived from this software without specific prior written permission.
13de775623SClaudiu Manoil  *
14de775623SClaudiu Manoil  * ALTERNATIVELY, this software may be distributed under the terms of the
15de775623SClaudiu Manoil  * GNU General Public License ("GPL") as published by the Free Software
16de775623SClaudiu Manoil  * Foundation, either version 2 of that License or (at your option) any
17de775623SClaudiu Manoil  * later version.
18de775623SClaudiu Manoil  *
19de775623SClaudiu Manoil  * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
20de775623SClaudiu Manoil  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21de775623SClaudiu Manoil  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22de775623SClaudiu Manoil  * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
23de775623SClaudiu Manoil  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24de775623SClaudiu Manoil  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25de775623SClaudiu Manoil  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26de775623SClaudiu Manoil  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27de775623SClaudiu Manoil  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28de775623SClaudiu Manoil  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29de775623SClaudiu Manoil  */
30de775623SClaudiu Manoil 
31de775623SClaudiu Manoil #include "qman_priv.h"
32de775623SClaudiu Manoil 
33de775623SClaudiu Manoil #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
34de775623SClaudiu Manoil 
35de775623SClaudiu Manoil int qman_test_stash(void);
36de775623SClaudiu Manoil int qman_test_api(void);
37