Home
last modified time | relevance | path

Searched refs:SDK_TASSERTMSG (Results 1 – 25 of 40) sorted by relevance

12

/TwlSDK-5.4/include/nitro/mi/
Dmemory.h72 SDK_TASSERTMSG((size & 3) == 0, "size & 3 must be 0"); in MI_CpuFill32()
73 SDK_TASSERTMSG(((u32)dest & 3) == 0, "destination address must be in 4-byte alignment"); in MI_CpuFill32()
91 SDK_TASSERTMSG((size & 3) == 0, "size & 3 must be 0"); in MI_CpuCopy32()
92 SDK_TASSERTMSG(((u32)src & 3) == 0, "source address must be in 4-byte alignment"); in MI_CpuCopy32()
93 SDK_TASSERTMSG(((u32)dest & 3) == 0, "destination address must be in 4-byte alignment"); in MI_CpuCopy32()
126 SDK_TASSERTMSG((size & 3) == 0, "size & 3 must be 0"); in MI_CpuSend32()
127 SDK_TASSERTMSG(((u32)src & 3) == 0, "source address must be in 4-byte alignment"); in MI_CpuSend32()
128 SDK_TASSERTMSG(((u32)dest & 3) == 0, "destination address must be in 4-byte alignment"); in MI_CpuSend32()
147 SDK_TASSERTMSG((size & 3) == 0, "size & 3 must be 0"); in MI_CpuRecv32()
148 SDK_TASSERTMSG(((u32)src & 3) == 0, "source address must be in 4-byte alignment"); in MI_CpuRecv32()
[all …]
/TwlSDK-5.4/build/libraries/mi/common/include/
Dmi_dma.h88 #define MIi_ASSERT_DMANO( dmaNo ) SDK_TASSERTMSG( (dmaNo) <= MI_DMA_MAX_NUM, "illegal DMA No…
89 #define MIi_ASSERT_MUL2( size ) SDK_TASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" )
90 #define MIi_ASSERT_MUL4( size ) SDK_TASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" )
91 #define MIi_ASSERT_SRC_ALIGN512( src ) SDK_TASSERTMSG( ((u32)(src) & 511) == 0, "source address m…
92 #define MIi_ASSERT_SRC_ALIGN4( src ) SDK_TASSERTMSG( ((u32)(src) & 3) == 0, "source address mus…
93 #define MIi_ASSERT_SRC_ALIGN2( src ) SDK_TASSERTMSG( ((u32)(src) & 1) == 0, "source address mus…
94 #define MIi_ASSERT_DEST_ALIGN4( dest ) SDK_TASSERTMSG( ((u32)(dest) & 3) == 0, "destination addre…
95 #define MIi_ASSERT_DEST_ALIGN2( dest ) SDK_TASSERTMSG( ((u32)(dest) & 1) == 0, "destination addre…
98 # define MIi_ASSERT_SIZE( dmaNo, size ) SDK_TASSERTMSG( (size) <= 0x1fffff, "size too large" );
104 SDK_TASSERTMSG( (size) <= 0x3fff, "size too large" );\
[all …]
/TwlSDK-5.4/build/libraries/os/common/src/
Dos_alloc.c376 SDK_TASSERTMSG(id < OS_ARENA_MAX, OS_ERR_ALLOCFROMHEAP_INVID); in OS_AllocFromHeap()
377 SDK_TASSERTMSG(OSiHeapInfo[id], OS_ERR_ALLOCFROMHEAP_NOINFO); in OS_AllocFromHeap()
393 SDK_TASSERTMSG(heapInfo->heapArray, OS_ERR_ALLOCFROMHEAP_NOHEAP); in OS_AllocFromHeap()
394 SDK_TASSERTMSG(0 < ((long)size), OS_ERR_ALLOCFROMHEAP_INVSIZE); in OS_AllocFromHeap()
395 SDK_TASSERTMSG(0 <= heap && heap < heapInfo->numHeaps, OS_ERR_ALLOCFROMHEAP_INVHEAP); in OS_AllocFromHeap()
396 SDK_TASSERTMSG(0 <= heapInfo->heapArray[heap].size, OS_ERR_ALLOCFROMHEAP_INVHEAP); in OS_AllocFromHeap()
422 SDK_TASSERTMSG(OFFSET(cell, ALIGNMENT) == 0, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OS_AllocFromHeap()
423 SDK_TASSERTMSG(cell->hd == NULL, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OS_AllocFromHeap()
458 SDK_TASSERTMSG(hd->free == cell, OS_ERR_ALLOCFROMHEAP_BROKENHEAP); in OS_AllocFromHeap()
506 SDK_TASSERTMSG(id < OS_ARENA_MAX, OS_ERR_ALLOCFIXED_INVID); in OS_AllocFixed()
[all …]
Dos_alarm.c109 SDK_TASSERTMSG(OS_IsTickAvailable(), "OS_InitAlarm: alarm system needs of tick system."); in OS_InitAlarm()
144 SDK_TASSERTMSG(!OSi_AlarmQueue.head, in OS_EndAlarm()
284 SDK_TASSERTMSG(handler, "OS_SetAlarm: handler must not be NULL."); in OS_SetAlarm()
329 SDK_TASSERTMSG(handler, "OS_SetPeriodicAlarm: handler must not be NULL\n"); in OS_SetPeriodicAlarm()
330 SDK_TASSERTMSG(period > 0, "OS_SetPeriodicAlarm: bad period specified."); in OS_SetPeriodicAlarm()
531 SDK_TASSERTMSG(tag > 0, "OS_SetAlarmTag: Tag must be >0."); in OS_SetAlarmTag()
553 SDK_TASSERTMSG(tag > 0, "OSCancelAlarms: Tag must be >0."); in OS_CancelAlarms()
Dos_valarm.c124 SDK_TASSERTMSG(!OSi_VAlarmQueue.head, in OS_EndVAlarm()
321 SDK_TASSERTMSG(handler, "OS_SetVAlarm: handler must not be NULL."); in OS_SetVAlarm()
378 SDK_TASSERTMSG(handler, "OS_SetPeriodicVAlarm: handler must not be NULL\n"); in OS_SetPeriodicVAlarm()
379 SDK_TASSERTMSG(0 <= delay in OS_SetPeriodicVAlarm()
458 SDK_TASSERTMSG(tag > 0, "OSSetVAlarmTag: Tag must be >0."); in OS_SetVAlarmTag()
552 SDK_TASSERTMSG(tag > 0, "OSCancelVAlarms: Tag must be >0."); in OS_CancelVAlarms()
Dos_thread.c415 SDK_TASSERTMSG(t, "Cannot remove thread from list."); in OSi_RemoveThreadFromList()
565 SDK_TASSERTMSG(OSi_IRQ_STACKSIZE > 0, "IRQ STACKSIZE must be >0"); in OS_InitThread()
626 SDK_TASSERTMSG(OSi_GetCurrentThread(), "thread system were not initialized"); in OS_CreateThread()
627 SDK_TASSERTMSG(OS_THREAD_PRIORITY_MIN <= prio in OS_CreateThread()
629 SDK_TASSERTMSG(stackSize % STACK_ALIGN == 0, "stack size must be aligned by %d", STACK_ALIGN); in OS_CreateThread()
630 SDK_TASSERTMSG((u32)stack % STACK_ALIGN == 0, "stack must be aligned by %d", STACK_ALIGN); in OS_CreateThread()
638 SDK_TASSERTMSG(index >= 0, "OS_CreateThread: thread entry not allocated"); in OS_CreateThread()
1613 SDK_TASSERTMSG((offset & 3) == 0, "Offset must be aligned by 4"); in OS_SetThreadStackWarningOffset()
1614 SDK_TASSERTMSG(OS_GetThreadContext(thread)->sp > thread->stackTop + offset, in OS_SetThreadStackWarningOffset()
1643 SDK_TASSERTMSG(OS_THREAD_PRIORITY_MIN <= prio in OS_SetThreadPriority()
[all …]
Dos_interrupt.c476 SDK_TASSERTMSG((offset & 3) == 0, "Offset must be aligned by 4"); in OS_SetIrqStackWarningOffset()
477 SDK_TASSERTMSG(offset > 0, "Cannot set warning level to stack top."); in OS_SetIrqStackWarningOffset()
478SDK_TASSERTMSG(offset < ((u32)SDK_IRQ_STACKSIZE), "Cannot set warning level over stack bottom."); in OS_SetIrqStackWarningOffset()
Dos_arena.c360 SDK_TASSERTMSG((u32)OSi_GetArenaInfo().lo[id] != 0xffffffff, OS_ERR_GETARENALO_INIT); in OS_GetArenaHi()
361 SDK_TASSERTMSG((u32)OSi_GetArenaInfo().lo[id] <= (u32)OSi_GetArenaInfo().hi[id], in OS_GetArenaHi()
380 SDK_TASSERTMSG((u32)OSi_GetArenaInfo().lo[id] != 0xffffffff, OS_ERR_GETARENALO_INIT); in OS_GetArenaLo()
381 SDK_TASSERTMSG((u32)OSi_GetArenaInfo().lo[id] <= (u32)OSi_GetArenaInfo().hi[id], in OS_GetArenaLo()
Dos_callTrace.c155 SDK_TASSERTMSG(((u32)buf & 3) == 0, "CallTrace buffer must be aligned by 4"); in OS_InitCallTrace()
156 SDK_TASSERTMSG((size >= OSi_TRACEINFO_SIZEOF_HEADERPART + sizeof(OSCallTrace)), in OS_InitCallTrace()
163 SDK_TASSERTMSG(OS_IsThreadAvailable(), "CallTrace need thread system."); in OS_InitCallTrace()
693 SDK_TASSERTMSG(info && info->current, "Not Initialize functionTrace"); in OSi_DumpCallTrace_core()
/TwlSDK-5.4/build/libraries/mi/common.TWL/include/
Dmi_ndma.h72 #define MIi_ASSERT_DMANO( dmaNo ) SDK_TASSERTMSG( (dmaNo) <= MI_DMA_MAX_NUM, "illegal DMA No…
73 #define MIi_ASSERT_MUL2( size ) SDK_TASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" )
74 #define MIi_ASSERT_MUL4( size ) SDK_TASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" )
75 #define MIi_ASSERT_SRC_ALIGN512( src ) SDK_TASSERTMSG( ((u32)(src) & 511) == 0, "source address m…
76 #define MIi_ASSERT_SRC_ALIGN4( src ) SDK_TASSERTMSG( ((u32)(src) & 3) == 0, "source address mus…
77 #define MIi_ASSERT_SRC_ALIGN2( src ) SDK_TASSERTMSG( ((u32)(src) & 1) == 0, "source address mus…
78 #define MIi_ASSERT_DEST_ALIGN4( dest ) SDK_TASSERTMSG( ((u32)(dest) & 3) == 0, "destination addre…
79 #define MIi_ASSERT_DEST_ALIGN2( dest ) SDK_TASSERTMSG( ((u32)(dest) & 1) == 0, "destination addre…
80 #define MIi_ASSERT_TIMERNO( timerNo ) SDK_TASSERTMSG( (timerNo) <= 3, "illegal Timer No." );
/TwlSDK-5.4/build/libraries/os/common/include/
Dmi_dma.h185 #define MIi_ASSERT_DMANO( dmaNo ) SDK_TASSERTMSG( (dmaNo) <= MI_DMA_MAX_NUM, "illegal DMA No…
186 #define MIi_ASSERT_MUL2( size ) SDK_TASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" )
187 #define MIi_ASSERT_MUL4( size ) SDK_TASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" )
188 #define MIi_ASSERT_SRC_ALIGN512( src ) SDK_TASSERTMSG( ((u32)(src) & 511) == 0, "source address m…
189 #define MIi_ASSERT_SRC_ALIGN4( src ) SDK_TASSERTMSG( ((u32)(src) & 3) == 0, "source address mus…
190 #define MIi_ASSERT_SRC_ALIGN2( src ) SDK_TASSERTMSG( ((u32)(src) & 1) == 0, "source address mus…
191 #define MIi_ASSERT_DEST_ALIGN4( dest ) SDK_TASSERTMSG( ((u32)(dest) & 3) == 0, "destination addre…
192 #define MIi_ASSERT_DEST_ALIGN2( dest ) SDK_TASSERTMSG( ((u32)(dest) & 1) == 0, "destination addre…
195 # define MIi_ASSERT_SIZE( dmaNo, size ) SDK_TASSERTMSG( (size) <= 0x1fffff, "size too large" );
201 SDK_TASSERTMSG( (size) <= 0x3fff, "size too large" );\
[all …]
/TwlSDK-5.4/build/libraries/init/common/include/
Dmi_dma.h185 #define MIi_ASSERT_DMANO( dmaNo ) SDK_TASSERTMSG( (dmaNo) <= MI_DMA_MAX_NUM, "illegal DMA No…
186 #define MIi_ASSERT_MUL2( size ) SDK_TASSERTMSG( ((size) & 1) == 0, "size & 1 must be 0" )
187 #define MIi_ASSERT_MUL4( size ) SDK_TASSERTMSG( ((size) & 3) == 0, "size & 3 must be 0" )
188 #define MIi_ASSERT_SRC_ALIGN512( src ) SDK_TASSERTMSG( ((u32)(src) & 511) == 0, "source address m…
189 #define MIi_ASSERT_SRC_ALIGN4( src ) SDK_TASSERTMSG( ((u32)(src) & 3) == 0, "source address mus…
190 #define MIi_ASSERT_SRC_ALIGN2( src ) SDK_TASSERTMSG( ((u32)(src) & 1) == 0, "source address mus…
191 #define MIi_ASSERT_DEST_ALIGN4( dest ) SDK_TASSERTMSG( ((u32)(dest) & 3) == 0, "destination addre…
192 #define MIi_ASSERT_DEST_ALIGN2( dest ) SDK_TASSERTMSG( ((u32)(dest) & 1) == 0, "destination addre…
195 # define MIi_ASSERT_SIZE( dmaNo, size ) SDK_TASSERTMSG( (size) <= 0x1fffff, "size too large" );
201 SDK_TASSERTMSG( (size) <= 0x3fff, "size too large" );\
[all …]
/TwlSDK-5.4/build/libraries/gx/ARM9/src/
Dgxstate.c71 SDK_TASSERTMSG(!(a & b), \
202 SDK_TASSERTMSG(((r1) <= (d1)) && ((r2) >= (d2)), \
207 SDK_TASSERTMSG(( ((r1) <= (d1)) && ((r2) >= (d2)) ) || ( ((r3) <= (d1)) && ((r4) >= (d2)) ), \
452 SDK_TASSERTMSG(last <= 0x04000, in GX_RegionCheck_TexPltt_()
457 SDK_TASSERTMSG(last <= 0x08000, in GX_RegionCheck_TexPltt_()
462 SDK_TASSERTMSG(last <= 0x10000, in GX_RegionCheck_TexPltt_()
467 SDK_TASSERTMSG(last <= 0x14000, in GX_RegionCheck_TexPltt_()
472SDK_TASSERTMSG(last <= 0x18000, "Illegal Address/size specified(0x%5x->0x%5x)", first, last); in GX_RegionCheck_TexPltt_()
493 SDK_TASSERTMSG(last <= 0x20000, in GX_RegionCheck_Tex_()
503 SDK_TASSERTMSG(last <= 0x40000, in GX_RegionCheck_Tex_()
[all …]
Dgx_load2d.c740 SDK_TASSERTMSG(destSlotAddr + szByte <= 0x8000, in GX_LoadBGExtPltt()
746 SDK_TASSERTMSG(destSlotAddr + szByte <= 0x8000, in GX_LoadBGExtPltt()
749 SDK_TASSERTMSG(destSlotAddr >= 0x4000, in GX_LoadBGExtPltt()
755 SDK_TASSERTMSG(destSlotAddr + szByte <= 0x4000, in GX_LoadBGExtPltt()
917 SDK_TASSERTMSG(GX_VRAM_SUB_BGEXTPLTT_0123_H == sSubBGExtPltt, "Sub BGExtPltt not allocated"); in GXS_BeginLoadBGExtPltt()
943 SDK_TASSERTMSG(destSlotAddr + szByte <= 0x8000, in GXS_LoadBGExtPltt()
998 SDK_TASSERTMSG(GX_VRAM_SUB_OBJEXTPLTT_0_I == sSubOBJExtPltt, "Sub OBJExtPltt not allocated"); in GXS_BeginLoadOBJExtPltt()
1024 SDK_TASSERTMSG(destSlotAddr + szByte <= 0x2000, in GXS_LoadOBJExtPltt()
Dg3.c88 SDK_TASSERTMSG(((u32)info->curr_cmd - (u32)info->bottom <= info->length), in G3_EndMakeDL()
/TwlSDK-5.4/include/nitro/
Dmisc.h66 #ifndef SDK_TASSERTMSG
67 #define SDK_TASSERTMSG(exp, ...) \ macro
74 #ifndef SDK_TASSERTMSG
75 #define SDK_TASSERTMSG(exp, ...) ((void) 0)
/TwlSDK-5.4/include/nitro/os/common/
Dthread.h503 SDK_TASSERTMSG(id < OS_THREAD_MAX_NUM, "Thread id illegal\n"); in OS_GetThread()
521 SDK_TASSERTMSG(thread, "null thread pointer."); in OS_GetThreadId()
536 SDK_TASSERTMSG(thread, "null thread pointer."); in OS_GetThreadState()
551 SDK_TASSERTMSG(thread, "null thread pointer."); in OS_GetThreadContext()
/TwlSDK-5.4/build/libraries/fs/common/src/
Dfs_api.c57 SDK_TASSERTMSG(default_dma_no != 0, "cannot use DMA channel 0 for ROM access"); in FS_Init()
/TwlSDK-5.4/build/libraries/pxi/common/src/
Dpxi_fifo.c219 SDK_TASSERTMSG(0 <= fifotag && fifotag < PXI_MAX_FIFO_TAG, "[FifoTag] out of range"); in PXI_SendWordByFifo()
220 SDK_TASSERTMSG(data < (1UL << PXI_FIFOMESSAGE_BITSZ_DATA), "[data] out of range"); in PXI_SendWordByFifo()
/TwlSDK-5.4/build/libraries/fx/common/src/
Dfx_mtx44.c507 SDK_TASSERTMSG(t != b, "MTX_Frustum: 't' and 'b' clipping planes are equal."); in MTX_FrustumW()
508 SDK_TASSERTMSG(l != r, "MTX_Frustum: 'l' and 'r' clipping planes are equal."); in MTX_FrustumW()
509 SDK_TASSERTMSG(n != f, "MTX_Frustum: 'n' and 'f' clipping planes are equal."); in MTX_FrustumW()
580 SDK_TASSERTMSG(fovySin > 0 && fovySin < FX32_ONE, "G3_Perspective: sine of fovy out of range."); in MTX_PerspectiveW()
581 SDK_TASSERTMSG(fovyCos > -FX32_ONE in MTX_PerspectiveW()
583 SDK_TASSERTMSG(aspect != 0, "G3_Perspective: aspect is 0."); in MTX_PerspectiveW()
639 SDK_TASSERTMSG(t != b, "G3_Ortho: 't' and 'b' clipping planes are equal."); in MTX_OrthoW()
640 SDK_TASSERTMSG(l != r, "G3_Ortho: 'l' and 'r' clipping planes are equal."); in MTX_OrthoW()
641 SDK_TASSERTMSG(n != f, "G3_Ortho: 'n' and 'f' clipping planes are equal."); in MTX_OrthoW()
/TwlSDK-5.4/include/twl/aes/common/
Dtypes.h48 SDK_TASSERTMSG( ((x) == AES_MAC_LENGTH_4) \
/TwlSDK-5.4/build/libraries/ext/common/src/
Dext_scrntest.c151 SDK_TASSERTMSG((testFrame > 0) in EXT_TestScreenShot()
232 SDK_TASSERTMSG(vram == GX_VRAM_LCDC_A || vram == GX_VRAM_LCDC_B || vram == GX_VRAM_LCDC_C in EXT_TestSetVRAMForScreenShot()
/TwlSDK-5.4/build/libraries/snd/common/src/
Dsnd_bank.c78 SDK_TASSERTMSG(((u32)bank & 0x1f) == 0, "bank address must be aligned 32 bytes boundary."); in SND_AssignWaveArc()
79SDK_TASSERTMSG(((u32)waveArc & 0x1f) == 0, "waveArc address must be aligned 32 bytes boundary."); in SND_AssignWaveArc()
153 SDK_TASSERTMSG(((u32)bank & 0x1f) == 0, "bank address must be aligned 32 bytes boundary."); in SND_DestroyBank()
209SDK_TASSERTMSG(((u32)waveArc & 0x1f) == 0, "waveArc address must be aligned 32 bytes boundary."); in SND_DestroyWaveArc()
/TwlSDK-5.4/build/libraries/prc/common/src/
Dprc_algo_superfine.c250 SDK_TASSERTMSG(a >= 0, "a < 0: (%d, %d)*%d-(%d, %d)*%d", p1->x, p1->y, w1, p2->x, p2->y, w2); in GetMixedPoint()
252 SDK_TASSERTMSG(w > 0, "w <= 0: (%d, %d)*%d-(%d, %d)*%d", p1->x, p1->y, w1, p2->x, p2->y, w2); in GetMixedPoint()
699 SDK_TASSERTMSG(iInput <= inputMatch[iMatch + 1], in PRCi_CalcStrokeDistance_Superfine()
702 SDK_TASSERTMSG(iProto <= protoMatch[iMatch + 1], in PRCi_CalcStrokeDistance_Superfine()
794 SDK_TASSERTMSG(weight != 0, in PRCi_CalcStrokeDistance_Superfine()
799 SDK_TASSERTMSG(totalWeight != 0, "nMatches: %d", nMatches); in PRCi_CalcStrokeDistance_Superfine()
/TwlSDK-5.4/build/libraries/dsp/ARM9.TWL/src/
Ddsp_graphics.c306SDK_TASSERTMSG(CheckLimitation(rx, ry, mode, width), "DSP_Scaling: arguments exceed the limit."); in DSPi_ScalingCore()
387SDK_TASSERTMSG(CheckLimitation(FX_FX32_TO_F32(rx), FX_FX32_TO_F32(ry), mode, width), "DSP_Scaling:… in DSPi_ScalingFxCore()

12