| /TwlSDK-5.4/include/nitro/mi/ |
| D | memory.h | 72 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/ |
| D | mi_dma.h | 88 #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/ |
| D | os_alloc.c | 376 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 …]
|
| D | os_alarm.c | 109 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()
|
| D | os_valarm.c | 124 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()
|
| D | os_thread.c | 415 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 …]
|
| D | os_interrupt.c | 476 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() 478 … SDK_TASSERTMSG(offset < ((u32)SDK_IRQ_STACKSIZE), "Cannot set warning level over stack bottom."); in OS_SetIrqStackWarningOffset()
|
| D | os_arena.c | 360 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()
|
| D | os_callTrace.c | 155 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/ |
| D | mi_ndma.h | 72 #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/ |
| D | mi_dma.h | 185 #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/ |
| D | mi_dma.h | 185 #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/ |
| D | gxstate.c | 71 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_() 472 … SDK_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 …]
|
| D | gx_load2d.c | 740 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()
|
| D | g3.c | 88 SDK_TASSERTMSG(((u32)info->curr_cmd - (u32)info->bottom <= info->length), in G3_EndMakeDL()
|
| /TwlSDK-5.4/include/nitro/ |
| D | misc.h | 66 #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/ |
| D | thread.h | 503 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/ |
| D | fs_api.c | 57 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/ |
| D | pxi_fifo.c | 219 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/ |
| D | fx_mtx44.c | 507 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/ |
| D | types.h | 48 SDK_TASSERTMSG( ((x) == AES_MAC_LENGTH_4) \
|
| /TwlSDK-5.4/build/libraries/ext/common/src/ |
| D | ext_scrntest.c | 151 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/ |
| D | snd_bank.c | 78 SDK_TASSERTMSG(((u32)bank & 0x1f) == 0, "bank address must be aligned 32 bytes boundary."); in SND_AssignWaveArc() 79 … SDK_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() 209 … SDK_TASSERTMSG(((u32)waveArc & 0x1f) == 0, "waveArc address must be aligned 32 bytes boundary."); in SND_DestroyWaveArc()
|
| /TwlSDK-5.4/build/libraries/prc/common/src/ |
| D | prc_algo_superfine.c | 250 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/ |
| D | dsp_graphics.c | 306 … SDK_TASSERTMSG(CheckLimitation(rx, ry, mode, width), "DSP_Scaling: arguments exceed the limit."); in DSPi_ScalingCore() 387 …SDK_TASSERTMSG(CheckLimitation(FX_FX32_TO_F32(rx), FX_FX32_TO_F32(ry), mode, width), "DSP_Scaling:… in DSPi_ScalingFxCore()
|