Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/TwlSDK-5.5/include/nitro/mi/
Duncomp_stream.h29 u8 *destp; // Write-destination pointer 4B
32 u8 destTmpCnt; // Size of data being written: 1B
33 u8 flags; // Compression flag 1B
35 u8 _padding[2]; // 2 bytes
43 u8 *destp; // Write-destination pointer 4B
47 u8 destTmpCnt; // Size of data being written: 1B
48 u8 flags; // Compression flag 1B
49 u8 flagIndex; // Current compression flag index 1B
50 u8 lengthFlg; // Length-acquired flag 1B
51 u8 exFormat; // LZ77 compression extension option: 1B
[all …]
Dendian.h43 #define MI_SwapEndian8(val) (u8)(val)
166 SDK_INLINE u8 MI_LoadLE8(const void *ptr) in MI_LoadLE8()
168 const u8 *src = (const u8 *)ptr; in MI_LoadLE8()
169 return (u8)((src[0] << 0UL)); in MI_LoadLE8()
173 const u8 *src = (const u8 *)ptr; in MI_LoadLE16()
178 const u8 *src = (const u8 *)ptr; in MI_LoadLE32()
183 const u8 *src = (const u8 *)ptr; in MI_LoadLE64()
198 SDK_INLINE u8 MI_LoadBE8(const void *ptr) in MI_LoadBE8()
200 const u8 *src = (const u8 *)ptr; in MI_LoadBE8()
201 return (u8)((src[0] << 0UL)); in MI_LoadBE8()
[all …]
Dcompress.h45 u32 MI_CompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, BOOL exFormat);
46 u32 MI_CompressLZFastImpl(const u8 *srcp, u32 size, u8 *dstp, u8 *work, BOOL exFormat);
48 static inline u32 MI_CompressLZ(const u8 *srcp, u32 size, u8 *dstp) in MI_CompressLZ()
52 static inline u32 MI_CompressLZEx(const u8 *srcp, u32 size, u8 *dstp) in MI_CompressLZEx()
56 static inline u32 MI_CompressLZFast(const u8 *srcp, u32 size, u8 *dstp, u8 *work) in MI_CompressLZFast()
60 static inline u32 MI_CompressLZExFast(const u8 *srcp, u32 size, u8 *dstp, u8 *work) in MI_CompressLZExFast()
83 u32 MI_CompressRL(const u8 *srcp, u32 size, u8 *dstp);
103 u32 MI_CompressHuffman(const u8 *srcp, u32 size, u8 *dstp, u8 huffBitSize, u8 *work);
/TwlSDK-5.5/include/twl/os/common/
DownerInfoEx_private.h50 u8 month; // Month: 01 to 12
51 u8 day; // Day: 01 to 31
57 u8 userColor : 4; // Favorite color
58 u8 rsv : 4; // Reserved
59 u8 pad; // Padding
81 u8 rsv[ 1 ]; // Reserved
82 u8 country; // Country code
83u8 language; // Language (the 8-bit data size differs from NTR …
84 u8 rtcLastSetYear; // The year previously set with the RTC
87 u8 agreeEulaVersion[ 8 ]; // 8 bytes: The accepted EULA version
[all …]
DsystemWork.h88 u8 drive[ 1 ];
89 u8 device : 3;
90 u8 target : 2;
91 u8 partitionIndex : 2;
92 u8 resource : 1;
93u8 userPermission : 3; // Specifies whether this is readable and writ…
94 u8 rsv_A : 5;
95 u8 rsv_B;
103 u8 num;
104 u8 rsv[ 15 ];
[all …]
DownerInfoEx.h69 u8 language; // Language code
70 u8 favoriteColor; // Favorite color (0 to 15)
79 u8 country; // Country and region code
80 u8 padding;
119 u8 rsv1[ 3 ];
120 u8 ogn; // Rating organizations
121 u8 ratingAge; // Rating value (age)
122 u8 secretQuestionID; // Secret question ID
123u8 secretAnswerLength; // Number of characters in the answer to the secre…
124 u8 rsv[ 2 ];
[all …]
/TwlSDK-5.5/include/nitro/snd/common/
Dmidiplayer.h44 u8 key;
45 u8 pad1;
60 u8 porta_time;
61 u8 volume;
63 u8 expression;
65 u8 prio;
66 u8 bendrange;
67 u8 porta_flag;
68 u8 porta_key;
69 u8 attack;
[all …]
Dseq.h79 u8 active_flag:1;
80 u8 prepared_flag:1;
81 u8 pause_flag:1;
82 u8 pad_:5;
84 u8 myNo;
85 u8 pad2_;
86 u8 pad3_;
88 u8 prio;
89 u8 volume;
92 u8 tracks[SND_TRACK_NUM_PER_PLAYER];
[all …]
Dexchannel.h108 u8 format; // enum SNDWaveFormat
109 u8 loopflag; // boolean
121 u8 format; // enum SNDWaveFormat
122 u8 loopflag; // boolean
134 u8 target; // enum SNDLfoTarget
135 u8 speed; // At 256, one sample at a time
136 u8 depth; // At 128, multiplied by 1.0
137 u8 range;
153 u8 myNo;
154 u8 type; // SNDExChannelType
[all …]
/TwlSDK-5.5/build/libraries/os/ARM9.TWL/src/
Dos_attention.c51 static u8* OSi_LoadImage(SPEC_DEST dest, IMAGE_OBJ_INDEX index, u32 *p_size);
71 static u8 *OSi_LoadImage(SPEC_DEST dest, IMAGE_OBJ_INDEX index, u32 *p_size) in OSi_LoadImage()
73 extern u8 _binary_attention_limited_01nbfc_bin[]; in OSi_LoadImage()
74 extern u8 _binary_attention_limited_01nbfc_bin_end[]; in OSi_LoadImage()
75 extern u8 _binary_attention_limited_01nbfs_bin[]; in OSi_LoadImage()
76 extern u8 _binary_attention_limited_01nbfs_bin_end[]; in OSi_LoadImage()
77 extern u8 _binary_attention_limited_02nbfc_bin[]; in OSi_LoadImage()
78 extern u8 _binary_attention_limited_02nbfc_bin_end[]; in OSi_LoadImage()
79 extern u8 _binary_attention_limited_02nbfs_bin[]; in OSi_LoadImage()
80 extern u8 _binary_attention_limited_02nbfs_bin_end[]; in OSi_LoadImage()
[all …]
/TwlSDK-5.5/include/nitro/os/common/
DsystemWork.h47 u8 bootCheckInfo[0x20]; // 000-01f: 32-byte boot check info
50 u8 bootSync[0x8]; // 024-02c: 8-byte boot sync
52 u8 padding5[0x8]; // 024-02c: (8-byte)
55 u8 cartridgeModuleInfo[12]; // 030-03b: 12-byte cartridge module info
57 u8 wmBootBuf[0x40]; // 040-07f: 64-byte WM multiboot buffer
59 u8 nvramUserInfo[0xe8]; // 080-168: 232 bytes NVRAM user info
60u8 HW_secure_info[0x18]; // 18b-17f: 24 bytes NAND secure system information (flags, validL…
62 u8 nvramUserInfo[0x100]; // 080-17f: 256 bytes NVRAM user info
64 u8 isd_reserved1[0x20]; // 180-19f: 32 bytes ISDebugger reservation
65 u8 arenaInfo[0x48]; // 1a0-1e7: 72 byte Arena information
[all …]
/TwlSDK-5.5/build/libraries/mb/common/include/
Dmb_block.h41 u8 type; // Data type: 1B
42 u8 pad1[1];
51 u8 type; // Data type: 1B
52 u8 pad1[1]; // 1B
58 u8 reserved[MB_COMM_CALC_REQ_DATA_PIECE_SIZE(MB_COMM_P_RECVLEN_MAX)]; // 14B
64 u8 piece; // Fragmented data number: 1B
66 u8 data[MB_COMM_CALC_REQ_DATA_PIECE_SIZE(MB_COMM_P_RECVLEN_MAX)]; // 14B
67 u8 pad2[1]; // 1B
97 u8 *MBi_MakeParentSendBuffer(const MBCommParentBlockHeader * hdr, u8 *sendbuf);
99 u8 *MBi_SetRecvBufferFromChild(const u8 *recvbuf, MBCommChildBlockHeader * hdr, u16 child_id);
[all …]
Dmb_rom_header.h42 u8 machine_code; // Machine code
43 u8 rom_type; // Rom type
44 u8 rom_size; // Rom size
46 u8 reserved_A[9]; // System Reserved A ( Set ALL 0 )
48 u8 soft_version; // Soft version
49 u8 comp_arm9_boot_area:1; // Compress arm9 boot area
50 u8 comp_arm7_boot_area:1; // Compress arm7 boot area
51 u8 inspectCard:1; // The inspect card flag
52 u8 disableClearMemoryPad:1; // The IPL memory pad clear/disable flag
53 u8: 0;
[all …]
/TwlSDK-5.5/build/libraries/wm/ARM9.TWL/nwm/src/
Dnwm_passphrase.c22 static void pbkdf2_sha1(const u8 *passphrase, const u8 *ssid, u8 ssid_len,
23 u32 iterations, u8 *buf, u32 buflen);
25 static void pbkdf2_sha1_f(const u8 *passphrase, const u8 *ssid,
27 u8 *digest);
31 static void hmac_sha1_vector(const u8 *key, u32 key_len, u32 num_elem,
32 const u8 *addr[], const u32 *len, u8 *mac);
34 static void sha1_vector(u32 num_elem, const u8 *addr[], const u32 *len,
35 u8 *mac);
51 void NWM_Passphrase2PSK(const u8 passphrase[NWM_WPA_PASSPHRASE_LENGTH_MAX], const u8 *ssid, u8 ssid… in NWM_Passphrase2PSK()
53 pbkdf2_sha1(passphrase, (const u8 *)ssid, ssidlen, 4096, psk, NWM_WPA_PSK_LENGTH); in NWM_Passphrase2PSK()
[all …]
/TwlSDK-5.5/include/nitro/spi/common/
DuserInfo_ts_200.h52 u8 month; // Month: 01 - 12
53 u8 day; // Day: 01 - 31
62 u8 length; // Number of characters
63 u8 rsv;
72 u8 length; // Number of characters
73 u8 rsv;
81 u8 favoriteColor:4; // Favorite color
82 u8 rsv:4; // Reserved
84 u8 pad;
95 u8 hour; // Alarm Hour: 00 - 23
[all …]
DuserInfo_ts_300.h86 u8 month; // Month: 01 to 12
87 u8 day; // Day: 01 to 31
96 u8 length; // Number of characters
97 u8 rsv;
106 u8 length; // Number of characters
107 u8 rsv;
115 u8 favoriteColor:4; // Favorite color
116 u8 rsv:4; // Reserved
118 u8 pad;
129 u8 hour; // Alarm Hour: 00 - 23
[all …]
/TwlSDK-5.5/include/nitro/card/
Dtypes.h51 u8 product_id; // System code
52 u8 device_type; // Device type
53 u8 device_size; // Device capacity
54 u8 reserved_A[9]; // System reserve A
55 u8 game_version; // Software version
56 u8 property; // Internal use flag
76 u8 rom_param_A[8]; // Mask ROM control parameter A
79 u8 rom_param_B[2]; // Mask ROM control parameter B
86 u8 rom_param_C[8]; // Mask ROM control parameter C
94 u8 reserved_B[0x2C]; // System reserve B
[all …]
/TwlSDK-5.5/build/libraries/mi/common/src/
Dmi_stream.c21 s32 MIi_InitReadStreamFromMemory(const u8 *srcp, void *destp, const void *paramp);
22 s32 MIi_TerminateReadStreamFromMemory(const u8 *srcp);
23 u8 MIi_ReadByteStreamFromMemory(const u8 *srcp);
24 u16 MIi_ReadShortStreamFromMemory(const u8 *srcp);
25 u32 MIi_ReadWordStreamFromMemory(const u8 *srcp);
41 s32 MIi_InitReadStreamFromMemory(const u8 *srcp, void *destp, const void *paramp) in MIi_InitReadStreamFromMemory()
59 s32 MIi_TerminateReadStreamFromMemory(const u8 *srcp) in MIi_TerminateReadStreamFromMemory()
65 u8 MIi_ReadByteStreamFromMemory(const u8 *srcp) in MIi_ReadByteStreamFromMemory()
70 u16 MIi_ReadShortStreamFromMemory(const u8 *srcp) in MIi_ReadShortStreamFromMemory()
75 u32 MIi_ReadWordStreamFromMemory(const u8 *srcp) in MIi_ReadWordStreamFromMemory()
Dmi_compress.c22 static u32 SearchLZ(const u8 *startp, const u8 *nextp, u32 remainSize, u16 *offset, u32 maxLength );
41 u32 MI_CompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, BOOL exFormat) in MI_CompressLZImpl()
45 const u8 *srcStartp; in MI_CompressLZImpl()
46 u8 LZCompFlags; // Flag sequence indicating whether there is a compression in MI_CompressLZImpl()
47 u8 *LZCompFlagsp; // Point to memory regions storing LZCompFlags in MI_CompressLZImpl()
50 u8 i; in MI_CompressLZImpl()
95 *dstp++ = (u8)( 0x10 | (length >> 12) ); in MI_CompressLZImpl()
96 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZImpl()
102 *dstp++ = (u8)( length >> 4 ); in MI_CompressLZImpl()
116 *dstp++ = (u8)( length << 4 | (lastOffset - 1) >> 8 ); in MI_CompressLZImpl()
[all …]
/TwlSDK-5.5/build/libraries/mb/common/src/
Dmb_block.c27 static u8 *MBi_ReceiveRequestDataPiece(const MBCommChildBlockHeader * hdr, u16 child);
46 static u8 req_data_piece_idx = 0;
126 u8 *MBi_MakeParentSendBuffer(const MBCommParentBlockHeader * hdr, u8 *sendbuf) in MBi_MakeParentSendBuffer()
128 u8 *ptr = sendbuf; in MBi_MakeParentSendBuffer()
141 *ptr++ = (u8)(0x00ff & hdr->fid); // Lo in MBi_MakeParentSendBuffer()
142 *ptr++ = (u8)((0xff00 & hdr->fid) >> 8); // Hi in MBi_MakeParentSendBuffer()
143 *ptr++ = (u8)(0x00ff & hdr->seqno); // Lo in MBi_MakeParentSendBuffer()
144 *ptr++ = (u8)((0xff00 & hdr->seqno) >> 8); // Hi in MBi_MakeParentSendBuffer()
169 u8 *MBi_SetRecvBufferFromChild(const u8 *recvbuf, MBCommChildBlockHeader * hdr, u16 child_id) in MBi_SetRecvBufferFromChild()
171 u8 *ptr = (u8 *)recvbuf; in MBi_SetRecvBufferFromChild()
[all …]
/TwlSDK-5.5/build/demos/snd/seq/src/
Dseq.c33 static u8 SeqReadVariableData(const u8 *data, u32 *result);
34 static u8 SeqReadSMFHeader(SeqHandle * block, const u8 *data);
35 static u8 SeqExecMetaEvent(SeqHandle * block);
42 void (*callback) (const u8 *);
50 static const u8 seq_midi_byte_size[8] = {
56 static u8 seqSysxBuffer[SEQ_SYSX_BUFFER_SIZE];
59 static u8 seqErrorCode;
71 void SeqInit(u32 clock_interval, void (*callback) (const u8 *)) in SeqInit() argument
88 u8 read_size; in SeqMain()
89 u8 current_event; in SeqMain()
[all …]
/TwlSDK-5.5/build/demos/snd/seq/include/
Dseq.h43 u8 state; /* State */
44 u8 running_status; /* Running status buffer */
45 u8 next_delta_bytesize; /* Byte size of the delta time for the next event */
46 u8 padding1;
55 const u8 *current_ptr; /* Pointer to the current position */
56 const u8 *track_begin; /* Pointer to the location of the start of a track */
57 const u8 *loop_begin; /* Pointer to the location of the start of a loop */
61 void SeqInit(u32 clock_interval, void (*callback) (const u8 *));
63 BOOL SeqPlay(SeqHandle * block, const u8 *smfdata);
66 u8 SeqGetErrorCode(void);
/TwlSDK-5.5/include/nitro/mb/
Dmb_gameinfo.h41 u8 maxPlayerNum; // 1B Maximum number of players
42 u8 pad[1];
55 u8 nowPlayerNum; // 1B: Current number of players
56 u8 pad[1];
60 u8 userVolatData[MB_USER_VOLAT_DATA_SIZE]; // 8B: Data the user can set
87 u8 dataAttr; // Data attributes
88 u8 seqNoFixed; // Fixed region's sequence number
89 u8 seqNoVolat; // Volatile region's sequence number
90 u8 fileNo; // File number
91 u8 pad[2];
[all …]
/TwlSDK-5.5/build/demos/mb/multiboot/include/
Dcommon.h85 extern u8 prog_state;
95 BOOL RotateU8(u8 *val, u8 min, u8 max, s8 offset);
113 void SetMaxEntry(u8 num);
116 u8 GetMaxEntry(void);
119 void SetAutoOperation(u8 fAccept, u8 fSend, u8 fBoot);
/TwlSDK-5.5/build/tools/stripdebug/
Delf.c32 static u8 *load_elf32_byte(u8 *dest, u8 *org, int lsb)
34 u8 *temp_ptr;
36 temp_ptr = (u8 *)org;
47 static u8 *load_elf32_half(Elf32_Half *dest, u8 *org, int lsb) in load_elf32_half()
49 u8 *temp_ptr; in load_elf32_half()
51 temp_ptr = (u8 *)org; in load_elf32_half()
71 static u8 *load_elf32_sword(Elf32_Sword *dest, u8 *org, int lsb)
73 u8 *temp_ptr;
76 temp_ptr = (u8 *)org;
102 static u8 *load_elf32_word(Elf32_Word *dest, u8 *org, int lsb)
[all …]

12345678910>>...19