| /TwlSDK-5.2.1/build/libraries/fx/common/src/ |
| D | fx_atanidx.c | 24 (u16)0, 25 (u16)81, 26 (u16)163, 27 (u16)244, 28 (u16)326, 29 (u16)407, 30 (u16)489, 31 (u16)570, 32 (u16)651, 33 (u16)732, [all …]
|
| /TwlSDK-5.2.1/include/nitro/wm/common/ |
| D | wm.h | 173 #define WM_SEND_QUEUE_END ((u16)0xffff) // Value that indicates tail 542 u16 aidBitmap; 543 u16 receivedBitmap; // Bit map of receive status 544 u16 data[WM_DS_DATA_SIZE / sizeof(u16)]; // Shared data 553 u16 seqNum[WM_DS_DATASET_NUM]; // Sequential Number 554 u16 writeIndex; // Next Index to write 555 u16 sendIndex; // Index currently being sent 556 u16 readIndex; // Next Index to read 557 u16 aidBitmap; // bitmap of data sharing group (including self) 558 u16 dataLength; // Amount of shared data per unit [all …]
|
| /TwlSDK-5.2.1/build/demos/wm/wmDEMOlib/include/ |
| D | wm_lib.h | 98 #define WM_CalcChildSendBufSize(_pInfo_) (u16)(WM_SIZE_MP_CHILD_SEND_BUFFER(((WMgameInfo *)(… 99 #define WM_CalcChildRecvBufSize(_pInfo_) (u16)(WM_SIZE_MP_CHILD_RECEIVE_BUFFER(((WMgameInfo … 102 #define WM_CalcParentSendBufSize(_libParam_) (u16)(WM_SIZE_MP_PARENT_SEND_BUFFER(((WM_lib_param*… 103 #define WM_CalcParentRecvBufSize(_libParam_) (u16)(WM_SIZE_MP_PARENT_RECEIVE_BUFFER(((WM_lib_par… 106 typedef void (*WMcallbackFunc2) (u16 type, void *arg); // WM callback type (Part 2) 114 u16 *sendBuf; // Send buffer 115 u16 *recvBuf; // MP receive buffer 120 u16 sendBufSize; // Size of send buffer 121 u16 recvBufSize; // Size of MP Receive buffer 122 u16 dcfBufSize; // DCF receive buffer size [all …]
|
| /TwlSDK-5.2.1/include/nitro/wm/ARM9/ |
| D | wm_api.h | 51 WMErrCode WM_Init(void *wmSysBuf, u16 dmaNo); 166 WMErrCode WM_Initialize(void *wmSysBuf, WMCallbackFunc callback, u16 dmaNo); 184 WMErrCode WM_InitializeForListening(void *wmSysBuf, WMCallbackFunc callback, u16 dmaNo, BOOL blink); 201 WMErrCode WMi_InitializeEx(void *wmSysBuf, WMCallbackFunc callback, u16 dmaNo, u32 miscFlags); 228 WMErrCode WM_SetPortCallback(u16 port, WMCallbackFunc callback, void *arg); 391 BOOL powerSave, u16 authMode); 428 WMErrCode WM_Disconnect(WMCallbackFunc callback, u16 aid); 446 WMErrCode WM_DisconnectChildren(WMCallbackFunc callback, u16 aidBitmap); 502 u16 *recvBuf, 503 u16 recvBufSize, [all …]
|
| /TwlSDK-5.2.1/include/nitro/ctrdg/ARM9/ |
| D | ctrdg_backup.h | 60 u16 (*CTRDGi_WriteAgbFlashSector) (u16 secNo, u8 *src); 61 u16 (*CTRDGi_EraseAgbFlashChip) (void); 62 u16 (*CTRDGi_EraseAgbFlashSector) (u16 secNo); 63 void (*CTRDGi_WriteAgbFlashSectorAsync) (u16 secNo, u8 *src, CTRDG_TASK_FUNC callback); 65 void (*CTRDGi_EraseAgbFlashSectorAsync) (u16 secNo, CTRDG_TASK_FUNC callback); 66 u16 (*CTRDGi_PollingSR) (u16 phase, u8 *adr, u16 lastData); 67 const u16 (*maxtime); 81 extern u16 ctrdg_flash_remainder; 82 extern const u16 (*ctrdgi_fl_maxtime); 83 extern u16 (*CTRDGi_PollingSR) (u16 phase, u8 *adr, u16 lastData); [all …]
|
| D | ctrdg_flash.h | 39 …u16 shift; /* Value after converting the sector size into a shift number */ 40 u16 count; /* Number of sectors */ 41 u16 top; /* The first usable sector number */ 51 u16 makerID; /* Vendor ID */ 52 u16 deviceID; /* Device ID */ 56 extern void CTRDGi_SetFlashBankMx(u16 bank); 57 extern u16 CTRDGi_ReadFlashID(void); 58 extern void StartFlashTimer(u16 phase); 60 extern void CTRDGi_SetFlashBankMx(u16 bank); 61 extern u16 CTRDGi_PollingSR512kCOMMON(u16 phase, u8 *adr, u16 lastData); [all …]
|
| /TwlSDK-5.2.1/include/twl/nwm/common/ |
| D | nwm.h | 311 u16 length; // 2 314 u16 ssidLength; // 12 316 u16 capaInfo; // 46 319 u16 basic; // 48 320 u16 support; // 50 323 u16 beaconPeriod; // 52 324 u16 dtimPeriod; // 54 325 u16 channel; // 56 326 u16 cfpPeriod; // 58 327 u16 cfpMaxDuration; // 60 [all …]
|
| /TwlSDK-5.2.1/include/twl/camera/ARM9/ |
| D | camera.h | 133 void CAMERA_SetTrimmingParamsCenterCore(u16 destWidth, u16 destHeight, u16 srcWidth, u16 srcHeight); 134 SDK_INLINE void CAMERA_SetTrimmingParamsCenter(u16 destWidth, u16 destHeight, u16 srcWidth, u16 src… in CAMERA_SetTrimmingParamsCenter() 156 void CAMERA_SetTrimmingParamsCore(u16 x1, u16 y1, u16 x2, u16 y2); 157 SDK_INLINE void CAMERA_SetTrimmingParams(u16 x1, u16 y1, u16 x2, u16 y2) in CAMERA_SetTrimmingParams() 179 void CAMERA_GetTrimmingParamsCore(u16* x1, u16* y1, u16* x2, u16* y2); 180 SDK_INLINE void CAMERA_GetTrimmingParams(u16* x1, u16* y1, u16* x2, u16* y2) in CAMERA_GetTrimmingParams() 346 int CAMERA_GetMaxLinesRoundCore(u16 width, u16 height); 347 SDK_INLINE int CAMERA_GetMaxLinesRound(u16 width, u16 height) in CAMERA_GetMaxLinesRound() 365 u32 CAMERA_GetBytesAtOnceCore(u16 width); 366 SDK_INLINE u32 CAMERA_GetBytesAtOnce(u16 width) in CAMERA_GetBytesAtOnce()
|
| /TwlSDK-5.2.1/include/twl/dsp/common/ |
| D | graphics.h | 73 u16 mode; 74 u16 img_width; 75 u16 img_height; 76 u16 rate_w; 77 u16 rate_h; 78 u16 block_x; 79 u16 block_y; 80 u16 width; 81 u16 height; 82 u16 pad[1]; // This makes the size of _ScalingParam a multiple of 4 [all …]
|
| /TwlSDK-5.2.1/include/nitro/mb/ |
| D | mb.h | 124 typedef void (*MBCommPStateCallback) (u16 child_aid, u32 status, void *arg); 129 u16 errcode; 172 u16 *gameNamep; 174 u16 *gameIntroductionp; 197 u16 palette[MB_ICON_COLOR_NUM]; 198 u16 data[MB_ICON_DATA_SIZE / 2]; 216 u16 name[MB_USER_NAME_LENGTH]; 227 u16 length; // 2 228 u16 rssi; // 4 229 u16 bssid[3]; // 10 [all …]
|
| /TwlSDK-5.2.1/include/nitro/spi/common/ |
| D | userInfo_ts_200.h | 61 …u16 str[NVRAM_CONFIG_NICKNAME_LENGTH]; // Nickname (Maximum of 10 characters in Unicode (UTF… 71 …u16 str[NVRAM_CONFIG_COMMENT_LENGTH]; //Comment (a maximum of 26 characters in Unicode (UTF1… 99 …u16 enableWeek:7; // Flag for which days of the week the alarm is enabled (bit0: … 100 u16 alarmOn:1; // Alarm ON/OFF (0: OFF, 1: ON) 101 u16 rsv:8; // Reserved 109 u16 raw_x1; // TP-obtained x value of the first calibration point 110 u16 raw_y1; // TP-obtained y value of the first calibration point 113 u16 raw_x2; // TP-obtained x value of the second calibration point 114 u16 raw_y2; // TP-obtained y value of the second calibration point 124 u16 language:3; // Language code [all …]
|
| D | userInfo_ts_300.h | 95 …u16 str[NVRAM_CONFIG_NICKNAME_LENGTH]; // Nickname (Maximum of 10 characters in Unicode (UTF1… 105 …u16 str[NVRAM_CONFIG_COMMENT_LENGTH]; //Comment (A maximum of 26 characters in Unicode (UTF1… 133 …u16 enableWeek:7; // Flag for which days of the week the alarm is enabled (bit0: … 134 u16 alarmOn:1; // Alarm ON/OFF (0: OFF, 1: ON) 135 u16 rsv:8; // Reserved 143 u16 raw_x1; // TP-obtained x value of the first calibration point 144 u16 raw_y1; // TP-obtained y value of the first calibration point 147 u16 raw_x2; // TP-obtained x value of the second calibration point 148 u16 raw_y2; // TP-obtained y value of the second calibration point 158 u16 language:3; // Language code [all …]
|
| /TwlSDK-5.2.1/build/demos/math/rand_lc/src/ |
| D | main.c | 28 static void PutDot(u16 x, u16 y, u16 col); 35 u16 trig; 36 u16 press; 58 u16 init_rnd = 0; in NitroMain() 73 static u16 col = 0; in NitroMain() 74 static u16 *pVram = (u16 *)HW_LCDC_VRAM_C; in NitroMain() 75 static u16 *pbVram = (u16 *)(HW_LCDC_VRAM_C + 0x18000 - 2); in NitroMain() 95 u16 x, y; in NitroMain() 101 x = (u16)MATH_Rand16(&rnd, HW_LCD_WIDTH); in NitroMain() 102 y = (u16)MATH_Rand16(&rnd, HW_LCD_HEIGHT); in NitroMain() [all …]
|
| /TwlSDK-5.2.1/build/demos/wm/dataShare-Model/src/ |
| D | unicode.c | 37 u16 sjis; 38 u16 unicode; 45 static u16 SearchUnicodeTable(u16 unicode, SjisUtf16Pare * tblp, int elem_num); 59 void ExSJIS_BEtoUTF16_LE(u8 *sjisp, u16 *unip, u16 length) in ExSJIS_BEtoUTF16_LE() 61 u16 code; in ExSJIS_BEtoUTF16_LE() 68 code = (u16)((u16)*sjisp++ << 8); in ExSJIS_BEtoUTF16_LE() 69 code |= (u16)*sjisp++; in ExSJIS_BEtoUTF16_LE() 73 code = (u16)*sjisp++; in ExSJIS_BEtoUTF16_LE() 98 *unip = (u16)((code - 0x00a1) + 0xff61); in ExSJIS_BEtoUTF16_LE() 109 *unip = (u16)((code - 0x824f) + 0xff10); in ExSJIS_BEtoUTF16_LE() [all …]
|
| /TwlSDK-5.2.1/build/demos/wireless_shared/mbp/ |
| D | mbp.h | 74 u16 state; // Parent state 75 u16 connectChildBmp; // Flag for all connected children 76 u16 requestChildBmp; // Flag for children that are requesting entry 77 u16 entryChildBmp; // Flag for children that are waiting for data 78 u16 downloadChildBmp; // Flag for children that are downloading data 79 u16 bootableChildBmp; // Flag for children that have completed downloading 80 u16 rebootChildBmp; // Flag for children that sent boot 90 u16 playerNo; 142 void MBP_Start(const MBGameRegistry *gameInfo, u16 channel); 147 void MBP_KickChild(u16 child_aid); [all …]
|
| /TwlSDK-5.2.1/include/nitro/spi/ARM9/ |
| D | tp.h | 90 u16 x; // x coordinate ( 0 - 4095 ) 91 u16 y; // y coordinate ( 0 - 4095 ) 92 u16 touch; // Touch yes/no 93 u16 validity; // Valid yes/no 113 typedef void (*TPRecvCallback) (TPRequestCommand command, TPRequestResult result, u16 index); 126 void TP_RequestAutoSamplingStartAsync(u16 vcount, u16 frequence, TPData samplingBufs[], 127 u16 bufSize); 129 void TP_RequestSetStabilityAsync(u8 retry, u16 range); 137 u16 TP_GetLatestIndexInAuto(void); 139 u16 raw_x1, u16 raw_y1, [all …]
|
| /TwlSDK-5.2.1/include/nitro/os/common/ |
| D | systemWork.h | 42 u16 b16; 84 u16 mic_sampling_data; // 394-395: 2 bytes MIC individual sampling result 85 … u16 wm_callback_control; // 396-397: 2 bytes Parameter for WM callback synchronization 86 …u16 wm_rssi_pool; // 398-399: 2 bytes Random number source depending on WM rece… 92 u16 button_XY; // 3a8-3a9: 2 bytes XY button information storage location 94 u16 autoloadSync; // 3ae-3af: 2 bytes autoload sync between processors 104 …u16 mmem_checker_mainp; // 3f8-3f9: 2 bytes MainMemory Size Checker for Main processor 105 … u16 mmem_checker_subp; // 3fa-3fb: 2 bytes MainMemory Size Checker for Sub processor 107 u16 command_area; // 3fe-3ff: 2 bytes Command Area 132 typedef u16 OSBootType; [all …]
|
| /TwlSDK-5.2.1/build/libraries/camera/ARM9.TWL/src/ |
| D | camera.c | 129 void CAMERA_SetTrimmingParamsCenterCore(u16 destWidth, u16 destHeight, u16 srcWidth, u16 srcHeight) in CAMERA_SetTrimmingParamsCenterCore() 156 void CAMERA_SetTrimmingParamsCore(u16 x1, u16 y1, u16 x2, u16 y2) in CAMERA_SetTrimmingParamsCore() 183 void CAMERA_GetTrimmingParamsCore(u16* x1, u16* y1, u16* x2, u16* y2) in CAMERA_GetTrimmingParamsCore() 185 *x1 = (u16)((reg_CAM_SOFS & REG_CAM_SOFS_HOFS_MASK) >> REG_CAM_SOFS_HOFS_SHIFT); in CAMERA_GetTrimmingParamsCore() 186 *y1 = (u16)((reg_CAM_SOFS & REG_CAM_SOFS_VOFS_MASK) >> REG_CAM_SOFS_VOFS_SHIFT); in CAMERA_GetTrimmingParamsCore() 187 *x2 = (u16)(((reg_CAM_EOFS & REG_CAM_EOFS_HOFS_MASK) >> REG_CAM_EOFS_HOFS_SHIFT) + 2); in CAMERA_GetTrimmingParamsCore() 188 *y2 = (u16)(((reg_CAM_EOFS & REG_CAM_EOFS_VOFS_MASK) >> REG_CAM_EOFS_VOFS_SHIFT) + 1); in CAMERA_GetTrimmingParamsCore() 203 u16 value = reg_CAM_CNT; in CAMERA_SetTrimmingCore() 204 reg_CAM_CNT = (u16)(enabled ? (value | REG_CAM_CNT_T_MASK) in CAMERA_SetTrimmingCore() 235 u16 value = reg_CAM_CNT; in CAMERA_SetOutputFormatCore() [all …]
|
| /TwlSDK-5.2.1/build/libraries/mb/common/include/ |
| D | mb_wm.h | 42 typedef void (*MBWMCallbackFunc) (u16 type, void *arg); 52 u16 sendBufSize; // Size of send buffer 53 u16 recvBufSize; // Size of receive buffer 54 u16 pSendLen; // Child receive size in one MP 55 u16 pRecvLen; // Parent receive size in one MP 56 u16 blockSizeMax; // 57 u16 mpStarted; // Flag indicating that MP has started 58 u16 endReq; // End request 59 u16 child_bitmap; // Child connection state 60 u16 mpBusy; // MP sending (busy) flag [all …]
|
| D | mb_wm_base.h | 110 typedef void (*MBCallbackFunc) (u16 type, void *arg); 129 u16 sendBuf[MB_MAX_SEND_BUFFER_SIZE / sizeof(u16)] ATTRIBUTE_ALIGN(32); 138 u16 p_sendlen; 139 u16 p_recvlen; 150 u16 sendBufSize; // Size of send buffer 151 u16 recvBufSize; // Size of MP receive buffer 155 u16 mode; // MB_MODE_*** 156 u16 endReq; 158 u16 mpStarted; // Flag indicating that MP has started 159 u16 child_bitmap; // Child connection state [all …]
|
| /TwlSDK-5.2.1/include/twl/ssp/ARM9/ |
| D | bmp_conv.h | 46 u32 SSP_YUV422ToRGB888b( const void* src, void* dst, u16 width, u16 height ); 60 u32 SSP_RGB555ToRGB888b( const void* src, void* dst, u16 width, u16 height ); 72 u32 SSP_GetRGB888Size( u16 width, u16 height ); 85 void SSP_CreateBmpHeader( u8 *dst, u16 width, u16 height ); 108 u32 SSP_GetBmpFileSize(u16 width, u16 height); 123 u32 SSP_CreateBmpFile(const void* src, void* dst, u16 width, u16 height, SSPConvertBmpType type);
|
| /TwlSDK-5.2.1/build/libraries/ctrdg/ARM9/src/ |
| D | ctrdg_flash_AT29LV512.c | 35 extern u16 CTRDGi_PollingSR512kCOMMON(u16 phase, u8 *adr, u16 lastData); 37 extern u16 ctrdgi_flash_lock_id; 41 u16 CTRDGi_EraseFlashChipAT(void); 42 u16 CTRDGi_EraseFlashSectorAT(u16 p_secNo); 43 u16 CTRDGi_EraseFlash4KBAT(u16 l_secNo); 44 u16 CTRDGi_WriteFlashSectorAT(u16 p_secNo, u8 *src); 45 u16 CTRDGi_WriteFlash4KBAT(u16 l_secNo, u8 *src); 54 void CTRDGi_EraseFlash4KBAsyncAT(u16 secNo, CTRDG_TASK_FUNC callback); 55 void CTRDGi_WriteFlash4KBAsyncAT(u16 secNo, u8 *src, CTRDG_TASK_FUNC callback); 56 void CTRDGi_EraseFlashSectorAsyncAT(u16 secNo, CTRDG_TASK_FUNC callback); [all …]
|
| D | ctrdg_flash_MX29L512.c | 22 extern u16 CTRDGi_PollingSR512kCOMMON(u16 phase, u8 *adr, u16 lastData); 23 extern u16 CTRDGi_EraseFlashChipLE(void); 24 extern u16 CTRDGi_EraseFlashSectorLE(u16 secNo); 25 extern u16 CTRDGi_ProgramFlashByteLE(u8 *src, u8 *dst); 27 extern void CTRDGi_EraseFlashSectorAsyncLE(u16 secNo, CTRDG_TASK_FUNC callback); 28 extern void CTRDGi_WriteFlashSectorAsyncLE(u16 secNo, u8 *src, CTRDG_TASK_FUNC callback); 30 extern u16 ctrdgi_flash_lock_id; 33 u16 CTRDGi_WriteFlashSectorMX5(u16 secNo, u8 *src); 35 void CTRDGi_WriteFlashSectorAsyncMX5(u16 secNo, u8 *src, CTRDG_TASK_FUNC callback); 38 static const u16 PaMaxTime[] = { [all …]
|
| D | ctrdg_flash_LE26FV10N1TS-10.c | 22 extern u16 CTRDGi_PollingSR1MCOMMON(u16 phase, u8 *adr, u16 lastData); 27 extern u16 CTRDGi_EraseFlashChipMX(void); 28 extern u16 CTRDGi_EraseFlashSectorMX(u16 secNo); 29 extern u16 CTRDGi_WriteFlashSectorMX(u16 secNo, u8 *src); 31 extern void CTRDGi_EraseFlashSectorAsyncMX(u16 secNo, CTRDG_TASK_FUNC callback); 32 extern void CTRDGi_WriteFlashSectorAsyncMX(u16 secNo, u8 *src, CTRDG_TASK_FUNC callback); 35 static const u16 LeMaxTime[] = {
|
| /TwlSDK-5.2.1/include/twl/dsp/ARM9/ |
| D | dsp_if.h | 170 void DSP_ResetOffExCore(u16 bitmap); 171 SDK_INLINE void DSP_ResetOffEx(u16 bitmap) in DSP_ResetOffEx() 283 void DSP_SendDataCore(u32 dataNo, u16 data); 284 SDK_INLINE void DSP_SendData(u32 dataNo, u16 data) in DSP_SendData() 301 u16 DSP_RecvDataCore(u32 dataNo); 302 SDK_INLINE u16 DSP_RecvData(u32 dataNo) in DSP_RecvData() 363 void DSP_SendFifoExCore(DSPFifoMemSel memsel, u16 dest, const u16 *src, int size, u16 flags); 364 SDK_INLINE void DSP_SendFifoEx(DSPFifoMemSel memsel, u16 dest, const u16 *src, int size, u16 flags) in DSP_SendFifoEx() 386 static inline void DSP_SendFifo(DSPFifoMemSel memsel, u16 dest, const u16 *src, int size) in DSP_SendFifo() 409 void DSP_RecvFifoExCore(DSPFifoMemSel memsel, u16 *dest, u16 src, int size, u16 flags); [all …]
|