#include <dsplink.h>
Include dependency graph for pooldefs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |||||||||||||
struct | BUFPOOL_Attrs_tag | ||||||||||||
struct | SMAPOOL_Attrs_tag | ||||||||||||
struct | DMAPOOL_Attrs_tag | ||||||||||||
POOL_makePoolId | |||||||||||||
This macro returns a Pool Id by combining PROCID and POOL No in the Following format: |<--- 8 bit --->|<--- 8 bit --->| | ProcId | PoolNo | ============================================================================
============================================================================ | |||||||||||||
#define | POOL_makePoolId(procId, poolNo) | ||||||||||||
POOL_getProcId | |||||||||||||
Returns the processor Identifier from the PoolId. ============================================================================
============================================================================ | |||||||||||||
#define | POOL_getProcId(poolId) ((((poolId) & 0xFF00u) >> 8u) & 0x00FFu) | ||||||||||||
POOL_getPoolNo | |||||||||||||
Returns the pool Number from the PoolId. ============================================================================
============================================================================ | |||||||||||||
#define | POOL_getPoolNo(poolId) ((poolId) & 0x00FFu) | ||||||||||||
MAX_POOLENTRIES | |||||||||||||
The maximum number of pools that can be configured per processors. ============================================================================
============================================================================ | |||||||||||||
#define | MAX_POOLENTRIES 32u | ||||||||||||
#define | IS_VALID_POOLID(id) (POOL_getPoolNo((id)) < MAX_POOLENTRIES) | ||||||||||||
Is the pool ID valid for a processor. ============================================================================. | |||||||||||||
MAX_SMABUFENTRIES | |||||||||||||
The maximum number of buffer pools that can be configured for SMA. ============================================================================
============================================================================ | |||||||||||||
#define | MAX_SMABUFENTRIES 16u | ||||||||||||
MAX_DMABUFENTRIES | |||||||||||||
The maximum number of buffer pools that can be configured for DMA. ============================================================================
============================================================================ | |||||||||||||
#define | MAX_DMABUFENTRIES 16u | ||||||||||||
DMAPOOL_Attrs | |||||||||||||
This structure defines the attributes of the DMA POOL. ============================================================================
| |||||||||||||
#define | BufPoolAttrs BUFPOOL_Attrs | ||||||||||||
#define | SmaPoolAttrs SMAPOOL_Attrs | ||||||||||||
typedef DMAPOOL_Attrs_tag | DMAPOOL_Attrs | ||||||||||||
BUFPOOL_Attrs | |||||||||||||
This structure defines the attributes required for initialization of the buffer pool. ============================================================================
| |||||||||||||
typedef BUFPOOL_Attrs_tag | BUFPOOL_Attrs | ||||||||||||
SMAPOOL_Attrs | |||||||||||||
This structure defines the attributes of the SMA POOL. ============================================================================
| |||||||||||||
typedef SMAPOOL_Attrs_tag | SMAPOOL_Attrs | ||||||||||||
AddrType | |||||||||||||
Enumerates the various types of addresses that can be translated by the POOL. ============================================================================
| |||||||||||||
enum | AddrType { AddrType_Usr = 0u, AddrType_Phy = 1u, AddrType_Knl = 2u, AddrType_Dsp = 3u } | ||||||||||||
Defines | |||||||||||||
#define | POOLDEFS_H |
============================================================================
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ============================================================================
Definition in file pooldefs.h.
|
============================================================================
Definition at line 220 of file pooldefs.h. |
|
Is the pool ID valid for a processor. ============================================================================. ============================================================================
Definition at line 98 of file pooldefs.h. |
|
Definition at line 114 of file pooldefs.h. |
|
Definition at line 90 of file pooldefs.h. |
|
Definition at line 106 of file pooldefs.h. |
|
Definition at line 82 of file pooldefs.h. |
|
Definition at line 74 of file pooldefs.h. |
|
Value: ( ((poolNo) & 0xFFu) \ | ((((procId) & 0xFFu) << 8u) & 0xFFFFu)) Definition at line 65 of file pooldefs.h. |
|
Definition at line 44 of file pooldefs.h. |
|
============================================================================
Definition at line 228 of file pooldefs.h. |
|
|
|
============================================================================
|
|
|
|
Definition at line 133 of file pooldefs.h. 00133 { 00134 AddrType_Usr = 0u, 00135 AddrType_Phy = 1u, 00136 AddrType_Knl = 2u, 00137 AddrType_Dsp = 3u 00138 } AddrType ;
|