![]() |
![]() |
#include <assert.h>
#include <stdio.h>
#include <xdc/std.h>
#include <ti/sdo/utils/trace/gt.h>
Go to the source code of this file.
Defines | |
#define | Dmai_EINVAL -5 |
#define | Dmai_ENOMEM -4 |
#define | Dmai_EIO -3 |
#define | Dmai_ENOTIMPL -2 |
#define | Dmai_EFAIL -1 |
#define | Dmai_EOK 0 |
#define | Dmai_EFLUSH 1 |
#define | Dmai_EPRIME 2 |
#define | Dmai_EFIRSTFIELD 3 |
#define | Dmai_EBITERROR 4 |
#define | Dmai_ETIMEOUT 5 |
#define | Dmai_EEOF 6 |
#define | Dmai_EAGAIN 7 |
#define | Dmai_dbg0(fmt) GT_0trace(ti_sdo_dmai_GTMask, GT_2CLASS, "[" MODULE_NAME "] " fmt) |
***INTERNAL*** Debug message with 0 arguments | |
#define | Dmai_dbg1(fmt, arg1) |
***INTERNAL*** Debug message with 1 arguments | |
#define | Dmai_dbg2(fmt, arg1, arg2) |
***INTERNAL*** Debug message with 2 arguments | |
#define | Dmai_dbg3(fmt, arg1, arg2, arg3) |
***INTERNAL*** Debug message with 3 arguments | |
#define | Dmai_dbg4(fmt, arg1, arg2, arg3, arg4) |
***INTERNAL*** Debug message with 4 arguments | |
#define | Dmai_dbg5(fmt, arg1, arg2, arg3, arg4, arg5) |
***INTERNAL*** Debug message with 5 arguments | |
#define | Dmai_dbg6(fmt, arg1, arg2, arg3, arg4, arg5, arg6) |
***INTERNAL*** Debug message with 6 arguments | |
#define | Dmai_err0(fmt) GT_0trace(ti_sdo_dmai_GTMask, GT_7CLASS, "[" MODULE_NAME "] " fmt) |
***INTERNAL*** Error message with 0 arguments | |
#define | Dmai_err1(fmt, arg1) |
***INTERNAL*** Error message with 1 arguments | |
#define | Dmai_err2(fmt, arg1, arg2) |
***INTERNAL*** Error message with 2 arguments | |
#define | Dmai_err3(fmt, arg1, arg2, arg3) |
***INTERNAL*** Error message with 3 arguments | |
#define | Dmai_err4(fmt, arg1, arg2, arg3, arg4) |
***INTERNAL*** Error message with 4 arguments | |
#define | Dmai_err5(fmt, arg1, arg2, arg3, arg4, arg5) |
***INTERNAL*** Error message with 5 arguments | |
#define | Dmai_err6(fmt, arg1, arg2, arg3, arg4, arg5, arg6) |
***INTERNAL*** Error message with 6 arguments | |
#define | Dmai_clear(x) memset (&(x), 0, sizeof (x)) |
Utility macro for clearing structures. | |
#define | Dmai_roundUp(val, rounding) |
Macro that can be used to round up 'val' to the closest multiple of the value passed in 'rounding'. | |
#define | Dmai_gtname "ti.sdo.dmai" |
***INTERNAL*** Name of GT Mask used for DMAI. | |
#define | Dmai_Bios_segid 0 |
DSP/BIOS Segment ID from which to allocate all Dmai objects. | |
Enumerations | |
enum | Dmai_LogLevel { Dmai_LogLevel_Notset = -1, Dmai_LogLevel_None = 0, Dmai_LogLevel_ErrorsWarnings, Dmai_LogLevel_All } |
Log Levels. More... | |
Functions | |
Int | Dmai_setLogLevel (Dmai_LogLevel logLevel) |
Set global DMAI debug level setting. Can be overriden by the DMAI_DEBUG environment variable on platforms where it is supported. Note that calling this API will result in all trace (including CE trace) to be directed to stdout. | |
Void | Dmai_init () |
Initializes DMAI. Must be called before any other DMAI module function. | |
Variables | |
GT_Mask | ti_sdo_dmai_GTMask |
Global GT trace mask declaration. |