File System Component  Version 6.13.0
MDK Middleware for Devices with Flash File System
 All Data Structures Files Functions Variables Enumerations Enumerator Macros Groups Pages
fs_evr.h
Go to the documentation of this file.
1 /*------------------------------------------------------------------------------
2  * MDK Middleware - Component ::File System
3  * Copyright (c) 2016-2019 Arm Limited (or its affiliates). All rights reserved.
4  *------------------------------------------------------------------------------
5  * Name: fs_evr.h
6  * Purpose: Definition of debug events for FileSystem
7  *----------------------------------------------------------------------------*/
8 
9 /* Fs component number - available range: [0x80-0x9F] */
10 #define EvtFsCore_No (0x80 | 0) /* FsCore component number */
11 #define EvtFsFAT_No (0x80 | 1) /* FsFAT component number */
12 #define EvtFsEFS_No (0x80 | 2) /* FsEFS component number */
13 #define EvtFsIOC_No (0x80 | 3) /* FsIOC component number */
14 #define EvtFsNFTL_No (0x80 | 4) /* FsNFTL component number */
15 #define EvtFsNAND_No (0x80 | 5) /* FsNAND component number */
16 #define EvtFsMcMCI_No (0x80 | 6) /* FsMcMCI component number */
17 #define EvtFsMcSPI_No (0x80 | 7) /* FsMcSPI component number */
18 
19 #ifdef FS_DEBUG
20 #include "cmsis_compiler.h"
21 #include "EventRecorder.h" // Keil::Compiler:Event Recorder
22 #include "rl_fs.h"
23 
24 /* Fs component IDs */
25 #define EvtFsCoreId(Level, Msg_No) EventID(Level, EvtFsCore_No, Msg_No)
26 #define EvtFsFATId(Level, Msg_No) EventID(Level, EvtFsFAT_No, Msg_No)
27 #define EvtFsEFSId(Level, Msg_No) EventID(Level, EvtFsEFS_No, Msg_No)
28 #define EvtFsIOCId(Level, Msg_No) EventID(Level, EvtFsIOC_No, Msg_No)
29 #define EvtFsNFTLId(Level, Msg_No) EventID(Level, EvtFsNFTL_No, Msg_No)
30 #define EvtFsNANDId(Level, Msg_No) EventID(Level, EvtFsNAND_No, Msg_No)
31 #define EvtFsMcMCIId(Level, Msg_No) EventID(Level, EvtFsMcMCI_No, Msg_No)
32 #define EvtFsMcSPIId(Level, Msg_No) EventID(Level, EvtFsMcSPI_No, Msg_No)
33 
34 /* Event id list for "FsCore" */
35 #define EvtFsCore_sys_open EvtFsCoreId(EventLevelAPI, 0)
36 #define EvtFsCore_sys_close EvtFsCoreId(EventLevelAPI, 1)
37 #define EvtFsCore_sys_write EvtFsCoreId(EventLevelAPI, 2)
38 #define EvtFsCore_sys_read EvtFsCoreId(EventLevelAPI, 3)
39 #define EvtFsCore_sys_seek EvtFsCoreId(EventLevelAPI, 4)
40 #define EvtFsCore_sys_flen EvtFsCoreId(EventLevelAPI, 5)
41 #define EvtFsCore_sys_handle_assign EvtFsCoreId(EventLevelOp, 6)
42 #define EvtFsCore_finit EvtFsCoreId(EventLevelAPI, 7)
43 #define EvtFsCore_funinit EvtFsCoreId(EventLevelAPI, 8)
44 #define EvtFsCore_fmount EvtFsCoreId(EventLevelAPI, 9)
45 #define EvtFsCore_funmount EvtFsCoreId(EventLevelAPI, 10)
46 #define EvtFsCore_fdelete_l EvtFsCoreId(EventLevelAPI, 11)
47 #define EvtFsCore_fdelete EvtFsCoreId(EventLevelAPI, 12)
48 #define EvtFsCore_ffind EvtFsCoreId(EventLevelAPI, 13)
49 #define EvtFsCore_frename EvtFsCoreId(EventLevelAPI, 14)
50 #define EvtFsCore_fattrib EvtFsCoreId(EventLevelAPI, 15)
51 #define EvtFsCore_fpwd EvtFsCoreId(EventLevelAPI, 16)
52 #define EvtFsCore_fchdir EvtFsCoreId(EventLevelAPI, 17)
53 #define EvtFsCore_fmkdir EvtFsCoreId(EventLevelAPI, 18)
54 #define EvtFsCore_frmdir EvtFsCoreId(EventLevelAPI, 19)
55 #define EvtFsCore_fchdrive EvtFsCoreId(EventLevelAPI, 20)
56 #define EvtFsCore_ffree EvtFsCoreId(EventLevelAPI, 21)
57 #define EvtFsCore_fformat EvtFsCoreId(EventLevelAPI, 22)
58 #define EvtFsCore_fanalyse EvtFsCoreId(EventLevelAPI, 23)
59 #define EvtFsCore_fcheck EvtFsCoreId(EventLevelAPI, 24)
60 #define EvtFsCore_fdefrag EvtFsCoreId(EventLevelAPI, 25)
61 #define EvtFsCore_fmedia EvtFsCoreId(EventLevelAPI, 26)
62 #define EvtFsCore_finfo EvtFsCoreId(EventLevelAPI, 27)
63 #define EvtFsCore_fvol EvtFsCoreId(EventLevelAPI, 28)
64 #define EvtFsCore_InvalidDrive EvtFsCoreId(EventLevelError, 29)
65 #define EvtFsCore_CurrentDriveSelect EvtFsCoreId(EventLevelOp, 30)
66 #define EvtFsCore_ftime_set EvtFsCoreId(EventLevelAPI, 31)
67 #define EvtFsCore_ftime_get EvtFsCoreId(EventLevelAPI, 32)
68 #define EvtFsCore_fversion EvtFsCoreId(EventLevelAPI, 33)
69 
70 /* Event id list for "FsFAT" */
71 #define EvtFsFAT_InitDrive EvtFsFATId(EventLevelOp, 0)
72 #define EvtFsFAT_InitDriveSuccess EvtFsFATId(EventLevelOp, 1)
73 #define EvtFsFAT_InitDriverCfgError EvtFsFATId(EventLevelError, 2)
74 #define EvtFsFAT_InitDriverError EvtFsFATId(EventLevelError, 3)
75 #define EvtFsFAT_UninitDrive EvtFsFATId(EventLevelOp, 4)
76 #define EvtFsFAT_MountDrive EvtFsFATId(EventLevelOp, 5)
77 #define EvtFsFAT_InitMediaError EvtFsFATId(EventLevelError, 6)
78 #define EvtFsFAT_MediaInsertStatError EvtFsFATId(EventLevelError, 7)
79 #define EvtFsFAT_MediaInitStatError EvtFsFATId(EventLevelError, 8)
80 #define EvtFsFAT_VolumeReadyStatError EvtFsFATId(EventLevelError, 9)
81 #define EvtFsFAT_VolumeWriteStatError EvtFsFATId(EventLevelError, 10)
82 #define EvtFsFAT_VolumeNotMounted EvtFsFATId(EventLevelError, 11)
83 #define EvtFsFAT_ReadMBR EvtFsFATId(EventLevelOp, 12)
84 #define EvtFsFAT_InvalidMBR EvtFsFATId(EventLevelError, 13)
85 #define EvtFsFAT_NonexistentMBR EvtFsFATId(EventLevelOp, 14)
86 #define EvtFsFAT_ReadBootSector EvtFsFATId(EventLevelOp, 15)
87 #define EvtFsFAT_InvalidBootSector EvtFsFATId(EventLevelError, 16)
88 #define EvtFsFAT_InvalidFAT EvtFsFATId(EventLevelError, 17)
89 #define EvtFsFAT_ReadFSInfo EvtFsFATId(EventLevelOp, 18)
90 #define EvtFsFAT_InvalidFSInfo EvtFsFATId(EventLevelError, 19)
91 #define EvtFsFAT_InvalidFreeClusFSInfo EvtFsFATId(EventLevelError, 20)
92 #define EvtFsFAT_InvalidNextClusFSInfo EvtFsFATId(EventLevelError, 21)
93 #define EvtFsFAT_WriteFSInfo EvtFsFATId(EventLevelOp, 22)
94 #define EvtFsFAT_CountFreeClus EvtFsFATId(EventLevelOp, 23)
95 #define EvtFsFAT_MountDriveSuccess EvtFsFATId(EventLevelOp, 24)
96 #define EvtFsFAT_UnmountDrive EvtFsFATId(EventLevelOp, 25)
97 #define EvtFsFAT_UnmountDriveSuccess EvtFsFATId(EventLevelOp, 26)
98 #define EvtFsFAT_FormatDrive EvtFsFATId(EventLevelOp, 27)
99 #define EvtFsFAT_FormatDriveSuccess EvtFsFATId(EventLevelOp, 28)
100 #define EvtFsFAT_ResetHandles EvtFsFATId(EventLevelOp, 29)
101 #define EvtFsFAT_FormatOptionDetected EvtFsFATId(EventLevelOp, 30)
102 #define EvtFsFAT_FormatMediaCapacity EvtFsFATId(EventLevelOp, 31)
103 #define EvtFsFAT_FormatLowLevel EvtFsFATId(EventLevelOp, 32)
104 #define EvtFsFAT_FormatNoSpace EvtFsFATId(EventLevelError, 33)
105 #define EvtFsFAT_FormatNoSpaceFAT32 EvtFsFATId(EventLevelError, 34)
106 #define EvtFsFAT_WriteMBR EvtFsFATId(EventLevelOp, 35)
107 #define EvtFsFAT_WriteBootSector EvtFsFATId(EventLevelOp, 36)
108 #define EvtFsFAT_ClearHiddenSectors EvtFsFATId(EventLevelOp, 37)
109 #define EvtFsFAT_ClearReservedSectors EvtFsFATId(EventLevelOp, 38)
110 #define EvtFsFAT_ClearRootSectors EvtFsFATId(EventLevelOp, 39)
111 #define EvtFsFAT_CreateFAT EvtFsFATId(EventLevelOp, 40)
112 #define EvtFsFAT_FormatProperties EvtFsFATId(EventLevelOp, 41)
113 #define EvtFsFAT_FileOpen EvtFsFATId(EventLevelOp, 42)
114 #define EvtFsFAT_PathInvalidChar EvtFsFATId(EventLevelError, 43)
115 #define EvtFsFAT_PathIsTooLong EvtFsFATId(EventLevelError, 44)
116 #define EvtFsFAT_PathIsDirNotFile EvtFsFATId(EventLevelError, 45)
117 #define EvtFsFAT_FileIsInUse EvtFsFATId(EventLevelError, 46)
118 #define EvtFsFAT_FileIsReadOnly EvtFsFATId(EventLevelError, 47)
119 #define EvtFsFAT_FileIsNonExistent EvtFsFATId(EventLevelError, 48)
120 #define EvtFsFAT_PathProcessing EvtFsFATId(EventLevelOp, 49)
121 #define EvtFsFAT_FileHandleUnavailable EvtFsFATId(EventLevelError, 50)
122 #define EvtFsFAT_FileHandleInvalid EvtFsFATId(EventLevelError, 51)
123 #define EvtFsFAT_LabelInvalid EvtFsFATId(EventLevelError, 52)
124 #define EvtFsFAT_LabelNotSet EvtFsFATId(EventLevelError, 53)
125 #define EvtFsFAT_SectorReadFailed EvtFsFATId(EventLevelError, 54)
126 #define EvtFsFAT_SectorWriteFailed EvtFsFATId(EventLevelError, 55)
127 #define EvtFsFAT_DiskFull EvtFsFATId(EventLevelError, 56)
128 #define EvtFsFAT_DirEntryAllocFailed EvtFsFATId(EventLevelError, 57)
129 #define EvtFsFAT_PathBufferToSmall EvtFsFATId(EventLevelError, 58)
130 #define EvtFsFAT_InitJournal EvtFsFATId(EventLevelOp, 59)
131 #define EvtFsFAT_InitJournalSuccess EvtFsFATId(EventLevelOp, 60)
132 #define EvtFsFAT_InitJournalFATError EvtFsFATId(EventLevelOp, 61)
133 #define EvtFsFAT_FileClose EvtFsFATId(EventLevelOp, 62)
134 #define EvtFsFAT_FileHandleError EvtFsFATId(EventLevelError, 63)
135 #define EvtFsFAT_FileRead EvtFsFATId(EventLevelOp, 64)
136 #define EvtFsFAT_FileWrite EvtFsFATId(EventLevelOp, 65)
137 #define EvtFsFAT_FileFlush EvtFsFATId(EventLevelOp, 66)
138 #define EvtFsFAT_FileSeek EvtFsFATId(EventLevelOp, 67)
139 #define EvtFsFAT_FileSeekIncrease EvtFsFATId(EventLevelOp, 68)
140 #define EvtFsFAT_FileDelete EvtFsFATId(EventLevelOp, 69)
141 #define EvtFsFAT_FileDeleteSuccess EvtFsFATId(EventLevelOp, 70)
142 #define EvtFsFAT_FileRename EvtFsFATId(EventLevelOp, 71)
143 #define EvtFsFAT_FileRenameSuccess EvtFsFATId(EventLevelOp, 72)
144 #define EvtFsFAT_DirCreate EvtFsFATId(EventLevelOp, 73)
145 #define EvtFsFAT_DirCreateSuccess EvtFsFATId(EventLevelOp, 74)
146 #define EvtFsFAT_DirRemove EvtFsFATId(EventLevelOp, 75)
147 #define EvtFsFAT_DirRemoveSuccess EvtFsFATId(EventLevelOp, 76)
148 #define EvtFsFAT_ChDir EvtFsFATId(EventLevelOp, 77)
149 #define EvtFsFAT_ChDirSuccess EvtFsFATId(EventLevelOp, 78)
150 #define EvtFsFAT_Pwd EvtFsFATId(EventLevelOp, 79)
151 #define EvtFsFAT_PwdSuccess EvtFsFATId(EventLevelOp, 80)
152 #define EvtFsFAT_AttribSet EvtFsFATId(EventLevelOp, 81)
153 #define EvtFsFAT_AttribSetSuccess EvtFsFATId(EventLevelOp, 82)
154 #define EvtFsFAT_GetFreeSpace EvtFsFATId(EventLevelOp, 83)
155 #define EvtFsFAT_FreeAmount EvtFsFATId(EventLevelOp, 84)
156 #define EvtFsFAT_FileModeRead EvtFsFATId(EventLevelError, 85)
157 #define EvtFsFAT_FileFind EvtFsFATId(EventLevelOp, 86)
158 #define EvtFsFAT_InvalidParameter EvtFsFATId(EventLevelError, 87)
159 #define EvtFsFAT_DriverNotInitialized EvtFsFATId(EventLevelError, 88)
160 #define EvtFsFAT_PathName EvtFsFATId(EventLevelDetail, 89)
161 #define EvtFsFAT_OptionsString EvtFsFATId(EventLevelDetail, 90)
162 #define EvtFsFAT_LabelString EvtFsFATId(EventLevelDetail, 91)
163 #define EvtFsFAT_NameCacheHit EvtFsFATId(EventLevelOp, 92)
164 #define EvtFsFAT_NameCacheMiss EvtFsFATId(EventLevelOp, 93)
165 #define EvtFsFAT_NameCacheEntryFound EvtFsFATId(EventLevelDetail, 94)
166 #define EvtFsFAT_NameCacheEntryInsert EvtFsFATId(EventLevelDetail, 95)
167 #define EvtFsFAT_NameCacheEntryDelete EvtFsFATId(EventLevelDetail, 96)
168 #define EvtFsFAT_TimeSet EvtFsFATId(EventLevelOp, 97)
169 #define EvtFsFAT_TimeGet EvtFsFATId(EventLevelOp, 98)
170 #define EvtFsFAT_TimeData EvtFsFATId(EventLevelDetail, 99)
171 
172 /* Event id list for "FsEFS" */
173 #define EvtFsEFS_InitDrive EvtFsEFSId(EventLevelOp, 0)
174 #define EvtFsEFS_InitDriver EvtFsEFSId(EventLevelOp, 1)
175 #define EvtFsEFS_InitDriverFailed EvtFsEFSId(EventLevelError, 2)
176 #define EvtFsEFS_UninitDrive EvtFsEFSId(EventLevelOp, 3)
177 #define EvtFsEFS_UninitDriver EvtFsEFSId(EventLevelOp, 4)
178 #define EvtFsEFS_MountDrive EvtFsEFSId(EventLevelOp, 5)
179 #define EvtFsEFS_MountDriveSuccess EvtFsEFSId(EventLevelOp, 6)
180 #define EvtFsEFS_FlashGetInfo EvtFsEFSId(EventLevelOp, 7)
181 #define EvtFsEFS_FlashProgUnitTooBig EvtFsEFSId(EventLevelError, 8)
182 #define EvtFsEFS_FlashCapacity EvtFsEFSId(EventLevelOp, 9)
183 #define EvtFsEFS_UnmountDrive EvtFsEFSId(EventLevelOp, 10)
184 #define EvtFsEFS_UnmountDriveSuccess EvtFsEFSId(EventLevelOp, 11)
185 #define EvtFsEFS_FormatDrive EvtFsEFSId(EventLevelOp, 12)
186 #define EvtFsEFS_FormatDriveSuccess EvtFsEFSId(EventLevelOp, 13)
187 #define EvtFsEFS_FlashEraseChip EvtFsEFSId(EventLevelOp, 14)
188 #define EvtFsEFS_FlashEraseChipFailed EvtFsEFSId(EventLevelError, 15)
189 #define EvtFsEFS_FlashEraseChipTimeout EvtFsEFSId(EventLevelError, 16)
190 #define EvtFsEFS_FlashEraseSectors EvtFsEFSId(EventLevelOp, 17)
191 #define EvtFsEFS_FileOpen EvtFsEFSId(EventLevelOp, 18)
192 #define EvtFsEFS_FileNameInvalid EvtFsEFSId(EventLevelError, 19)
193 #define EvtFsEFS_OpenModeUnsupported EvtFsEFSId(EventLevelError, 20)
194 #define EvtFsEFS_FileClose EvtFsEFSId(EventLevelOp, 21)
195 #define EvtFsEFS_FileNotOpened EvtFsEFSId(EventLevelError, 22)
196 #define EvtFsEFS_FileRead EvtFsEFSId(EventLevelOp, 23)
197 #define EvtFsEFS_FileOpenWriteMode EvtFsEFSId(EventLevelError, 24)
198 #define EvtFsEFS_FileWrite EvtFsEFSId(EventLevelOp, 25)
199 #define EvtFsEFS_FileOpenReadMode EvtFsEFSId(EventLevelError, 26)
200 #define EvtFsEFS_FileFlush EvtFsEFSId(EventLevelOp, 27)
201 #define EvtFsEFS_OpenModeInvalid EvtFsEFSId(EventLevelError, 28)
202 #define EvtFsEFS_FileSeek EvtFsEFSId(EventLevelOp, 29)
203 #define EvtFsEFS_FileSeekEOF EvtFsEFSId(EventLevelError, 30)
204 #define EvtFsEFS_FileDelete EvtFsEFSId(EventLevelOp, 31)
205 #define EvtFsEFS_FileRename EvtFsEFSId(EventLevelOp, 32)
206 #define EvtFsEFS_FileNotFound EvtFsEFSId(EventLevelError, 33)
207 #define EvtFsEFS_FileAlreadyExists EvtFsEFSId(EventLevelError, 34)
208 #define EvtFsEFS_FreeSpaceRetrieve EvtFsEFSId(EventLevelOp, 35)
209 #define EvtFsEFS_FreeSpaceAmount EvtFsEFSId(EventLevelOp, 36)
210 #define EvtFsEFS_DriveAnalyze EvtFsEFSId(EventLevelOp, 37)
211 #define EvtFsEFS_DriveAnalyzeSuccess EvtFsEFSId(EventLevelOp, 38)
212 #define EvtFsEFS_DriveCheck EvtFsEFSId(EventLevelOp, 39)
213 #define EvtFsEFS_DriveCheckSuccess EvtFsEFSId(EventLevelOp, 40)
214 #define EvtFsEFS_DataAreaOverlap EvtFsEFSId(EventLevelError, 41)
215 #define EvtFsEFS_FileIdInvalid EvtFsEFSId(EventLevelError, 42)
216 #define EvtFsEFS_AllocationOrderInvalid EvtFsEFSId(EventLevelError, 43)
217 #define EvtFsEFS_AllocationAreaOverlap EvtFsEFSId(EventLevelError, 44)
218 #define EvtFsEFS_DriveDefrag EvtFsEFSId(EventLevelOp, 45)
219 #define EvtFsEFS_FileHandleActive EvtFsEFSId(EventLevelError, 46)
220 #define EvtFsEFS_FileHandleUnavailable EvtFsEFSId(EventLevelError, 47)
221 #define EvtFsEFS_FileHandleInvalid EvtFsEFSId(EventLevelError, 48)
222 #define EvtFsEFS_FileInUse EvtFsEFSId(EventLevelError, 49)
223 #define EvtFsEFS_FlashWriteFailed EvtFsEFSId(EventLevelError, 50)
224 #define EvtFsEFS_FlashReadFailed EvtFsEFSId(EventLevelError, 51)
225 #define EvtFsEFS_FlashReadTimeout EvtFsEFSId(EventLevelError, 52)
226 #define EvtFsEFS_FlashEraseFailed EvtFsEFSId(EventLevelError, 53)
227 #define EvtFsEFS_DiskFull EvtFsEFSId(EventLevelError, 54)
228 #define EvtFsEFS_InvalidParameter EvtFsEFSId(EventLevelError, 55)
229 #define EvtFsEFS_DriveNotMounted EvtFsEFSId(EventLevelError, 56)
230 #define EvtFsEFS_DriveNotInitialized EvtFsEFSId(EventLevelError, 57)
231 #define EvtFsEFS_FileName EvtFsEFSId(EventLevelDetail, 58)
232 #define EvtFsEFS_FileAllocWrite EvtFsEFSId(EventLevelDetail, 59)
233 #define EvtFsEFS_FileAllocRead EvtFsEFSId(EventLevelDetail, 60)
234 
235 /* Event id list for "FsIOC" */
236 #define EvtFsIOC_GetId EvtFsIOCId(EventLevelAPI, 0)
237 #define EvtFsIOC_GetIdSuccess EvtFsIOCId(EventLevelOp, 1)
238 #define EvtFsIOC_GetIdError EvtFsIOCId(EventLevelError, 2)
239 #define EvtFsIOC_Lock EvtFsIOCId(EventLevelAPI, 3)
240 #define EvtFsIOC_LockSuccess EvtFsIOCId(EventLevelOp, 4)
241 #define EvtFsIOC_Unlock EvtFsIOCId(EventLevelAPI, 5)
242 #define EvtFsIOC_UnlockSuccess EvtFsIOCId(EventLevelOp, 6)
243 #define EvtFsIOC_GetCache EvtFsIOCId(EventLevelAPI, 7)
244 #define EvtFsIOC_GetCacheSuccess EvtFsIOCId(EventLevelOp, 8)
245 #define EvtFsIOC_ReadSector EvtFsIOCId(EventLevelAPI, 9)
246 #define EvtFsIOC_ReadSectorSuccess EvtFsIOCId(EventLevelOp, 10)
247 #define EvtFsIOC_ReadSectorError EvtFsIOCId(EventLevelError, 11)
248 #define EvtFsIOC_WriteSector EvtFsIOCId(EventLevelAPI, 12)
249 #define EvtFsIOC_WriteSectorSuccess EvtFsIOCId(EventLevelOp, 13)
250 #define EvtFsIOC_WriteSectorError EvtFsIOCId(EventLevelError, 14)
251 #define EvtFsIOC_ReadInfo EvtFsIOCId(EventLevelAPI, 15)
252 #define EvtFsIOC_ReadInfoSuccess EvtFsIOCId(EventLevelOp, 16)
253 #define EvtFsIOC_ReadInfoError EvtFsIOCId(EventLevelError, 17)
254 #define EvtFsIOC_DeviceControl EvtFsIOCId(EventLevelAPI, 18)
255 #define EvtFsIOC_DeviceControlSuccess EvtFsIOCId(EventLevelOp, 19)
256 #define EvtFsIOC_DriveIdInvalid EvtFsIOCId(EventLevelError, 20)
257 #define EvtFsIOC_DriveNotFAT EvtFsIOCId(EventLevelError, 21)
258 #define EvtFsIOC_NotAllowed EvtFsIOCId(EventLevelError, 22)
259 
260 /* Event id list for "FsNFTL" */
261 #define EvtFsNFTL_Init EvtFsNFTLId(EventLevelOp, 0)
262 #define EvtFsNFTL_InitMediaFailed EvtFsNFTLId(EventLevelError, 1)
263 #define EvtFsNFTL_Mount EvtFsNFTLId(EventLevelOp, 2)
264 #define EvtFsNFTL_MountSuccess EvtFsNFTLId(EventLevelOp, 3)
265 #define EvtFsNFTL_DeviceNotInitialized EvtFsNFTLId(EventLevelError, 4)
266 #define EvtFsNFTL_ResetDevice EvtFsNFTLId(EventLevelOp, 5)
267 #define EvtFsNFTL_ResetDeviceFailed EvtFsNFTLId(EventLevelError, 6)
268 #define EvtFsNFTL_ResetDeviceTimeout EvtFsNFTLId(EventLevelError, 7)
269 #define EvtFsNFTL_ReadBootBlock EvtFsNFTLId(EventLevelOp, 8)
270 #define EvtFsNFTL_ReadBootBlockFailed EvtFsNFTLId(EventLevelError, 9)
271 #define EvtFsNFTL_BootSignatureValid EvtFsNFTLId(EventLevelOp, 10)
272 #define EvtFsNFTL_BootSignatureInvalid EvtFsNFTLId(EventLevelOp, 11)
273 #define EvtFsNFTL_DataBlockCapacity EvtFsNFTLId(EventLevelOp, 12)
274 #define EvtFsNFTL_ReadTable EvtFsNFTLId(EventLevelOp, 13)
275 #define EvtFsNFTL_ReadTableFailed EvtFsNFTLId(EventLevelError, 14)
276 #define EvtFsNFTL_Uninit EvtFsNFTLId(EventLevelOp, 15)
277 #define EvtFsNFTL_UninitDriver EvtFsNFTLId(EventLevelOp, 16)
278 #define EvtFsNFTL_UninitDriverFailed EvtFsNFTLId(EventLevelError, 17)
279 #define EvtFsNFTL_ReadInfo EvtFsNFTLId(EventLevelOp, 18)
280 #define EvtFsNFTL_ReadInfoSuccess EvtFsNFTLId(EventLevelOp, 19)
281 #define EvtFsNFTL_DevCtrl EvtFsNFTLId(EventLevelOp, 20)
282 #define EvtFsNFTL_DevCtrlUnsupported EvtFsNFTLId(EventLevelError, 21)
283 #define EvtFsNFTL_Format EvtFsNFTLId(EventLevelOp, 22)
284 #define EvtFsNFTL_FormatSuccess EvtFsNFTLId(EventLevelOp, 23)
285 #define EvtFsNFTL_FormatLLEB EvtFsNFTLId(EventLevelOp, 24)
286 #define EvtFsNFTL_BBMPositionSet EvtFsNFTLId(EventLevelOp, 25)
287 #define EvtFsNFTL_BadBlockDetected EvtFsNFTLId(EventLevelOp, 26)
288 #define EvtFsNFTL_BadBlockMark EvtFsNFTLId(EventLevelOp, 27)
289 #define EvtFsNFTL_WriteSector EvtFsNFTLId(EventLevelOp, 28)
290 #define EvtFsNFTL_WriteSectorSuccess EvtFsNFTLId(EventLevelOp, 29)
291 #define EvtFsNFTL_ReadSector EvtFsNFTLId(EventLevelOp, 30)
292 #define EvtFsNFTL_ReadSectorSuccess EvtFsNFTLId(EventLevelOp, 31)
293 #define EvtFsNFTL_LsnToLbn EvtFsNFTLId(EventLevelOp, 32)
294 #define EvtFsNFTL_LbnToPbn EvtFsNFTLId(EventLevelOp, 33)
295 #define EvtFsNFTL_LbnOutOfRange EvtFsNFTLId(EventLevelError, 34)
296 #define EvtFsNFTL_PbnOutOfRange EvtFsNFTLId(EventLevelError, 35)
297 #define EvtFsNFTL_TableLookup EvtFsNFTLId(EventLevelOp, 36)
298 #define EvtFsNFTL_TableEntryNotFound EvtFsNFTLId(EventLevelOp, 37)
299 #define EvtFsNFTL_AllocateBlock EvtFsNFTLId(EventLevelOp, 38)
300 #define EvtFsNFTL_LsnFind EvtFsNFTLId(EventLevelOp, 39)
301 #define EvtFsNFTL_LsnFound EvtFsNFTLId(EventLevelOp, 40)
302 #define EvtFsNFTL_LsnNotFound EvtFsNFTLId(EventLevelOp, 41)
303 #define EvtFsNFTL_GarbageCollection EvtFsNFTLId(EventLevelOp, 42)
304 #define EvtFsNFTL_SetBadBlockMarker EvtFsNFTLId(EventLevelOp, 43)
305 #define EvtFsNFTL_MoveData EvtFsNFTLId(EventLevelOp, 44)
306 #define EvtFsNFTL_RelocateBlock EvtFsNFTLId(EventLevelOp, 45)
307 #define EvtFsNFTL_RelocateBlockFailed EvtFsNFTLId(EventLevelError, 46)
308 #define EvtFsNFTL_SkipBadBlock EvtFsNFTLId(EventLevelOp, 47)
309 #define EvtFsNFTL_PageReadFailed EvtFsNFTLId(EventLevelError, 48)
310 #define EvtFsNFTL_PageProgramStatusErr EvtFsNFTLId(EventLevelOp, 49)
311 #define EvtFsNFTL_PageProgramFailed EvtFsNFTLId(EventLevelError, 50)
312 #define EvtFsNFTL_PageProgramTimeout EvtFsNFTLId(EventLevelError, 51)
313 #define EvtFsNFTL_BlockEraseStatusErr EvtFsNFTLId(EventLevelOp, 52)
314 #define EvtFsNFTL_BlockEraseFailed EvtFsNFTLId(EventLevelError, 53)
315 #define EvtFsNFTL_BlockEraseTimeout EvtFsNFTLId(EventLevelError, 54)
316 #define EvtFsNFTL_BitErrorCorrected EvtFsNFTLId(EventLevelOp, 55)
317 #define EvtFsNFTL_ParameterInvalid EvtFsNFTLId(EventLevelError, 56)
318 #define EvtFsNFTL_TableUpdate EvtFsNFTLId(EventLevelOp, 57)
319 #define EvtFsNFTL_AllocatedBlock EvtFsNFTLId(EventLevelOp, 58)
320 #define EvtFsNFTL_LoadSector EvtFsNFTLId(EventLevelDetail, 59)
321 #define EvtFsNFTL_LoadTableLayout EvtFsNFTLId(EventLevelDetail, 60)
322 #define EvtFsNFTL_LoadDataLayout EvtFsNFTLId(EventLevelDetail, 61)
323 #define EvtFsNFTL_SetupPageLayout EvtFsNFTLId(EventLevelDetail, 62)
324 #define EvtFsNFTL_SetupSpareLayout EvtFsNFTLId(EventLevelDetail, 63)
325 #define EvtFsNFTL_PageWrite EvtFsNFTLId(EventLevelDetail, 64)
326 #define EvtFsNFTL_PageRead EvtFsNFTLId(EventLevelDetail, 65)
327 #define EvtFsNFTL_BlockErase EvtFsNFTLId(EventLevelDetail, 66)
328 #define EvtFsNFTL_StatusRead EvtFsNFTLId(EventLevelDetail, 67)
329 #define EvtFsNFTL_CacheWrite EvtFsNFTLId(EventLevelDetail, 68)
330 #define EvtFsNFTL_CacheRead EvtFsNFTLId(EventLevelDetail, 69)
331 
332 /* Event id list for "FsNAND" */
333 #define EvtFsNAND_Init EvtFsNANDId(EventLevelOp, 0)
334 #define EvtFsNAND_InitDriver EvtFsNANDId(EventLevelOp, 1)
335 #define EvtFsNAND_InitDriverError EvtFsNANDId(EventLevelError, 2)
336 #define EvtFsNAND_DriverPowerCtrlError EvtFsNANDId(EventLevelError, 3)
337 #define EvtFsNAND_DriverBusModeSelect EvtFsNANDId(EventLevelOp, 4)
338 #define EvtFsNAND_DriverBusWidthSelect EvtFsNANDId(EventLevelOp, 5)
339 #define EvtFsNAND_DriverBusWidthError EvtFsNANDId(EventLevelError, 6)
340 #define EvtFsNAND_DriverDevPowerSelect EvtFsNANDId(EventLevelOp, 7)
341 #define EvtFsNAND_DriverEccInquire EvtFsNANDId(EventLevelOp, 8)
342 #define EvtFsNAND_DriverEccSelect EvtFsNANDId(EventLevelOp, 9)
343 #define EvtFsNAND_DriverEccInquireError EvtFsNANDId(EventLevelOp, 10)
344 #define EvtFsNAND_DriverTimeoutError EvtFsNANDId(EventLevelError, 11)
345 #define EvtFsNAND_DeviceTimeoutError EvtFsNANDId(EventLevelError, 12)
346 #define EvtFsNAND_Uninit EvtFsNANDId(EventLevelOp, 13)
347 #define EvtFsNAND_StatusRead EvtFsNANDId(EventLevelDetail, 14)
348 #define EvtFsNAND_BlockErase EvtFsNANDId(EventLevelOp, 15)
349 #define EvtFsNAND_PageWrite EvtFsNANDId(EventLevelOp, 16)
350 #define EvtFsNAND_PageRead EvtFsNANDId(EventLevelOp, 17)
351 #define EvtFsNAND_ParamPageRead EvtFsNANDId(EventLevelOp, 18)
352 #define EvtFsNAND_IdRead EvtFsNANDId(EventLevelOp, 19)
353 #define EvtFsNAND_DeviceReset EvtFsNANDId(EventLevelOp, 20)
354 
355 /* Event id list for "FsMcMCI" */
356 #define EvtFsMcMCI_InitDriver EvtFsMcMCIId(EventLevelOp, 0)
357 #define EvtFsMcMCI_InitDriverError EvtFsMcMCIId(EventLevelError, 1)
358 #define EvtFsMcMCI_InitDriverPowerError EvtFsMcMCIId(EventLevelError, 2)
359 #define EvtFsMcMCI_InitMedia EvtFsMcMCIId(EventLevelOp, 3)
360 #define EvtFsMcMCI_MediaNotInitialized EvtFsMcMCIId(EventLevelOp, 4)
361 #define EvtFsMcMCI_MediaCdActive EvtFsMcMCIId(EventLevelOp, 5)
362 #define EvtFsMcMCI_MediaCdInactive EvtFsMcMCIId(EventLevelError, 6)
363 #define EvtFsMcMCI_MediaWpActive EvtFsMcMCIId(EventLevelOp, 7)
364 #define EvtFsMcMCI_MediaWpInactive EvtFsMcMCIId(EventLevelOp, 8)
365 #define EvtFsMcMCI_MediaReset EvtFsMcMCIId(EventLevelOp, 9)
366 #define EvtFsMcMCI_MediaDetectionSD EvtFsMcMCIId(EventLevelOp, 10)
367 #define EvtFsMcMCI_MediaSD_V2 EvtFsMcMCIId(EventLevelOp, 11)
368 #define EvtFsMcMCI_MediaReady EvtFsMcMCIId(EventLevelOp, 12)
369 #define EvtFsMcMCI_MediaNoResponse EvtFsMcMCIId(EventLevelOp, 13)
370 #define EvtFsMcMCI_MediaDetectionMMC EvtFsMcMCIId(EventLevelOp, 14)
371 #define EvtFsMcMCI_MediaDetectionError EvtFsMcMCIId(EventLevelError, 15)
372 #define EvtFsMcMCI_CidReadError EvtFsMcMCIId(EventLevelError, 16)
373 #define EvtFsMcMCI_RcaReadError EvtFsMcMCIId(EventLevelError, 17)
374 #define EvtFsMcMCI_RcaWriteError EvtFsMcMCIId(EventLevelError, 18)
375 #define EvtFsMcMCI_CsdReadError EvtFsMcMCIId(EventLevelError, 19)
376 #define EvtFsMcMCI_TranStateError EvtFsMcMCIId(EventLevelError, 20)
377 #define EvtFsMcMCI_BlenWriteError EvtFsMcMCIId(EventLevelError, 21)
378 #define EvtFsMcMCI_ExtCsdReadError EvtFsMcMCIId(EventLevelError, 22)
379 #define EvtFsMcMCI_HighSpeedSwitchError EvtFsMcMCIId(EventLevelError, 23)
380 #define EvtFsMcMCI_DataBusSwitchError EvtFsMcMCIId(EventLevelError, 24)
381 #define EvtFsMcMCI_StbyStateError EvtFsMcMCIId(EventLevelError, 25)
382 #define EvtFsMcMCI_InitSuccess EvtFsMcMCIId(EventLevelOp, 26)
383 #define EvtFsMcMCI_UninitDriver EvtFsMcMCIId(EventLevelOp, 27)
384 #define EvtFsMcMCI_UninitMedia EvtFsMcMCIId(EventLevelOp, 28)
385 #define EvtFsMcMCI_SectorRead EvtFsMcMCIId(EventLevelOp, 29)
386 #define EvtFsMcMCI_SectorReadError EvtFsMcMCIId(EventLevelError, 30)
387 #define EvtFsMcMCI_SectorWrite EvtFsMcMCIId(EventLevelOp, 31)
388 #define EvtFsMcMCI_SectorWriteError EvtFsMcMCIId(EventLevelError, 32)
389 #define EvtFsMcMCI_TransferError EvtFsMcMCIId(EventLevelError, 33)
390 #define EvtFsMcMCI_TransferRetry EvtFsMcMCIId(EventLevelOp, 34)
391 #define EvtFsMcMCI_ReadInfo EvtFsMcMCIId(EventLevelOp, 35)
392 #define EvtFsMcMCI_ReadInfoSuccess EvtFsMcMCIId(EventLevelOp, 36)
393 #define EvtFsMcMCI_DevCtrl EvtFsMcMCIId(EventLevelOp, 37)
394 #define EvtFsMcMCI_DevCtrlUnsupported EvtFsMcMCIId(EventLevelOp, 38)
395 #define EvtFsMcMCI_LockUnlockExec EvtFsMcMCIId(EventLevelOp, 39)
396 #define EvtFsMcMCI_LockUnlockExecError EvtFsMcMCIId(EventLevelError, 40)
397 #define EvtFsMcMCI_LockActive EvtFsMcMCIId(EventLevelOp, 41)
398 #define EvtFsMcMCI_LockDeactivated EvtFsMcMCIId(EventLevelOp, 42)
399 #define EvtFsMcMCI_DeviceStateUnknown EvtFsMcMCIId(EventLevelError, 43)
400 #define EvtFsMcMCI_DeviceStateInvalid EvtFsMcMCIId(EventLevelError, 44)
401 #define EvtFsMcMCI_DeviceStateTimeout EvtFsMcMCIId(EventLevelError, 45)
402 #define EvtFsMcMCI_TransferAbort EvtFsMcMCIId(EventLevelOp, 46)
403 #define EvtFsMcMCI_SleepAwakeControl EvtFsMcMCIId(EventLevelOp, 47)
404 #define EvtFsMcMCI_SleepActive EvtFsMcMCIId(EventLevelOp, 48)
405 #define EvtFsMcMCI_AwakeActive EvtFsMcMCIId(EventLevelOp, 49)
406 #define EvtFsMcMCI_CardPowerControl EvtFsMcMCIId(EventLevelOp, 50)
407 #define EvtFsMcMCI_SendCommandError EvtFsMcMCIId(EventLevelError, 51)
408 #define EvtFsMcMCI_ReadXferSetupError EvtFsMcMCIId(EventLevelError, 52)
409 #define EvtFsMcMCI_WriteXferSetupError EvtFsMcMCIId(EventLevelError, 53)
410 #define EvtFsMcMCI_ParameterInvalid EvtFsMcMCIId(EventLevelError, 54)
411 #define EvtFsMcMCI_MediaPasswordEnabled EvtFsMcMCIId(EventLevelError, 55)
412 
413 /* Event id list for "FsMcSPI" */
414 #define EvtFsMcSPI_InitDriver EvtFsMcSPIId(EventLevelOp, 0)
415 #define EvtFsMcSPI_InitDriverSuccess EvtFsMcSPIId(EventLevelOp, 1)
416 #define EvtFsMcSPI_InitDriverError EvtFsMcSPIId(EventLevelError, 2)
417 #define EvtFsMcSPI_InitDriverPowerError EvtFsMcSPIId(EventLevelError, 3)
418 #define EvtFsMcSPI_InitMedia EvtFsMcSPIId(EventLevelOp, 4)
419 #define EvtFsMcSPI_InitMediaSuccess EvtFsMcSPIId(EventLevelOp, 5)
420 #define EvtFsMcSPI_MediaNotInitialized EvtFsMcSPIId(EventLevelError, 6)
421 #define EvtFsMcSPI_MediaCdActive EvtFsMcSPIId(EventLevelOp, 7)
422 #define EvtFsMcSPI_MediaCdInactive EvtFsMcSPIId(EventLevelError, 8)
423 #define EvtFsMcSPI_MediaWpActive EvtFsMcSPIId(EventLevelOp, 9)
424 #define EvtFsMcSPI_MediaWpInactive EvtFsMcSPIId(EventLevelOp, 10)
425 #define EvtFsMcSPI_MediaReset EvtFsMcSPIId(EventLevelOp, 11)
426 #define EvtFsMcSPI_MediaResetError EvtFsMcSPIId(EventLevelError, 12)
427 #define EvtFsMcSPI_MediaDetectionSD EvtFsMcSPIId(EventLevelOp, 13)
428 #define EvtFsMcSPI_MediaSD_V2 EvtFsMcSPIId(EventLevelOp, 14)
429 #define EvtFsMcSPI_MediaReady EvtFsMcSPIId(EventLevelOp, 15)
430 #define EvtFsMcSPI_MediaNoResponse EvtFsMcSPIId(EventLevelOp, 16)
431 #define EvtFsMcSPI_MediaDetectionMMC EvtFsMcSPIId(EventLevelOp, 17)
432 #define EvtFsMcSPI_MediaDetectionError EvtFsMcSPIId(EventLevelError, 18)
433 #define EvtFsMcSPI_CidReadError EvtFsMcSPIId(EventLevelError, 19)
434 #define EvtFsMcSPI_CsdReadError EvtFsMcSPIId(EventLevelError, 20)
435 #define EvtFsMcSPI_BlenWriteError EvtFsMcSPIId(EventLevelError, 21)
436 #define EvtFsMcSPI_UninitDriver EvtFsMcSPIId(EventLevelOp, 22)
437 #define EvtFsMcSPI_UninitMedia EvtFsMcSPIId(EventLevelOp, 23)
438 #define EvtFsMcSPI_SectorRead EvtFsMcSPIId(EventLevelOp, 24)
439 #define EvtFsMcSPI_SectorReadError EvtFsMcSPIId(EventLevelError, 25)
440 #define EvtFsMcSPI_SectorWrite EvtFsMcSPIId(EventLevelOp, 26)
441 #define EvtFsMcSPI_SectorWriteError EvtFsMcSPIId(EventLevelError, 27)
442 #define EvtFsMcSPI_ReadInfo EvtFsMcSPIId(EventLevelOp, 28)
443 #define EvtFsMcSPI_ReadInfoSuccess EvtFsMcSPIId(EventLevelOp, 29)
444 #define EvtFsMcSPI_DevCtrl EvtFsMcSPIId(EventLevelOp, 30)
445 #define EvtFsMcSPI_DevCtrlUnsupported EvtFsMcSPIId(EventLevelError, 31)
446 #define EvtFsMcSPI_LockUnlockExec EvtFsMcSPIId(EventLevelOp, 32)
447 #define EvtFsMcSPI_LockUnlockExecError EvtFsMcSPIId(EventLevelError, 33)
448 #define EvtFsMcSPI_LockActive EvtFsMcSPIId(EventLevelOp, 34)
449 #define EvtFsMcSPI_LockDeactivated EvtFsMcSPIId(EventLevelOp, 35)
450 #define EvtFsMcSPI_BusSpeedControl EvtFsMcSPIId(EventLevelOp, 36)
451 #define EvtFsMcSPI_SlaveSelCtrlMissing EvtFsMcSPIId(EventLevelOp, 37)
452 #define EvtFsMcSPI_ReadCdMissing EvtFsMcSPIId(EventLevelOp, 38)
453 #define EvtFsMcSPI_ReadWpMissing EvtFsMcSPIId(EventLevelOp, 39)
454 #define EvtFsMcSPI_CrcDisableError EvtFsMcSPIId(EventLevelError, 40)
455 #define EvtFsMcSPI_DriverSendError EvtFsMcSPIId(EventLevelError, 41)
456 #define EvtFsMcSPI_DriverReceiveError EvtFsMcSPIId(EventLevelError, 42)
457 #define EvtFsMcSPI_CmdSendError EvtFsMcSPIId(EventLevelError, 43)
458 #define EvtFsMcSPI_CmdResponseError EvtFsMcSPIId(EventLevelError, 44)
459 #define EvtFsMcSPI_ACmdResponseError EvtFsMcSPIId(EventLevelError, 45)
460 #define EvtFsMcSPI_ParameterInvalid EvtFsMcSPIId(EventLevelError, 46)
461 #define EvtFsMcSPI_MediaPasswordEnabled EvtFsMcSPIId(EventLevelError, 47)
462 #endif
463 
464 
470 #ifdef EvtFsCore_sys_open
471  __STATIC_INLINE void EvrFsCore_sys_open (const char *name, int openmode) {
472  EventRecord2 (EvtFsCore_sys_open, (uint32_t)name, openmode);
473  }
474 #else
475  #define EvrFsCore_sys_open(name, openmode)
476 #endif
477 
482 #ifdef EvtFsCore_sys_close
483  __STATIC_INLINE void EvrFsCore_sys_close (int fh) {
484  EventRecord2 (EvtFsCore_sys_close, (uint32_t)fh, 0);
485  }
486 #else
487  #define EvrFsCore_sys_close(fh)
488 #endif
489 
496 #ifdef EvtFsCore_sys_write
497  __STATIC_INLINE void EvrFsCore_sys_write (int fh, const unsigned char *buf, unsigned int len) {
498  EventRecord4 (EvtFsCore_sys_write, (uint32_t)fh, (uint32_t)buf, len, 0);
499  }
500 #else
501  #define EvrFsCore_sys_write(fh, buf, len)
502 #endif
503 
510 #ifdef EvtFsCore_sys_read
511  __STATIC_INLINE void EvrFsCore_sys_read (int fh, unsigned char *buf, unsigned int len) {
512  EventRecord4 (EvtFsCore_sys_read, (uint32_t)fh, (uint32_t)buf, len, 0);
513  }
514 #else
515  #define EvrFsCore_sys_read(fh, buf, len)
516 #endif
517 
523 #ifdef EvtFsCore_sys_seek
524  __STATIC_INLINE void EvrFsCore_sys_seek (int fh, long pos) {
525  EventRecord2 (EvtFsCore_sys_seek, (uint32_t)fh, (uint32_t)pos);
526  }
527 #else
528  #define EvrFsCore_sys_seek(fh, pos)
529 #endif
530 
535 #ifdef EvtFsCore_sys_flen
536  __STATIC_INLINE void EvrFsCore_sys_flen (int fh) {
537  EventRecord2 (EvtFsCore_sys_flen, (uint32_t)fh, 0);
538  }
539 #else
540  #define EvrFsCore_sys_flen(fh)
541 #endif
542 
548 #ifdef EvtFsCore_sys_handle_assign
549  __STATIC_INLINE void EvrFsCore_sys_handle_assign (const char *name, int fh) {
550  EventRecord2 (EvtFsCore_sys_handle_assign, (uint32_t)name, (uint32_t)fh);
551  }
552 #else
553  #define EvrFsCore_sys_handle_assign(name, fh)
554 #endif
555 
560 #ifdef EvtFsCore_finit
561  __STATIC_INLINE void EvrFsCore_finit (const char *drive) {
562  EventRecord2 (EvtFsCore_finit, (uint32_t)drive, 0);
563  }
564 #else
565  #define EvrFsCore_finit(drive)
566 #endif
567 
572 #ifdef EvtFsCore_funinit
573  __STATIC_INLINE void EvrFsCore_funinit (const char *drive) {
574  EventRecord2 (EvtFsCore_funinit, (uint32_t)drive, 0);
575  }
576 #else
577  #define EvrFsCore_funinit(drive)
578 #endif
579 
584 #ifdef EvtFsCore_fmount
585  __STATIC_INLINE void EvrFsCore_fmount (const char *drive) {
586  EventRecord2 (EvtFsCore_fmount, (uint32_t)drive, 0);
587  }
588 #else
589  #define EvrFsCore_fmount(drive)
590 #endif
591 
596 #ifdef EvtFsCore_funmount
597  __STATIC_INLINE void EvrFsCore_funmount (const char *drive) {
598  EventRecord2 (EvtFsCore_funmount, (uint32_t)drive, 0);
599  }
600 #else
601  #define EvrFsCore_funmount(drive)
602 #endif
603 
608 #ifdef EvtFsCore_fdelete_l
609  __STATIC_INLINE void EvrFsCore_fdelete_l (const char *path) {
610  EventRecord2 (EvtFsCore_fdelete_l, (uint32_t)path, 0);
611  }
612 #else
613  #define EvrFsCore_fdelete_l(path)
614 #endif
615 
621 #ifdef EvtFsCore_fdelete
622  __STATIC_INLINE void EvrFsCore_fdelete (const char *path, const char *options) {
623  EventRecord2 (EvtFsCore_fdelete, (uint32_t)path, (uint32_t)options);
624  }
625 #else
626  #define EvrFsCore_fdelete(path, options)
627 #endif
628 
634 #ifdef EvtFsCore_ffind
635  __STATIC_INLINE void EvrFsCore_ffind (const char *pattern, fsFileInfo *info) {
636  EventRecord2 (EvtFsCore_ffind, (uint32_t)pattern, (uint32_t)info);
637  }
638 #else
639  #define EvrFsCore_ffind(pattern, info)
640 #endif
641 
647 #ifdef EvtFsCore_frename
648  __STATIC_INLINE void EvrFsCore_frename (const char *path, const char *newname) {
649  EventRecord2 (EvtFsCore_frename, (uint32_t)path, (uint32_t)newname);
650  }
651 #else
652  #define EvrFsCore_frename(path, newname)
653 #endif
654 
660 #ifdef EvtFsCore_fattrib
661  __STATIC_INLINE void EvrFsCore_fattrib (const char *path, const char *attr) {
662  EventRecord2 (EvtFsCore_fattrib, (uint32_t)path, (uint32_t)attr);
663  }
664 #else
665  #define EvrFsCore_fattrib(path, attr)
666 #endif
667 
674 #ifdef EvtFsCore_fpwd
675  __STATIC_INLINE void EvrFsCore_fpwd (const char *drive, char *buf, uint32_t len) {
676  EventRecord4 (EvtFsCore_fpwd, (uint32_t)drive, (uint32_t)buf, len, 0);
677  }
678 #else
679  #define EvrFsCore_fpwd(drive, buf, len)
680 #endif
681 
686 #ifdef EvtFsCore_fchdir
687  __STATIC_INLINE void EvrFsCore_fchdir (const char *path) {
688  EventRecord2 (EvtFsCore_fchdir, (uint32_t)path, 0);
689  }
690 #else
691  #define EvrFsCore_fchdir(path)
692 #endif
693 
698 #ifdef EvtFsCore_fmkdir
699  __STATIC_INLINE void EvrFsCore_fmkdir (const char *path) {
700  EventRecord2 (EvtFsCore_fmkdir, (uint32_t)path, 0);
701  }
702 #else
703  #define EvrFsCore_fmkdir(path)
704 #endif
705 
711 #ifdef EvtFsCore_frmdir
712  __STATIC_INLINE void EvrFsCore_frmdir (const char *path, const char *options) {
713  EventRecord2 (EvtFsCore_frmdir, (uint32_t)path, (uint32_t)options);
714  }
715 #else
716  #define EvrFsCore_frmdir(path, options)
717 #endif
718 
723 #ifdef EvtFsCore_fchdrive
724  __STATIC_INLINE void EvrFsCore_fchdrive (const char *drive) {
725  EventRecord2 (EvtFsCore_fchdrive, (uint32_t)drive, 0);
726  }
727 #else
728  #define EvrFsCore_fchdrive(drive)
729 #endif
730 
735 #ifdef EvtFsCore_ffree
736  __STATIC_INLINE void EvrFsCore_ffree (const char *drive) {
737  EventRecord2 (EvtFsCore_ffree, (uint32_t)drive, 0);
738  }
739 #else
740  #define EvrFsCore_ffree(drive)
741 #endif
742 
748 #ifdef EvtFsCore_fformat
749  __STATIC_INLINE void EvrFsCore_fformat (const char *drive, const char *options) {
750  EventRecord2 (EvtFsCore_fformat, (uint32_t)drive, (uint32_t)options);
751  }
752 #else
753  #define EvrFsCore_fformat(drive, options)
754 #endif
755 
760 #ifdef EvtFsCore_fanalyse
761  __STATIC_INLINE void EvrFsCore_fanalyse (const char *drive) {
762  EventRecord2 (EvtFsCore_fanalyse, (uint32_t)drive, 0);
763  }
764 #else
765  #define EvrFsCore_fanalyse(drive)
766 #endif
767 
772 #ifdef EvtFsCore_fcheck
773  __STATIC_INLINE void EvrFsCore_fcheck (const char *drive) {
774  EventRecord2 (EvtFsCore_fcheck, (uint32_t)drive, 0);
775  }
776 #else
777  #define EvrFsCore_fcheck(drive)
778 #endif
779 
784 #ifdef EvtFsCore_fdefrag
785  __STATIC_INLINE void EvrFsCore_fdefrag (const char *drive) {
786  EventRecord2 (EvtFsCore_fdefrag, (uint32_t)drive, 0);
787  }
788 #else
789  #define EvrFsCore_fdefrag(drive)
790 #endif
791 
796 #ifdef EvtFsCore_fmedia
797  __STATIC_INLINE void EvrFsCore_fmedia (const char *drive) {
798  EventRecord2 (EvtFsCore_fmedia, (uint32_t)drive, 0);
799  }
800 #else
801  #define EvrFsCore_fmedia(drive)
802 #endif
803 
809 #ifdef EvtFsCore_finfo
810  __STATIC_INLINE void EvrFsCore_finfo (const char *drive, fsDriveInfo *info) {
811  EventRecord2 (EvtFsCore_finfo, (uint32_t)drive, (uint32_t)info);
812  }
813 #else
814  #define EvrFsCore_finfo(drive, info)
815 #endif
816 
823 #ifdef EvtFsCore_fvol
824  __STATIC_INLINE void EvrFsCore_fvol (const char *drive, char *label, uint32_t *serial) {
825  EventRecord4 (EvtFsCore_fvol, (uint32_t)drive, (uint32_t)label, (uint32_t)serial, 0);
826  }
827 #else
828  #define EvrFsCore_fvol(drive, label, serial)
829 #endif
830 
835 #ifdef EvtFsCore_InvalidDrive
836  __STATIC_INLINE void EvrFsCore_InvalidDrive (uint32_t drive) {
837  EventRecord2 (EvtFsCore_InvalidDrive, drive, 0);
838  }
839 #else
840  #define EvrFsCore_InvalidDrive(drive)
841 #endif
842 
847 #ifdef EvtFsCore_CurrentDriveSelect
848  __STATIC_INLINE void EvrFsCore_CurrentDriveSelect (uint32_t drive) {
849  EventRecord2 (EvtFsCore_CurrentDriveSelect, drive, 0);
850  }
851 #else
852  #define EvrFsCore_CurrentDriveSelect(drive)
853 #endif
854 
862 #ifdef EvtFsCore_ftime_set
863  __STATIC_INLINE void EvrFsCore_ftime_set (const char *path, fsTime *create, fsTime *access, fsTime *write) {
864  EventRecord4 (EvtFsCore_ftime_set, (uint32_t)path, (uint32_t)create, (uint32_t)access, (uint32_t)write);
865  }
866 #else
867  #define EvrFsCore_ftime_set(path, create, access, write)
868 #endif
869 
877 #ifdef EvtFsCore_ftime_get
878  __STATIC_INLINE void EvrFsCore_ftime_get (const char *path, fsTime *create, fsTime *access, fsTime *write) {
879  EventRecord4 (EvtFsCore_ftime_get, (uint32_t)path, (uint32_t)create, (uint32_t)access, (uint32_t)write);
880  }
881 #else
882  #define EvrFsCore_ftime_get(path, create, access, write)
883 #endif
884 
889 #ifdef EvtFsCore_fversion
890  __STATIC_INLINE void EvrFsCore_fversion (uint32_t version) {
891  uint32_t MMmm, bbbb;
892 
893  MMmm = (((version >> 28) & 0xF)*10) + ((version >> 24) & 0xF);
894  MMmm <<= 16;
895  MMmm |= (((version >> 20) & 0xF)*10) + ((version >> 16) & 0xF);
896 
897  bbbb = ((version >> 12) & 0xF)*1000 + \
898  ((version >> 8) & 0xF)*100 + \
899  ((version >> 4) & 0xF)*10 + \
900  (version & 0xF);
901 
902  EventRecord2 (EvtFsCore_fversion, MMmm, bbbb);
903  }
904 #else
905  #define EvrFsCore_fversion(version)
906 #endif
907 
908 
909 
914 #ifdef EvtFsFAT_InitDrive
915  __STATIC_INLINE void EvrFsFAT_InitDrive(uint32_t drive) {
916  EventRecord2(EvtFsFAT_InitDrive, drive, 0);
917  }
918 #else
919  #define EvrFsFAT_InitDrive(drive)
920 #endif
921 
926 #ifdef EvtFsFAT_InitDriveSuccess
927  __STATIC_INLINE void EvrFsFAT_InitDriveSuccess(uint32_t drive) {
928  EventRecord2(EvtFsFAT_InitDriveSuccess, drive, 0);
929  }
930 #else
931  #define EvrFsFAT_InitDriveSuccess(drive)
932 #endif
933 
938 #ifdef EvtFsFAT_InitDriverCfgError
939  __STATIC_INLINE void EvrFsFAT_InitDriverCfgError(uint32_t drive) {
940  EventRecord2(EvtFsFAT_InitDriverCfgError, drive, 0);
941  }
942 #else
943  #define EvrFsFAT_InitDriverCfgError(drive)
944 #endif
945 
950 #ifdef EvtFsFAT_InitDriverError
951  __STATIC_INLINE void EvrFsFAT_InitDriverError(uint32_t drive) {
952  EventRecord2(EvtFsFAT_InitDriverError, drive, 0);
953  }
954 #else
955  #define EvrFsFAT_InitDriverError(drive)
956 #endif
957 
962 #ifdef EvtFsFAT_UninitDrive
963  __STATIC_INLINE void EvrFsFAT_UninitDrive(uint32_t drive) {
964  EventRecord2(EvtFsFAT_UninitDrive, drive, 0);
965  }
966 #else
967  #define EvrFsFAT_UninitDrive(drive)
968 #endif
969 
974 #ifdef EvtFsFAT_MountDrive
975  __STATIC_INLINE void EvrFsFAT_MountDrive(uint32_t drive) {
976  EventRecord2(EvtFsFAT_MountDrive, drive, 0);
977  }
978 #else
979  #define EvrFsFAT_MountDrive(drive)
980 #endif
981 
986 #ifdef EvtFsFAT_InitMediaError
987  __STATIC_INLINE void EvrFsFAT_InitMediaError(uint32_t drive) {
988  EventRecord2(EvtFsFAT_InitMediaError, drive, 0);
989  }
990 #else
991  #define EvrFsFAT_InitMediaError(drive)
992 #endif
993 
998 #ifdef EvtFsFAT_MediaInsertStatError
999  __STATIC_INLINE void EvrFsFAT_MediaInsertStatError(uint32_t drive) {
1000  EventRecord2(EvtFsFAT_MediaInsertStatError, drive, 0);
1001  }
1002 #else
1003  #define EvrFsFAT_MediaInsertStatError(drive)
1004 #endif
1005 
1010 #ifdef EvtFsFAT_MediaInitStatError
1011  __STATIC_INLINE void EvrFsFAT_MediaInitStatError(uint32_t drive) {
1012  EventRecord2(EvtFsFAT_MediaInitStatError, drive, 0);
1013  }
1014 #else
1015  #define EvrFsFAT_MediaInitStatError(drive)
1016 #endif
1017 
1022 #ifdef EvtFsFAT_VolumeReadyStatError
1023  __STATIC_INLINE void EvrFsFAT_VolumeReadyStatError(uint32_t drive) {
1024  EventRecord2(EvtFsFAT_VolumeReadyStatError, drive, 0);
1025  }
1026 #else
1027  #define EvrFsFAT_VolumeReadyStatError(drive)
1028 #endif
1029 
1034 #ifdef EvtFsFAT_VolumeWriteStatError
1035  __STATIC_INLINE void EvrFsFAT_VolumeWriteStatError(uint32_t drive) {
1036  EventRecord2(EvtFsFAT_VolumeWriteStatError, drive, 0);
1037  }
1038 #else
1039  #define EvrFsFAT_VolumeWriteStatError(drive)
1040 #endif
1041 
1046 #ifdef EvtFsFAT_VolumeNotMounted
1047  __STATIC_INLINE void EvrFsFAT_VolumeNotMounted (uint32_t drive) {
1048  EventRecord2(EvtFsFAT_VolumeNotMounted, drive, 0);
1049  }
1050 #else
1051  #define EvrFsFAT_VolumeNotMounted(drive)
1052 #endif
1053 
1059 #ifdef EvtFsFAT_ReadMBR
1060  __STATIC_INLINE void EvrFsFAT_ReadMBR (uint32_t drive, uint32_t sector) {
1061  EventRecord2(EvtFsFAT_ReadMBR, drive, sector);
1062  }
1063 #else
1064  #define EvrFsFAT_ReadMBR(drive, sector)
1065 #endif
1066 
1071 #ifdef EvtFsFAT_InvalidMBR
1072  __STATIC_INLINE void EvrFsFAT_InvalidMBR (uint32_t drive) {
1073  EventRecord2(EvtFsFAT_InvalidMBR, drive, 0);
1074  }
1075 #else
1076  #define EvrFsFAT_InvalidMBR(drive)
1077 #endif
1078 
1083 #ifdef EvtFsFAT_NonexistentMBR
1084  __STATIC_INLINE void EvrFsFAT_NonexistentMBR (uint32_t drive) {
1085  EventRecord2(EvtFsFAT_NonexistentMBR, drive, 0);
1086  }
1087 #else
1088  #define EvrFsFAT_NonexistentMBR(drive)
1089 #endif
1090 
1096 #ifdef EvtFsFAT_ReadBootSector
1097  __STATIC_INLINE void EvrFsFAT_ReadBootSector (uint32_t drive, uint32_t sector) {
1098  EventRecord2(EvtFsFAT_ReadBootSector, drive, sector);
1099  }
1100 #else
1101  #define EvrFsFAT_ReadBootSector(drive, sector)
1102 #endif
1103 
1108 #ifdef EvtFsFAT_InvalidBootSector
1109  __STATIC_INLINE void EvrFsFAT_InvalidBootSector (uint32_t drive) {
1110  EventRecord2(EvtFsFAT_InvalidBootSector, drive, 0);
1111  }
1112 #else
1113  #define EvrFsFAT_InvalidBootSector(drive)
1114 #endif
1115 
1120 #ifdef EvtFsFAT_InvalidFAT
1121  __STATIC_INLINE void EvrFsFAT_InvalidFAT (uint32_t drive) {
1122  EventRecord2(EvtFsFAT_InvalidFAT, drive, 0);
1123  }
1124 #else
1125  #define EvrFsFAT_InvalidFAT(drive)
1126 #endif
1127 
1133 #ifdef EvtFsFAT_ReadFSInfo
1134  __STATIC_INLINE void EvrFsFAT_ReadFSInfo (uint32_t drive, uint32_t sector) {
1135  EventRecord2(EvtFsFAT_ReadFSInfo, drive, sector);
1136  }
1137 #else
1138  #define EvrFsFAT_ReadFSInfo(drive, sector)
1139 #endif
1140 
1145 #ifdef EvtFsFAT_InvalidFSInfo
1146  __STATIC_INLINE void EvrFsFAT_InvalidFSInfo (uint32_t drive) {
1147  EventRecord2(EvtFsFAT_InvalidFSInfo, drive, 0);
1148  }
1149 #else
1150  #define EvrFsFAT_InvalidFSInfo(drive)
1151 #endif
1152 
1157 #ifdef EvtFsFAT_InvalidFreeClusFSInfo
1158  __STATIC_INLINE void EvrFsFAT_InvalidFreeClusFSInfo (uint32_t drive) {
1159  EventRecord2(EvtFsFAT_InvalidFreeClusFSInfo, drive, 0);
1160  }
1161 #else
1162  #define EvrFsFAT_InvalidFreeClusFSInfo(drive)
1163 #endif
1164 
1169 #ifdef EvtFsFAT_InvalidNextClusFSInfo
1170  __STATIC_INLINE void EvrFsFAT_InvalidNextClusFSInfo (uint32_t drive) {
1171  EventRecord2(EvtFsFAT_InvalidNextClusFSInfo, drive, 0);
1172  }
1173 #else
1174  #define EvrFsFAT_InvalidNextClusFSInfo(drive)
1175 #endif
1176 
1182 #ifdef EvtFsFAT_WriteFSInfo
1183  __STATIC_INLINE void EvrFsFAT_WriteFSInfo (uint32_t drive, uint32_t sector) {
1184  EventRecord2(EvtFsFAT_WriteFSInfo, drive, sector);
1185  }
1186 #else
1187  #define EvrFsFAT_WriteFSInfo(drive, sector)
1188 #endif
1189 
1194 #ifdef EvtFsFAT_CountFreeClus
1195  __STATIC_INLINE void EvrFsFAT_CountFreeClus (uint32_t drive) {
1196  EventRecord2(EvtFsFAT_CountFreeClus, drive, 0);
1197  }
1198 #else
1199  #define EvrFsFAT_CountFreeClus(drive)
1200 #endif
1201 
1206 #ifdef EvtFsFAT_MountDriveSuccess
1207  __STATIC_INLINE void EvrFsFAT_MountDriveSuccess(uint32_t drive) {
1208  EventRecord2(EvtFsFAT_MountDriveSuccess, drive, 0);
1209  }
1210 #else
1211  #define EvrFsFAT_MountDriveSuccess(drive)
1212 #endif
1213 
1218 #ifdef EvtFsFAT_UnmountDrive
1219  __STATIC_INLINE void EvrFsFAT_UnmountDrive(uint32_t drive) {
1220  EventRecord2(EvtFsFAT_UnmountDrive, drive, 0);
1221  }
1222 #else
1223  #define EvrFsFAT_UnmountDrive(drive)
1224 #endif
1225 
1230 #ifdef EvtFsFAT_UnmountDriveSuccess
1231  __STATIC_INLINE void EvrFsFAT_UnmountDriveSuccess(uint32_t drive) {
1232  EventRecord2(EvtFsFAT_UnmountDriveSuccess, drive, 0);
1233  }
1234 #else
1235  #define EvrFsFAT_UnmountDriveSuccess(drive)
1236 #endif
1237 
1242 #ifdef EvtFsFAT_FormatDrive
1243  __STATIC_INLINE void EvrFsFAT_FormatDrive(uint32_t drive) {
1244  EventRecord2(EvtFsFAT_FormatDrive, drive, 0);
1245  }
1246 #else
1247  #define EvrFsFAT_FormatDrive(drive)
1248 #endif
1249 
1254 #ifdef EvtFsFAT_FormatDriveSuccess
1255  __STATIC_INLINE void EvrFsFAT_FormatDriveSuccess(uint32_t drive) {
1256  EventRecord2(EvtFsFAT_FormatDriveSuccess, drive, 0);
1257  }
1258 #else
1259  #define EvrFsFAT_FormatDriveSuccess(drive)
1260 #endif
1261 
1266 #ifdef EvtFsFAT_ResetHandles
1267  __STATIC_INLINE void EvrFsFAT_ResetHandles (uint32_t drive) {
1268  EventRecord2(EvtFsFAT_ResetHandles, drive, 0);
1269  }
1270 #else
1271  #define EvrFsFAT_ResetHandles(drive)
1272 #endif
1273 
1279 #ifdef EvtFsFAT_FormatOptionDetected
1280  __STATIC_INLINE void EvrFsFAT_FormatOptionDetected (uint32_t drive, uint32_t option) {
1281  EventRecord2(EvtFsFAT_FormatOptionDetected, drive, option);
1282  }
1283 #else
1284  #define EvrFsFAT_FormatOptionDetected(drive, option)
1285 #endif
1286 
1292 #ifdef EvtFsFAT_FormatMediaCapacity
1293  __STATIC_INLINE void EvrFsFAT_FormatMediaCapacity (uint32_t drive, uint32_t sectors) {
1294  EventRecord2(EvtFsFAT_FormatMediaCapacity, drive, sectors);
1295  }
1296 #else
1297  #define EvrFsFAT_FormatMediaCapacity(drive, sectors)
1298 #endif
1299 
1304 #ifdef EvtFsFAT_FormatLowLevel
1305  __STATIC_INLINE void EvrFsFAT_FormatLowLevel (uint32_t drive) {
1306  EventRecord2(EvtFsFAT_FormatLowLevel, drive, 0);
1307  }
1308 #else
1309  #define EvrFsFAT_FormatLowLevel(drive)
1310 #endif
1311 
1316 #ifdef EvtFsFAT_FormatNoSpace
1317  __STATIC_INLINE void EvrFsFAT_FormatNoSpace (uint32_t drive) {
1318  EventRecord2(EvtFsFAT_FormatNoSpace, drive, 0);
1319  }
1320 #else
1321  #define EvrFsFAT_FormatNoSpace(drive)
1322 #endif
1323 
1328 #ifdef EvtFsFAT_FormatNoSpaceFAT32
1329  __STATIC_INLINE void EvrFsFAT_FormatNoSpaceFAT32 (uint32_t drive) {
1330  EventRecord2(EvtFsFAT_FormatNoSpaceFAT32, drive, 0);
1331  }
1332 #else
1333  #define EvrFsFAT_FormatNoSpaceFAT32(drive)
1334 #endif
1335 
1341 #ifdef EvtFsFAT_WriteMBR
1342  __STATIC_INLINE void EvrFsFAT_WriteMBR (uint32_t drive, uint32_t sector) {
1343  EventRecord2(EvtFsFAT_WriteMBR, drive, sector);
1344  }
1345 #else
1346  #define EvrFsFAT_WriteMBR(drive, sector)
1347 #endif
1348 
1354 #ifdef EvtFsFAT_WriteBootSector
1355  __STATIC_INLINE void EvrFsFAT_WriteBootSector (uint32_t drive, uint32_t sector) {
1356  EventRecord2(EvtFsFAT_WriteBootSector, drive, sector);
1357  }
1358 #else
1359  #define EvrFsFAT_WriteBootSector(drive, sector)
1360 #endif
1361 
1368 #ifdef EvtFsFAT_ClearHiddenSectors
1369  __STATIC_INLINE void EvrFsFAT_ClearHiddenSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1370  EventRecord4 (EvtFsFAT_ClearHiddenSectors, drive, sector, count, 0);
1371  }
1372 #else
1373  #define EvrFsFAT_ClearHiddenSectors(drive, sector, count)
1374 #endif
1375 
1382 #ifdef EvtFsFAT_ClearReservedSectors
1383  __STATIC_INLINE void EvrFsFAT_ClearReservedSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1384  EventRecord4 (EvtFsFAT_ClearReservedSectors, drive, sector, count, 0);
1385  }
1386 #else
1387  #define EvrFsFAT_ClearReservedSectors(drive, sector, count)
1388 #endif
1389 
1396 #ifdef EvtFsFAT_ClearRootSectors
1397  __STATIC_INLINE void EvrFsFAT_ClearRootSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1398  EventRecord4 (EvtFsFAT_ClearRootSectors, drive, sector, count, 0);
1399  }
1400 #else
1401  #define EvrFsFAT_ClearRootSectors(drive, sector, count)
1402 #endif
1403 
1410 #ifdef EvtFsFAT_CreateFAT
1411  __STATIC_INLINE void EvrFsFAT_CreateFAT (uint32_t drive, uint32_t sector, uint32_t count) {
1412  EventRecord4 (EvtFsFAT_CreateFAT, drive, sector, count, 0);
1413  }
1414 #else
1415  #define EvrFsFAT_CreateFAT(drive, sector, count)
1416 #endif
1417 
1425 #ifdef EvtFsFAT_FormatProperties
1426  __STATIC_INLINE void EvrFsFAT_FormatProperties (uint32_t drive, uint32_t type, uint32_t clus_size, uint32_t data_clus) {
1427  EventRecord4 (EvtFsFAT_FormatProperties, drive, type, clus_size, data_clus);
1428  }
1429 #else
1430  #define EvrFsFAT_FormatProperties(drive, type, clus_size, data_clus)
1431 #endif
1432 
1439 #ifdef EvtFsFAT_FileOpen
1440  __STATIC_INLINE void EvrFsFAT_FileOpen (uint32_t h, const char *path, uint32_t openmode) {
1441  EventRecord4 (EvtFsFAT_FileOpen, h, (uint32_t)path, openmode, 0);
1442  }
1443 #else
1444  #define EvrFsFAT_FileOpen(h, path, openmode)
1445 #endif
1446 
1451 #ifdef EvtFsFAT_PathInvalidChar
1452  __STATIC_INLINE void EvrFsFAT_PathInvalidChar (const char ch) {
1453  EventRecord2 (EvtFsFAT_PathInvalidChar, ch, 0);
1454  }
1455 #else
1456  #define EvrFsFAT_PathInvalidChar(ch)
1457 #endif
1458 
1463 #ifdef EvtFsFAT_PathIsTooLong
1464  __STATIC_INLINE void EvrFsFAT_PathIsTooLong (uint32_t max_len) {
1465  EventRecord2 (EvtFsFAT_PathIsTooLong, max_len, 0);
1466  }
1467 #else
1468  #define EvrFsFAT_PathIsTooLong(max_len)
1469 #endif
1470 
1475 #ifdef EvtFsFAT_PathIsDirNotFile
1476  __STATIC_INLINE void EvrFsFAT_PathIsDirNotFile (uint32_t drive) {
1477  EventRecord2 (EvtFsFAT_PathIsDirNotFile, drive, 0);
1478  }
1479 #else
1480  #define EvrFsFAT_PathIsDirNotFile(drive)
1481 #endif
1482 
1487 #ifdef EvtFsFAT_FileIsInUse
1488  __STATIC_INLINE void EvrFsFAT_FileIsInUse (uint32_t drive) {
1489  EventRecord2 (EvtFsFAT_FileIsInUse, drive, 0);
1490  }
1491 #else
1492  #define EvrFsFAT_FileIsInUse(drive)
1493 #endif
1494 
1499 #ifdef EvtFsFAT_FileIsReadOnly
1500  __STATIC_INLINE void EvrFsFAT_FileIsReadOnly (uint32_t drive) {
1501  EventRecord2 (EvtFsFAT_FileIsReadOnly, drive, 0);
1502  }
1503 #else
1504  #define EvrFsFAT_FileIsReadOnly(drive)
1505 #endif
1506 
1511 #ifdef EvtFsFAT_FileIsNonExistent
1512  __STATIC_INLINE void EvrFsFAT_FileIsNonExistent (uint32_t drive) {
1513  EventRecord2 (EvtFsFAT_FileIsNonExistent, drive, 0);
1514  }
1515 #else
1516  #define EvrFsFAT_FileIsNonExistent(drive)
1517 #endif
1518 
1524 #ifdef EvtFsFAT_PathProcessing
1525  __STATIC_INLINE void EvrFsFAT_PathProcessing (uint32_t drive, const char *path) {
1526  EventRecord2 (EvtFsFAT_PathProcessing, drive, (uint32_t)path);
1527  }
1528 #else
1529  #define EvrFsFAT_PathProcessing(drive, path)
1530 #endif
1531 
1536 #ifdef EvtFsFAT_FileHandleUnavailable
1537  __STATIC_INLINE void EvrFsFAT_FileHandleUnavailable (uint32_t drive) {
1538  EventRecord2 (EvtFsFAT_FileHandleUnavailable, drive, 0);
1539  }
1540 #else
1541  #define EvrFsFAT_FileHandleUnavailable(drive)
1542 #endif
1543 
1548 #ifdef EvtFsFAT_FileHandleInvalid
1549  __STATIC_INLINE void EvrFsFAT_FileHandleInvalid (uint32_t h) {
1550  EventRecord2 (EvtFsFAT_FileHandleInvalid, h, 0);
1551  }
1552 #else
1553  #define EvrFsFAT_FileHandleInvalid(h)
1554 #endif
1555 
1560 #ifdef EvtFsFAT_LabelInvalid
1561  __STATIC_INLINE void EvrFsFAT_LabelInvalid (uint32_t drive) {
1562  EventRecord2 (EvtFsFAT_LabelInvalid, drive, 0);
1563  }
1564 #else
1565  #define EvrFsFAT_LabelInvalid(drive)
1566 #endif
1567 
1572 #ifdef EvtFsFAT_LabelNotSet
1573  __STATIC_INLINE void EvrFsFAT_LabelNotSet (uint32_t drive) {
1574  EventRecord2 (EvtFsFAT_LabelNotSet, drive, 0);
1575  }
1576 #else
1577  #define EvrFsFAT_LabelNotSet(drive)
1578 #endif
1579 
1586 #ifdef EvtFsFAT_SectorReadFailed
1587  __STATIC_INLINE void EvrFsFAT_SectorReadFailed (uint32_t drive, uint32_t sector, uint32_t count) {
1588  EventRecord4 (EvtFsFAT_SectorReadFailed, drive, sector, count, 0);
1589  }
1590 #else
1591  #define EvrFsFAT_SectorReadFailed(drive, sector, count)
1592 #endif
1593 
1600 #ifdef EvtFsFAT_SectorWriteFailed
1601  __STATIC_INLINE void EvrFsFAT_SectorWriteFailed (uint32_t drive, uint32_t sector, uint32_t count) {
1602  EventRecord4 (EvtFsFAT_SectorWriteFailed, drive, sector, count, 0);
1603  }
1604 #else
1605  #define EvrFsFAT_SectorWriteFailed(drive, sector, count)
1606 #endif
1607 
1612 #ifdef EvtFsFAT_DiskFull
1613  __STATIC_INLINE void EvrFsFAT_DiskFull (uint32_t drive) {
1614  EventRecord2 (EvtFsFAT_DiskFull, drive, 0);
1615  }
1616 #else
1617  #define EvrFsFAT_DiskFull(drive)
1618 #endif
1619 
1625 #ifdef EvtFsFAT_DirEntryAllocFailed
1626  __STATIC_INLINE void EvrFsFAT_DirEntryAllocFailed (uint32_t drive, uint32_t dir_clus) {
1627  EventRecord2 (EvtFsFAT_DirEntryAllocFailed, drive, dir_clus);
1628  }
1629 #else
1630  #define EvrFsFAT_DirEntryAllocFailed(drive, dir_clus)
1631 #endif
1632 
1637 #ifdef EvtFsFAT_PathBufferToSmall
1638  __STATIC_INLINE void EvrFsFAT_PathBufferToSmall (uint32_t drive) {
1639  EventRecord2 (EvtFsFAT_PathBufferToSmall, drive, 0);
1640  }
1641 #else
1642  #define EvrFsFAT_PathBufferToSmall(drive)
1643 #endif
1644 
1649 #ifdef EvtFsFAT_InitJournal
1650  __STATIC_INLINE void EvrFsFAT_InitJournal (uint32_t drive) {
1651  EventRecord2 (EvtFsFAT_InitJournal, drive, 0);
1652  }
1653 #else
1654  #define EvrFsFAT_InitJournal(drive)
1655 #endif
1656 
1661 #ifdef EvtFsFAT_InitJournalSuccess
1662  __STATIC_INLINE void EvrFsFAT_InitJournalSuccess (uint32_t drive) {
1663  EventRecord2 (EvtFsFAT_InitJournalSuccess, drive, 0);
1664  }
1665 #else
1666  #define EvrFsFAT_InitJournalSuccess(drive)
1667 #endif
1668 
1673 #ifdef EvtFsFAT_InitJournalFATError
1674  __STATIC_INLINE void EvrFsFAT_InitJournalFATError (uint32_t drive) {
1675  EventRecord2 (EvtFsFAT_InitJournalFATError, drive, 0);
1676  }
1677 #else
1678  #define EvrFsFAT_InitJournalFATError(drive)
1679 #endif
1680 
1685 #ifdef EvtFsFAT_FileClose
1686  __STATIC_INLINE void EvrFsFAT_FileClose (uint32_t h) {
1687  EventRecord2 (EvtFsFAT_FileClose, h, 0);
1688  }
1689 #else
1690  #define EvrFsFAT_FileClose(h)
1691 #endif
1692 
1698 #ifdef EvtFsFAT_FileHandleError
1699  __STATIC_INLINE void EvrFsFAT_FileHandleError (int32_t h, uint32_t flags) {
1700  EventRecord2 (EvtFsFAT_FileHandleError, (uint32_t)h, flags);
1701  }
1702 #else
1703  #define EvrFsFAT_FileHandleError(h, flags)
1704 #endif
1705 
1712 #ifdef EvtFsFAT_FileRead
1713  __STATIC_INLINE void EvrFsFAT_FileRead (uint32_t h, uint8_t *buf, uint32_t len) {
1714  EventRecord4 (EvtFsFAT_FileRead, h, (uint32_t)buf, len, 0);
1715  }
1716 #else
1717  #define EvrFsFAT_FileRead(h, buf, len)
1718 #endif
1719 
1726 #ifdef EvtFsFAT_FileWrite
1727  __STATIC_INLINE void EvrFsFAT_FileWrite (uint32_t h, const uint8_t *buf, uint32_t len) {
1728  EventRecord4 (EvtFsFAT_FileWrite, h, (uint32_t)buf, len, 0);
1729  }
1730 #else
1731  #define EvrFsFAT_FileWrite(h, buf, len)
1732 #endif
1733 
1738 #ifdef EvtFsFAT_FileFlush
1739  __STATIC_INLINE void EvrFsFAT_FileFlush (uint32_t h) {
1740  EventRecord2 (EvtFsFAT_FileFlush, h, 0);
1741  }
1742 #else
1743  #define EvrFsFAT_FileFlush(h)
1744 #endif
1745 
1751 #ifdef EvtFsFAT_FileSeek
1752  __STATIC_INLINE void EvrFsFAT_FileSeek (uint32_t h, uint32_t pos) {
1753  EventRecord2 (EvtFsFAT_FileSeek, h, pos);
1754  }
1755 #else
1756  #define EvrFsFAT_FileSeek(h, pos)
1757 #endif
1758 
1765 #ifdef EvtFsFAT_FileSeekIncrease
1766  __STATIC_INLINE void EvrFsFAT_FileSeekIncrease (int32_t h, uint32_t csize, uint32_t nsize) {
1767  EventRecord4 (EvtFsFAT_FileSeekIncrease, (uint32_t)h, csize, nsize, 0);
1768  }
1769 #else
1770  #define EvrFsFAT_FileSeekIncrease(h, csize, nsize)
1771 #endif
1772 
1778 #ifdef EvtFsFAT_FileDelete
1779  __STATIC_INLINE void EvrFsFAT_FileDelete (uint32_t drive, const char *path) {
1780  EventRecord2 (EvtFsFAT_FileDelete, drive, (uint32_t)path);
1781  }
1782 #else
1783  #define EvrFsFAT_FileDelete(drive, path)
1784 #endif
1785 
1791 #ifdef EvtFsFAT_FileDeleteSuccess
1792  __STATIC_INLINE void EvrFsFAT_FileDeleteSuccess (uint32_t drive, const char *path) {
1793  EventRecord2 (EvtFsFAT_FileDeleteSuccess, drive, (uint32_t)path);
1794  }
1795 #else
1796  #define EvrFsFAT_FileDeleteSuccess(drive, path)
1797 #endif
1798 
1805 #ifdef EvtFsFAT_FileRename
1806  __STATIC_INLINE void EvrFsFAT_FileRename (uint32_t drive, const char *path, const char *newname) {
1807  EventRecord4 (EvtFsFAT_FileRename, drive, (uint32_t)path, (uint32_t)newname, 0);
1808  }
1809 #else
1810  #define EvrFsFAT_FileRename(drive, path, newname)
1811 #endif
1812 
1819 #ifdef EvtFsFAT_FileRenameSuccess
1820  __STATIC_INLINE void EvrFsFAT_FileRenameSuccess (uint32_t drive, const char *path, const char *newname) {
1821  EventRecord4 (EvtFsFAT_FileRenameSuccess, drive, (uint32_t)path, (uint32_t)newname, 0);
1822  }
1823 #else
1824  #define EvrFsFAT_FileRenameSuccess(drive, path, newname)
1825 #endif
1826 
1832 #ifdef EvtFsFAT_DirCreate
1833  __STATIC_INLINE void EvrFsFAT_DirCreate (uint32_t drive, const char *path) {
1834  EventRecord2 (EvtFsFAT_DirCreate, drive, (uint32_t)path);
1835  }
1836 #else
1837  #define EvrFsFAT_DirCreate(drive, path)
1838 #endif
1839 
1845 #ifdef EvtFsFAT_DirCreateSuccess
1846  __STATIC_INLINE void EvrFsFAT_DirCreateSuccess (uint32_t drive, const char *path) {
1847  EventRecord2 (EvtFsFAT_DirCreateSuccess, drive, (uint32_t)path);
1848  }
1849 #else
1850  #define EvrFsFAT_DirCreateSuccess(drive, path)
1851 #endif
1852 
1859 #ifdef EvtFsFAT_DirRemove
1860  __STATIC_INLINE void EvrFsFAT_DirRemove (uint32_t drive, const char *path, const char *options) {
1861  EventRecord4 (EvtFsFAT_DirRemove, drive, (uint32_t)path, (uint32_t)options, 0);
1862  }
1863 #else
1864  #define EvrFsFAT_DirRemove(drive, path, options)
1865 #endif
1866 
1873 #ifdef EvtFsFAT_DirRemoveSuccess
1874  __STATIC_INLINE void EvrFsFAT_DirRemoveSuccess (uint32_t drive, const char *path, const char *options) {
1875  EventRecord4 (EvtFsFAT_DirRemoveSuccess, drive, (uint32_t)path, (uint32_t)options, 0);
1876  }
1877 #else
1878  #define EvrFsFAT_DirRemoveSuccess(drive, path, options)
1879 #endif
1880 
1886 #ifdef EvtFsFAT_ChDir
1887  __STATIC_INLINE void EvrFsFAT_ChDir (uint32_t drive, const char *path) {
1888  EventRecord2 (EvtFsFAT_ChDir, drive, (uint32_t)path);
1889  }
1890 #else
1891  #define EvrFsFAT_ChDir(drive, path)
1892 #endif
1893 
1899 #ifdef EvtFsFAT_ChDirSuccess
1900  __STATIC_INLINE void EvrFsFAT_ChDirSuccess (uint32_t drive, const char *path) {
1901  EventRecord2 (EvtFsFAT_ChDirSuccess, drive, (uint32_t)path);
1902  }
1903 #else
1904  #define EvrFsFAT_ChDirSuccess(drive, path)
1905 #endif
1906 
1913 #ifdef EvtFsFAT_Pwd
1914  __STATIC_INLINE void EvrFsFAT_Pwd (uint32_t drive, const char *path, uint32_t len) {
1915  EventRecord4 (EvtFsFAT_Pwd, drive, (uint32_t)path, len, 0);
1916  }
1917 #else
1918  #define EvrFsFAT_Pwd(drive, path, len)
1919 #endif
1920 
1927 #ifdef EvtFsFAT_PwdSuccess
1928  __STATIC_INLINE void EvrFsFAT_PwdSuccess (uint32_t drive, const char *path, uint32_t len) {
1929  EventRecord4 (EvtFsFAT_PwdSuccess, drive, (uint32_t)path, len, 0);
1930  }
1931 #else
1932  #define EvrFsFAT_PwdSuccess(drive, path, len)
1933 #endif
1934 
1941 #ifdef EvtFsFAT_AttribSet
1942  __STATIC_INLINE void EvrFsFAT_AttribSet (uint32_t drive, const char *path, uint32_t attrib) {
1943  EventRecord4 (EvtFsFAT_AttribSet, drive, (uint32_t)path, attrib, 0);
1944  }
1945 #else
1946  #define EvrFsFAT_AttribSet(drive, path, len)
1947 #endif
1948 
1955 #ifdef EvtFsFAT_AttribSetSuccess
1956  __STATIC_INLINE void EvrFsFAT_AttribSetSuccess (uint32_t drive, const char *path, uint32_t attrib) {
1957  EventRecord4 (EvtFsFAT_AttribSetSuccess, drive, (uint32_t)path, attrib, 0);
1958  }
1959 #else
1960  #define EvrFsFAT_AttribSetSuccess(drive, path, len)
1961 #endif
1962 
1967 #ifdef EvtFsFAT_GetFreeSpace
1968  __STATIC_INLINE void EvrFsFAT_GetFreeSpace (uint32_t drive) {
1969  EventRecord2 (EvtFsFAT_GetFreeSpace, drive, 0);
1970  }
1971 #else
1972  #define EvrFsFAT_GetFreeSpace(drive)
1973 #endif
1974 
1981 #ifdef EvtFsFAT_FreeAmount
1982  __STATIC_INLINE void EvrFsFAT_FreeAmount (uint32_t drive, uint32_t clus, uint32_t size) {
1983  EventRecord4 (EvtFsFAT_FreeAmount, drive, clus, size, drive);
1984  }
1985 #else
1986  #define EvrFsFAT_FreeAmount(clus, size, drive)
1987 #endif
1988 
1993 #ifdef EvtFsFAT_FileModeRead
1994  __STATIC_INLINE void EvrFsFAT_FileModeRead (int32_t h) {
1995  EventRecord2 (EvtFsFAT_FileModeRead, (uint32_t)h, 0);
1996  }
1997 #else
1998  #define EvrFsFAT_FileModeRead(h)
1999 #endif
2000 
2005 #ifdef EvtFsFAT_FileFind
2006  __STATIC_INLINE void EvrFsFAT_FileFind (int32_t h) {
2007  EventRecord2 (EvtFsFAT_FileFind, (uint32_t)h, 0);
2008  }
2009 #else
2010  #define EvrFsFAT_FileFind(h)
2011 #endif
2012 
2017 #ifdef EvtFsFAT_InvalidParameter
2018  __STATIC_INLINE void EvrFsFAT_InvalidParameter (uint32_t drive) {
2019  EventRecord2 (EvtFsFAT_InvalidParameter, drive, 0);
2020  }
2021 #else
2022  #define EvrFsFAT_InvalidParameter(drive)
2023 #endif
2024 
2029 #ifdef EvtFsFAT_DriverNotInitialized
2030  __STATIC_INLINE void EvrFsFAT_DriverNotInitialized (uint32_t drive) {
2031  EventRecord2 (EvtFsFAT_DriverNotInitialized, drive, 0);
2032  }
2033 #else
2034  #define EvrFsFAT_DriverNotInitialized(drive)
2035 #endif
2036 
2042 #ifdef EvtFsFAT_PathName
2043  __STATIC_INLINE void EvrFsFAT_PathName (const char *buf, uint32_t len) {
2044  EventRecordData (EvtFsFAT_PathName, (const uint8_t *)buf, len);
2045  }
2046 #else
2047  #define EvrFsFAT_PathName(buf, len)
2048 #endif
2049 
2055 #ifdef EvtFsFAT_OptionsString
2056  __STATIC_INLINE void EvrFsFAT_OptionsString (const char *buf, uint32_t len) {
2057  EventRecordData (EvtFsFAT_OptionsString, (const uint8_t *)buf, len);
2058  }
2059 #else
2060  #define EvrFsFAT_OptionsString(buf, len)
2061 #endif
2062 
2068 #ifdef EvtFsFAT_LabelString
2069  __STATIC_INLINE void EvrFsFAT_LabelString (const char *buf, uint32_t len) {
2070  EventRecordData (EvtFsFAT_LabelString, (const uint8_t *)buf, len);
2071  }
2072 #else
2073  #define EvrFsFAT_LabelString(buf, len)
2074 #endif
2075 
2082 #ifdef EvtFsFAT_NameCacheHit
2083  __STATIC_INLINE void EvrFsFAT_NameCacheHit (uint32_t drive, const char *name, uint32_t len) {
2084  EventRecord4 (EvtFsFAT_NameCacheHit, drive, (uint32_t)name, len, 0);
2085  }
2086 #else
2087  #define EvrFsFAT_NameCacheHit(drive, name, len)
2088 #endif
2089 
2096 #ifdef EvtFsFAT_NameCacheMiss
2097  __STATIC_INLINE void EvrFsFAT_NameCacheMiss (uint32_t drive, const char *name, uint32_t len) {
2098  EventRecord4 (EvtFsFAT_NameCacheMiss, drive, (uint32_t)name, len, 0);
2099  }
2100 #else
2101  #define EvrFsFAT_NameCacheMiss(drive, name, len)
2102 #endif
2103 
2111 #ifdef EvtFsFAT_NameCacheEntryFound
2112  __STATIC_INLINE void EvrFsFAT_NameCacheEntryFound (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2113  EventRecord4 (EvtFsFAT_NameCacheEntryFound, drive, clus, offs, cnt);
2114  }
2115 #else
2116  #define EvrFsFAT_NameCacheEntryFound(drive, clus, offs, cnt)
2117 #endif
2118 
2126 #ifdef EvtFsFAT_NameCacheEntryInsert
2127  __STATIC_INLINE void EvrFsFAT_NameCacheEntryInsert (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2128  EventRecord4 (EvtFsFAT_NameCacheEntryInsert, drive, clus, offs, cnt);
2129  }
2130 #else
2131  #define EvrFsFAT_NameCacheEntryInsert(drive, clus, offs, cnt)
2132 #endif
2133 
2141 #ifdef EvtFsFAT_NameCacheEntryDelete
2142  __STATIC_INLINE void EvrFsFAT_NameCacheEntryDelete (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2143  EventRecord4 (EvtFsFAT_NameCacheEntryDelete, drive, clus, offs, cnt);
2144  }
2145 #else
2146  #define EvrFsFAT_NameCacheEntryDelete(drive, clus, offs, cnt);
2147 #endif
2148 
2154 #ifdef EvtFsFAT_TimeSet
2155  __STATIC_INLINE void EvrFsFAT_TimeSet (uint32_t drive, const char *path) {
2156  EventRecord2 (EvtFsFAT_TimeSet, drive, (uint32_t)path);
2157  }
2158 #else
2159  #define EvrFsFAT_TimeSet(drive, path);
2160 #endif
2161 
2167 #ifdef EvtFsFAT_TimeGet
2168  __STATIC_INLINE void EvrFsFAT_TimeGet (uint32_t drive, const char *path) {
2169  EventRecord2 (EvtFsFAT_TimeGet, drive, (uint32_t)path);
2170  }
2171 #else
2172  #define EvrFsFAT_TimeGet(drive, path);
2173 #endif
2174 
2181 #ifdef EvtFsFAT_TimeData
2182  __STATIC_INLINE void EvrFsFAT_TimeData (fsTime *create, fsTime *access, fsTime *write) {
2183  int32_t v1, v2, v3;
2184  fsTime *t;
2185 
2186  if (create != NULL) {
2187  t = create;
2188  v1 = 0;
2189  v2 = (t->sec << 16) | (t->min << 8) | (t->hr);
2190  v3 = (t->year << 16) | (t->mon << 8) | (t->day);
2191  EventRecord4 (EvtFsFAT_TimeData, (uint32_t)v1, (uint32_t)v2, (uint32_t)v3, 0);
2192  }
2193 
2194  if (access != NULL) {
2195  t = access;
2196  v1 = 1;
2197  v2 = (t->sec << 16) | (t->min << 8) | (t->hr);
2198  v3 = (t->year << 16) | (t->mon << 8) | (t->day);
2199  EventRecord4 (EvtFsFAT_TimeData, (uint32_t)v1, (uint32_t)v2, (uint32_t)v3, 0);
2200  }
2201 
2202  if (write != NULL) {
2203  t = write;
2204  v1 = 2;
2205  v2 = (t->sec << 16) | (t->min << 8) | (t->hr);
2206  v3 = (t->year << 16) | (t->mon << 8) | (t->day);
2207  EventRecord4 (EvtFsFAT_TimeData, (uint32_t)v1, (uint32_t)v2, (uint32_t)v3, 0);
2208  }
2209  }
2210 #else
2211  #define EvrFsFAT_TimeData(create, access, write);
2212 #endif
2213 
2218 #ifdef EvtFsEFS_InitDrive
2219  __STATIC_INLINE void EvrFsEFS_InitDrive (uint32_t drive) {
2220  EventRecord2 (EvtFsEFS_InitDrive, drive, 0);
2221  }
2222 #else
2223  #define EvrFsEFS_InitDrive(drive)
2224 #endif
2225 
2231 #ifdef EvtFsEFS_InitDriver
2232  __STATIC_INLINE void EvrFsEFS_InitDriver (uint32_t drive, uint32_t driver) {
2233  EventRecord2 (EvtFsEFS_InitDriver, drive, driver);
2234  }
2235 #else
2236  #define EvrFsEFS_InitDriver(drive, driver)
2237 #endif
2238 
2244 #ifdef EvtFsEFS_InitDriverFailed
2245  __STATIC_INLINE void EvrFsEFS_InitDriverFailed (uint32_t drive, uint32_t driver) {
2246  EventRecord2 (EvtFsEFS_InitDriverFailed, drive, driver);
2247  }
2248 #else
2249  #define EvrFsEFS_InitDriverFailed(drive, driver)
2250 #endif
2251 
2256 #ifdef EvtFsEFS_UninitDrive
2257  __STATIC_INLINE void EvrFsEFS_UninitDrive (uint32_t drive) {
2258  EventRecord2 (EvtFsEFS_UninitDrive, drive, 0);
2259  }
2260 #else
2261  #define EvrFsEFS_UninitDrive(drive)
2262 #endif
2263 
2269 #ifdef EvtFsEFS_UninitDriver
2270  __STATIC_INLINE void EvrFsEFS_UninitDriver (uint32_t drive, uint32_t driver) {
2271  EventRecord2 (EvtFsEFS_UninitDrive, drive, driver);
2272  }
2273 #else
2274  #define EvrFsEFS_UninitDriver(drive, driver)
2275 #endif
2276 
2281 #ifdef EvtFsEFS_MountDrive
2282  __STATIC_INLINE void EvrFsEFS_MountDrive (uint32_t drive) {
2283  EventRecord2 (EvtFsEFS_MountDrive, drive, 0);
2284  }
2285 #else
2286  #define EvrFsEFS_MountDrive(drive)
2287 #endif
2288 
2293 #ifdef EvtFsEFS_MountDriveSuccess
2294  __STATIC_INLINE void EvrFsEFS_MountDriveSuccess (uint32_t drive) {
2295  EventRecord2 (EvtFsEFS_MountDriveSuccess, drive, 0);
2296  }
2297 #else
2298  #define EvrFsEFS_MountDriveSuccess(drive)
2299 #endif
2300 
2305 #ifdef EvtFsEFS_FlashGetInfo
2306  __STATIC_INLINE void EvrFsEFS_FlashGetInfo (uint32_t drive) {
2307  EventRecord2 (EvtFsEFS_FlashGetInfo, drive, 0);
2308  }
2309 #else
2310  #define EvrFsEFS_FlashGetInfo(drive)
2311 #endif
2312 
2319 #ifdef EvtFsEFS_FlashProgUnitTooBig
2320  __STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig (uint32_t drive, uint32_t current, uint32_t required) {
2321  EventRecord4 (EvtFsEFS_FlashProgUnitTooBig, drive, current, required, 0);
2322  }
2323 #else
2324  #define EvrFsEFS_FlashProgUnitTooBig(drive, current, required)
2325 #endif
2326 
2332 #ifdef EvtFsEFS_FlashCapacity
2333  __STATIC_INLINE void EvrFsEFS_FlashCapacity (uint32_t drive, uint32_t capacity) {
2334  EventRecord2 (EvtFsEFS_FlashCapacity, drive, capacity);
2335  }
2336 #else
2337  #define EvrFsEFS_FlashCapacity(drive, capacity)
2338 #endif
2339 
2344 #ifdef EvtFsEFS_UnmountDrive
2345  __STATIC_INLINE void EvrFsEFS_UnmountDrive (uint32_t drive) {
2346  EventRecord2 (EvtFsEFS_UnmountDrive, drive, 0);
2347  }
2348 #else
2349  #define EvrFsEFS_UnmountDrive(drive)
2350 #endif
2351 
2356 #ifdef EvtFsEFS_UnmountDriveSuccess
2357  __STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess (uint32_t drive) {
2358  EventRecord2 (EvtFsEFS_UnmountDriveSuccess, drive, 0);
2359  }
2360 #else
2361  #define EvrFsEFS_UnmountDriveSuccess(drive)
2362 #endif
2363 
2368 #ifdef EvtFsEFS_FormatDrive
2369  __STATIC_INLINE void EvrFsEFS_FormatDrive (uint32_t drive) {
2370  EventRecord2 (EvtFsEFS_FormatDrive, drive, 0);
2371  }
2372 #else
2373  #define EvrFsEFS_FormatDrive(drive)
2374 #endif
2375 
2380 #ifdef EvtFsEFS_FormatDriveSuccess
2381  __STATIC_INLINE void EvrFsEFS_FormatDriveSuccess (uint32_t drive) {
2382  EventRecord2 (EvtFsEFS_FormatDriveSuccess, drive, 0);
2383  }
2384 #else
2385  #define EvrFsEFS_FormatDriveSuccess(drive)
2386 #endif
2387 
2392 #ifdef EvtFsEFS_FlashEraseChip
2393  __STATIC_INLINE void EvrFsEFS_FlashEraseChip (uint32_t drive) {
2394  EventRecord2 (EvtFsEFS_FlashEraseChip, drive, 0);
2395  }
2396 #else
2397  #define EvrFsEFS_FlashEraseChip(drive)
2398 #endif
2399 
2404 #ifdef EvtFsEFS_FlashEraseChipFailed
2405  __STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed (uint32_t drive) {
2406  EventRecord2 (EvtFsEFS_FlashEraseChipFailed, drive, 0);
2407  }
2408 #else
2409  #define EvrFsEFS_FlashEraseChipFailed(drive)
2410 #endif
2411 
2416 #ifdef EvtFsEFS_FlashEraseChipTimeout
2417  __STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout (uint32_t drive) {
2418  EventRecord2 (EvtFsEFS_FlashEraseChipTimeout, drive, 0);
2419  }
2420 #else
2421  #define EvrFsEFS_FlashEraseChipTimeout(drive)
2422 #endif
2423 
2430 #ifdef EvtFsEFS_FlashEraseSectors
2431  __STATIC_INLINE void EvrFsEFS_FlashEraseSectors (uint32_t drive, uint32_t sector, uint32_t cnt) {
2432  EventRecord4 (EvtFsEFS_FlashEraseSectors, drive, sector, cnt, 0);
2433  }
2434 #else
2435  #define EvrFsEFS_FlashEraseSectors(drive, sector, cnt)
2436 #endif
2437 
2444 #ifdef EvtFsEFS_FileOpen
2445  __STATIC_INLINE void EvrFsEFS_FileOpen (uint32_t h, const char *path, uint32_t openmode) {
2446  EventRecord4 (EvtFsEFS_FileOpen, h, (uint32_t)path, openmode, 0);
2447  }
2448 #else
2449  #define EvrFsEFS_FileOpen(h, path, openmode)
2450 #endif
2451 
2457 #ifdef EvtFsEFS_FileNameInvalid
2458  __STATIC_INLINE void EvrFsEFS_FileNameInvalid (const char *name, uint32_t len) {
2459  EventRecordData (EvtFsEFS_FileNameInvalid, (const uint8_t *)name, len);
2460  }
2461 #else
2462  #define EvrFsEFS_FileNameInvalid(name, len)
2463 #endif
2464 
2470 #ifdef EvtFsEFS_OpenModeUnsupported
2471  __STATIC_INLINE void EvrFsEFS_OpenModeUnsupported (uint32_t h, uint32_t openmode) {
2472  EventRecord2 (EvtFsEFS_OpenModeUnsupported, h, openmode);
2473  }
2474 #else
2475  #define EvrFsEFS_OpenModeUnsupported(h, openmode)
2476 #endif
2477 
2482 #ifdef EvtFsEFS_FileClose
2483  __STATIC_INLINE void EvrFsEFS_FileClose (uint32_t h) {
2484  EventRecord2 (EvtFsEFS_FileClose, h, 0);
2485  }
2486 #else
2487  #define EvrFsEFS_FileClose(h)
2488 #endif
2489 
2495 #ifdef EvtFsEFS_FileNotOpened
2496  __STATIC_INLINE void EvrFsEFS_FileNotOpened (uint32_t h, uint32_t flags) {
2497  EventRecord2 (EvtFsEFS_FileNotOpened, h, flags);
2498  }
2499 #else
2500  #define EvrFsEFS_FileNotOpened(h, flags)
2501 #endif
2502 
2509 #ifdef EvtFsEFS_FileRead
2510  __STATIC_INLINE void EvrFsEFS_FileRead (uint32_t h, uint8_t *buf, uint32_t len) {
2511  EventRecord4 (EvtFsEFS_FileRead, h, (uint32_t)buf, len, 0);
2512  }
2513 #else
2514  #define EvrFsEFS_FileRead(h, buf, len)
2515 #endif
2516 
2521 #ifdef EvtFsEFS_FileOpenWriteMode
2522  __STATIC_INLINE void EvrFsEFS_FileOpenWriteMode (uint32_t h) {
2523  EventRecord2 (EvtFsEFS_FileOpenWriteMode, h, 0);
2524  }
2525 #else
2526  #define EvrFsEFS_FileOpenWriteMode(h)
2527 #endif
2528 
2535 #ifdef EvtFsEFS_FileWrite
2536  __STATIC_INLINE void EvrFsEFS_FileWrite (uint32_t h, const uint8_t *buf, uint32_t len) {
2537  EventRecord4 (EvtFsEFS_FileWrite, h, (uint32_t)buf, len, 0);
2538  }
2539 #else
2540  #define EvrFsEFS_FileWrite(h, buf, len)
2541 #endif
2542 
2547 #ifdef EvtFsEFS_FileOpenReadMode
2548  __STATIC_INLINE void EvrFsEFS_FileOpenReadMode (uint32_t h) {
2549  EventRecord2 (EvtFsEFS_FileOpenReadMode, h, 0);
2550  }
2551 #else
2552  #define EvrFsEFS_FileOpenReadMode(h)
2553 #endif
2554 
2559 #ifdef EvtFsEFS_FileFlush
2560  __STATIC_INLINE void EvrFsEFS_FileFlush (uint32_t h) {
2561  EventRecord2 (EvtFsEFS_FileFlush, h, 0);
2562  }
2563 #else
2564  #define EvrFsEFS_FileFlush(h)
2565 #endif
2566 
2572 #ifdef EvtFsEFS_OpenModeInvalid
2573  __STATIC_INLINE void EvrFsEFS_OpenModeInvalid (uint32_t h, uint32_t flags) {
2574  EventRecord2 (EvtFsEFS_OpenModeInvalid, h, flags);
2575  }
2576 #else
2577  #define EvrFsEFS_OpenModeInvalid(h, flags)
2578 #endif
2579 
2585 #ifdef EvtFsEFS_FileSeek
2586  __STATIC_INLINE void EvrFsEFS_FileSeek (uint32_t h, uint32_t pos) {
2587  EventRecord2 (EvtFsEFS_FileSeek, h, pos);
2588  }
2589 #else
2590  #define EvrFsEFS_FileSeek(h, pos)
2591 #endif
2592 
2599 #ifdef EvtFsEFS_FileSeekEOF
2600  __STATIC_INLINE void EvrFsEFS_FileSeekEOF (uint32_t h, uint32_t size, uint32_t pos) {
2601  EventRecord4 (EvtFsEFS_FileSeekEOF, h, size, pos, 0);
2602  }
2603 #else
2604  #define EvrFsEFS_FileSeekEOF(h, size, pos)
2605 #endif
2606 
2612 #ifdef EvtFsEFS_FileDelete
2613  __STATIC_INLINE void EvrFsEFS_FileDelete (uint32_t drive, const char *path) {
2614  EventRecord2 (EvtFsEFS_FileDelete, drive, (uint32_t)path);
2615  }
2616 #else
2617  #define EvrFsEFS_FileDelete(drive, path)
2618 #endif
2619 
2626 #ifdef EvtFsEFS_FileRename
2627  __STATIC_INLINE void EvrFsEFS_FileRename (uint32_t drive, const char *path, const char *newname) {
2628  EventRecord4 (EvtFsEFS_FileRename, drive, (uint32_t)path, (uint32_t)newname, 0);
2629  }
2630 #else
2631  #define EvrFsEFS_FileRename(drive, path, newname)
2632 #endif
2633 
2638 #ifdef EvtFsEFS_FileNotFound
2639  __STATIC_INLINE void EvrFsEFS_FileNotFound (uint32_t drive) {
2640  EventRecord2 (EvtFsEFS_FileNotFound, drive, 0);
2641  }
2642 #else
2643  #define EvrFsEFS_FileNotFound(drive)
2644 #endif
2645 
2650 #ifdef EvtFsEFS_FileAlreadyExists
2651  __STATIC_INLINE void EvrFsEFS_FileAlreadyExists (uint32_t drive) {
2652  EventRecord2 (EvtFsEFS_FileAlreadyExists, drive, 0);
2653  }
2654 #else
2655  #define EvrFsEFS_FileAlreadyExists(drive)
2656 #endif
2657 
2662 #ifdef EvtFsEFS_FreeSpaceRetrieve
2663  __STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve (uint32_t drive) {
2664  EventRecord2 (EvtFsEFS_FreeSpaceRetrieve, drive, 0);
2665  }
2666 #else
2667  #define EvrFsEFS_FreeSpaceRetrieve(drive)
2668 #endif
2669 
2675 #ifdef EvtFsEFS_FreeSpaceAmount
2676  __STATIC_INLINE void EvrFsEFS_FreeSpaceAmount (uint32_t drive, uint32_t free) {
2677  EventRecord2 (EvtFsEFS_FreeSpaceAmount, drive, free);
2678  }
2679 #else
2680  #define EvrFsEFS_FreeSpaceAmount(drive, free)
2681 #endif
2682 
2687 #ifdef EvtFsEFS_DriveAnalyze
2688  __STATIC_INLINE void EvrFsEFS_DriveAnalyze (uint32_t drive) {
2689  EventRecord2 (EvtFsEFS_DriveAnalyze, drive, 0);
2690  }
2691 #else
2692  #define EvrFsEFS_DriveAnalyze(drive)
2693 #endif
2694 
2700 #ifdef EvtFsEFS_DriveAnalyzeSuccess
2701  __STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess (uint32_t drive, uint32_t factor) {
2702  EventRecord2 (EvtFsEFS_DriveAnalyzeSuccess, drive, factor);
2703  }
2704 #else
2705  #define EvrFsEFS_DriveAnalyzeSuccess(drive, factor)
2706 #endif
2707 
2712 #ifdef EvtFsEFS_DriveCheck
2713  __STATIC_INLINE void EvrFsEFS_DriveCheck (uint32_t drive) {
2714  EventRecord2 (EvtFsEFS_DriveCheck, drive, 0);
2715  }
2716 #else
2717  #define EvrFsEFS_DriveCheck(drive)
2718 #endif
2719 
2724 #ifdef EvtFsEFS_DriveCheckSuccess
2725  __STATIC_INLINE void EvrFsEFS_DriveCheckSuccess (uint32_t drive) {
2726  EventRecord2 (EvtFsEFS_DriveCheckSuccess, drive, 0);
2727  }
2728 #else
2729  #define EvrFsEFS_DriveCheckSuccess(drive)
2730 #endif
2731 
2736 #ifdef EvtFsEFS_DataAreaOverlap
2737  __STATIC_INLINE void EvrFsEFS_DataAreaOverlap (uint32_t drive) {
2738  EventRecord2 (EvtFsEFS_DataAreaOverlap, drive, 0);
2739  }
2740 #else
2741  #define EvrFsEFS_DataAreaOverlap(drive)
2742 #endif
2743 
2748 #ifdef EvtFsEFS_FileIdInvalid
2749  __STATIC_INLINE void EvrFsEFS_FileIdInvalid (uint32_t drive) {
2750  EventRecord2 (EvtFsEFS_FileIdInvalid, drive, 0);
2751  }
2752 #else
2753  #define EvrFsEFS_FileIdInvalid(drive)
2754 #endif
2755 
2760 #ifdef EvtFsEFS_AllocationOrderInvalid
2761  __STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid (uint32_t drive) {
2762  EventRecord2 (EvtFsEFS_AllocationOrderInvalid, drive, 0);
2763  }
2764 #else
2765  #define EvrFsEFS_AllocationOrderInvalid(drive)
2766 #endif
2767 
2772 #ifdef EvtFsEFS_AllocationAreaOverlap
2773  __STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap (uint32_t drive) {
2774  EventRecord2 (EvtFsEFS_AllocationAreaOverlap, drive, 0);
2775  }
2776 #else
2777  #define EvrFsEFS_AllocationAreaOverlap(drive)
2778 #endif
2779 
2784 #ifdef EvtFsEFS_DriveDefrag
2785  __STATIC_INLINE void EvrFsEFS_DriveDefrag (uint32_t drive) {
2786  EventRecord2 (EvtFsEFS_DriveDefrag, drive, 0);
2787  }
2788 #else
2789  #define EvrFsEFS_DriveDefrag(drive)
2790 #endif
2791 
2797 #ifdef EvtFsEFS_FileHandleActive
2798  __STATIC_INLINE void EvrFsEFS_FileHandleActive (uint32_t drive, uint32_t h) {
2799  EventRecord2 (EvtFsEFS_FileHandleActive, drive, h);
2800  }
2801 #else
2802  #define EvrFsEFS_FileHandleActive(drive, h)
2803 #endif
2804 
2809 #ifdef EvtFsEFS_FileHandleUnavailable
2810  __STATIC_INLINE void EvrFsEFS_FileHandleUnavailable (uint32_t drive) {
2811  EventRecord2 (EvtFsEFS_FileHandleUnavailable, drive, 0);
2812  }
2813 #else
2814  #define EvrFsEFS_FileHandleUnavailable(drive)
2815 #endif
2816 
2821 #ifdef EvtFsEFS_FileHandleInvalid
2822  __STATIC_INLINE void EvrFsEFS_FileHandleInvalid (uint32_t h) {
2823  EventRecord2 (EvtFsEFS_FileHandleInvalid, h, 0);
2824  }
2825 #else
2826  #define EvrFsEFS_FileHandleInvalid(h)
2827 #endif
2828 
2833 #ifdef EvtFsEFS_FileInUse
2834  __STATIC_INLINE void EvrFsEFS_FileInUse (uint32_t h) {
2835  EventRecord2 (EvtFsEFS_FileInUse, h, 0);
2836  }
2837 #else
2838  #define EvrFsEFS_FileInUse(h)
2839 #endif
2840 
2845 #ifdef EvtFsEFS_DiskFull
2846  __STATIC_INLINE void EvrFsEFS_DiskFull (uint32_t drive) {
2847  EventRecord2 (EvtFsEFS_DiskFull, drive, 0);
2848  }
2849 #else
2850  #define EvrFsEFS_DiskFull(drive)
2851 #endif
2852 
2860 #ifdef EvtFsEFS_FlashWriteFailed
2861  __STATIC_INLINE void EvrFsEFS_FlashWriteFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2862  EventRecord4 (EvtFsEFS_FlashWriteFailed, drive, addr, (uint32_t)buf, cnt);
2863  }
2864 #else
2865  #define EvrFsEFS_FlashWriteFailed(drive, addr, buf, cnt)
2866 #endif
2867 
2875 #ifdef EvtFsEFS_FlashReadFailed
2876  __STATIC_INLINE void EvrFsEFS_FlashReadFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2877  EventRecord4 (EvtFsEFS_FlashReadFailed, drive, addr, (uint32_t)buf, cnt);
2878  }
2879 #else
2880  #define EvrFsEFS_FlashReadFailed(drive, addr, buf, cnt)
2881 #endif
2882 
2890 #ifdef EvtFsEFS_FlashReadTimeout
2891  __STATIC_INLINE void EvrFsEFS_FlashReadTimeout (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2892  EventRecord4 (EvtFsEFS_FlashReadTimeout, drive, addr, (uint32_t)buf, cnt);
2893  }
2894 #else
2895  #define EvrFsEFS_FlashReadTimeout(drive, addr, buf, cnt)
2896 #endif
2897 
2904 #ifdef EvtFsEFS_FlashEraseFailed
2905  __STATIC_INLINE void EvrFsEFS_FlashEraseFailed (uint32_t drive, uint32_t block, uint32_t addr) {
2906  EventRecord4 (EvtFsEFS_FlashEraseFailed, drive, block, addr, 0);
2907  }
2908 #else
2909  #define EvrFsEFS_FlashEraseFailed(drive, block, addr)
2910 #endif
2911 
2916 #ifdef EvtFsEFS_InvalidParameter
2917  __STATIC_INLINE void EvrFsEFS_InvalidParameter (uint32_t drive) {
2918  EventRecord2 (EvtFsEFS_InvalidParameter, drive, 0);
2919  }
2920 #else
2921  #define EvrFsEFS_InvalidParameter(drive)
2922 #endif
2923 
2928 #ifdef EvtFsEFS_DriveNotMounted
2929  __STATIC_INLINE void EvrFsEFS_DriveNotMounted (uint32_t drive) {
2930  EventRecord2 (EvtFsEFS_DriveNotMounted, drive, 0);
2931  }
2932 #else
2933  #define EvrFsEFS_DriveNotMounted(drive)
2934 #endif
2935 
2940 #ifdef EvtFsEFS_DriveNotInitialized
2941  __STATIC_INLINE void EvrFsEFS_DriveNotInitialized (uint32_t drive) {
2942  EventRecord2 (EvtFsEFS_DriveNotInitialized, drive, 0);
2943  }
2944 #else
2945  #define EvrFsEFS_DriveNotInitialized(drive)
2946 #endif
2947 
2953 #ifdef EvtFsEFS_FileName
2954  __STATIC_INLINE void EvrFsEFS_FileName (const char *buf, uint32_t len) {
2955  EventRecordData (EvtFsEFS_FileName, (const uint8_t *)buf, len);
2956  }
2957 #else
2958  #define EvrFsEFS_FileName(buf, len)
2959 #endif
2960 
2968 #ifdef EvtFsEFS_FileAllocWrite
2969  __STATIC_INLINE void EvrFsEFS_FileAllocWrite (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) {
2970  EventRecord4 (EvtFsEFS_FileAllocWrite, addr, end, fileID, index);
2971  }
2972 #else
2973  #define EvrFsEFS_FileAllocWrite(addr, end, fileID, index)
2974 #endif
2975 
2983 #ifdef EvtFsEFS_FileAllocRead
2984  __STATIC_INLINE void EvrFsEFS_FileAllocRead (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) {
2985  EventRecord4 (EvtFsEFS_FileAllocRead, addr, end, fileID, index);
2986  }
2987 #else
2988  #define EvrFsEFS_FileAllocRead(addr, end, fileID, index)
2989 #endif
2990 
2991 
2996 #ifdef EvtFsIOC_GetId
2997  __STATIC_INLINE void EvrFsIOC_GetId (uint32_t drive) {
2998  EventRecord2 (EvtFsIOC_GetId, drive, 0);
2999  }
3000 #else
3001  #define EvrFsIOC_GetId(drive)
3002 #endif
3003 
3009 #ifdef EvtFsIOC_GetIdSuccess
3010  __STATIC_INLINE void EvrFsIOC_GetIdSuccess (uint32_t drive, uint32_t drv_id) {
3011  EventRecord2 (EvtFsIOC_GetIdSuccess, drive, drv_id);
3012  }
3013 #else
3014  #define EvrFsIOC_GetIdSuccess(drive, drv_id)
3015 #endif
3016 
3021 #ifdef EvtFsIOC_GetIdError
3022  __STATIC_INLINE void EvrFsIOC_GetIdError (uint32_t drive) {
3023  EventRecord2 (EvtFsIOC_GetIdError, drive, 0);
3024  }
3025 #else
3026  #define EvrFsIOC_GetIdError(drive)
3027 #endif
3028 
3033 #ifdef EvtFsIOC_Lock
3034  __STATIC_INLINE void EvrFsIOC_Lock (uint32_t drv_id) {
3035  EventRecord2 (EvtFsIOC_Lock, drv_id, 0);
3036  }
3037 #else
3038  #define EvrFsIOC_Lock(drv_id)
3039 #endif
3040 
3045 #ifdef EvtFsIOC_LockSuccess
3046  __STATIC_INLINE void EvrFsIOC_LockSuccess (uint32_t drv_id) {
3047  EventRecord2 (EvtFsIOC_LockSuccess, drv_id, 0);
3048  }
3049 #else
3050  #define EvrFsIOC_LockSuccess(drv_id)
3051 #endif
3052 
3057 #ifdef EvtFsIOC_Unlock
3058  __STATIC_INLINE void EvrFsIOC_Unlock (uint32_t drv_id) {
3059  EventRecord2 (EvtFsIOC_Unlock, drv_id, 0);
3060  }
3061 #else
3062  #define EvrFsIOC_Unlock(drv_id)
3063 #endif
3064 
3069 #ifdef EvtFsIOC_UnlockSuccess
3070  __STATIC_INLINE void EvrFsIOC_UnlockSuccess (uint32_t drv_id) {
3071  EventRecord2 (EvtFsIOC_UnlockSuccess, drv_id, 0);
3072  }
3073 #else
3074  #define EvrFsIOC_UnlockSuccess(drv_id)
3075 #endif
3076 
3082 #ifdef EvtFsIOC_GetCache
3083  __STATIC_INLINE void EvrFsIOC_GetCache (uint32_t drv_id, uint32_t cache_info) {
3084  EventRecord2 (EvtFsIOC_GetCache, drv_id, cache_info);
3085  }
3086 #else
3087  #define EvrFsIOC_GetCache(drv_id, cache_info)
3088 #endif
3089 
3096 #ifdef EvtFsIOC_GetCacheSuccess
3097  __STATIC_INLINE void EvrFsIOC_GetCacheSuccess (uint32_t drv_id, uint32_t buf, uint32_t size) {
3098  EventRecord4 (EvtFsIOC_GetCacheSuccess, drv_id, buf, size, 0);
3099  }
3100 #else
3101  #define EvrFsIOC_GetCacheSuccess(drv_id, buf, size)
3102 #endif
3103 
3111 #ifdef EvtFsIOC_ReadSector
3112  __STATIC_INLINE void EvrFsIOC_ReadSector (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3113  EventRecord4 (EvtFsIOC_ReadSector, drv_id, sect, buf, cnt);
3114  }
3115 #else
3116  #define EvrFsIOC_ReadSector(drv_id, sect, buf, cnt)
3117 #endif
3118 
3126 #ifdef EvtFsIOC_ReadSectorSuccess
3127  __STATIC_INLINE void EvrFsIOC_ReadSectorSuccess (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3128  EventRecord4 (EvtFsIOC_ReadSectorSuccess, drv_id, sect, buf, cnt);
3129  }
3130 #else
3131  #define EvrFsIOC_ReadSectorSuccess(drv_id, sect, buf, cnt)
3132 #endif
3133 
3141 #ifdef EvtFsIOC_ReadSectorError
3142  __STATIC_INLINE void EvrFsIOC_ReadSectorError (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3143  EventRecord4 (EvtFsIOC_ReadSectorError, drv_id, sect, buf, cnt);
3144  }
3145 #else
3146  #define EvrFsIOC_ReadSectorError(drv_id, sect, buf, cnt)
3147 #endif
3148 
3156 #ifdef EvtFsIOC_WriteSector
3157  __STATIC_INLINE void EvrFsIOC_WriteSector (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3158  EventRecord4 (EvtFsIOC_WriteSector, drv_id, sect, buf, cnt);
3159  }
3160 #else
3161  #define EvrFsIOC_WriteSector(drv_id, sect, buf, cnt)
3162 #endif
3163 
3171 #ifdef EvtFsIOC_WriteSectorSuccess
3172  __STATIC_INLINE void EvrFsIOC_WriteSectorSuccess (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3173  EventRecord4 (EvtFsIOC_WriteSectorSuccess, drv_id, sect, buf, cnt);
3174  }
3175 #else
3176  #define EvrFsIOC_WriteSectorSuccess(drv_id, sect, buf, cnt)
3177 #endif
3178 
3186 #ifdef EvtFsIOC_WriteSectorError
3187  __STATIC_INLINE void EvrFsIOC_WriteSectorError (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3188  EventRecord4 (EvtFsIOC_WriteSectorError, drv_id, sect, buf, cnt);
3189  }
3190 #else
3191  #define EvrFsIOC_WriteSectorError(drv_id, sect, buf, cnt)
3192 #endif
3193 
3199 #ifdef EvtFsIOC_ReadInfo
3200  __STATIC_INLINE void EvrFsIOC_ReadInfo (uint32_t drv_id, uint32_t info) {
3201  EventRecord2 (EvtFsIOC_ReadInfo, drv_id, info);
3202  }
3203 #else
3204  #define EvrFsIOC_ReadInfo(drv_id, info)
3205 #endif
3206 
3212 #ifdef EvtFsIOC_ReadInfoSuccess
3213  __STATIC_INLINE void EvrFsIOC_ReadInfoSuccess (uint32_t drv_id, uint32_t block_count) {
3214  EventRecord2 (EvtFsIOC_ReadInfoSuccess, drv_id, block_count);
3215  }
3216 #else
3217  #define EvrFsIOC_ReadInfoSuccess(drv_id, block_count)
3218 #endif
3219 
3224 #ifdef EvtFsIOC_ReadInfoError
3225  __STATIC_INLINE void EvrFsIOC_ReadInfoError (uint32_t drv_id) {
3226  EventRecord2 (EvtFsIOC_ReadInfoError, drv_id, 0);
3227  }
3228 #else
3229  #define EvrFsIOC_ReadInfoError(drv_id)
3230 #endif
3231 
3238 #ifdef EvtFsIOC_DeviceControl
3239  __STATIC_INLINE void EvrFsIOC_DeviceControl (uint32_t drv_id, uint32_t code, uint32_t p) {
3240  EventRecord4 (EvtFsIOC_DeviceControl, drv_id, code, p, 0);
3241  }
3242 #else
3243  #define EvrFsIOC_DeviceControl(drv_id, code, p)
3244 #endif
3245 
3252 #ifdef EvtFsIOC_DeviceControlSuccess
3253  __STATIC_INLINE void EvrFsIOC_DeviceControlSuccess (uint32_t drv_id, uint32_t code, uint32_t p) {
3254  EventRecord4 (EvtFsIOC_DeviceControlSuccess, drv_id, code, p, 0);
3255  }
3256 #else
3257  #define EvrFsIOC_DeviceControlSuccess(drv_id, code, p)
3258 #endif
3259 
3264 #ifdef EvtFsIOC_DriveIdInvalid
3265  __STATIC_INLINE void EvrFsIOC_DriveIdInvalid (uint32_t drv_id) {
3266  EventRecord2 (EvtFsIOC_DriveIdInvalid, drv_id, 0);
3267  }
3268 #else
3269  #define EvrFsIOC_DriveIdInvalid(drv_id)
3270 #endif
3271 
3276 #ifdef EvtFsIOC_DriveNotFAT
3277  __STATIC_INLINE void EvrFsIOC_DriveNotFAT (uint32_t drv_id) {
3278  EventRecord2 (EvtFsIOC_DriveNotFAT, drv_id, 0);
3279  }
3280 #else
3281  #define EvrFsIOC_DriveNotFAT(drv_id)
3282 #endif
3283 
3288 #ifdef EvtFsIOC_NotAllowed
3289  __STATIC_INLINE void EvrFsIOC_NotAllowed (uint32_t drive) {
3290  EventRecord2 (EvtFsIOC_NotAllowed, drive, 0);
3291  }
3292 #else
3293  #define EvrFsIOC_NotAllowed(drive)
3294 #endif
3295 
3300 #ifdef EvtFsNFTL_Init
3301  __STATIC_INLINE void EvrFsNFTL_Init (uint32_t instance) {
3302  EventRecord2 (EvtFsNFTL_Init, instance, 0);
3303  }
3304 #else
3305  #define EvrFsNFTL_Init(instance)
3306 #endif
3307 
3312 #ifdef EvtFsNFTL_InitMediaFailed
3313  __STATIC_INLINE void EvrFsNFTL_InitMediaFailed (uint32_t instance) {
3314  EventRecord2 (EvtFsNFTL_InitMediaFailed, instance, 0);
3315  }
3316 #else
3317  #define EvrFsNFTL_InitMediaFailed(instance)
3318 #endif
3319 
3324 #ifdef EvtFsNFTL_Mount
3325  __STATIC_INLINE void EvrFsNFTL_Mount (uint32_t instance) {
3326  EventRecord2 (EvtFsNFTL_Mount, instance, 0);
3327  }
3328 #else
3329  #define EvrFsNFTL_Mount(instance)
3330 #endif
3331 
3336 #ifdef EvtFsNFTL_MountSuccess
3337  __STATIC_INLINE void EvrFsNFTL_MountSuccess (uint32_t instance) {
3338  EventRecord2 (EvtFsNFTL_MountSuccess, instance, 0);
3339  }
3340 #else
3341  #define EvrFsNFTL_MountSuccess(instance)
3342 #endif
3343 
3348 #ifdef EvtFsNFTL_DeviceNotInitialized
3349  __STATIC_INLINE void EvrFsNFTL_DeviceNotInitialized (uint32_t instance) {
3350  EventRecord2 (EvtFsNFTL_DeviceNotInitialized, instance, 0);
3351  }
3352 #else
3353  #define EvrFsNFTL_DeviceNotInitialized(instance)
3354 #endif
3355 
3360 #ifdef EvtFsNFTL_ResetDevice
3361  __STATIC_INLINE void EvrFsNFTL_ResetDevice (uint32_t instance) {
3362  EventRecord2 (EvtFsNFTL_ResetDevice, instance, 0);
3363  }
3364 #else
3365  #define EvrFsNFTL_ResetDevice(instance)
3366 #endif
3367 
3372 #ifdef EvtFsNFTL_ResetDeviceFailed
3373  __STATIC_INLINE void EvrFsNFTL_ResetDeviceFailed (uint32_t instance) {
3374  EventRecord2 (EvtFsNFTL_ResetDeviceFailed, instance, 0);
3375  }
3376 #else
3377  #define EvrFsNFTL_ResetDeviceFailed(instance)
3378 #endif
3379 
3384 #ifdef EvtFsNFTL_ResetDeviceTimeout
3385  __STATIC_INLINE void EvrFsNFTL_ResetDeviceTimeout (uint32_t instance) {
3386  EventRecord2 (EvtFsNFTL_ResetDeviceTimeout, instance, 0);
3387  }
3388 #else
3389  #define EvrFsNFTL_ResetDeviceTimeout(instance)
3390 #endif
3391 
3396 #ifdef EvtFsNFTL_ReadBootBlock
3397  __STATIC_INLINE void EvrFsNFTL_ReadBootBlock (uint32_t instance) {
3398  EventRecord2 (EvtFsNFTL_ReadBootBlock, instance, 0);
3399  }
3400 #else
3401  #define EvrFsNFTL_ReadBootBlock(instance)
3402 #endif
3403 
3408 #ifdef EvtFsNFTL_ReadBootBlockFailed
3409  __STATIC_INLINE void EvrFsNFTL_ReadBootBlockFailed (uint32_t instance) {
3410  EventRecord2 (EvtFsNFTL_ReadBootBlockFailed, instance, 0);
3411  }
3412 #else
3413  #define EvrFsNFTL_ReadBootBlockFailed(instance)
3414 #endif
3415 
3420 #ifdef EvtFsNFTL_BootSignatureValid
3421  __STATIC_INLINE void EvrFsNFTL_BootSignatureValid (uint32_t instance) {
3422  EventRecord2 (EvtFsNFTL_BootSignatureValid, instance, 0);
3423  }
3424 #else
3425  #define EvrFsNFTL_BootSignatureValid(instance)
3426 #endif
3427 
3432 #ifdef EvtFsNFTL_BootSignatureInvalid
3433  __STATIC_INLINE void EvrFsNFTL_BootSignatureInvalid (uint32_t instance) {
3434  EventRecord2 (EvtFsNFTL_BootSignatureInvalid, instance, 0);
3435  }
3436 #else
3437  #define EvrFsNFTL_BootSignatureInvalid(instance)
3438 #endif
3439 
3445 #ifdef EvtFsNFTL_DataBlockCapacity
3446  __STATIC_INLINE void EvrFsNFTL_DataBlockCapacity (uint32_t instance, uint32_t capacity) {
3447  EventRecord2 (EvtFsNFTL_DataBlockCapacity, instance, capacity);
3448  }
3449 #else
3450  #define EvrFsNFTL_DataBlockCapacity(instance, capacity)
3451 #endif
3452 
3457 #ifdef EvtFsNFTL_ReadTable
3458  __STATIC_INLINE void EvrFsNFTL_ReadTable (uint32_t instance) {
3459  EventRecord2 (EvtFsNFTL_ReadTable, instance, 0);
3460  }
3461 #else
3462  #define EvrFsNFTL_ReadTable(instance)
3463 #endif
3464 
3469 #ifdef EvtFsNFTL_ReadTableFailed
3470  __STATIC_INLINE void EvrFsNFTL_ReadTableFailed (uint32_t instance) {
3471  EventRecord2 (EvtFsNFTL_ReadTableFailed, instance, 0);
3472  }
3473 #else
3474  #define EvrFsNFTL_ReadTableFailed(instance)
3475 #endif
3476 
3481 #ifdef EvtFsNFTL_Uninit
3482  __STATIC_INLINE void EvrFsNFTL_Uninit (uint32_t instance) {
3483  EventRecord2 (EvtFsNFTL_Uninit, instance, 0);
3484  }
3485 #else
3486  #define EvrFsNFTL_Uninit(instance)
3487 #endif
3488 
3493 #ifdef EvtFsNFTL_UninitDriver
3494  __STATIC_INLINE void EvrFsNFTL_UninitDriver (uint32_t instance) {
3495  EventRecord2 (EvtFsNFTL_UninitDriver, instance, 0);
3496  }
3497 #else
3498  #define EvrFsNFTL_UninitDriver(instance)
3499 #endif
3500 
3505 #ifdef EvtFsNFTL_UninitDriverFailed
3506  __STATIC_INLINE void EvrFsNFTL_UninitDriverFailed (uint32_t instance) {
3507  EventRecord2 (EvtFsNFTL_UninitDriverFailed, instance, 0);
3508  }
3509 #else
3510  #define EvrFsNFTL_UninitDriverFailed(instance)
3511 #endif
3512 
3518 #ifdef EvtFsNFTL_ReadInfo
3519  __STATIC_INLINE void EvrFsNFTL_ReadInfo (uint32_t instance, uint32_t info) {
3520  EventRecord2 (EvtFsNFTL_ReadInfo, instance, info);
3521  }
3522 #else
3523  #define EvrFsNFTL_ReadInfo(instance, info)
3524 #endif
3525 
3531 #ifdef EvtFsNFTL_ReadInfoSuccess
3532  __STATIC_INLINE void EvrFsNFTL_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
3533  EventRecord2 (EvtFsNFTL_ReadInfoSuccess, instance, sect_count);
3534  }
3535 #else
3536  #define EvrFsNFTL_ReadInfoSuccess(instance, sect_count)
3537 #endif
3538 
3545 #ifdef EvtFsNFTL_DevCtrl
3546  __STATIC_INLINE void EvrFsNFTL_DevCtrl (uint32_t instance, uint32_t code, void *p) {
3547  EventRecord4 (EvtFsNFTL_DevCtrl, instance, code, (uint32_t)p, 0);
3548  }
3549 #else
3550  #define EvrFsNFTL_DevCtrl(instance, code, p)
3551 #endif
3552 
3558 #ifdef EvtFsNFTL_DevCtrlUnsupported
3559  __STATIC_INLINE void EvrFsNFTL_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
3560  EventRecord2 (EvtFsNFTL_DevCtrlUnsupported, instance, code);
3561  }
3562 #else
3563  #define EvrFsNFTL_DevCtrlUnsupported(instance, code)
3564 #endif
3565 
3570 #ifdef EvtFsNFTL_Format
3571  __STATIC_INLINE void EvrFsNFTL_Format (uint32_t instance) {
3572  EventRecord2 (EvtFsNFTL_Format, instance, 0);
3573  }
3574 #else
3575  #define EvrFsNFTL_Format(instance)
3576 #endif
3577 
3582 #ifdef EvtFsNFTL_FormatSuccess
3583  __STATIC_INLINE void EvrFsNFTL_FormatSuccess (uint32_t instance) {
3584  EventRecord2 (EvtFsNFTL_FormatSuccess, instance, 0);
3585  }
3586 #else
3587  #define EvrFsNFTL_FormatSuccess(instance)
3588 #endif
3589 
3594 #ifdef EvtFsNFTL_FormatLLEB
3595  __STATIC_INLINE void EvrFsNFTL_FormatLLEB (uint32_t instance) {
3596  EventRecord2 (EvtFsNFTL_FormatLLEB, instance, 0);
3597  }
3598 #else
3599  #define EvrFsNFTL_FormatLLEB(instance)
3600 #endif
3601 
3607 #ifdef EvtFsNFTL_BBMPositionSet
3608  __STATIC_INLINE void EvrFsNFTL_BBMPositionSet (uint32_t instance, uint32_t pos) {
3609  EventRecord2 (EvtFsNFTL_BBMPositionSet, instance, pos);
3610  }
3611 #else
3612  #define EvrFsNFTL_BBMPositionSet(instance, pos)
3613 #endif
3614 
3620 #ifdef EvtFsNFTL_BadBlockDetected
3621  __STATIC_INLINE void EvrFsNFTL_BadBlockDetected (uint32_t instance, uint32_t block) {
3622  EventRecord2 (EvtFsNFTL_BadBlockDetected, instance, block);
3623  }
3624 #else
3625  #define EvrFsNFTL_BadBlockDetected(instance, block)
3626 #endif
3627 
3633 #ifdef EvtFsNFTL_BadBlockMark
3634  __STATIC_INLINE void EvrFsNFTL_BadBlockMark (uint32_t instance, uint32_t block) {
3635  EventRecord2 (EvtFsNFTL_BadBlockMark, instance, block);
3636  }
3637 #else
3638  #define EvrFsNFTL_BadBlockMark(instance, block)
3639 #endif
3640 
3648 #ifdef EvtFsNFTL_WriteSector
3649  __STATIC_INLINE void EvrFsNFTL_WriteSector (uint32_t instance, uint32_t sector, const uint8_t *buf, uint32_t cnt) {
3650  EventRecord4 (EvtFsNFTL_WriteSector, instance, sector, (uint32_t)buf, cnt);
3651  }
3652 #else
3653  #define EvrFsNFTL_WriteSector(instance, sector, buf, cnt)
3654 #endif
3655 
3660 #ifdef EvtFsNFTL_WriteSectorSuccess
3661  __STATIC_INLINE void EvrFsNFTL_WriteSectorSuccess (uint32_t instance) {
3662  EventRecord2 (EvtFsNFTL_WriteSectorSuccess, instance, 0);
3663  }
3664 #else
3665  #define EvrFsNFTL_WriteSectorSuccess(instance)
3666 #endif
3667 
3675 #ifdef EvtFsNFTL_ReadSector
3676  __STATIC_INLINE void EvrFsNFTL_ReadSector (uint32_t instance, uint32_t sector, uint8_t *buf, uint32_t cnt) {
3677  EventRecord4 (EvtFsNFTL_ReadSector, instance, sector, (uint32_t)buf, cnt);
3678  }
3679 #else
3680  #define EvrFsNFTL_ReadSector(instance, sector, buf, cnt)
3681 #endif
3682 
3687 #ifdef EvtFsNFTL_ReadSectorSuccess
3688  __STATIC_INLINE void EvrFsNFTL_ReadSectorSuccess (uint32_t instance) {
3689  EventRecord2 (EvtFsNFTL_ReadSectorSuccess, instance, 0);
3690  }
3691 #else
3692  #define EvrFsNFTL_ReadSectorSuccess(instance)
3693 #endif
3694 
3701 #ifdef EvtFsNFTL_LsnToLbn
3702  __STATIC_INLINE void EvrFsNFTL_LsnToLbn (uint32_t instance, uint32_t lsn, uint32_t lbn) {
3703  EventRecord4 (EvtFsNFTL_LsnToLbn, instance, lsn, lbn, 0);
3704  }
3705 #else
3706  #define EvrFsNFTL_LsnToLbn(instance, lsn, lbn)
3707 #endif
3708 
3716 #ifdef EvtFsNFTL_LbnToPbn
3717  __STATIC_INLINE void EvrFsNFTL_LbnToPbn (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) {
3718  EventRecord4 (EvtFsNFTL_LbnToPbn, instance, lbn, pbn_0, pbn_1);
3719  }
3720 #else
3721  #define EvrFsNFTL_LbnToPbn(instance, lbn, pbn_0, pbn_1)
3722 #endif
3723 
3730 #ifdef EvtFsNFTL_LbnOutOfRange
3731  __STATIC_INLINE void EvrFsNFTL_LbnOutOfRange (uint32_t instance, uint32_t lbn, uint32_t max) {
3732  EventRecord4 (EvtFsNFTL_LbnOutOfRange, instance, lbn, max, 0);
3733  }
3734 #else
3735  #define EvrFsNFTL_LbnOutOfRange(instance, lbn, max)
3736 #endif
3737 
3744 #ifdef EvtFsNFTL_PbnOutOfRange
3745  __STATIC_INLINE void EvrFsNFTL_PbnOutOfRange (uint32_t instance, uint32_t pbn, uint32_t max) {
3746  EventRecord4 (EvtFsNFTL_PbnOutOfRange, instance, pbn, max, 0);
3747  }
3748 #else
3749  #define EvrFsNFTL_PbnOutOfRange(instance, pbn, max)
3750 #endif
3751 
3757 #ifdef EvtFsNFTL_TableLookup
3758  __STATIC_INLINE void EvrFsNFTL_TableLookup (uint32_t instance, uint32_t lbn) {
3759  EventRecord2 (EvtFsNFTL_TableLookup, instance, lbn);
3760  }
3761 #else
3762  #define EvrFsNFTL_TableLookup(instance, lbn)
3763 #endif
3764 
3770 #ifdef EvtFsNFTL_TableEntryNotFound
3771  __STATIC_INLINE void EvrFsNFTL_TableEntryNotFound (uint32_t instance, uint32_t lbn) {
3772  EventRecord2 (EvtFsNFTL_TableEntryNotFound, instance, lbn);
3773  }
3774 #else
3775  #define EvrFsNFTL_TableEntryNotFound(instance, lbn)
3776 #endif
3777 
3783 #ifdef EvtFsNFTL_AllocateBlock
3784  __STATIC_INLINE void EvrFsNFTL_AllocateBlock (uint32_t instance, uint32_t area) {
3785  EventRecord2 (EvtFsNFTL_AllocateBlock, instance, area);
3786  }
3787 #else
3788  #define EvrFsNFTL_AllocateBlock(instance, area)
3789 #endif
3790 
3797 #ifdef EvtFsNFTL_LsnFind
3798  __STATIC_INLINE void EvrFsNFTL_LsnFind (uint32_t instance, uint32_t lsn, uint32_t pbn) {
3799  EventRecord4 (EvtFsNFTL_LsnFind, instance, lsn, pbn, 0);
3800  }
3801 #else
3802  #define EvrFsNFTL_LsnFind(instance, lsn, pbn)
3803 #endif
3804 
3812 #ifdef EvtFsNFTL_LsnFound
3813  __STATIC_INLINE void EvrFsNFTL_LsnFound (uint32_t instance, uint32_t lsn, uint32_t pbn, uint32_t pg) {
3814  EventRecord4 (EvtFsNFTL_LsnFound, instance, lsn, pbn, pg);
3815  }
3816 #else
3817  #define EvrFsNFTL_LsnFound(instance, lsn, pbn, pg)
3818 #endif
3819 
3826 #ifdef EvtFsNFTL_LsnNotFound
3827  __STATIC_INLINE void EvrFsNFTL_LsnNotFound (uint32_t instance, uint32_t lsn, uint32_t pbn) {
3828  EventRecord4 (EvtFsNFTL_LsnNotFound, instance, lsn, pbn, 0);
3829  }
3830 #else
3831  #define EvrFsNFTL_LsnNotFound(instance, lsn, pbn)
3832 #endif
3833 
3841 #ifdef EvtFsNFTL_GarbageCollection
3842  __STATIC_INLINE void EvrFsNFTL_GarbageCollection (uint32_t instance, uint32_t src_0, uint32_t src_1, uint32_t dst) {
3843  EventRecord4 (EvtFsNFTL_GarbageCollection, instance, src_0, src_1, dst);
3844  }
3845 #else
3846  #define EvrFsNFTL_GarbageCollection(instance, src_0, src_1, dst)
3847 #endif
3848 
3854 #ifdef EvtFsNFTL_SetBadBlockMarker
3855  __STATIC_INLINE void EvrFsNFTL_SetBadBlockMarker (uint32_t instance, uint32_t pbn) {
3856  EventRecord2 (EvtFsNFTL_SetBadBlockMarker, instance, pbn);
3857  }
3858 #else
3859  #define EvrFsNFTL_SetBadBlockMarker(instance, pbn)
3860 #endif
3861 
3868 #ifdef EvtFsNFTL_MoveData
3869  __STATIC_INLINE void EvrFsNFTL_MoveData (uint32_t instance, uint32_t src, uint32_t dst) {
3870  EventRecord4 (EvtFsNFTL_MoveData, instance, src, dst, 0);
3871  }
3872 #else
3873  #define EvrFsNFTL_MoveData(instance, src, dst)
3874 #endif
3875 
3881 #ifdef EvtFsNFTL_RelocateBlock
3882  __STATIC_INLINE void EvrFsNFTL_RelocateBlock (uint32_t instance, uint32_t pbn) {
3883  EventRecord2 (EvtFsNFTL_RelocateBlock, instance, pbn);
3884  }
3885 #else
3886  #define EvrFsNFTL_RelocateBlock(instance, pbn)
3887 #endif
3888 
3894 #ifdef EvtFsNFTL_RelocateBlockFailed
3895  __STATIC_INLINE void EvrFsNFTL_RelocateBlockFailed (uint32_t instance, uint32_t pbn) {
3896  EventRecord2 (EvtFsNFTL_RelocateBlockFailed, instance, pbn);
3897  }
3898 #else
3899  #define EvrFsNFTL_RelocateBlockFailed(instance, pbn)
3900 #endif
3901 
3907 #ifdef EvtFsNFTL_SkipBadBlock
3908  __STATIC_INLINE void EvrFsNFTL_SkipBadBlock (uint32_t instance, uint32_t pbn) {
3909  EventRecord2 (EvtFsNFTL_SkipBadBlock, instance, pbn);
3910  }
3911 #else
3912  #define EvrFsNFTL_SkipBadBlock(instance, pbn)
3913 #endif
3914 
3920 #ifdef EvtFsNFTL_PageReadFailed
3921  __STATIC_INLINE void EvrFsNFTL_PageReadFailed (uint32_t instance, uint32_t row) {
3922  EventRecord2 (EvtFsNFTL_PageReadFailed, instance, row);
3923  }
3924 #else
3925  #define EvrFsNFTL_PageReadFailed(instance, row)
3926 #endif
3927 
3933 #ifdef EvtFsNFTL_PageProgramStatusErr
3934  __STATIC_INLINE void EvrFsNFTL_PageProgramStatusErr (uint32_t instance, uint32_t row) {
3935  EventRecord2 (EvtFsNFTL_PageProgramStatusErr, instance, row);
3936  }
3937 #else
3938  #define EvrFsNFTL_PageProgramStatusErr(instance, row)
3939 #endif
3940 
3946 #ifdef EvtFsNFTL_PageProgramFailed
3947  __STATIC_INLINE void EvrFsNFTL_PageProgramFailed (uint32_t instance, uint32_t row) {
3948  EventRecord2 (EvtFsNFTL_PageProgramFailed, instance, row);
3949  }
3950 #else
3951  #define EvrFsNFTL_PageProgramFailed(instance, row)
3952 #endif
3953 
3959 #ifdef EvtFsNFTL_PageProgramTimeout
3960  __STATIC_INLINE void EvrFsNFTL_PageProgramTimeout (uint32_t instance, uint32_t row) {
3961  EventRecord2 (EvtFsNFTL_PageProgramTimeout, instance, row);
3962  }
3963 #else
3964  #define EvrFsNFTL_PageProgramTimeout(instance, row)
3965 #endif
3966 
3972 #ifdef EvtFsNFTL_BlockEraseStatusErr
3973  __STATIC_INLINE void EvrFsNFTL_BlockEraseStatusErr (uint32_t instance, uint32_t row) {
3974  EventRecord2 (EvtFsNFTL_BlockEraseStatusErr, instance, row);
3975  }
3976 #else
3977  #define EvrFsNFTL_BlockEraseStatusErr(instance, row)
3978 #endif
3979 
3985 #ifdef EvtFsNFTL_BlockEraseFailed
3986  __STATIC_INLINE void EvrFsNFTL_BlockEraseFailed (uint32_t instance, uint32_t row) {
3987  EventRecord2 (EvtFsNFTL_BlockEraseFailed, instance, row);
3988  }
3989 #else
3990  #define EvrFsNFTL_BlockEraseFailed(instance, row)
3991 #endif
3992 
3998 #ifdef EvtFsNFTL_BlockEraseTimeout
3999  __STATIC_INLINE void EvrFsNFTL_BlockEraseTimeout (uint32_t instance, uint32_t row) {
4000  EventRecord2 (EvtFsNFTL_BlockEraseTimeout, instance, row);
4001  }
4002 #else
4003  #define EvrFsNFTL_BlockEraseTimeout(instance, row)
4004 #endif
4005 
4011 #ifdef EvtFsNFTL_BitErrorCorrected
4012  __STATIC_INLINE void EvrFsNFTL_BitErrorCorrected (uint32_t instance, uint32_t row) {
4013  EventRecord2 (EvtFsNFTL_BitErrorCorrected, instance, row);
4014  }
4015 #else
4016  #define EvrFsNFTL_BitErrorCorrected(instance, row)
4017 #endif
4018 
4023 #ifdef EvtFsNFTL_ParameterInvalid
4024  __STATIC_INLINE void EvrFsNFTL_ParameterInvalid (uint32_t instance) {
4025  EventRecord2 (EvtFsNFTL_ParameterInvalid, instance, 0);
4026  }
4027 #else
4028  #define EvrFsNFTL_ParameterInvalid(instance)
4029 #endif
4030 
4038 #ifdef EvtFsNFTL_TableUpdate
4039  __STATIC_INLINE void EvrFsNFTL_TableUpdate (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) {
4040  EventRecord4 (EvtFsNFTL_TableUpdate, instance, lbn, pbn_0, pbn_1);
4041  }
4042 #else
4043  #define EvrFsNFTL_TableUpdate(instance, lbn, pbn_0, pbn_1)
4044 #endif
4045 
4051 #ifdef EvtFsNFTL_AllocatedBlock
4052  __STATIC_INLINE void EvrFsNFTL_AllocatedBlock (uint32_t instance, uint32_t pbn) {
4053  EventRecord2 (EvtFsNFTL_AllocatedBlock, instance, pbn);
4054  }
4055 #else
4056  #define EvrFsNFTL_AllocatedBlock(instance, pbn)
4057 #endif
4058 
4066 #ifdef EvtFsNFTL_LoadSector
4067  __STATIC_INLINE void EvrFsNFTL_LoadSector (uint32_t instance, uint32_t lsn, uint32_t offs, uint32_t spare) {
4068  EventRecord4 (EvtFsNFTL_LoadSector, instance, lsn, offs, spare);
4069  }
4070 #else
4071  #define EvrFsNFTL_LoadSector(instance, lsn, offs, spare)
4072 #endif
4073 
4080 #ifdef EvtFsNFTL_LoadTableLayout
4081  __STATIC_INLINE void EvrFsNFTL_LoadTableLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) {
4082  EventRecord4 (EvtFsNFTL_LoadTableLayout, instance, pbn_0, pbn_1, 0);
4083  }
4084 #else
4085  #define EvrFsNFTL_LoadTableLayout(instance, pbn_0, pbn_1)
4086 #endif
4087 
4094 #ifdef EvtFsNFTL_LoadDataLayout
4095  __STATIC_INLINE void EvrFsNFTL_LoadDataLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) {
4096  EventRecord4 (EvtFsNFTL_LoadDataLayout, instance, pbn_0, pbn_1, 0);
4097  }
4098 #else
4099  #define EvrFsNFTL_LoadDataLayout(instance, pbn_0, pbn_1)
4100 #endif
4101 
4109 #ifdef EvtFsNFTL_SetupPageLayout
4110  __STATIC_INLINE void EvrFsNFTL_SetupPageLayout (uint32_t instance, uint32_t sector_inc, uint32_t spare_ofs, uint32_t spare_inc) {
4111  EventRecord4 (EvtFsNFTL_SetupPageLayout, instance, sector_inc, spare_ofs, spare_inc);
4112  }
4113 #else
4114  #define EvrFsNFTL_SetupPageLayout(instance, sector_inc, spare_ofs, spare_inc);
4115 #endif
4116 
4125 #ifdef EvtFsNFTL_SetupSpareLayout
4126  __STATIC_INLINE void EvrFsNFTL_SetupSpareLayout (uint32_t instance, uint32_t ofs_lsn, uint32_t ofs_dcm, uint32_t ofs_bbm, uint32_t ofs_ecc) {
4127  EventRecord4 (EvtFsNFTL_SetupSpareLayout, instance, (ofs_dcm << 16) | ofs_lsn, ofs_bbm, ofs_ecc);
4128  }
4129 #else
4130  #define EvrFsNFTL_SetupSpareLayout(instance, ofs_lsn, ofs_dcm, ofs_bbm, ofs_ecc);
4131 #endif
4132 
4139 #ifdef EvtFsNFTL_PageWrite
4140  __STATIC_INLINE void EvrFsNFTL_PageWrite (uint32_t instance, uint32_t pbn, uint32_t pg) {
4141  EventRecord4 (EvtFsNFTL_PageWrite, instance, pbn, pg, 0);
4142  }
4143 #else
4144  #define EvrFsNFTL_PageWrite(instance, pbn, pg);
4145 #endif
4146 
4153 #ifdef EvtFsNFTL_PageRead
4154  __STATIC_INLINE void EvrFsNFTL_PageRead (uint32_t instance, uint32_t pbn, uint32_t pg) {
4155  EventRecord4 (EvtFsNFTL_PageRead, instance, pbn, pg, 0);
4156  }
4157 #else
4158  #define EvrFsNFTL_PageRead(instance, pbn, pg);
4159 #endif
4160 
4166 #ifdef EvtFsNFTL_BlockErase
4167  __STATIC_INLINE void EvrFsNFTL_BlockErase (uint32_t instance, uint32_t pbn) {
4168  EventRecord2 (EvtFsNFTL_BlockErase, instance, pbn);
4169  }
4170 #else
4171  #define EvrFsNFTL_BlockErase(instance, pbn);
4172 #endif
4173 
4179 #ifdef EvtFsNFTL_StatusRead
4180  __STATIC_INLINE void EvrFsNFTL_StatusRead (uint32_t instance, uint32_t status) {
4181  EventRecord2 (EvtFsNFTL_StatusRead, instance, status);
4182  }
4183 #else
4184  #define EvrFsNFTL_StatusRead(instance, status);
4185 #endif
4186 
4193 #ifdef EvtFsNFTL_CacheWrite
4194  __STATIC_INLINE void EvrFsNFTL_CacheWrite (uint32_t instance, uint32_t pbn, uint32_t pg) {
4195  EventRecord4 (EvtFsNFTL_CacheWrite, instance, pbn, pg, 0);
4196  }
4197 #else
4198  #define EvrFsNFTL_CacheWrite(instance, pbn, pg);
4199 #endif
4200 
4208 #ifdef EvtFsNFTL_CacheRead
4209  __STATIC_INLINE void EvrFsNFTL_CacheRead (uint32_t instance, uint32_t pbn, uint32_t pg, uint32_t col) {
4210  EventRecord4 (EvtFsNFTL_CacheRead, instance, pbn, pg, col);
4211  }
4212 #else
4213  #define EvrFsNFTL_CacheRead(instance, pbn, pg, col);
4214 #endif
4215 
4220 #ifdef EvtFsNAND_Init
4221  __STATIC_INLINE void EvrFsNAND_Init (uint32_t instance) {
4222  EventRecord2 (EvtFsNAND_Init, instance, 0);
4223  }
4224 #else
4225  #define EvrFsNAND_Init(instance)
4226 #endif
4227 
4233 #ifdef EvtFsNAND_InitDriver
4234  __STATIC_INLINE void EvrFsNAND_InitDriver (uint32_t instance, uint32_t driver) {
4235  EventRecord2 (EvtFsNAND_InitDriver, instance, driver);
4236  }
4237 #else
4238  #define EvrFsNAND_InitDriver(instance, driver)
4239 #endif
4240 
4246 #ifdef EvtFsNAND_InitDriverError
4247  __STATIC_INLINE void EvrFsNAND_InitDriverError (uint32_t instance, uint32_t driver) {
4248  EventRecord2 (EvtFsNAND_InitDriverError, instance, driver);
4249  }
4250 #else
4251  #define EvrFsNAND_InitDriverError(instance, driver)
4252 #endif
4253 
4260 #ifdef EvtFsNAND_DriverPowerCtrlError
4261  __STATIC_INLINE void EvrFsNAND_DriverPowerCtrlError (uint32_t instance, uint32_t driver, uint32_t state) {
4262  EventRecord4 (EvtFsNAND_DriverPowerCtrlError, instance, driver, state, 0);
4263  }
4264 #else
4265  #define EvrFsNAND_DriverPowerCtrlError(instance, driver, state)
4266 #endif
4267 
4274 #ifdef EvtFsNAND_DriverBusModeSelect
4275  __STATIC_INLINE void EvrFsNAND_DriverBusModeSelect (uint32_t instance, uint32_t driver, uint32_t mode) {
4276  EventRecord4 (EvtFsNAND_DriverBusModeSelect, instance, driver, mode, 0);
4277  }
4278 #else
4279  #define EvrFsNAND_DriverBusModeSelect(instance, driver, mode)
4280 #endif
4281 
4288 #ifdef EvtFsNAND_DriverBusWidthSelect
4289  __STATIC_INLINE void EvrFsNAND_DriverBusWidthSelect (uint32_t instance, uint32_t driver, uint32_t width) {
4290  EventRecord4 (EvtFsNAND_DriverBusWidthSelect, instance, driver, width, 0);
4291  }
4292 #else
4293  #define EvrFsNAND_DriverBusWidthSelect(instance, driver, width)
4294 #endif
4295 
4302 #ifdef EvtFsNAND_DriverBusWidthError
4303  __STATIC_INLINE void EvrFsNAND_DriverBusWidthError (uint32_t instance, uint32_t driver, uint32_t width) {
4304  EventRecord4 (EvtFsNAND_DriverBusWidthError, instance, driver, width, 0);
4305  }
4306 #else
4307  #define EvrFsNAND_DriverBusWidthError(instance, driver, width)
4308 #endif
4309 
4316 #ifdef EvtFsNAND_DriverDevPowerSelect
4317  __STATIC_INLINE void EvrFsNAND_DriverDevPowerSelect (uint32_t instance, uint32_t driver, uint32_t volt) {
4318  EventRecord4 (EvtFsNAND_DriverDevPowerSelect, instance, driver, volt, 0);
4319  }
4320 #else
4321  #define EvrFsNAND_DriverDevPowerSelect(instance, driver, volt)
4322 #endif
4323 
4329 #ifdef EvtFsNAND_DriverEccInquire
4330  __STATIC_INLINE void EvrFsNAND_DriverEccInquire (uint32_t instance, uint32_t driver) {
4331  EventRecord2 (EvtFsNAND_DriverEccInquire, instance, driver);
4332  }
4333 #else
4334  #define EvrFsNAND_DriverEccInquire(instance, driver)
4335 #endif
4336 
4343 #ifdef EvtFsNAND_DriverEccSelect
4344  __STATIC_INLINE void EvrFsNAND_DriverEccSelect (uint32_t instance, uint32_t driver, uint32_t index) {
4345  EventRecord4 (EvtFsNAND_DriverEccSelect, instance, driver, index, 0);
4346  }
4347 #else
4348  #define EvrFsNAND_DriverEccSelect(instance, driver, index)
4349 #endif
4350 
4356 #ifdef EvtFsNAND_DriverEccInquireError
4357  __STATIC_INLINE void EvrFsNAND_DriverEccInquireError (uint32_t instance, uint32_t driver) {
4358  EventRecord2 (EvtFsNAND_DriverEccInquireError, instance, driver);
4359  }
4360 #else
4361  #define EvrFsNAND_DriverEccInquireError(instance, driver)
4362 #endif
4363 
4369 #ifdef EvtFsNAND_DriverTimeoutError
4370  __STATIC_INLINE void EvrFsNAND_DriverTimeoutError (uint32_t instance, uint32_t driver) {
4371  EventRecord2 (EvtFsNAND_DriverTimeoutError, instance, driver);
4372  }
4373 #else
4374  #define EvrFsNAND_DriverTimeoutError(instance, driver)
4375 #endif
4376 
4383 #ifdef EvtFsNAND_DeviceTimeoutError
4384  __STATIC_INLINE void EvrFsNAND_DeviceTimeoutError (uint32_t instance, uint32_t driver, uint32_t device) {
4385  EventRecord4 (EvtFsNAND_DeviceTimeoutError, instance, driver, device, 0);
4386  }
4387 #else
4388  #define EvrFsNAND_DeviceTimeoutError(instance, driver, device)
4389 #endif
4390 
4395 #ifdef EvtFsNAND_Uninit
4396  __STATIC_INLINE void EvrFsNAND_Uninit (uint32_t instance) {
4397  EventRecord2 (EvtFsNAND_Uninit, instance, 0);
4398  }
4399 #else
4400  #define EvrFsNAND_Uninit(instance)
4401 #endif
4402 
4408 #ifdef EvtFsNAND_StatusRead
4409  __STATIC_INLINE void EvrFsNAND_StatusRead (uint32_t instance, uint32_t status) {
4410  EventRecord2 (EvtFsNAND_StatusRead, instance, status);
4411  }
4412 #else
4413  #define EvrFsNAND_StatusRead(instance, status)
4414 #endif
4415 
4421 #ifdef EvtFsNAND_BlockErase
4422  __STATIC_INLINE void EvrFsNAND_BlockErase (uint32_t instance, uint32_t row) {
4423  EventRecord2 (EvtFsNAND_BlockErase, instance, row);
4424  }
4425 #else
4426  #define EvrFsNAND_BlockErase(instance, row)
4427 #endif
4428 
4436 #ifdef EvtFsNAND_PageWrite
4437  __STATIC_INLINE void EvrFsNAND_PageWrite (uint32_t instance, uint32_t row, uint32_t col, uint32_t len) {
4438  EventRecord4 (EvtFsNAND_PageWrite, instance, row, col, len);
4439  }
4440 #else
4441  #define EvrFsNAND_PageWrite(instance, row, col, len)
4442 #endif
4443 
4451 #ifdef EvtFsNAND_PageRead
4452  __STATIC_INLINE void EvrFsNAND_PageRead (uint32_t instance, uint32_t row, uint32_t col, uint32_t len) {
4453  EventRecord4 (EvtFsNAND_PageRead, instance, row, col, len);
4454  }
4455 #else
4456  #define EvrFsNAND_PageRead(instance, row, col, len)
4457 #endif
4458 
4465 #ifdef EvtFsNAND_ParamPageRead
4466  __STATIC_INLINE void EvrFsNAND_ParamPageRead (uint32_t instance, uint32_t col, uint32_t len) {
4467  EventRecord4 (EvtFsNAND_ParamPageRead, instance, col, len, 0);
4468  }
4469 #else
4470  #define EvrFsNAND_ParamPageRead(instance, col, len)
4471 #endif
4472 
4479 #ifdef EvtFsNAND_IdRead
4480  __STATIC_INLINE void EvrFsNAND_IdRead (uint32_t instance, uint32_t addr, uint32_t len) {
4481  EventRecord4 (EvtFsNAND_IdRead, instance, addr, len, 0);
4482  }
4483 #else
4484  #define EvrFsNAND_IdRead(instance, addr, len)
4485 #endif
4486 
4491 #ifdef EvtFsNAND_DeviceReset
4492  __STATIC_INLINE void EvrFsNAND_DeviceReset (uint32_t instance) {
4493  EventRecord2 (EvtFsNAND_DeviceReset, instance, 0);
4494  }
4495 #else
4496  #define EvrFsNAND_DeviceReset(instance)
4497 #endif
4498 
4504 #ifdef EvtFsMcMCI_InitDriver
4505  __STATIC_INLINE void EvrFsMcMCI_InitDriver (uint32_t instance, uint32_t driver) {
4506  EventRecord2 (EvtFsMcMCI_InitDriver, instance, driver);
4507  }
4508 #else
4509  #define EvrFsMcMCI_InitDriver(instance, driver)
4510 #endif
4511 
4517 #ifdef EvtFsMcMCI_InitDriverError
4518  __STATIC_INLINE void EvrFsMcMCI_InitDriverError (uint32_t instance, uint32_t driver) {
4519  EventRecord2 (EvtFsMcMCI_InitDriverError, instance, driver);
4520  }
4521 #else
4522  #define EvrFsMcMCI_InitDriverError(instance, driver)
4523 #endif
4524 
4531 #ifdef EvtFsMcMCI_InitDriverPowerError
4532  __STATIC_INLINE void EvrFsMcMCI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state) {
4533  EventRecord4 (EvtFsMcMCI_InitDriverPowerError, instance, driver, state, 0);
4534  }
4535 #else
4536  #define EvrFsMcMCI_InitDriverPowerError(instance, driver, state)
4537 #endif
4538 
4543 #ifdef EvtFsMcMCI_InitMedia
4544  __STATIC_INLINE void EvrFsMcMCI_InitMedia (uint32_t instance) {
4545  EventRecord2 (EvtFsMcMCI_InitMedia, instance, 0);
4546  }
4547 #else
4548  #define EvrFsMcMCI_InitMedia(instance)
4549 #endif
4550 
4555 #ifdef EvtFsMcMCI_MediaNotInitialized
4556  __STATIC_INLINE void EvrFsMcMCI_MediaNotInitialized (uint32_t instance) {
4557  EventRecord2 (EvtFsMcMCI_MediaNotInitialized, instance, 0);
4558  }
4559 #else
4560  #define EvrFsMcMCI_MediaNotInitialized(instance)
4561 #endif
4562 
4567 #ifdef EvtFsMcMCI_MediaCdActive
4568  __STATIC_INLINE void EvrFsMcMCI_MediaCdActive (uint32_t instance) {
4569  EventRecord2 (EvtFsMcMCI_MediaCdActive, instance, 0);
4570  }
4571 #else
4572  #define EvrFsMcMCI_MediaCdActive(instance)
4573 #endif
4574 
4579 #ifdef EvtFsMcMCI_MediaCdInactive
4580  __STATIC_INLINE void EvrFsMcMCI_MediaCdInactive (uint32_t instance) {
4581  EventRecord2 (EvtFsMcMCI_MediaCdInactive, instance, 0);
4582  }
4583 #else
4584  #define EvrFsMcMCI_MediaCdInactive(instance)
4585 #endif
4586 
4591 #ifdef EvtFsMcMCI_MediaWpActive
4592  __STATIC_INLINE void EvrFsMcMCI_MediaWpActive (uint32_t instance) {
4593  EventRecord2 (EvtFsMcMCI_MediaWpActive, instance, 0);
4594  }
4595 #else
4596  #define EvrFsMcMCI_MediaWpActive(instance)
4597 #endif
4598 
4603 #ifdef EvtFsMcMCI_MediaWpInactive
4604  __STATIC_INLINE void EvrFsMcMCI_MediaWpInactive (uint32_t instance) {
4605  EventRecord2 (EvtFsMcMCI_MediaWpInactive, instance, 0);
4606  }
4607 #else
4608  #define EvrFsMcMCI_MediaWpInactive(instance)
4609 #endif
4610 
4615 #ifdef EvtFsMcMCI_MediaReset
4616  __STATIC_INLINE void EvrFsMcMCI_MediaReset (uint32_t instance) {
4617  EventRecord2 (EvtFsMcMCI_MediaReset, instance, 0);
4618  }
4619 #else
4620  #define EvrFsMcMCI_MediaReset(instance)
4621 #endif
4622 
4627 #ifdef EvtFsMcMCI_MediaDetectionSD
4628  __STATIC_INLINE void EvrFsMcMCI_MediaDetectionSD (uint32_t instance) {
4629  EventRecord2 (EvtFsMcMCI_MediaDetectionSD, instance, 0);
4630  }
4631 #else
4632  #define EvrFsMcMCI_MediaDetectionSD(instance)
4633 #endif
4634 
4639 #ifdef EvtFsMcMCI_MediaSD_V2
4640  __STATIC_INLINE void EvrFsMcMCI_MediaSD_V2 (uint32_t instance) {
4641  EventRecord2 (EvtFsMcMCI_MediaSD_V2, instance, 0);
4642  }
4643 #else
4644  #define EvrFsMcMCI_MediaSD_V2(instance)
4645 #endif
4646 
4652 #ifdef EvtFsMcMCI_MediaReady
4653  __STATIC_INLINE void EvrFsMcMCI_MediaReady (uint32_t instance, uint32_t ocr) {
4654  EventRecord2 (EvtFsMcMCI_MediaReady, instance, ocr);
4655  }
4656 #else
4657  #define EvrFsMcMCI_MediaReady(instance, ocr)
4658 #endif
4659 
4664 #ifdef EvtFsMcMCI_MediaNoResponse
4665  __STATIC_INLINE void EvrFsMcMCI_MediaNoResponse (uint32_t instance) {
4666  EventRecord2 (EvtFsMcMCI_MediaNoResponse, instance, 0);
4667  }
4668 #else
4669  #define EvrFsMcMCI_MediaNoResponse(instance)
4670 #endif
4671 
4676 #ifdef EvtFsMcMCI_MediaDetectionMMC
4677  __STATIC_INLINE void EvrFsMcMCI_MediaDetectionMMC (uint32_t instance) {
4678  EventRecord2 (EvtFsMcMCI_MediaDetectionMMC, instance, 0);
4679  }
4680 #else
4681  #define EvrFsMcMCI_MediaDetectionMMC(instance)
4682 #endif
4683 
4688 #ifdef EvtFsMcMCI_MediaDetectionError
4689  __STATIC_INLINE void EvrFsMcMCI_MediaDetectionError (uint32_t instance) {
4690  EventRecord2 (EvtFsMcMCI_MediaDetectionError, instance, 0);
4691  }
4692 #else
4693  #define EvrFsMcMCI_MediaDetectionError(instance)
4694 #endif
4695 
4700 #ifdef EvtFsMcMCI_CidReadError
4701  __STATIC_INLINE void EvrFsMcMCI_CidReadError (uint32_t instance) {
4702  EventRecord2 (EvtFsMcMCI_CidReadError, instance, 0);
4703  }
4704 #else
4705  #define EvrFsMcMCI_CidReadError(instance)
4706 #endif
4707 
4712 #ifdef EvtFsMcMCI_RcaReadError
4713  __STATIC_INLINE void EvrFsMcMCI_RcaReadError (uint32_t instance) {
4714  EventRecord2 (EvtFsMcMCI_RcaReadError, instance, 0);
4715  }
4716 #else
4717  #define EvrFsMcMCI_RcaReadError(instance)
4718 #endif
4719 
4724 #ifdef EvtFsMcMCI_RcaWriteError
4725  __STATIC_INLINE void EvrFsMcMCI_RcaWriteError (uint32_t instance) {
4726  EventRecord2 (EvtFsMcMCI_RcaWriteError, instance, 0);
4727  }
4728 #else
4729  #define EvrFsMcMCI_RcaWriteError(instance)
4730 #endif
4731 
4736 #ifdef EvtFsMcMCI_CsdReadError
4737  __STATIC_INLINE void EvrFsMcMCI_CsdReadError (uint32_t instance) {
4738  EventRecord2 (EvtFsMcMCI_CsdReadError, instance, 0);
4739  }
4740 #else
4741  #define EvrFsMcMCI_CsdReadError(instance)
4742 #endif
4743 
4748 #ifdef EvtFsMcMCI_TranStateError
4749  __STATIC_INLINE void EvrFsMcMCI_TranStateError (uint32_t instance) {
4750  EventRecord2 (EvtFsMcMCI_TranStateError, instance, 0);
4751  }
4752 #else
4753  #define EvrFsMcMCI_TranStateError(instance)
4754 #endif
4755 
4761 #ifdef EvtFsMcMCI_BlenWriteError
4762  __STATIC_INLINE void EvrFsMcMCI_BlenWriteError (uint32_t instance, uint32_t blen) {
4763  EventRecord2 (EvtFsMcMCI_BlenWriteError, instance, blen);
4764  }
4765 #else
4766  #define EvrFsMcMCI_BlenWriteError(instance, blen)
4767 #endif
4768 
4773 #ifdef EvtFsMcMCI_ExtCsdReadError
4774  __STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError (uint32_t instance) {
4775  EventRecord2 (EvtFsMcMCI_ExtCsdReadError, instance, 0);
4776  }
4777 #else
4778  #define EvrFsMcMCI_ExtCsdReadError(instance)
4779 #endif
4780 
4785 #ifdef EvtFsMcMCI_HighSpeedSwitchError
4786  __STATIC_INLINE void EvrFsMcMCI_HighSpeedSwitchError (uint32_t instance) {
4787  EventRecord2 (EvtFsMcMCI_HighSpeedSwitchError, instance, 0);
4788  }
4789 #else
4790  #define EvrFsMcMCI_HighSpeedSwitchError(instance)
4791 #endif
4792 
4797 #ifdef EvtFsMcMCI_DataBusSwitchError
4798  __STATIC_INLINE void EvrFsMcMCI_DataBusSwitchError (uint32_t instance) {
4799  EventRecord2 (EvtFsMcMCI_DataBusSwitchError, instance, 0);
4800  }
4801 #else
4802  #define EvrFsMcMCI_DataBusSwitchError(instance)
4803 #endif
4804 
4809 #ifdef EvtFsMcMCI_StbyStateError
4810  __STATIC_INLINE void EvrFsMcMCI_StbyStateError (uint32_t instance) {
4811  EventRecord2 (EvtFsMcMCI_StbyStateError, instance, 0);
4812  }
4813 #else
4814  #define EvrFsMcMCI_StbyStateError(instance)
4815 #endif
4816 
4821 #ifdef EvtFsMcMCI_InitSuccess
4822  __STATIC_INLINE void EvrFsMcMCI_InitSuccess (uint32_t instance) {
4823  EventRecord2 (EvtFsMcMCI_InitSuccess, instance, 0);
4824  }
4825 #else
4826  #define EvrFsMcMCI_InitSuccess(instance)
4827 #endif
4828 
4834 #ifdef EvtFsMcMCI_UninitDriver
4835  __STATIC_INLINE void EvrFsMcMCI_UninitDriver (uint32_t instance, uint32_t driver) {
4836  EventRecord2 (EvtFsMcMCI_UninitDriver, instance, driver);
4837  }
4838 #else
4839  #define EvrFsMcMCI_UninitDriver(instance, driver)
4840 #endif
4841 
4847 #ifdef EvtFsMcMCI_UninitMedia
4848  __STATIC_INLINE void EvrFsMcMCI_UninitMedia (uint32_t instance) {
4849  EventRecord2 (EvtFsMcMCI_UninitMedia, instance, 0);
4850  }
4851 #else
4852  #define EvrFsMcMCI_UninitMedia(instance)
4853 #endif
4854 
4861 #ifdef EvtFsMcMCI_SectorRead
4862  __STATIC_INLINE void EvrFsMcMCI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count) {
4863  EventRecord4 (EvtFsMcMCI_SectorRead, instance, sector, count, 0);
4864  }
4865 #else
4866  #define EvrFsMcMCI_SectorRead(instance, sector, count)
4867 #endif
4868 
4875 #ifdef EvtFsMcMCI_SectorReadError
4876  __STATIC_INLINE void EvrFsMcMCI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count) {
4877  EventRecord4 (EvtFsMcMCI_SectorReadError, instance, sector, count, 0);
4878  }
4879 #else
4880  #define EvrFsMcMCI_SectorReadError(instance, sector, count)
4881 #endif
4882 
4889 #ifdef EvtFsMcMCI_SectorWrite
4890  __STATIC_INLINE void EvrFsMcMCI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count) {
4891  EventRecord4 (EvtFsMcMCI_SectorWrite, instance, sector, count, 0);
4892  }
4893 #else
4894  #define EvrFsMcMCI_SectorWrite(instance, sector, count)
4895 #endif
4896 
4903 #ifdef EvtFsMcMCI_SectorWriteError
4904  __STATIC_INLINE void EvrFsMcMCI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count) {
4905  EventRecord4 (EvtFsMcMCI_SectorWriteError, instance, sector, count, 0);
4906  }
4907 #else
4908  #define EvrFsMcMCI_SectorWriteError(instance, sector, count)
4909 #endif
4910 
4916 #ifdef EvtFsMcMCI_TransferError
4917  __STATIC_INLINE void EvrFsMcMCI_TransferError (uint32_t instance, uint32_t events) {
4918  EventRecord2 (EvtFsMcMCI_TransferError, instance, events);
4919  }
4920 #else
4921  #define EvrFsMcMCI_TransferError(instance, events)
4922 #endif
4923 
4929 #ifdef EvtFsMcMCI_TransferRetry
4930  __STATIC_INLINE void EvrFsMcMCI_TransferRetry (uint32_t instance, uint32_t retry) {
4931  EventRecord2 (EvtFsMcMCI_TransferRetry, instance, retry);
4932  }
4933 #else
4934  #define EvrFsMcMCI_TransferRetry(instance, retry)
4935 #endif
4936 
4941 #ifdef EvtFsMcMCI_ReadInfo
4942  __STATIC_INLINE void EvrFsMcMCI_ReadInfo (uint32_t instance) {
4943  EventRecord2 (EvtFsMcMCI_ReadInfo, instance, 0);
4944  }
4945 #else
4946  #define EvrFsMcMCI_ReadInfo(instance)
4947 #endif
4948 
4954 #ifdef EvtFsMcMCI_ReadInfoSuccess
4955  __STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
4956  EventRecord2 (EvtFsMcMCI_ReadInfoSuccess, instance, sect_count);
4957  }
4958 #else
4959  #define EvrFsMcMCI_ReadInfoSuccess(instance, sect_count)
4960 #endif
4961 
4968 #ifdef EvtFsMcMCI_DevCtrl
4969  __STATIC_INLINE void EvrFsMcMCI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p) {
4970  EventRecord4 (EvtFsMcMCI_DevCtrl, instance, code, p, 0);
4971  }
4972 #else
4973  #define EvrFsMcMCI_DevCtrl(instance, code, p)
4974 #endif
4975 
4981 #ifdef EvtFsMcMCI_DevCtrlUnsupported
4982  __STATIC_INLINE void EvrFsMcMCI_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
4983  EventRecord2 (EvtFsMcMCI_DevCtrlUnsupported, instance, code);
4984  }
4985 #else
4986  #define EvrFsMcMCI_DevCtrlUnsupported(instance, code)
4987 #endif
4988 
4993 #ifdef EvtFsMcMCI_LockUnlockExec
4994  __STATIC_INLINE void EvrFsMcMCI_LockUnlockExec (uint32_t instance) {
4995  EventRecord2 (EvtFsMcMCI_LockUnlockExec, instance, 0);
4996  }
4997 #else
4998  #define EvrFsMcMCI_LockUnlockExec(instance)
4999 #endif
5000 
5005 #ifdef EvtFsMcMCI_LockUnlockExecError
5006  __STATIC_INLINE void EvrFsMcMCI_LockUnlockExecError (uint32_t instance) {
5007  EventRecord2 (EvtFsMcMCI_LockUnlockExecError, instance, 0);
5008  }
5009 #else
5010  #define EvrFsMcMCI_LockUnlockExecError(instance)
5011 #endif
5012 
5017 #ifdef EvtFsMcMCI_LockActive
5018  __STATIC_INLINE void EvrFsMcMCI_LockActive (uint32_t instance) {
5019  EventRecord2 (EvtFsMcMCI_LockActive, instance, 0);
5020  }
5021 #else
5022  #define EvrFsMcMCI_LockActive(instance)
5023 #endif
5024 
5029 #ifdef EvtFsMcMCI_LockDeactivated
5030  __STATIC_INLINE void EvrFsMcMCI_LockDeactivated (uint32_t instance) {
5031  EventRecord2 (EvtFsMcMCI_LockDeactivated, instance, 0);
5032  }
5033 #else
5034  #define EvrFsMcMCI_LockDeactivated(instance)
5035 #endif
5036 
5042 #ifdef EvtFsMcMCI_DeviceStateUnknown
5043  __STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown (uint32_t instance, uint32_t state) {
5044  EventRecord2 (EvtFsMcMCI_DeviceStateUnknown, instance, state);
5045  }
5046 #else
5047  #define EvrFsMcMCI_DeviceStateUnknown(instance, state)
5048 #endif
5049 
5055 #ifdef EvtFsMcMCI_DeviceStateInvalid
5056  __STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid (uint32_t instance, uint32_t state) {
5057  EventRecord2 (EvtFsMcMCI_DeviceStateInvalid, instance, state);
5058  }
5059 #else
5060  #define EvrFsMcMCI_DeviceStateInvalid(instance, state)
5061 #endif
5062 
5069 #ifdef EvtFsMcMCI_DeviceStateTimeout
5070  __STATIC_INLINE void EvrFsMcMCI_DeviceStateTimeout (uint32_t instance, uint32_t cstate, uint32_t nstate) {
5071  EventRecord4 (EvtFsMcMCI_DeviceStateTimeout, instance, cstate, nstate, 0);
5072  }
5073 #else
5074  #define EvrFsMcMCI_DeviceStateTimeout(instance, cstate, nstate)
5075 #endif
5076 
5081 #ifdef EvtFsMcMCI_TransferAbort
5082  __STATIC_INLINE void EvrFsMcMCI_TransferAbort (uint32_t instance) {
5083  EventRecord2 (EvtFsMcMCI_TransferAbort, instance, 0);
5084  }
5085 #else
5086  #define EvrFsMcMCI_TransferAbort(instance)
5087 #endif
5088 
5093 #ifdef EvtFsMcMCI_SleepAwakeControl
5094  __STATIC_INLINE void EvrFsMcMCI_SleepAwakeControl (uint32_t instance) {
5095  EventRecord2 (EvtFsMcMCI_SleepAwakeControl, instance, 0);
5096  }
5097 #else
5098  #define EvrFsMcMCI_SleepAwakeControl(instance)
5099 #endif
5100 
5105 #ifdef EvtFsMcMCI_SleepActive
5106  __STATIC_INLINE void EvrFsMcMCI_SleepActive (uint32_t instance) {
5107  EventRecord2 (EvtFsMcMCI_SleepActive, instance, 0);
5108  }
5109 #else
5110  #define EvrFsMcMCI_SleepActive(instance)
5111 #endif
5112 
5117 #ifdef EvtFsMcMCI_AwakeActive
5118  __STATIC_INLINE void EvrFsMcMCI_AwakeActive (uint32_t instance) {
5119  EventRecord2 (EvtFsMcMCI_AwakeActive, instance, 0);
5120  }
5121 #else
5122  #define EvrFsMcMCI_AwakeActive(instance)
5123 #endif
5124 
5130 #ifdef EvtFsMcMCI_CardPowerControl
5131  __STATIC_INLINE void EvrFsMcMCI_CardPowerControl (uint32_t instance, uint32_t voltage) {
5132  EventRecord2 (EvtFsMcMCI_CardPowerControl, instance, voltage);
5133  }
5134 #else
5135  #define EvrFsMcMCI_CardPowerControl(instance, voltage)
5136 #endif
5137 
5144 #ifdef EvtFsMcMCI_SendCommandError
5145  __STATIC_INLINE void EvrFsMcMCI_SendCommandError (uint32_t instance, uint32_t cmd, uint32_t arg) {
5146  EventRecord4 (EvtFsMcMCI_SendCommandError, instance, cmd, arg, 0);
5147  }
5148 #else
5149  #define EvrFsMcMCI_SendCommandError(instance, cmd, arg)
5150 #endif
5151 
5159 #ifdef EvtFsMcMCI_ReadXferSetupError
5160  __STATIC_INLINE void EvrFsMcMCI_ReadXferSetupError (uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size) {
5161  EventRecord4 (EvtFsMcMCI_ReadXferSetupError, instance, (uint32_t)buf, cnt, size);
5162  }
5163 #else
5164  #define EvrFsMcMCI_ReadXferSetupError(instance, buf, cnt, size)
5165 #endif
5166 
5174 #ifdef EvtFsMcMCI_WriteXferSetupError
5175  __STATIC_INLINE void EvrFsMcMCI_WriteXferSetupError (uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size) {
5176  EventRecord4 (EvtFsMcMCI_WriteXferSetupError, instance, (uint32_t)buf, cnt, size);
5177  }
5178 #else
5179  #define EvrFsMcMCI_WriteXferSetupError(instance, buf, cnt, size)
5180 #endif
5181 
5186 #ifdef EvtFsMcMCI_ParameterInvalid
5187  __STATIC_INLINE void EvrFsMcMCI_ParameterInvalid (uint32_t instance) {
5188  EventRecord2 (EvtFsMcMCI_ParameterInvalid, instance, 0);
5189  }
5190 #else
5191  #define EvrFsMcMCI_ParameterInvalid(instance)
5192 #endif
5193 
5198 #ifdef EvtFsMcMCI_MediaPasswordEnabled
5199  __STATIC_INLINE void EvrFsMcMCI_MediaPasswordEnabled (uint32_t instance) {
5200  EventRecord2 (EvtFsMcMCI_MediaPasswordEnabled, instance, 0);
5201  }
5202 #else
5203  #define EvrFsMcMCI_MediaPasswordEnabled(instance)
5204 #endif
5205 
5211 #ifdef EvtFsMcSPI_InitDriver
5212  __STATIC_INLINE void EvrFsMcSPI_InitDriver (uint32_t instance, uint32_t driver) {
5213  EventRecord2 (EvtFsMcSPI_InitDriver, instance, driver);
5214  }
5215 #else
5216  #define EvrFsMcSPI_InitDriver(instance, driver)
5217 #endif
5218 
5224 #ifdef EvtFsMcSPI_InitDriverSuccess
5225  __STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess (uint32_t instance, uint32_t driver) {
5226  EventRecord2 (EvtFsMcSPI_InitDriverSuccess, instance, driver);
5227  }
5228 #else
5229  #define EvrFsMcSPI_InitDriverSuccess(instance, driver)
5230 #endif
5231 
5237 #ifdef EvtFsMcSPI_InitDriverError
5238  __STATIC_INLINE void EvrFsMcSPI_InitDriverError (uint32_t instance, uint32_t driver) {
5239  EventRecord2 (EvtFsMcSPI_InitDriverError, instance, driver);
5240  }
5241 #else
5242  #define EvrFsMcSPI_InitDriverError(instance, driver)
5243 #endif
5244 
5251 #ifdef EvtFsMcSPI_InitDriverPowerError
5252  __STATIC_INLINE void EvrFsMcSPI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state) {
5253  EventRecord4 (EvtFsMcSPI_InitDriverPowerError, instance, driver, state, 0);
5254  }
5255 #else
5256  #define EvrFsMcSPI_InitDriverPowerError(instance, driver, state)
5257 #endif
5258 
5263 #ifdef EvtFsMcSPI_InitMedia
5264  __STATIC_INLINE void EvrFsMcSPI_InitMedia (uint32_t instance) {
5265  EventRecord2 (EvtFsMcSPI_InitMedia, instance, 0);
5266  }
5267 #else
5268  #define EvrFsMcSPI_InitMedia(instance)
5269 #endif
5270 
5275 #ifdef EvtFsMcSPI_InitMediaSuccess
5276  __STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess (uint32_t instance) {
5277  EventRecord2 (EvtFsMcSPI_InitMediaSuccess, instance, 0);
5278  }
5279 #else
5280  #define EvrFsMcSPI_InitMediaSuccess(instance)
5281 #endif
5282 
5287 #ifdef EvtFsMcSPI_MediaNotInitialized
5288  __STATIC_INLINE void EvrFsMcSPI_MediaNotInitialized (uint32_t instance) {
5289  EventRecord2 (EvtFsMcSPI_MediaNotInitialized, instance, 0);
5290  }
5291 #else
5292  #define EvrFsMcSPI_MediaNotInitialized(instance)
5293 #endif
5294 
5299 #ifdef EvtFsMcSPI_MediaCdActive
5300  __STATIC_INLINE void EvrFsMcSPI_MediaCdActive (uint32_t instance) {
5301  EventRecord2 (EvtFsMcSPI_MediaCdActive, instance, 0);
5302  }
5303 #else
5304  #define EvrFsMcSPI_MediaCdActive(instance)
5305 #endif
5306 
5311 #ifdef EvtFsMcSPI_MediaCdInactive
5312  __STATIC_INLINE void EvrFsMcSPI_MediaCdInactive (uint32_t instance) {
5313  EventRecord2 (EvtFsMcSPI_MediaCdInactive, instance, 0);
5314  }
5315 #else
5316  #define EvrFsMcSPI_MediaCdInactive(instance)
5317 #endif
5318 
5323 #ifdef EvtFsMcSPI_MediaWpActive
5324  __STATIC_INLINE void EvrFsMcSPI_MediaWpActive (uint32_t instance) {
5325  EventRecord2 (EvtFsMcSPI_MediaWpActive, instance, 0);
5326  }
5327 #else
5328  #define EvrFsMcSPI_MediaWpActive(instance)
5329 #endif
5330 
5335 #ifdef EvtFsMcSPI_MediaWpInactive
5336  __STATIC_INLINE void EvrFsMcSPI_MediaWpInactive (uint32_t instance) {
5337  EventRecord2 (EvtFsMcSPI_MediaWpInactive, instance, 0);
5338  }
5339 #else
5340  #define EvrFsMcSPI_MediaWpInactive(instance)
5341 #endif
5342 
5347 #ifdef EvtFsMcSPI_MediaReset
5348  __STATIC_INLINE void EvrFsMcSPI_MediaReset (uint32_t instance) {
5349  EventRecord2 (EvtFsMcSPI_MediaReset, instance, 0);
5350  }
5351 #else
5352  #define EvrFsMcSPI_MediaReset(instance)
5353 #endif
5354 
5359 #ifdef EvtFsMcSPI_MediaResetError
5360  __STATIC_INLINE void EvrFsMcSPI_MediaResetError (uint32_t instance) {
5361  EventRecord2 (EvtFsMcSPI_MediaResetError, instance, 0);
5362  }
5363 #else
5364  #define EvrFsMcSPI_MediaResetError(instance)
5365 #endif
5366 
5371 #ifdef EvtFsMcSPI_MediaDetectionSD
5372  __STATIC_INLINE void EvrFsMcSPI_MediaDetectionSD (uint32_t instance) {
5373  EventRecord2 (EvtFsMcSPI_MediaDetectionSD, instance, 0);
5374  }
5375 #else
5376  #define EvrFsMcSPI_MediaDetectionSD(instance)
5377 #endif
5378 
5383 #ifdef EvtFsMcSPI_MediaSD_V2
5384  __STATIC_INLINE void EvrFsMcSPI_MediaSD_V2 (uint32_t instance) {
5385  EventRecord2 (EvtFsMcSPI_MediaSD_V2, instance, 0);
5386  }
5387 #else
5388  #define EvrFsMcSPI_MediaSD_V2(instance)
5389 #endif
5390 
5396 #ifdef EvtFsMcSPI_MediaReady
5397  __STATIC_INLINE void EvrFsMcSPI_MediaReady (uint32_t instance, uint32_t ocr) {
5398  EventRecord2 (EvtFsMcSPI_MediaReady, instance, ocr);
5399  }
5400 #else
5401  #define EvrFsMcSPI_MediaReady(instance, ocr)
5402 #endif
5403 
5408 #ifdef EvtFsMcSPI_MediaNoResponse
5409  __STATIC_INLINE void EvrFsMcSPI_MediaNoResponse (uint32_t instance) {
5410  EventRecord2 (EvtFsMcSPI_MediaNoResponse, instance, 0);
5411  }
5412 #else
5413  #define EvrFsMcSPI_MediaNoResponse(instance)
5414 #endif
5415 
5420 #ifdef EvtFsMcSPI_MediaDetectionMMC
5421  __STATIC_INLINE void EvrFsMcSPI_MediaDetectionMMC (uint32_t instance) {
5422  EventRecord2 (EvtFsMcSPI_MediaDetectionMMC, instance, 0);
5423  }
5424 #else
5425  #define EvrFsMcSPI_MediaDetectionMMC(instance)
5426 #endif
5427 
5432 #ifdef EvtFsMcSPI_MediaDetectionError
5433  __STATIC_INLINE void EvrFsMcSPI_MediaDetectionError (uint32_t instance) {
5434  EventRecord2 (EvtFsMcSPI_MediaDetectionError, instance, 0);
5435  }
5436 #else
5437  #define EvrFsMcSPI_MediaDetectionError(instance)
5438 #endif
5439 
5444 #ifdef EvtFsMcSPI_CidReadError
5445  __STATIC_INLINE void EvrFsMcSPI_CidReadError (uint32_t instance) {
5446  EventRecord2 (EvtFsMcSPI_CidReadError, instance, 0);
5447  }
5448 #else
5449  #define EvrFsMcSPI_CidReadError(instance)
5450 #endif
5451 
5456 #ifdef EvtFsMcSPI_CsdReadError
5457  __STATIC_INLINE void EvrFsMcSPI_CsdReadError (uint32_t instance) {
5458  EventRecord2 (EvtFsMcSPI_CsdReadError, instance, 0);
5459  }
5460 #else
5461  #define EvrFsMcSPI_CsdReadError(instance)
5462 #endif
5463 
5469 #ifdef EvtFsMcSPI_BlenWriteError
5470  __STATIC_INLINE void EvrFsMcSPI_BlenWriteError (uint32_t instance, uint32_t blen) {
5471  EventRecord2 (EvtFsMcSPI_BlenWriteError, instance, blen);
5472  }
5473 #else
5474  #define EvrFsMcSPI_BlenWriteError(instance, blen)
5475 #endif
5476 
5482 #ifdef EvtFsMcSPI_UninitDriver
5483  __STATIC_INLINE void EvrFsMcSPI_UninitDriver (uint32_t instance, uint32_t driver) {
5484  EventRecord2 (EvtFsMcSPI_UninitDriver, instance, driver);
5485  }
5486 #else
5487  #define EvrFsMcSPI_UninitDriver(instance, driver)
5488 #endif
5489 
5495 #ifdef EvtFsMcSPI_UninitMedia
5496  __STATIC_INLINE void EvrFsMcSPI_UninitMedia (uint32_t instance) {
5497  EventRecord2 (EvtFsMcSPI_UninitMedia, instance, 0);
5498  }
5499 #else
5500  #define EvrFsMcSPI_UninitMedia(instance)
5501 #endif
5502 
5509 #ifdef EvtFsMcSPI_SectorRead
5510  __STATIC_INLINE void EvrFsMcSPI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count) {
5511  EventRecord4 (EvtFsMcSPI_SectorRead, instance, sector, count, 0);
5512  }
5513 #else
5514  #define EvrFsMcSPI_SectorRead(instance, sector, count)
5515 #endif
5516 
5523 #ifdef EvtFsMcSPI_SectorReadError
5524  __STATIC_INLINE void EvrFsMcSPI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count) {
5525  EventRecord4 (EvtFsMcSPI_SectorReadError, instance, sector, count, 0);
5526  }
5527 #else
5528  #define EvrFsMcSPI_SectorReadError(instance, sector, count)
5529 #endif
5530 
5537 #ifdef EvtFsMcSPI_SectorWrite
5538  __STATIC_INLINE void EvrFsMcSPI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count) {
5539  EventRecord4 (EvtFsMcSPI_SectorWrite, instance, sector, count, 0);
5540  }
5541 #else
5542  #define EvrFsMcSPI_SectorWrite(instance, sector, count)
5543 #endif
5544 
5551 #ifdef EvtFsMcSPI_SectorWriteError
5552  __STATIC_INLINE void EvrFsMcSPI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count) {
5553  EventRecord4 (EvtFsMcSPI_SectorWriteError, instance, sector, count, 0);
5554  }
5555 #else
5556  #define EvrFsMcSPI_SectorWriteError(instance, sector, count)
5557 #endif
5558 
5563 #ifdef EvtFsMcSPI_ReadInfo
5564  __STATIC_INLINE void EvrFsMcSPI_ReadInfo (uint32_t instance) {
5565  EventRecord2 (EvtFsMcSPI_ReadInfo, instance, 0);
5566  }
5567 #else
5568  #define EvrFsMcSPI_ReadInfo(instance)
5569 #endif
5570 
5576 #ifdef EvtFsMcSPI_ReadInfoSuccess
5577  __STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
5578  EventRecord2 (EvtFsMcSPI_ReadInfoSuccess, instance, sect_count);
5579  }
5580 #else
5581  #define EvrFsMcSPI_ReadInfoSuccess(instance, sect_count)
5582 #endif
5583 
5590 #ifdef EvtFsMcSPI_DevCtrl
5591  __STATIC_INLINE void EvrFsMcSPI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p) {
5592  EventRecord4 (EvtFsMcSPI_DevCtrl, instance, code, p, 0);
5593  }
5594 #else
5595  #define EvrFsMcSPI_DevCtrl(instance, code, p)
5596 #endif
5597 
5603 #ifdef EvtFsMcSPI_DevCtrlUnsupported
5604  __STATIC_INLINE void EvrFsMcSPI_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
5605  EventRecord2 (EvtFsMcSPI_DevCtrlUnsupported, instance, code);
5606  }
5607 #else
5608  #define EvrFsMcSPI_DevCtrlUnsupported(instance, code)
5609 #endif
5610 
5615 #ifdef EvtFsMcSPI_LockUnlockExec
5616  __STATIC_INLINE void EvrFsMcSPI_LockUnlockExec (uint32_t instance) {
5617  EventRecord2 (EvtFsMcSPI_LockUnlockExec, instance, 0);
5618  }
5619 #else
5620  #define EvrFsMcSPI_LockUnlockExec(instance)
5621 #endif
5622 
5627 #ifdef EvtFsMcSPI_LockUnlockExecError
5628  __STATIC_INLINE void EvrFsMcSPI_LockUnlockExecError (uint32_t instance) {
5629  EventRecord2 (EvtFsMcSPI_LockUnlockExecError, instance, 0);
5630  }
5631 #else
5632  #define EvrFsMcSPI_LockUnlockExecError(instance)
5633 #endif
5634 
5639 #ifdef EvtFsMcSPI_LockActive
5640  __STATIC_INLINE void EvrFsMcSPI_LockActive (uint32_t instance) {
5641  EventRecord2 (EvtFsMcSPI_LockActive, instance, 0);
5642  }
5643 #else
5644  #define EvrFsMcSPI_LockActive(instance)
5645 #endif
5646 
5651 #ifdef EvtFsMcSPI_LockDeactivated
5652  __STATIC_INLINE void EvrFsMcSPI_LockDeactivated (uint32_t instance) {
5653  EventRecord2 (EvtFsMcSPI_LockDeactivated, instance, 0);
5654  }
5655 #else
5656  #define EvrFsMcSPI_LockDeactivated(instance)
5657 #endif
5658 
5664 #ifdef EvtFsMcSPI_BusSpeedControl
5665  __STATIC_INLINE void EvrFsMcSPI_BusSpeedControl (uint32_t instance, uint32_t speed) {
5666  EventRecord2 (EvtFsMcSPI_BusSpeedControl, instance, speed);
5667  }
5668 #else
5669  #define EvrFsMcSPI_BusSpeedControl(instance, speed)
5670 #endif
5671 
5676 #ifdef EvtFsMcSPI_SlaveSelCtrlMissing
5677  __STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing (uint32_t instance) {
5678  EventRecord2 (EvtFsMcSPI_SlaveSelCtrlMissing, instance, 0);
5679  }
5680 #else
5681  #define EvrFsMcSPI_SlaveSelCtrlMissing(instance)
5682 #endif
5683 
5688 #ifdef EvtFsMcSPI_ReadWpMissing
5689  __STATIC_INLINE void EvrFsMcSPI_ReadWpMissing (uint32_t instance) {
5690  EventRecord2 (EvtFsMcSPI_ReadWpMissing, instance, 0);
5691  }
5692 #else
5693  #define EvrFsMcSPI_ReadWpMissing(instance)
5694 #endif
5695 
5700 #ifdef EvtFsMcSPI_ReadCdMissing
5701  __STATIC_INLINE void EvrFsMcSPI_ReadCdMissing (uint32_t instance) {
5702  EventRecord2 (EvtFsMcSPI_ReadCdMissing, instance, 0);
5703  }
5704 #else
5705  #define EvrFsMcSPI_ReadCdMissing(instance)
5706 #endif
5707 
5712 #ifdef EvtFsMcSPI_CrcDisableError
5713  __STATIC_INLINE void EvrFsMcSPI_CrcDisableError (uint32_t instance) {
5714  EventRecord2 (EvtFsMcSPI_CrcDisableError, instance, 0);
5715  }
5716 #else
5717  #define EvrFsMcSPI_CrcDisableError(instance)
5718 #endif
5719 
5725 #ifdef EvtFsMcSPI_DriverSendError
5726  __STATIC_INLINE void EvrFsMcSPI_DriverSendError (uint32_t instance, uint32_t event) {
5727  EventRecord2 (EvtFsMcSPI_DriverSendError, instance, event);
5728  }
5729 #else
5730  #define EvrFsMcSPI_DriverSendError(instance, event)
5731 #endif
5732 
5738 #ifdef EvtFsMcSPI_DriverReceiveError
5739  __STATIC_INLINE void EvrFsMcSPI_DriverReceiveError (uint32_t instance, uint32_t event) {
5740  EventRecord2 (EvtFsMcSPI_DriverReceiveError, instance, event);
5741  }
5742 #else
5743  #define EvrFsMcSPI_DriverReceiveError(instance, event)
5744 #endif
5745 
5752 #ifdef EvtFsMcSPI_CmdSendError
5753  __STATIC_INLINE void EvrFsMcSPI_CmdSendError (uint32_t instance, uint32_t cmd, uint32_t arg) {
5754  EventRecord4 (EvtFsMcSPI_CmdSendError, instance, cmd, arg, 0);
5755  }
5756 #else
5757  #define EvrFsMcSPI_CmdSendError(instance, cmd, arg)
5758 #endif
5759 
5765 #ifdef EvtFsMcSPI_CmdResponseError
5766  __STATIC_INLINE void EvrFsMcSPI_CmdResponseError (uint32_t instance, uint32_t cmd) {
5767  EventRecord2 (EvtFsMcSPI_CmdResponseError, instance, cmd);
5768  }
5769 #else
5770  #define EvrFsMcSPI_CmdResponseError(instance, cmd)
5771 #endif
5772 
5778 #ifdef EvtFsMcSPI_ACmdResponseError
5779  __STATIC_INLINE void EvrFsMcSPI_ACmdResponseError (uint32_t instance, uint32_t cmd) {
5780  EventRecord2 (EvtFsMcSPI_ACmdResponseError, instance, cmd);
5781  }
5782 #else
5783  #define EvrFsMcSPI_ACmdResponseError(instance, cmd)
5784 #endif
5785 
5790 #ifdef EvtFsMcSPI_ParameterInvalid
5791  __STATIC_INLINE void EvrFsMcSPI_ParameterInvalid (uint32_t instance) {
5792  EventRecord2 (EvtFsMcSPI_ParameterInvalid, instance, 0);
5793  }
5794 #else
5795  #define EvrFsMcSPI_ParameterInvalid(instance)
5796 #endif
5797 
5802 #ifdef EvtFsMcSPI_MediaPasswordEnabled
5803  __STATIC_INLINE void EvrFsMcSPI_MediaPasswordEnabled (uint32_t instance) {
5804  EventRecord2 (EvtFsMcSPI_MediaPasswordEnabled, instance, 0);
5805  }
5806 #else
5807  #define EvrFsMcSPI_MediaPasswordEnabled(instance)
5808 #endif
__STATIC_INLINE void EvrFsFAT_TimeSet(uint32_t drive, const char *path)
Event on FAT timestamp set (Op)
Definition: fs_evr.h:2155
#define EvtFsFAT_NonexistentMBR
Definition: fs_evr.h:85
__STATIC_INLINE void EvrFsFAT_FormatMediaCapacity(uint32_t drive, uint32_t sectors)
Event on FAT media capacity read (Op)
Definition: fs_evr.h:1293
#define EvtFsIOC_GetCache
Definition: fs_evr.h:243
__STATIC_INLINE void EvrFsFAT_CountFreeClus(uint32_t drive)
Event on count number of free clusters operation (Op)
Definition: fs_evr.h:1195
#define EvtFsEFS_DataAreaOverlap
Definition: fs_evr.h:214
__STATIC_INLINE void EvrFsEFS_FileAllocRead(uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index)
Event on EFS file allocation info read (Detail)
Definition: fs_evr.h:2984
#define EvtFsMcSPI_ACmdResponseError
Definition: fs_evr.h:459
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExecError(uint32_t instance)
Event on Lock/Unlock command execution error (Error)
Definition: fs_evr.h:5006
__STATIC_INLINE void EvrFsIOC_Unlock(uint32_t drv_id)
Event on call of fs_ioc_unlock function (API)
Definition: fs_evr.h:3058
#define EvtFsFAT_FileIsReadOnly
Definition: fs_evr.h:118
__STATIC_INLINE void EvrFsCore_fdelete_l(const char *path)
Event on file delete (API)
Definition: fs_evr.h:609
#define EvtFsFAT_PathIsDirNotFile
Definition: fs_evr.h:116
#define EvtFsEFS_UnmountDrive
Definition: fs_evr.h:183
__STATIC_INLINE void EvrFsFAT_DirEntryAllocFailed(uint32_t drive, uint32_t dir_clus)
Event on directory entry allocation error (Error)
Definition: fs_evr.h:1626
#define EvtFsFAT_FormatNoSpace
Definition: fs_evr.h:104
__STATIC_INLINE void EvrFsCore_sys_write(int fh, const unsigned char *buf, unsigned int len)
Event on write to a file (API)
Definition: fs_evr.h:497
#define EvtFsMcSPI_MediaNotInitialized
Definition: fs_evr.h:420
#define EvtFsFAT_WriteBootSector
Definition: fs_evr.h:107
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionSD(uint32_t instance)
Event on start of SD memory card detection operation (Op)
Definition: fs_evr.h:4628
#define EvtFsFAT_FileClose
Definition: fs_evr.h:133
#define EvtFsNFTL_WriteSector
Definition: fs_evr.h:289
__STATIC_INLINE void EvrFsIOC_DriveIdInvalid(uint32_t drv_id)
Event on invalid drive ID specifier (Error)
Definition: fs_evr.h:3265
__STATIC_INLINE void EvrFsIOC_ReadSectorSuccess(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on successful read sector operation (Op)
Definition: fs_evr.h:3127
__STATIC_INLINE void EvrFsFAT_MountDrive(uint32_t drive)
Event on FAT drive mount operation (Op)
Definition: fs_evr.h:975
#define EvtFsEFS_FormatDriveSuccess
Definition: fs_evr.h:186
__STATIC_INLINE void EvrFsEFS_FlashEraseFailed(uint32_t drive, uint32_t block, uint32_t addr)
Event on Flash driver read data error (Error)
Definition: fs_evr.h:2905
#define EvtFsFAT_GetFreeSpace
Definition: fs_evr.h:154
#define EvtFsNAND_DriverEccInquire
Definition: fs_evr.h:341
__STATIC_INLINE void EvrFsMcSPI_ReadInfo(uint32_t instance)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:5564
__STATIC_INLINE void EvrFsFAT_VolumeWriteStatError(uint32_t drive)
Event on FAT volume write protection active status error (Error)
Definition: fs_evr.h:1035
__STATIC_INLINE void EvrFsIOC_ReadSectorError(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on read sector operation error (Error)
Definition: fs_evr.h:3142
#define EvtFsNFTL_DevCtrlUnsupported
Definition: fs_evr.h:282
__STATIC_INLINE void EvrFsIOC_WriteSectorError(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on write sector operation error (Error)
Definition: fs_evr.h:3187
#define EvtFsMcSPI_MediaWpActive
Definition: fs_evr.h:423
__STATIC_INLINE void EvrFsEFS_FileSeek(uint32_t h, uint32_t pos)
Event on EFS file seek (Op)
Definition: fs_evr.h:2586
__STATIC_INLINE void EvrFsIOC_ReadInfo(uint32_t drv_id, uint32_t info)
Event on call of fs_ioc_read_info function (API)
Definition: fs_evr.h:3200
#define EvtFsEFS_FlashWriteFailed
Definition: fs_evr.h:223
__STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid(uint32_t instance, uint32_t state)
Event on discovery of invalid device state (Error)
Definition: fs_evr.h:5056
#define EvtFsMcMCI_CardPowerControl
Definition: fs_evr.h:406
#define EvtFsMcSPI_InitDriverSuccess
Definition: fs_evr.h:415
#define EvtFsNFTL_PageProgramStatusErr
Definition: fs_evr.h:310
#define EvtFsMcMCI_UninitDriver
Definition: fs_evr.h:383
#define EvtFsMcMCI_LockUnlockExec
Definition: fs_evr.h:395
#define EvtFsFAT_OptionsString
Definition: fs_evr.h:161
__STATIC_INLINE void EvrFsEFS_FlashReadTimeout(uint32_t drive, uint32_t addr, void *buf, uint32_t cnt)
Event on Flash driver read data timeout (Error)
Definition: fs_evr.h:2891
__STATIC_INLINE void EvrFsEFS_DriveCheckSuccess(uint32_t drive)
Event on EFS drive check completed without errors (Error)
Definition: fs_evr.h:2725
__STATIC_INLINE void EvrFsEFS_FormatDriveSuccess(uint32_t drive)
Event on successful EFS drive format operation (Op)
Definition: fs_evr.h:2381
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExec(uint32_t instance)
Event on Lock/Unlock command execution (Op)
Definition: fs_evr.h:4994
__STATIC_INLINE void EvrFsFAT_FileSeek(uint32_t h, uint32_t pos)
Event on FAT file seek (Op)
Definition: fs_evr.h:1752
__STATIC_INLINE void EvrFsFAT_InvalidMBR(uint32_t drive)
Event on invalid Master Boot Record (Error)
Definition: fs_evr.h:1072
__STATIC_INLINE void EvrFsFAT_ChDirSuccess(uint32_t drive, const char *path)
Event on successful FAT directory remove operation (Op)
Definition: fs_evr.h:1900
#define EvtFsFAT_ChDir
Definition: fs_evr.h:148
__STATIC_INLINE void EvrFsFAT_FileHandleError(int32_t h, uint32_t flags)
Event on FAT file handle error (Error)
Definition: fs_evr.h:1699
#define EvtFsMcSPI_CidReadError
Definition: fs_evr.h:433
__STATIC_INLINE void EvrFsMcMCI_MediaWpInactive(uint32_t instance)
Event on inactive write protection switch (Op)
Definition: fs_evr.h:4604
__STATIC_INLINE void EvrFsEFS_FileAllocWrite(uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index)
Event on EFS file allocation info write (Detail)
Definition: fs_evr.h:2969
__STATIC_INLINE void EvrFsFAT_FormatLowLevel(uint32_t drive)
Event on FAT media low level format operation (Op)
Definition: fs_evr.h:1305
#define EvtFsFAT_DirRemoveSuccess
Definition: fs_evr.h:147
__STATIC_INLINE void EvrFsFAT_ReadBootSector(uint32_t drive, uint32_t sector)
Event on Boot Sector read operation (Op)
Definition: fs_evr.h:1097
__STATIC_INLINE void EvrFsMcSPI_MediaResetError(uint32_t instance)
Event on memory card device reset error (Op)
Definition: fs_evr.h:5360
__STATIC_INLINE void EvrFsIOC_GetCacheSuccess(uint32_t drv_id, uint32_t buf, uint32_t size)
Event on successful cache buffer information retrieve operation (Op)
Definition: fs_evr.h:3097
#define EvtFsEFS_OpenModeUnsupported
Definition: fs_evr.h:193
#define EvtFsNFTL_ReadInfoSuccess
Definition: fs_evr.h:280
#define EvtFsCore_fattrib
Definition: fs_evr.h:50
#define EvtFsIOC_ReadInfoSuccess
Definition: fs_evr.h:252
#define EvtFsCore_CurrentDriveSelect
Definition: fs_evr.h:65
#define EvtFsIOC_ReadInfoError
Definition: fs_evr.h:253
#define EvtFsNFTL_TableUpdate
Definition: fs_evr.h:318
__STATIC_INLINE void EvrFsNFTL_LoadSector(uint32_t instance, uint32_t lsn, uint32_t offs, uint32_t spare)
Event on loading sector data from/to NAND page buffer (Detail)
Definition: fs_evr.h:4067
#define EvtFsCore_sys_open
Definition: fs_evr.h:35
__STATIC_INLINE void EvrFsMcMCI_TransferAbort(uint32_t instance)
Event on data transfer abort operation (Op)
Definition: fs_evr.h:5082
__STATIC_INLINE void EvrFsFAT_InitJournalFATError(uint32_t drive)
Event on invalid FAT formatting to complete journal initialization (Error)
Definition: fs_evr.h:1674
__STATIC_INLINE void EvrFsEFS_OpenModeInvalid(uint32_t h, uint32_t flags)
Event on invalid EFS file handle open mode (Error)
Definition: fs_evr.h:2573
__STATIC_INLINE void EvrFsMcMCI_HighSpeedSwitchError(uint32_t instance)
Event on high speed mode switch error (Error)
Definition: fs_evr.h:4786
#define EvtFsFAT_WriteFSInfo
Definition: fs_evr.h:93
#define EvtFsFAT_DriverNotInitialized
Definition: fs_evr.h:159
#define EvtFsNFTL_SetupSpareLayout
Definition: fs_evr.h:324
__STATIC_INLINE void EvrFsFAT_ClearRootSectors(uint32_t drive, uint32_t sector, uint32_t count)
Event on FAT root sectors clear operation (Op)
Definition: fs_evr.h:1397
#define EvtFsMcMCI_LockUnlockExecError
Definition: fs_evr.h:396
__STATIC_INLINE void EvrFsMcSPI_UninitMedia(uint32_t instance)
Event on memory card device uninitialization (Op)
Definition: fs_evr.h:5496
__STATIC_INLINE void EvrFsFAT_DriverNotInitialized(uint32_t drive)
Event on EFS when media driver is not initialized (Error)
Definition: fs_evr.h:2030
#define EvtFsMcSPI_MediaCdInactive
Definition: fs_evr.h:422
__STATIC_INLINE void EvrFsNFTL_PageWrite(uint32_t instance, uint32_t pbn, uint32_t pg)
Event on page write (Op)
Definition: fs_evr.h:4140
#define EvtFsMcSPI_MediaReady
Definition: fs_evr.h:429
#define EvtFsCore_frmdir
Definition: fs_evr.h:54
__STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout(uint32_t drive)
Event on Flash chip erase operation timeout (Error)
Definition: fs_evr.h:2417
__STATIC_INLINE void EvrFsFAT_VolumeReadyStatError(uint32_t drive)
Event on FAT volume ready status error (Error)
Definition: fs_evr.h:1023
__STATIC_INLINE void EvrFsNFTL_FormatLLEB(uint32_t instance)
Event on NFTL format operation with option LLEB (Op)
Definition: fs_evr.h:3595
__STATIC_INLINE void EvrFsMcSPI_ReadCdMissing(uint32_t instance)
Event on missing fs_mc_read_cd function (Op)
Definition: fs_evr.h:5701
__STATIC_INLINE void EvrFsNFTL_PageReadFailed(uint32_t instance, uint32_t row)
Event on NAND page read error (Error)
Definition: fs_evr.h:3921
__STATIC_INLINE void EvrFsCore_frename(const char *path, const char *newname)
Event on file or directory rename (API)
Definition: fs_evr.h:648
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionError(uint32_t instance)
Event on media device detection error (Error)
Definition: fs_evr.h:5433
__STATIC_INLINE void EvrFsMcMCI_MediaNoResponse(uint32_t instance)
Event on nonresponsive media device (Error)
Definition: fs_evr.h:4665
#define EvtFsMcMCI_ExtCsdReadError
Definition: fs_evr.h:378
uint16_t year
Year [1980..2107].
Definition: rl_fs.h:130
#define EvtFsFAT_ReadBootSector
Definition: fs_evr.h:86
#define EvtFsFAT_PathIsTooLong
Definition: fs_evr.h:115
__STATIC_INLINE void EvrFsFAT_NameCacheHit(uint32_t drive, const char *name, uint32_t len)
Event on FAT name cache hit (Op)
Definition: fs_evr.h:2083
__STATIC_INLINE void EvrFsFAT_MountDriveSuccess(uint32_t drive)
Event on successful mount of a FAT drive (Op)
Definition: fs_evr.h:1207
#define EvtFsNAND_DriverDevPowerSelect
Definition: fs_evr.h:340
__STATIC_INLINE void EvrFsNFTL_LsnFound(uint32_t instance, uint32_t lsn, uint32_t pbn, uint32_t pg)
Event when logical sector is found within NAND block (Op)
Definition: fs_evr.h:3813
__STATIC_INLINE void EvrFsCore_fpwd(const char *drive, char *buf, uint32_t len)
Event on working directory retrieval (API)
Definition: fs_evr.h:675
#define EvtFsFAT_DirRemove
Definition: fs_evr.h:146
#define EvtFsMcSPI_SectorWriteError
Definition: fs_evr.h:441
#define EvtFsNAND_InitDriver
Definition: fs_evr.h:334
__STATIC_INLINE void EvrFsNFTL_ReadTableFailed(uint32_t instance)
Event on NFTL (Error)
Definition: fs_evr.h:3470
#define EvtFsMcSPI_MediaWpInactive
Definition: fs_evr.h:424
__STATIC_INLINE void EvrFsEFS_InitDrive(uint32_t drive)
Event on EFS drive initialization (Op)
Definition: fs_evr.h:2219
__STATIC_INLINE void EvrFsIOC_DriveNotFAT(uint32_t drv_id)
Event on non-FAT drive specifier (Error)
Definition: fs_evr.h:3277
#define EvtFsFAT_TimeData
Definition: fs_evr.h:170
__STATIC_INLINE void EvrFsNFTL_TableUpdate(uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1)
Event on translation table update (Op)
Definition: fs_evr.h:4039
__STATIC_INLINE void EvrFsFAT_DiskFull(uint32_t drive)
Event on out of free space error (Error)
Definition: fs_evr.h:1613
__STATIC_INLINE void EvrFsFAT_FileRenameSuccess(uint32_t drive, const char *path, const char *newname)
Event on successful FAT file rename operation (Op)
Definition: fs_evr.h:1820
__STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess(uint32_t drive)
Event on successful EFS drive unmount operation (Op)
Definition: fs_evr.h:2357
__STATIC_INLINE void EvrFsNFTL_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:4024
#define EvtFsMcMCI_InitDriverError
Definition: fs_evr.h:357
__STATIC_INLINE void EvrFsMcSPI_DriverReceiveError(uint32_t instance, uint32_t event)
Event on SPI driver Receive function error (Error)
Definition: fs_evr.h:5739
__STATIC_INLINE void EvrFsMcMCI_InitDriver(uint32_t instance, uint32_t driver)
Event on memory card driver initialization (Op)
Definition: fs_evr.h:4505
__STATIC_INLINE void EvrFsEFS_FileInUse(uint32_t h)
Event on EFS file busy (Error)
Definition: fs_evr.h:2834
__STATIC_INLINE void EvrFsCore_sys_open(const char *name, int openmode)
Event on file open (API)
Definition: fs_evr.h:471
__STATIC_INLINE void EvrFsFAT_DirRemoveSuccess(uint32_t drive, const char *path, const char *options)
Event on successful FAT directory remove operation (Op)
Definition: fs_evr.h:1874
#define EvtFsFAT_LabelString
Definition: fs_evr.h:162
__STATIC_INLINE void EvrFsEFS_FileSeekEOF(uint32_t h, uint32_t size, uint32_t pos)
Event on EFS file seek beyond EOF (Error)
Definition: fs_evr.h:2600
__STATIC_INLINE void EvrFsMcMCI_RcaWriteError(uint32_t instance)
Event on RCA (Relative Card Address) register write error (Error)
Definition: fs_evr.h:4725
#define EvtFsNAND_BlockErase
Definition: fs_evr.h:348
__STATIC_INLINE void EvrFsNFTL_BlockEraseTimeout(uint32_t instance, uint32_t row)
Event on NAND block erase timeout (Error)
Definition: fs_evr.h:3999
#define EvtFsMcMCI_SectorReadError
Definition: fs_evr.h:386
__STATIC_INLINE void EvrFsMcSPI_MediaReady(uint32_t instance, uint32_t ocr)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:5397
__STATIC_INLINE void EvrFsCore_sys_read(int fh, unsigned char *buf, unsigned int len)
Event on read from a file (API)
Definition: fs_evr.h:511
#define EvtFsFAT_FileDelete
Definition: fs_evr.h:140
__STATIC_INLINE void EvrFsNFTL_ReadTable(uint32_t instance)
Event on NFTL invalid boot signatures (Op)
Definition: fs_evr.h:3458
#define EvtFsNFTL_ResetDeviceTimeout
Definition: fs_evr.h:268
__STATIC_INLINE void EvrFsFAT_InvalidFSInfo(uint32_t drive)
Event on invalid FAT FSInfo signature (Error)
Definition: fs_evr.h:1146
#define EvtFsMcMCI_DeviceStateInvalid
Definition: fs_evr.h:400
#define EvtFsFAT_InitJournalSuccess
Definition: fs_evr.h:131
#define EvtFsNFTL_WriteSectorSuccess
Definition: fs_evr.h:290
__STATIC_INLINE void EvrFsNFTL_SetBadBlockMarker(uint32_t instance, uint32_t pbn)
Event on setting NAND block as bad (Op)
Definition: fs_evr.h:3855
__STATIC_INLINE void EvrFsFAT_UnmountDrive(uint32_t drive)
Event on FAT drive unmount operation (Op)
Definition: fs_evr.h:1219
#define EvtFsMcMCI_TransferAbort
Definition: fs_evr.h:402
__STATIC_INLINE void EvrFsNFTL_LsnNotFound(uint32_t instance, uint32_t lsn, uint32_t pbn)
Event when logical sector is not found within NAND block (Op)
Definition: fs_evr.h:3827
#define EvtFsMcMCI_RcaReadError
Definition: fs_evr.h:373
#define EvtFsNFTL_BlockEraseFailed
Definition: fs_evr.h:314
__STATIC_INLINE void EvrFsFAT_PathIsDirNotFile(uint32_t drive)
Event on FAT directory found instead of file (Error)
Definition: fs_evr.h:1476
__STATIC_INLINE void EvrFsMcSPI_CmdSendError(uint32_t instance, uint32_t cmd, uint32_t arg)
Event on command send error (Error)
Definition: fs_evr.h:5753
__STATIC_INLINE void EvrFsCore_fchdrive(const char *drive)
Event on current drive change (API)
Definition: fs_evr.h:724
__STATIC_INLINE void EvrFsNAND_Uninit(uint32_t instance)
Event on NAND media layer uninitialization (Op)
Definition: fs_evr.h:4396
#define EvtFsNFTL_ReadBootBlockFailed
Definition: fs_evr.h:270
#define EvtFsIOC_GetId
Definition: fs_evr.h:236
#define EvtFsFAT_UnmountDrive
Definition: fs_evr.h:96
__STATIC_INLINE void EvrFsEFS_MountDriveSuccess(uint32_t drive)
Event on successful EFS drive mount (Op)
Definition: fs_evr.h:2294
__STATIC_INLINE void EvrFsMcSPI_BlenWriteError(uint32_t instance, uint32_t blen)
Event on failed block length setting (Error)
Definition: fs_evr.h:5470
#define EvtFsFAT_FileFind
Definition: fs_evr.h:157
#define EvtFsCore_finit
Definition: fs_evr.h:42
__STATIC_INLINE void EvrFsIOC_LockSuccess(uint32_t drv_id)
Event on successful drive lock operation (Op)
Definition: fs_evr.h:3046
__STATIC_INLINE void EvrFsFAT_PathBufferToSmall(uint32_t drive)
Event on directory/file path buffer size error (Error)
Definition: fs_evr.h:1638
#define EvtFsIOC_ReadSectorError
Definition: fs_evr.h:247
__STATIC_INLINE void EvrFsMcMCI_MediaReset(uint32_t instance)
Event on memory card device reset (Op)
Definition: fs_evr.h:4616
__STATIC_INLINE void EvrFsMcMCI_MediaReady(uint32_t instance, uint32_t ocr)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:4653
#define EvtFsMcMCI_SendCommandError
Definition: fs_evr.h:407
#define EvtFsMcSPI_SectorRead
Definition: fs_evr.h:438
__STATIC_INLINE void EvrFsCore_fchdir(const char *path)
Event on working directory change (API)
Definition: fs_evr.h:687
#define EvtFsFAT_FileHandleError
Definition: fs_evr.h:134
__STATIC_INLINE void EvrFsCore_InvalidDrive(uint32_t drive)
Event on invalid or disabled drive specifier (Error)
Definition: fs_evr.h:836
__STATIC_INLINE void EvrFsNFTL_ReadBootBlockFailed(uint32_t instance)
Event on NFTL boot block error (Error)
Definition: fs_evr.h:3409
__STATIC_INLINE void EvrFsFAT_SectorReadFailed(uint32_t drive, uint32_t sector, uint32_t count)
Event on sector read error (Error)
Definition: fs_evr.h:1587
#define EvtFsEFS_FileInUse
Definition: fs_evr.h:222
__STATIC_INLINE void EvrFsMcMCI_WriteXferSetupError(uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size)
Event on TransferSetup error for write operation (Op)
Definition: fs_evr.h:5175
#define EvtFsCore_ftime_get
Definition: fs_evr.h:67
#define EvtFsEFS_FileOpen
Definition: fs_evr.h:191
#define EvtFsFAT_ClearRootSectors
Definition: fs_evr.h:110
__STATIC_INLINE void EvrFsEFS_FlashWriteFailed(uint32_t drive, uint32_t addr, void *buf, uint32_t cnt)
Event on Flash driver write data error (Error)
Definition: fs_evr.h:2861
__STATIC_INLINE void EvrFsNFTL_LsnFind(uint32_t instance, uint32_t lsn, uint32_t pbn)
Event on search of logical sector within NAND block (Op)
Definition: fs_evr.h:3798
__STATIC_INLINE void EvrFsMcMCI_InitDriverError(uint32_t instance, uint32_t driver)
Event on memory card driver initialization error (Op)
Definition: fs_evr.h:4518
__STATIC_INLINE void EvrFsMcSPI_MediaPasswordEnabled(uint32_t instance)
Event on detection of enabled media password protection (Error)
Definition: fs_evr.h:5803
#define EvtFsEFS_DiskFull
Definition: fs_evr.h:227
__STATIC_INLINE void EvrFsEFS_FileHandleInvalid(uint32_t h)
Event on invalid handle (Error)
Definition: fs_evr.h:2822
__STATIC_INLINE void EvrFsFAT_WriteBootSector(uint32_t drive, uint32_t sector)
Event on Boot Sector write operation (Op)
Definition: fs_evr.h:1355
__STATIC_INLINE void EvrFsNFTL_LoadDataLayout(uint32_t instance, uint32_t pbn_0, uint32_t pbn_1)
Event on file data layout configuration read (Detail)
Definition: fs_evr.h:4095
__STATIC_INLINE void EvrFsFAT_NameCacheEntryFound(uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt)
Event on found file name entry in FAT name cache (Detail)
Definition: fs_evr.h:2112
#define EvtFsFAT_FileDeleteSuccess
Definition: fs_evr.h:141
__STATIC_INLINE void EvrFsMcMCI_DataBusSwitchError(uint32_t instance)
Event on data bus width switch error (Error)
Definition: fs_evr.h:4798
__STATIC_INLINE void EvrFsFAT_InvalidFAT(uint32_t drive)
Event on invalid FAT volume description (Error)
Definition: fs_evr.h:1121
__STATIC_INLINE void EvrFsMcMCI_RcaReadError(uint32_t instance)
Event on RCA (Relative Card Address) register read error (Error)
Definition: fs_evr.h:4713
__STATIC_INLINE void EvrFsFAT_PathProcessing(uint32_t drive, const char *path)
Event on FAT path processing (Op)
Definition: fs_evr.h:1525
__STATIC_INLINE void EvrFsFAT_PathInvalidChar(const char ch)
Event on invalid FAT path character (Error)
Definition: fs_evr.h:1452
#define EvtFsFAT_ReadMBR
Definition: fs_evr.h:83
#define EvtFsFAT_WriteMBR
Definition: fs_evr.h:106
#define EvtFsNFTL_Init
Definition: fs_evr.h:261
#define EvtFsFAT_InvalidFreeClusFSInfo
Definition: fs_evr.h:91
__STATIC_INLINE void EvrFsCore_fmkdir(const char *path)
Event on directory create (API)
Definition: fs_evr.h:699
#define EvtFsFAT_InvalidFSInfo
Definition: fs_evr.h:90
__STATIC_INLINE void EvrFsFAT_InitJournalSuccess(uint32_t drive)
Event on successful FAT journal initialization (Op)
Definition: fs_evr.h:1662
#define EvtFsFAT_FileSeek
Definition: fs_evr.h:138
__STATIC_INLINE void EvrFsNAND_BlockErase(uint32_t instance, uint32_t row)
Event on NAND erase block operation (Op)
Definition: fs_evr.h:4422
#define EvtFsEFS_FreeSpaceAmount
Definition: fs_evr.h:209
#define EvtFsEFS_UnmountDriveSuccess
Definition: fs_evr.h:184
__STATIC_INLINE void EvrFsCore_sys_seek(int fh, long pos)
Event on file position move (API)
Definition: fs_evr.h:524
#define EvtFsMcMCI_MediaDetectionError
Definition: fs_evr.h:371
#define EvtFsMcMCI_MediaNoResponse
Definition: fs_evr.h:369
__STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig(uint32_t drive, uint32_t current, uint32_t required)
Event on Flash program unit too big (Error)
Definition: fs_evr.h:2320
#define EvtFsFAT_FileModeRead
Definition: fs_evr.h:156
#define EvtFsCore_fpwd
Definition: fs_evr.h:51
__STATIC_INLINE void EvrFsEFS_FileClose(uint32_t h)
Event on EFS file close (Op)
Definition: fs_evr.h:2483
__STATIC_INLINE void EvrFsFAT_FileSeekIncrease(int32_t h, uint32_t csize, uint32_t nsize)
Event on FAT file increase using fseek (Op)
Definition: fs_evr.h:1766
__STATIC_INLINE void EvrFsEFS_UninitDriver(uint32_t drive, uint32_t driver)
Event on EFS driver uninitialization (Op)
Definition: fs_evr.h:2270
__STATIC_INLINE void EvrFsNFTL_AllocatedBlock(uint32_t instance, uint32_t pbn)
Event on successful block allocation (Op)
Definition: fs_evr.h:4052
#define EvtFsCore_finfo
Definition: fs_evr.h:62
__STATIC_INLINE void EvrFsNFTL_Uninit(uint32_t instance)
Event on NFTL device uninitialization (Op)
Definition: fs_evr.h:3482
#define EvtFsMcSPI_ParameterInvalid
Definition: fs_evr.h:460
#define EvtFsIOC_ReadSectorSuccess
Definition: fs_evr.h:246
#define EvtFsMcMCI_CsdReadError
Definition: fs_evr.h:375
#define EvtFsNFTL_LsnFind
Definition: fs_evr.h:300
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionSD(uint32_t instance)
Event on start of SD memory card detection operation (Op)
Definition: fs_evr.h:5372
#define EvtFsEFS_FileRead
Definition: fs_evr.h:196
#define EvtFsMcMCI_TransferError
Definition: fs_evr.h:389
__STATIC_INLINE void EvrFsNFTL_BBMPositionSet(uint32_t instance, uint32_t pos)
Event on NFTL bad block position setting (Op)
Definition: fs_evr.h:3608
#define EvtFsEFS_FileName
Definition: fs_evr.h:231
#define EvtFsEFS_FlashGetInfo
Definition: fs_evr.h:180
__STATIC_INLINE void EvrFsCore_finfo(const char *drive, fsDriveInfo *info)
Event on drive information read (API)
Definition: fs_evr.h:810
__STATIC_INLINE void EvrFsFAT_FileOpen(uint32_t h, const char *path, uint32_t openmode)
Event on FAT file open (Op)
Definition: fs_evr.h:1440
#define EvtFsNFTL_LbnOutOfRange
Definition: fs_evr.h:295
#define EvtFsCore_fvol
Definition: fs_evr.h:63
__STATIC_INLINE void EvrFsFAT_FileHandleUnavailable(uint32_t drive)
Event on FAT file handle not available (Error)
Definition: fs_evr.h:1537
__STATIC_INLINE void EvrFsNFTL_CacheRead(uint32_t instance, uint32_t pbn, uint32_t pg, uint32_t col)
Event on page cache read (Op)
Definition: fs_evr.h:4209
__STATIC_INLINE void EvrFsMcSPI_MediaCdInactive(uint32_t instance)
Event on card detect switch check and media is not present (Op)
Definition: fs_evr.h:5312
__STATIC_INLINE void EvrFsFAT_ResetHandles(uint32_t drive)
Event on reset of all FAT file handles (Op)
Definition: fs_evr.h:1267
#define EvtFsNFTL_DeviceNotInitialized
Definition: fs_evr.h:265
#define EvtFsEFS_MountDriveSuccess
Definition: fs_evr.h:179
#define EvtFsMcMCI_HighSpeedSwitchError
Definition: fs_evr.h:379
#define EvtFsMcMCI_InitDriver
Definition: fs_evr.h:356
#define EvtFsFAT_InvalidNextClusFSInfo
Definition: fs_evr.h:92
__STATIC_INLINE void EvrFsMcSPI_LockActive(uint32_t instance)
Event on active password protection status (Op)
Definition: fs_evr.h:5640
__STATIC_INLINE void EvrFsFAT_InvalidNextClusFSInfo(uint32_t drive)
Event on invalid next free cluster in FAT FSInfo signature (Error)
Definition: fs_evr.h:1170
#define EvtFsMcMCI_InitMedia
Definition: fs_evr.h:359
__STATIC_INLINE void EvrFsMcMCI_MediaCdInactive(uint32_t instance)
Event on card detect switch check and media is not present (Op)
Definition: fs_evr.h:4580
__STATIC_INLINE void EvrFsNAND_DriverBusModeSelect(uint32_t instance, uint32_t driver, uint32_t mode)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4275
#define EvtFsFAT_UninitDrive
Definition: fs_evr.h:75
__STATIC_INLINE void EvrFsCore_funmount(const char *drive)
Event on drive unmount (API)
Definition: fs_evr.h:597
#define EvtFsFAT_InvalidFAT
Definition: fs_evr.h:88
__STATIC_INLINE void EvrFsFAT_PathName(const char *buf, uint32_t len)
Event on FAT path specification (Detail)
Definition: fs_evr.h:2043
__STATIC_INLINE void EvrFsMcSPI_SectorRead(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation (Op)
Definition: fs_evr.h:5510
#define EvtFsFAT_VolumeReadyStatError
Definition: fs_evr.h:80
#define EvtFsFAT_UnmountDriveSuccess
Definition: fs_evr.h:97
#define EvtFsFAT_AttribSetSuccess
Definition: fs_evr.h:153
#define EvtFsFAT_FormatProperties
Definition: fs_evr.h:112
__STATIC_INLINE void EvrFsMcSPI_CsdReadError(uint32_t instance)
Event on CSD register read error (Error)
Definition: fs_evr.h:5457
__STATIC_INLINE void EvrFsMcSPI_MediaWpActive(uint32_t instance)
Event on active write protection switch (Op)
Definition: fs_evr.h:5324
__STATIC_INLINE void EvrFsEFS_InvalidParameter(uint32_t drive)
Event on EFS invalid function parameter error (Error)
Definition: fs_evr.h:2917
#define EvtFsMcSPI_DevCtrl
Definition: fs_evr.h:444
__STATIC_INLINE void EvrFsEFS_FileRename(uint32_t drive, const char *path, const char *newname)
Event on EFS file rename (Op)
Definition: fs_evr.h:2627
#define EvtFsEFS_InvalidParameter
Definition: fs_evr.h:228
__STATIC_INLINE void EvrFsCore_frmdir(const char *path, const char *options)
Event on directory remove (API)
Definition: fs_evr.h:712
#define EvtFsEFS_UninitDrive
Definition: fs_evr.h:176
__STATIC_INLINE void EvrFsFAT_ChDir(uint32_t drive, const char *path)
Event on FAT current directory change (Op)
Definition: fs_evr.h:1887
#define EvtFsFAT_FormatDrive
Definition: fs_evr.h:98
#define EvtFsNFTL_Mount
Definition: fs_evr.h:263
#define EvtFsIOC_DeviceControl
Definition: fs_evr.h:254
__STATIC_INLINE void EvrFsNFTL_BlockErase(uint32_t instance, uint32_t pbn)
Event on block erase (Op)
Definition: fs_evr.h:4167
__STATIC_INLINE void EvrFsNAND_DeviceReset(uint32_t instance)
Event on NAND device reset operation (Op)
Definition: fs_evr.h:4492
#define EvtFsEFS_FileHandleInvalid
Definition: fs_evr.h:221
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExecError(uint32_t instance)
Event on Lock/Unlock command execution error (Error)
Definition: fs_evr.h:5628
__STATIC_INLINE void EvrFsFAT_NameCacheEntryInsert(uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt)
Event on FAT name cache entry insert (Detail)
Definition: fs_evr.h:2127
#define EvtFsCore_sys_read
Definition: fs_evr.h:38
__STATIC_INLINE void EvrFsMcSPI_SectorWrite(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation (Op)
Definition: fs_evr.h:5538
#define EvtFsIOC_LockSuccess
Definition: fs_evr.h:240
#define EvtFsMcMCI_LockActive
Definition: fs_evr.h:397
__STATIC_INLINE void EvrFsNFTL_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on succesful media capacity retrieval (Op)
Definition: fs_evr.h:3532
__STATIC_INLINE void EvrFsMcSPI_ACmdResponseError(uint32_t instance, uint32_t cmd)
Event on missing or invalid application command response (Error)
Definition: fs_evr.h:5779
#define EvtFsCore_fdefrag
Definition: fs_evr.h:60
#define EvtFsIOC_UnlockSuccess
Definition: fs_evr.h:242
#define EvtFsFAT_PwdSuccess
Definition: fs_evr.h:151
__STATIC_INLINE void EvrFsIOC_ReadSector(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on call of fs_ioc_read_sector function (API)
Definition: fs_evr.h:3112
__STATIC_INLINE void EvrFsMcMCI_LockDeactivated(uint32_t instance)
Event on deactivated password protection status (Op)
Definition: fs_evr.h:5030
__STATIC_INLINE void EvrFsNAND_Init(uint32_t instance)
Event on NAND media layer initialization (Op)
Definition: fs_evr.h:4221
#define EvtFsNFTL_LoadSector
Definition: fs_evr.h:320
#define EvtFsEFS_FileIdInvalid
Definition: fs_evr.h:215
#define EvtFsFAT_NameCacheEntryDelete
Definition: fs_evr.h:167
__STATIC_INLINE void EvrFsNFTL_Mount(uint32_t instance)
Event on NFTL mount (Op)
Definition: fs_evr.h:3325
#define EvtFsFAT_InitDrive
Definition: fs_evr.h:71
__STATIC_INLINE void EvrFsNAND_PageRead(uint32_t instance, uint32_t row, uint32_t col, uint32_t len)
Event on NAND page read operation (Op)
Definition: fs_evr.h:4452
__STATIC_INLINE void EvrFsMcSPI_MediaWpInactive(uint32_t instance)
Event on inactive write protection switch (Op)
Definition: fs_evr.h:5336
__STATIC_INLINE void EvrFsFAT_FormatProperties(uint32_t drive, uint32_t type, uint32_t clus_size, uint32_t data_clus)
Event on setting FAT format properties (Op)
Definition: fs_evr.h:1426
#define EvtFsMcSPI_ReadInfo
Definition: fs_evr.h:442
#define EvtFsEFS_FlashReadFailed
Definition: fs_evr.h:224
__STATIC_INLINE void EvrFsEFS_FlashEraseSectors(uint32_t drive, uint32_t sector, uint32_t cnt)
Event on Flash sectors erase operation (Op)
Definition: fs_evr.h:2431
#define EvtFsMcMCI_DevCtrlUnsupported
Definition: fs_evr.h:394
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionMMC(uint32_t instance)
Event on start of MMC/eMMC device detection procedure (Op)
Definition: fs_evr.h:5421
#define EvtFsIOC_WriteSectorSuccess
Definition: fs_evr.h:249
#define EvtFsFAT_FileRenameSuccess
Definition: fs_evr.h:143
__STATIC_INLINE void EvrFsIOC_UnlockSuccess(uint32_t drv_id)
Event on successful drive unlock operation (Op)
Definition: fs_evr.h:3070
#define EvtFsIOC_GetCacheSuccess
Definition: fs_evr.h:244
#define EvtFsEFS_FlashEraseChip
Definition: fs_evr.h:187
__STATIC_INLINE void EvrFsEFS_FlashReadFailed(uint32_t drive, uint32_t addr, void *buf, uint32_t cnt)
Event on Flash driver read data error (Error)
Definition: fs_evr.h:2876
__STATIC_INLINE void EvrFsMcMCI_TranStateError(uint32_t instance)
Event on failed switch to TRAN state (Error)
Definition: fs_evr.h:4749
#define EvtFsMcSPI_CmdResponseError
Definition: fs_evr.h:458
#define EvtFsNAND_DeviceTimeoutError
Definition: fs_evr.h:345
#define EvtFsCore_fcheck
Definition: fs_evr.h:59
#define EvtFsFAT_LabelInvalid
Definition: fs_evr.h:123
__STATIC_INLINE void EvrFsMcMCI_UninitDriver(uint32_t instance, uint32_t driver)
Event on MCI driver uninitialization (Op)
Definition: fs_evr.h:4835
__STATIC_INLINE void EvrFsMcMCI_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:5187
__STATIC_INLINE void EvrFsMcMCI_SectorReadError(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation error (Op)
Definition: fs_evr.h:4876
#define EvtFsCore_ffree
Definition: fs_evr.h:56
#define EvtFsCore_fchdrive
Definition: fs_evr.h:55
__STATIC_INLINE void EvrFsMcMCI_BlenWriteError(uint32_t instance, uint32_t blen)
Event on failed block length setting (Error)
Definition: fs_evr.h:4762
#define EvtFsNFTL_PageReadFailed
Definition: fs_evr.h:309
__STATIC_INLINE void EvrFsNFTL_UninitDriverFailed(uint32_t instance)
Event on NFTL driver uninitialization error (Error)
Definition: fs_evr.h:3506
__STATIC_INLINE void EvrFsFAT_GetFreeSpace(uint32_t drive)
Event on FAT free space retrieve request (Op)
Definition: fs_evr.h:1968
__STATIC_INLINE void EvrFsMcMCI_MediaNotInitialized(uint32_t instance)
Event on using uninitialized memory card device (Error)
Definition: fs_evr.h:4556
__STATIC_INLINE void EvrFsNFTL_PageProgramStatusErr(uint32_t instance, uint32_t row)
Event on invalid page program status value (Error)
Definition: fs_evr.h:3934
#define EvtFsIOC_ReadSector
Definition: fs_evr.h:245
__STATIC_INLINE void EvrFsCore_fattrib(const char *path, const char *attr)
Event on file or directory attribute change (API)
Definition: fs_evr.h:661
#define EvtFsEFS_FileOpenWriteMode
Definition: fs_evr.h:197
#define EvtFsFAT_MountDrive
Definition: fs_evr.h:76
#define EvtFsEFS_FileSeek
Definition: fs_evr.h:202
__STATIC_INLINE void EvrFsMcMCI_InitMedia(uint32_t instance)
Event on memory card device initialization (Op)
Definition: fs_evr.h:4544
#define EvtFsCore_fmount
Definition: fs_evr.h:44
#define EvtFsFAT_FileOpen
Definition: fs_evr.h:113
#define EvtFsMcSPI_MediaReset
Definition: fs_evr.h:425
#define EvtFsEFS_MountDrive
Definition: fs_evr.h:178
__STATIC_INLINE void EvrFsMcSPI_MediaReset(uint32_t instance)
Event on start of memory card device reset operation (Op)
Definition: fs_evr.h:5348
__STATIC_INLINE void EvrFsMcMCI_SleepActive(uint32_t instance)
Event on SLEEP mode active status (Op)
Definition: fs_evr.h:5106
__STATIC_INLINE void EvrFsNFTL_DevCtrlUnsupported(uint32_t instance, uint32_t code)
Event on NFTL device control code unsupported error (Error)
Definition: fs_evr.h:3559
__STATIC_INLINE void EvrFsFAT_NameCacheEntryDelete(uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt)
Event on FAT name cache entry delete (Detail)
Definition: fs_evr.h:2142
__STATIC_INLINE void EvrFsFAT_SectorWriteFailed(uint32_t drive, uint32_t sector, uint32_t count)
Event on sector write error (Error)
Definition: fs_evr.h:1601
__STATIC_INLINE void EvrFsNFTL_InitMediaFailed(uint32_t instance)
Event on NFTL memory media initialization error (Error)
Definition: fs_evr.h:3313
__STATIC_INLINE void EvrFsFAT_PwdSuccess(uint32_t drive, const char *path, uint32_t len)
Event on successful FAT current directory print (Op)
Definition: fs_evr.h:1928
#define EvtFsNFTL_RelocateBlock
Definition: fs_evr.h:306
#define EvtFsFAT_ClearReservedSectors
Definition: fs_evr.h:109
__STATIC_INLINE void EvrFsNFTL_StatusRead(uint32_t instance, uint32_t status)
Event on status read (Op)
Definition: fs_evr.h:4180
#define EvtFsNAND_DriverBusWidthSelect
Definition: fs_evr.h:338
#define EvtFsMcMCI_MediaPasswordEnabled
Definition: fs_evr.h:411
__STATIC_INLINE void EvrFsEFS_FileOpenReadMode(uint32_t h)
Event on EFS when writing to read only file (Error)
Definition: fs_evr.h:2548
__STATIC_INLINE void EvrFsFAT_MediaInitStatError(uint32_t drive)
Event on FAT media init status error (Error)
Definition: fs_evr.h:1011
__STATIC_INLINE void EvrFsIOC_GetCache(uint32_t drv_id, uint32_t cache_info)
Event on call of fs_ioc_get_cache function (API)
Definition: fs_evr.h:3083
#define EvtFsNFTL_PageProgramFailed
Definition: fs_evr.h:311
__STATIC_INLINE void EvrFsNAND_IdRead(uint32_t instance, uint32_t addr, uint32_t len)
Event on NAND device ID read operation (Op)
Definition: fs_evr.h:4480
__STATIC_INLINE void EvrFsNFTL_AllocateBlock(uint32_t instance, uint32_t area)
Event on NAND block allocation operation (Op)
Definition: fs_evr.h:3784
__STATIC_INLINE void EvrFsNFTL_MoveData(uint32_t instance, uint32_t src, uint32_t dst)
Event on block content move (Op)
Definition: fs_evr.h:3869
__STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown(uint32_t instance, uint32_t state)
Event on discovery of unknown device state (Error)
Definition: fs_evr.h:5043
#define EvtFsFAT_SectorWriteFailed
Definition: fs_evr.h:126
#define EvtFsFAT_NameCacheEntryFound
Definition: fs_evr.h:165
#define EvtFsMcSPI_MediaDetectionError
Definition: fs_evr.h:432
__STATIC_INLINE void EvrFsMcMCI_AwakeActive(uint32_t instance)
Event on AWAKE mode active status (Op)
Definition: fs_evr.h:5118
#define EvtFsEFS_FileWrite
Definition: fs_evr.h:198
#define EvtFsEFS_FileClose
Definition: fs_evr.h:194
#define EvtFsFAT_TimeGet
Definition: fs_evr.h:169
__STATIC_INLINE void EvrFsNFTL_WriteSectorSuccess(uint32_t instance)
Event on successful NFTL write sector operation (Op)
Definition: fs_evr.h:3661
__STATIC_INLINE void EvrFsNFTL_ResetDevice(uint32_t instance)
Event on NAND device reset (Op)
Definition: fs_evr.h:3361
__STATIC_INLINE void EvrFsFAT_FormatDrive(uint32_t drive)
Event on FAT drive format operation (Op)
Definition: fs_evr.h:1243
__STATIC_INLINE void EvrFsMcSPI_SectorReadError(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation error (Op)
Definition: fs_evr.h:5524
#define EvtFsMcSPI_ReadCdMissing
Definition: fs_evr.h:452
#define EvtFsFAT_NameCacheEntryInsert
Definition: fs_evr.h:166
__STATIC_INLINE void EvrFsNAND_DriverBusWidthError(uint32_t instance, uint32_t driver, uint32_t width)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4303
#define EvtFsNFTL_StatusRead
Definition: fs_evr.h:328
__STATIC_INLINE void EvrFsEFS_FileHandleActive(uint32_t drive, uint32_t h)
Event (Error)
Definition: fs_evr.h:2798
#define EvtFsMcSPI_CmdSendError
Definition: fs_evr.h:457
#define EvtFsNFTL_AllocatedBlock
Definition: fs_evr.h:319
#define EvtFsCore_fdelete
Definition: fs_evr.h:47
#define EvtFsCore_sys_write
Definition: fs_evr.h:37
__STATIC_INLINE void EvrFsFAT_InitDriverCfgError(uint32_t drive)
Event on FAT driver configuration error (Error)
Definition: fs_evr.h:939
#define EvtFsMcMCI_ReadXferSetupError
Definition: fs_evr.h:408
__STATIC_INLINE void EvrFsNFTL_LoadTableLayout(uint32_t instance, uint32_t pbn_0, uint32_t pbn_1)
Event on translation table layout configuration read (Detail)
Definition: fs_evr.h:4081
__STATIC_INLINE void EvrFsMcMCI_DevCtrlUnsupported(uint32_t instance, uint32_t code)
Event on memory card device control code unsupported error (Error)
Definition: fs_evr.h:4982
__STATIC_INLINE void EvrFsFAT_FileIsNonExistent(uint32_t drive)
Event on specification of nonexistent FAT file (Error)
Definition: fs_evr.h:1512
__STATIC_INLINE void EvrFsCore_fvol(const char *drive, char *label, uint32_t *serial)
Event on drive label and serial number read (API)
Definition: fs_evr.h:824
#define EvtFsMcSPI_LockActive
Definition: fs_evr.h:448
__STATIC_INLINE void EvrFsMcMCI_CsdReadError(uint32_t instance)
Event on CSD register read error (Error)
Definition: fs_evr.h:4737
#define EvtFsCore_fanalyse
Definition: fs_evr.h:58
__STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess(uint32_t instance)
Event on successful memory card device initialization (Op)
Definition: fs_evr.h:5276
#define EvtFsMcSPI_SectorReadError
Definition: fs_evr.h:439
#define EvtFsEFS_FileFlush
Definition: fs_evr.h:200
#define EvtFsCore_frename
Definition: fs_evr.h:49
uint8_t mon
Month [1..12].
Definition: rl_fs.h:129
#define EvtFsFAT_VolumeNotMounted
Definition: fs_evr.h:82
#define EvtFsNFTL_LsnFound
Definition: fs_evr.h:301
__STATIC_INLINE void EvrFsFAT_MediaInsertStatError(uint32_t drive)
Event on FAT media not present status error (Error)
Definition: fs_evr.h:999
#define EvtFsFAT_FileWrite
Definition: fs_evr.h:136
__STATIC_INLINE void EvrFsFAT_FileFind(int32_t h)
Event on FAT file find operation (Op)
Definition: fs_evr.h:2006
#define EvtFsFAT_InitDriverCfgError
Definition: fs_evr.h:73
__STATIC_INLINE void EvrFsNFTL_CacheWrite(uint32_t instance, uint32_t pbn, uint32_t pg)
Event on page cache write (Op)
Definition: fs_evr.h:4194
#define EvtFsEFS_DriveNotMounted
Definition: fs_evr.h:229
__STATIC_INLINE void EvrFsIOC_ReadInfoError(uint32_t drv_id)
Event on read info operation error (Error)
Definition: fs_evr.h:3225
#define EvtFsMcSPI_ReadInfoSuccess
Definition: fs_evr.h:443
#define EvtFsNFTL_TableLookup
Definition: fs_evr.h:297
#define EvtFsNAND_PageWrite
Definition: fs_evr.h:349
__STATIC_INLINE void EvrFsEFS_FileOpen(uint32_t h, const char *path, uint32_t openmode)
Event on EFS file open (Op)
Definition: fs_evr.h:2445
__STATIC_INLINE void EvrFsNFTL_LbnOutOfRange(uint32_t instance, uint32_t lbn, uint32_t max)
Event when logical block number is out of range (Error)
Definition: fs_evr.h:3731
__STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:5577
#define EvtFsMcSPI_MediaSD_V2
Definition: fs_evr.h:428
#define EvtFsEFS_FileNotFound
Definition: fs_evr.h:206
#define EvtFsMcMCI_MediaWpInactive
Definition: fs_evr.h:364
#define EvtFsEFS_DriveDefrag
Definition: fs_evr.h:218
#define EvtFsNAND_StatusRead
Definition: fs_evr.h:347
#define EvtFsFAT_ResetHandles
Definition: fs_evr.h:100
__STATIC_INLINE void EvrFsIOC_NotAllowed(uint32_t drive)
Event on specifying drive without IOC support (Error)
Definition: fs_evr.h:3289
__STATIC_INLINE void EvrFsIOC_GetIdError(uint32_t drive)
Event on invalid or nonexisting drive specifier (Error)
Definition: fs_evr.h:3022
#define EvtFsMcMCI_SectorWriteError
Definition: fs_evr.h:388
#define EvtFsNFTL_SetupPageLayout
Definition: fs_evr.h:323
#define EvtFsNFTL_Format
Definition: fs_evr.h:283
#define EvtFsNFTL_ReadBootBlock
Definition: fs_evr.h:269
Drive information.
Definition: rl_fs.h:143
#define EvtFsEFS_DriveCheck
Definition: fs_evr.h:212
#define EvtFsNFTL_AllocateBlock
Definition: fs_evr.h:299
#define EvtFsFAT_MountDriveSuccess
Definition: fs_evr.h:95
#define EvtFsNFTL_FormatLLEB
Definition: fs_evr.h:285
__STATIC_INLINE void EvrFsIOC_GetId(uint32_t drive)
Event on call of fs_ioc_get_id function (API)
Definition: fs_evr.h:2997
__STATIC_INLINE void EvrFsMcSPI_MediaNotInitialized(uint32_t instance)
Event on using uninitialized memory card device (Error)
Definition: fs_evr.h:5288
__STATIC_INLINE void EvrFsFAT_AttribSetSuccess(uint32_t drive, const char *path, uint32_t attrib)
Event on successful FAT attribute setting (Op)
Definition: fs_evr.h:1956
__STATIC_INLINE void EvrFsFAT_FileHandleInvalid(uint32_t h)
Event on invalid FAT file handle number (Error)
Definition: fs_evr.h:1549
#define EvtFsEFS_AllocationOrderInvalid
Definition: fs_evr.h:216
__STATIC_INLINE void EvrFsFAT_FormatNoSpace(uint32_t drive)
Event on not enough free space for FAT12/16 format (Error)
Definition: fs_evr.h:1317
__STATIC_INLINE void EvrFsMcMCI_MediaWpActive(uint32_t instance)
Event on active write protection switch (Op)
Definition: fs_evr.h:4592
uint8_t day
Day [1..31].
Definition: rl_fs.h:128
#define EvtFsCore_fformat
Definition: fs_evr.h:57
#define EvtFsIOC_DriveNotFAT
Definition: fs_evr.h:257
#define EvtFsNFTL_MountSuccess
Definition: fs_evr.h:264
__STATIC_INLINE void EvrFsFAT_DirCreate(uint32_t drive, const char *path)
Event on FAT directory create (Op)
Definition: fs_evr.h:1833
__STATIC_INLINE void EvrFsIOC_Lock(uint32_t drv_id)
Event on call of fs_ioc_lock function (API)
Definition: fs_evr.h:3034
#define EvtFsNFTL_PageRead
Definition: fs_evr.h:326
__STATIC_INLINE void EvrFsNFTL_RelocateBlockFailed(uint32_t instance, uint32_t pbn)
Event on failed attempt to change block physical location (Error)
Definition: fs_evr.h:3895
#define EvtFsMcMCI_ReadInfoSuccess
Definition: fs_evr.h:392
__STATIC_INLINE void EvrFsFAT_InitDriverError(uint32_t drive)
Event on FAT driver initialization error (Error)
Definition: fs_evr.h:951
#define EvtFsMcSPI_UninitDriver
Definition: fs_evr.h:436
__STATIC_INLINE void EvrFsFAT_FormatNoSpaceFAT32(uint32_t drive)
Event on not enough free space for FAT32 format (Error)
Definition: fs_evr.h:1329
#define EvtFsFAT_Pwd
Definition: fs_evr.h:150
__STATIC_INLINE void EvrFsNFTL_ReadBootBlock(uint32_t instance)
Event on NFTL boot block read (Op)
Definition: fs_evr.h:3397
#define EvtFsEFS_InitDrive
Definition: fs_evr.h:173
__STATIC_INLINE void EvrFsEFS_DriveAnalyze(uint32_t drive)
Event on EFS drive analyze (Op)
Definition: fs_evr.h:2688
__STATIC_INLINE void EvrFsEFS_DiskFull(uint32_t drive)
Event on out of free space on EFS drive (Error)
Definition: fs_evr.h:2846
__STATIC_INLINE void EvrFsMcMCI_StbyStateError(uint32_t instance)
Event on STBY state switch error (Error)
Definition: fs_evr.h:4810
__STATIC_INLINE void EvrFsNFTL_BadBlockDetected(uint32_t instance, uint32_t block)
Event on NFTL bad block detection (Op)
Definition: fs_evr.h:3621
#define EvtFsFAT_FormatMediaCapacity
Definition: fs_evr.h:102
__STATIC_INLINE void EvrFsCore_ffind(const char *pattern, fsFileInfo *info)
Event on file or directory search (API)
Definition: fs_evr.h:635
__STATIC_INLINE void EvrFsFAT_InvalidFreeClusFSInfo(uint32_t drive)
Event on invalid number of free clusters in FAT FSInfo signature (Error)
Definition: fs_evr.h:1158
__STATIC_INLINE void EvrFsIOC_DeviceControlSuccess(uint32_t drv_id, uint32_t code, uint32_t p)
Event on call of fs_ioc_read_info function (API)
Definition: fs_evr.h:3253
#define EvtFsNFTL_ReadInfo
Definition: fs_evr.h:279
__STATIC_INLINE void EvrFsEFS_FileIdInvalid(uint32_t drive)
Event on EFS invalid file ID detection (Error)
Definition: fs_evr.h:2749
#define EvtFsMcMCI_MediaDetectionSD
Definition: fs_evr.h:366
#define EvtFsNFTL_BadBlockMark
Definition: fs_evr.h:288
__STATIC_INLINE void EvrFsFAT_OptionsString(const char *buf, uint32_t len)
Event on FAT options specification (Detail)
Definition: fs_evr.h:2056
#define EvtFsFAT_PathInvalidChar
Definition: fs_evr.h:114
#define EvtFsMcMCI_CidReadError
Definition: fs_evr.h:372
__STATIC_INLINE void EvrFsEFS_FileWrite(uint32_t h, const uint8_t *buf, uint32_t len)
Event on EFS file write (Op)
Definition: fs_evr.h:2536
__STATIC_INLINE void EvrFsMcMCI_SectorWriteError(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation error (Op)
Definition: fs_evr.h:4904
File System Time structure.
Definition: rl_fs.h:124
#define EvtFsFAT_ChDirSuccess
Definition: fs_evr.h:149
#define EvtFsMcMCI_UninitMedia
Definition: fs_evr.h:384
#define EvtFsNFTL_PageWrite
Definition: fs_evr.h:325
__STATIC_INLINE void EvrFsFAT_InitDriveSuccess(uint32_t drive)
Event on successful FAT drive initialization (Op)
Definition: fs_evr.h:927
#define EvtFsMcSPI_CrcDisableError
Definition: fs_evr.h:454
#define EvtFsCore_funinit
Definition: fs_evr.h:43
#define EvtFsEFS_FlashReadTimeout
Definition: fs_evr.h:225
__STATIC_INLINE void EvrFsFAT_Pwd(uint32_t drive, const char *path, uint32_t len)
Event on FAT current directory print (Op)
Definition: fs_evr.h:1914
#define EvtFsMcSPI_InitMedia
Definition: fs_evr.h:418
__STATIC_INLINE void EvrFsNFTL_TableLookup(uint32_t instance, uint32_t lbn)
Event on NFTL translation table lookup (Op)
Definition: fs_evr.h:3758
#define EvtFsCore_sys_seek
Definition: fs_evr.h:39
__STATIC_INLINE void EvrFsNAND_InitDriverError(uint32_t instance, uint32_t driver)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4247
__STATIC_INLINE void EvrFsNAND_DriverTimeoutError(uint32_t instance, uint32_t driver)
Event on NAND driver timeout error (Error)
Definition: fs_evr.h:4370
__STATIC_INLINE void EvrFsNFTL_BlockEraseStatusErr(uint32_t instance, uint32_t row)
Event on invalid block erase status value (Op)
Definition: fs_evr.h:3973
uint8_t hr
Hours [0..23].
Definition: rl_fs.h:125
#define EvtFsEFS_FileHandleActive
Definition: fs_evr.h:219
__STATIC_INLINE void EvrFsNFTL_ResetDeviceTimeout(uint32_t instance)
Event on NAND device reset timeout (Error)
Definition: fs_evr.h:3385
#define EvtFsMcMCI_DeviceStateUnknown
Definition: fs_evr.h:399
__STATIC_INLINE void EvrFsCore_fdefrag(const char *drive)
Event on drive defrag (API)
Definition: fs_evr.h:785
__STATIC_INLINE void EvrFsEFS_FileDelete(uint32_t drive, const char *path)
Event on EFS file delete (Op)
Definition: fs_evr.h:2613
__STATIC_INLINE void EvrFsNFTL_ReadSector(uint32_t instance, uint32_t sector, uint8_t *buf, uint32_t cnt)
Event on NFTL read sector operation (Op)
Definition: fs_evr.h:3676
#define EvtFsCore_ftime_set
Definition: fs_evr.h:66
#define EvtFsMcSPI_SectorWrite
Definition: fs_evr.h:440
#define EvtFsNFTL_UninitDriverFailed
Definition: fs_evr.h:278
#define EvtFsNFTL_InitMediaFailed
Definition: fs_evr.h:262
__STATIC_INLINE void EvrFsFAT_FileWrite(uint32_t h, const uint8_t *buf, uint32_t len)
Event on FAT file write (Op)
Definition: fs_evr.h:1727
#define EvtFsNFTL_BootSignatureInvalid
Definition: fs_evr.h:272
__STATIC_INLINE void EvrFsNFTL_Init(uint32_t instance)
Event on NFTL initialization (Op)
Definition: fs_evr.h:3301
#define EvtFsMcSPI_SlaveSelCtrlMissing
Definition: fs_evr.h:451
#define EvtFsMcSPI_InitDriverPowerError
Definition: fs_evr.h:417
__STATIC_INLINE void EvrFsEFS_DriveCheck(uint32_t drive)
Event on EFS drive check (Op)
Definition: fs_evr.h:2713
__STATIC_INLINE void EvrFsNFTL_SetupSpareLayout(uint32_t instance, uint32_t ofs_lsn, uint32_t ofs_dcm, uint32_t ofs_bbm, uint32_t ofs_ecc)
Event on spare area layout setup (Detail)
Definition: fs_evr.h:4126
__STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess(uint32_t instance, uint32_t driver)
Event on successful memory card driver initialization (Op)
Definition: fs_evr.h:5225
__STATIC_INLINE void EvrFsMcMCI_SectorWrite(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation (Op)
Definition: fs_evr.h:4890
#define EvtFsEFS_FileRename
Definition: fs_evr.h:205
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionMMC(uint32_t instance)
Event on start of MMC/eMMC device detection procedure (Op)
Definition: fs_evr.h:4677
__STATIC_INLINE void EvrFsMcMCI_CidReadError(uint32_t instance)
Event on CID register read error (Error)
Definition: fs_evr.h:4701
#define EvtFsIOC_ReadInfo
Definition: fs_evr.h:251
#define EvtFsCore_fmedia
Definition: fs_evr.h:61
#define EvtFsNFTL_UninitDriver
Definition: fs_evr.h:277
#define EvtFsFAT_TimeSet
Definition: fs_evr.h:168
#define EvtFsFAT_MediaInsertStatError
Definition: fs_evr.h:78
#define EvtFsNAND_IdRead
Definition: fs_evr.h:352
#define EvtFsMcMCI_SectorWrite
Definition: fs_evr.h:387
#define EvtFsEFS_FlashProgUnitTooBig
Definition: fs_evr.h:181
#define EvtFsMcMCI_DataBusSwitchError
Definition: fs_evr.h:380
__STATIC_INLINE void EvrFsEFS_FileNotOpened(uint32_t h, uint32_t flags)
Event on EFS file close (Op)
Definition: fs_evr.h:2496
__STATIC_INLINE void EvrFsMcMCI_TransferRetry(uint32_t instance, uint32_t retry)
Event on transfer setup error (Op)
Definition: fs_evr.h:4930
__STATIC_INLINE void EvrFsFAT_AttribSet(uint32_t drive, const char *path, uint32_t attrib)
Event on FAT attribute setting (Op)
Definition: fs_evr.h:1942
__STATIC_INLINE void EvrFsEFS_FreeSpaceAmount(uint32_t drive, uint32_t free)
Event on EFS free space retrieval (Op)
Definition: fs_evr.h:2676
File information data.
Definition: rl_fs.h:134
__STATIC_INLINE void EvrFsNFTL_PbnOutOfRange(uint32_t instance, uint32_t pbn, uint32_t max)
Event when physical block number is out of range (Error)
Definition: fs_evr.h:3745
__STATIC_INLINE void EvrFsEFS_DriveNotInitialized(uint32_t drive)
Event on EFS when media driver is not initialized (Error)
Definition: fs_evr.h:2941
#define EvtFsEFS_FileAlreadyExists
Definition: fs_evr.h:207
__STATIC_INLINE void EvrFsMcSPI_SectorWriteError(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation error (Op)
Definition: fs_evr.h:5552
#define EvtFsMcMCI_MediaCdInactive
Definition: fs_evr.h:362
__STATIC_INLINE void EvrFsFAT_ReadFSInfo(uint32_t drive, uint32_t sector)
Event on FAT FSInfo read operation (Op)
Definition: fs_evr.h:1134
#define EvtFsNFTL_ReadTable
Definition: fs_evr.h:274
#define EvtFsEFS_DriveCheckSuccess
Definition: fs_evr.h:213
__STATIC_INLINE void EvrFsNFTL_LsnToLbn(uint32_t instance, uint32_t lsn, uint32_t lbn)
Event on NFTL resolving logical sector to logical block (Op)
Definition: fs_evr.h:3702
#define EvtFsMcMCI_RcaWriteError
Definition: fs_evr.h:374
#define EvtFsMcSPI_CsdReadError
Definition: fs_evr.h:434
__STATIC_INLINE void EvrFsFAT_FormatOptionDetected(uint32_t drive, uint32_t option)
Event on FAT drive format option detection (Op)
Definition: fs_evr.h:1280
__STATIC_INLINE void EvrFsFAT_TimeGet(uint32_t drive, const char *path)
Event on FAT timestamp get (Op)
Definition: fs_evr.h:2168
#define EvtFsFAT_MediaInitStatError
Definition: fs_evr.h:79
__STATIC_INLINE void EvrFsMcMCI_SleepAwakeControl(uint32_t instance)
Event on SLEEP/AWAKE control operation (Op)
Definition: fs_evr.h:5094
__STATIC_INLINE void EvrFsFAT_DirCreateSuccess(uint32_t drive, const char *path)
Event on successful FAT directory create operation (Op)
Definition: fs_evr.h:1846
__STATIC_INLINE void EvrFsFAT_InitDrive(uint32_t drive)
Event on FAT drive initialization (Op)
Definition: fs_evr.h:915
__STATIC_INLINE void EvrFsCore_sys_close(int fh)
Event on file close (API)
Definition: fs_evr.h:483
__STATIC_INLINE void EvrFsNFTL_LbnToPbn(uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1)
Event on NFTL resolving logical block to physical block (Op)
Definition: fs_evr.h:3717
#define EvtFsFAT_ReadFSInfo
Definition: fs_evr.h:89
#define EvtFsFAT_LabelNotSet
Definition: fs_evr.h:124
__STATIC_INLINE void EvrFsCore_finit(const char *drive)
Event on drive initialization (API)
Definition: fs_evr.h:561
__STATIC_INLINE void EvrFsNFTL_TableEntryNotFound(uint32_t instance, uint32_t lbn)
Event on nonexisting translation table entry (Op)
Definition: fs_evr.h:3771
#define EvtFsCore_sys_close
Definition: fs_evr.h:36
#define EvtFsMcMCI_ReadInfo
Definition: fs_evr.h:391
__STATIC_INLINE void EvrFsEFS_InitDriver(uint32_t drive, uint32_t driver)
Event on EFS driver initialization (Op)
Definition: fs_evr.h:2232
__STATIC_INLINE void EvrFsFAT_FormatDriveSuccess(uint32_t drive)
Event on successful formating of a FAT drive (Op)
Definition: fs_evr.h:1255
#define EvtFsIOC_GetIdSuccess
Definition: fs_evr.h:237
#define EvtFsFAT_ClearHiddenSectors
Definition: fs_evr.h:108
__STATIC_INLINE void EvrFsMcMCI_UninitMedia(uint32_t instance)
Event on memory card device uninitialization (Op)
Definition: fs_evr.h:4848
#define EvtFsMcSPI_MediaPasswordEnabled
Definition: fs_evr.h:461
#define EvtFsNFTL_ResetDeviceFailed
Definition: fs_evr.h:267
#define EvtFsIOC_Lock
Definition: fs_evr.h:239
__STATIC_INLINE void EvrFsNAND_DriverEccSelect(uint32_t instance, uint32_t driver, uint32_t index)
Event on NAND driver ECC selection (Op)
Definition: fs_evr.h:4344
__STATIC_INLINE void EvrFsEFS_DataAreaOverlap(uint32_t drive)
Event on EFS user and allocation area overlap detection (Error)
Definition: fs_evr.h:2737
#define EvtFsEFS_FileAllocWrite
Definition: fs_evr.h:232
__STATIC_INLINE void EvrFsCore_fcheck(const char *drive)
Event on drive check (API)
Definition: fs_evr.h:773
uint8_t min
Minutes [0..59].
Definition: rl_fs.h:126
__STATIC_INLINE void EvrFsEFS_FileFlush(uint32_t h)
Event on EFS file flush (Op)
Definition: fs_evr.h:2560
__STATIC_INLINE void EvrFsFAT_UnmountDriveSuccess(uint32_t drive)
Event on successful unmount of a FAT drive (Op)
Definition: fs_evr.h:1231
#define EvtFsMcMCI_BlenWriteError
Definition: fs_evr.h:377
__STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess(uint32_t drive, uint32_t factor)
Event on successful EFS drive analyze (Op)
Definition: fs_evr.h:2701
__STATIC_INLINE void EvrFsFAT_LabelInvalid(uint32_t drive)
Event on invalid character found in FAT label (Error)
Definition: fs_evr.h:1561
#define EvtFsMcSPI_UninitMedia
Definition: fs_evr.h:437
__STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError(uint32_t instance)
Event on EXT_CSD register read error (Error)
Definition: fs_evr.h:4774
#define EvtFsCore_ffind
Definition: fs_evr.h:48
#define EvtFsMcMCI_LockDeactivated
Definition: fs_evr.h:398
#define EvtFsEFS_FlashEraseChipTimeout
Definition: fs_evr.h:189
#define EvtFsEFS_FileHandleUnavailable
Definition: fs_evr.h:220
__STATIC_INLINE void EvrFsNFTL_BadBlockMark(uint32_t instance, uint32_t block)
Event on NFTL bad block mark operation (Op)
Definition: fs_evr.h:3634
__STATIC_INLINE void EvrFsMcSPI_CidReadError(uint32_t instance)
Event on CID register read error (Error)
Definition: fs_evr.h:5445
#define EvtFsEFS_FileAllocRead
Definition: fs_evr.h:233
__STATIC_INLINE void EvrFsCore_sys_handle_assign(const char *name, int fh)
Event on file handle assignment (Op)
Definition: fs_evr.h:549
#define EvtFsNFTL_ReadSectorSuccess
Definition: fs_evr.h:292
__STATIC_INLINE void EvrFsCore_sys_flen(int fh)
Event on current file length request (API)
Definition: fs_evr.h:536
__STATIC_INLINE void EvrFsNFTL_BlockEraseFailed(uint32_t instance, uint32_t row)
Event on NAND block erase error (Error)
Definition: fs_evr.h:3986
__STATIC_INLINE void EvrFsMcMCI_MediaCdActive(uint32_t instance)
Event on media detection using card detect switch (Op)
Definition: fs_evr.h:4568
__STATIC_INLINE void EvrFsFAT_VolumeNotMounted(uint32_t drive)
Event on FAT when using unmounted volume (Error)
Definition: fs_evr.h:1047
#define EvtFsEFS_InitDriverFailed
Definition: fs_evr.h:175
__STATIC_INLINE void EvrFsMcSPI_MediaNoResponse(uint32_t instance)
Event on nonresponsive media device (Error)
Definition: fs_evr.h:5409
__STATIC_INLINE void EvrFsMcSPI_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:5791
#define EvtFsNFTL_ReadSector
Definition: fs_evr.h:291
#define EvtFsMcMCI_MediaDetectionMMC
Definition: fs_evr.h:370
__STATIC_INLINE void EvrFsFAT_UninitDrive(uint32_t drive)
Event on FAT drive uninitialization (Op)
Definition: fs_evr.h:963
__STATIC_INLINE void EvrFsNFTL_GarbageCollection(uint32_t instance, uint32_t src_0, uint32_t src_1, uint32_t dst)
Event on NFTL garbage collection operation (Op)
Definition: fs_evr.h:3842
#define EvtFsFAT_AttribSet
Definition: fs_evr.h:152
__STATIC_INLINE void EvrFsNAND_DriverBusWidthSelect(uint32_t instance, uint32_t driver, uint32_t width)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4289
#define EvtFsFAT_NameCacheHit
Definition: fs_evr.h:163
__STATIC_INLINE void EvrFsFAT_FileIsReadOnly(uint32_t drive)
Event on encounter of read only FAT file (Error)
Definition: fs_evr.h:1500
#define EvtFsNAND_Uninit
Definition: fs_evr.h:346
__STATIC_INLINE void EvrFsFAT_InitJournal(uint32_t drive)
Event on FAT journal initialization start (Op)
Definition: fs_evr.h:1650
#define EvtFsNFTL_ResetDevice
Definition: fs_evr.h:266
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExec(uint32_t instance)
Event on Lock/Unlock command execution (Op)
Definition: fs_evr.h:5616
__STATIC_INLINE void EvrFsNFTL_SkipBadBlock(uint32_t instance, uint32_t pbn)
Event on skipped bad block (Op)
Definition: fs_evr.h:3908
#define EvtFsFAT_FileFlush
Definition: fs_evr.h:137
__STATIC_INLINE void EvrFsMcSPI_DevCtrlUnsupported(uint32_t instance, uint32_t code)
Event on memory card device control code unsupported error (Error)
Definition: fs_evr.h:5604
#define EvtFsFAT_PathBufferToSmall
Definition: fs_evr.h:129
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionError(uint32_t instance)
Event on media device detection error (Error)
Definition: fs_evr.h:4689
#define EvtFsNAND_DriverTimeoutError
Definition: fs_evr.h:344
__STATIC_INLINE void EvrFsNFTL_DevCtrl(uint32_t instance, uint32_t code, void *p)
Event on NFTL device control operation (Op)
Definition: fs_evr.h:3546
__STATIC_INLINE void EvrFsFAT_WriteFSInfo(uint32_t drive, uint32_t sector)
Event on FAT FSInfo write operation (Op)
Definition: fs_evr.h:1183
__STATIC_INLINE void EvrFsEFS_FileHandleUnavailable(uint32_t drive)
Event on too many open files (Error)
Definition: fs_evr.h:2810
__STATIC_INLINE void EvrFsMcMCI_InitDriverPowerError(uint32_t instance, uint32_t driver, uint32_t state)
Event on memory card driver initialization error (Op)
Definition: fs_evr.h:4532
__STATIC_INLINE void EvrFsEFS_DriveNotMounted(uint32_t drive)
Event on EFS when using unmounted drive (Error)
Definition: fs_evr.h:2929
#define EvtFsFAT_FileRename
Definition: fs_evr.h:142
#define EvtFsNFTL_BitErrorCorrected
Definition: fs_evr.h:316
__STATIC_INLINE void EvrFsCore_funinit(const char *drive)
Event on drive uninitialization (API)
Definition: fs_evr.h:573
__STATIC_INLINE void EvrFsIOC_ReadInfoSuccess(uint32_t drv_id, uint32_t block_count)
Event on successful read info operation (Op)
Definition: fs_evr.h:3213
#define EvtFsFAT_FileHandleUnavailable
Definition: fs_evr.h:121
#define EvtFsMcSPI_LockUnlockExec
Definition: fs_evr.h:446
__STATIC_INLINE void EvrFsMcSPI_InitDriver(uint32_t instance, uint32_t driver)
Event on memory card driver initialization (Op)
Definition: fs_evr.h:5212
__STATIC_INLINE void EvrFsIOC_GetIdSuccess(uint32_t drive, uint32_t drv_id)
Event on retrieval of drive ID (Op)
Definition: fs_evr.h:3010
#define EvtFsFAT_FormatNoSpaceFAT32
Definition: fs_evr.h:105
#define EvtFsFAT_CreateFAT
Definition: fs_evr.h:111
__STATIC_INLINE void EvrFsMcSPI_CrcDisableError(uint32_t instance)
Event on CRC check disable error (Error)
Definition: fs_evr.h:5713
__STATIC_INLINE void EvrFsNAND_DriverDevPowerSelect(uint32_t instance, uint32_t driver, uint32_t volt)
Event on NAND device voltage change (Op)
Definition: fs_evr.h:4317
#define EvtFsMcMCI_DevCtrl
Definition: fs_evr.h:393
__STATIC_INLINE void EvrFsEFS_OpenModeUnsupported(uint32_t h, uint32_t openmode)
Event on unsupported EFS file open mode specification (Error)
Definition: fs_evr.h:2471
#define EvtFsEFS_FileSeekEOF
Definition: fs_evr.h:203
#define EvtFsNFTL_LsnNotFound
Definition: fs_evr.h:302
#define EvtFsMcMCI_MediaReset
Definition: fs_evr.h:365
__STATIC_INLINE void EvrFsNFTL_MountSuccess(uint32_t instance)
Event on successful NFTL mount (Op)
Definition: fs_evr.h:3337
__STATIC_INLINE void EvrFsFAT_FileIsInUse(uint32_t drive)
Event on specified FAT file already in use (Error)
Definition: fs_evr.h:1488
#define EvtFsNFTL_SetBadBlockMarker
Definition: fs_evr.h:304
#define EvtFsIOC_NotAllowed
Definition: fs_evr.h:258
#define EvtFsFAT_DirEntryAllocFailed
Definition: fs_evr.h:128
#define EvtFsMcMCI_MediaNotInitialized
Definition: fs_evr.h:360
__STATIC_INLINE void EvrFsFAT_FileFlush(uint32_t h)
Event on FAT file flush (Op)
Definition: fs_evr.h:1739
#define EvtFsMcSPI_MediaCdActive
Definition: fs_evr.h:421
#define EvtFsFAT_InvalidBootSector
Definition: fs_evr.h:87
__STATIC_INLINE void EvrFsEFS_FlashCapacity(uint32_t drive, uint32_t capacity)
Event on retrieved capacity of the Flash device (Error)
Definition: fs_evr.h:2333
__STATIC_INLINE void EvrFsCore_CurrentDriveSelect(uint32_t drive)
Event on current drive selection (Op)
Definition: fs_evr.h:848
__STATIC_INLINE void EvrFsEFS_FormatDrive(uint32_t drive)
Event on EFS drive format (Op)
Definition: fs_evr.h:2369
__STATIC_INLINE void EvrFsMcSPI_MediaCdActive(uint32_t instance)
Event on media detection using card detect switch (Op)
Definition: fs_evr.h:5300
#define EvtFsNFTL_PbnOutOfRange
Definition: fs_evr.h:296
__STATIC_INLINE void EvrFsFAT_TimeData(fsTime *create, fsTime *access, fsTime *write)
Event on FAT timestamp data set/get (Detail)
Definition: fs_evr.h:2182
#define EvtFsFAT_FileIsInUse
Definition: fs_evr.h:117
__STATIC_INLINE void EvrFsFAT_InitMediaError(uint32_t drive)
Event on FAT media initialization error (Error)
Definition: fs_evr.h:987
__STATIC_INLINE void EvrFsCore_ffree(const char *drive)
Event on free space retrieval (API)
Definition: fs_evr.h:736
#define EvtFsEFS_DriveNotInitialized
Definition: fs_evr.h:230
__STATIC_INLINE void EvrFsFAT_NameCacheMiss(uint32_t drive, const char *name, uint32_t len)
Event on FAT name cache miss (Op)
Definition: fs_evr.h:2097
#define EvtFsNFTL_BootSignatureValid
Definition: fs_evr.h:271
#define EvtFsFAT_FileHandleInvalid
Definition: fs_evr.h:122
#define EvtFsMcMCI_MediaReady
Definition: fs_evr.h:368
__STATIC_INLINE void EvrFsNFTL_PageProgramTimeout(uint32_t instance, uint32_t row)
Event on NAND page program timeout (Error)
Definition: fs_evr.h:3960
__STATIC_INLINE void EvrFsNAND_DriverEccInquire(uint32_t instance, uint32_t driver)
Event on NAND driver ECC inquiry (Op)
Definition: fs_evr.h:4330
__STATIC_INLINE void EvrFsEFS_FileRead(uint32_t h, uint8_t *buf, uint32_t len)
Event on EFS file read (Op)
Definition: fs_evr.h:2510
__STATIC_INLINE void EvrFsMcSPI_LockDeactivated(uint32_t instance)
Event on deactivated password protection status (Op)
Definition: fs_evr.h:5652
__STATIC_INLINE void EvrFsCore_fanalyse(const char *drive)
Event on drive analyse (API)
Definition: fs_evr.h:761
__STATIC_INLINE void EvrFsFAT_InvalidBootSector(uint32_t drive)
Event on invalid Boot Sector (Error)
Definition: fs_evr.h:1109
__STATIC_INLINE void EvrFsCore_fdelete(const char *path, const char *options)
Event on file delete (API)
Definition: fs_evr.h:622
#define EvtFsIOC_Unlock
Definition: fs_evr.h:241
__STATIC_INLINE void EvrFsNAND_StatusRead(uint32_t instance, uint32_t status)
Event on NAND device status retrieval (Detail)
Definition: fs_evr.h:4409
__STATIC_INLINE void EvrFsMcSPI_BusSpeedControl(uint32_t instance, uint32_t speed)
Event on SPI bus speed control operation (Op)
Definition: fs_evr.h:5665
__STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid(uint32_t drive)
Event on EFS allocation order error (Error)
Definition: fs_evr.h:2761
__STATIC_INLINE void EvrFsCore_fversion(uint32_t version)
Event on FileSystem component version retrieve (API)
Definition: fs_evr.h:890
__STATIC_INLINE void EvrFsMcMCI_SendCommandError(uint32_t instance, uint32_t cmd, uint32_t arg)
Event on AWAKE mode active status (Op)
Definition: fs_evr.h:5145
#define EvtFsNAND_DriverEccSelect
Definition: fs_evr.h:342
__STATIC_INLINE void EvrFsCore_fmedia(const char *drive)
Event on media presence check (API)
Definition: fs_evr.h:797
__STATIC_INLINE void EvrFsNFTL_BitErrorCorrected(uint32_t instance, uint32_t row)
Event on ECC bit error correction (Op)
Definition: fs_evr.h:4012
#define EvtFsNFTL_Uninit
Definition: fs_evr.h:276
__STATIC_INLINE void EvrFsEFS_MountDrive(uint32_t drive)
Event on EFS drive mount (Op)
Definition: fs_evr.h:2282
#define EvtFsFAT_FreeAmount
Definition: fs_evr.h:155
__STATIC_INLINE void EvrFsFAT_FileRead(uint32_t h, uint8_t *buf, uint32_t len)
Event on FAT file read (Op)
Definition: fs_evr.h:1713
#define EvtFsNFTL_LbnToPbn
Definition: fs_evr.h:294
__STATIC_INLINE void EvrFsFAT_FileClose(uint32_t h)
Event on FAT file close (Op)
Definition: fs_evr.h:1686
__STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve(uint32_t drive)
Event on EFS free space retrieve request (Op)
Definition: fs_evr.h:2663
#define EvtFsEFS_FormatDrive
Definition: fs_evr.h:185
#define EvtFsFAT_DirCreateSuccess
Definition: fs_evr.h:145
__STATIC_INLINE void EvrFsEFS_FlashGetInfo(uint32_t drive)
Event on Flash device info retrieve operation (Op)
Definition: fs_evr.h:2306
__STATIC_INLINE void EvrFsFAT_CreateFAT(uint32_t drive, uint32_t sector, uint32_t count)
Event on FAT File Allocation Table create operation (Op)
Definition: fs_evr.h:1411
__STATIC_INLINE void EvrFsNAND_ParamPageRead(uint32_t instance, uint32_t col, uint32_t len)
Event on NAND parameter page read operation (Op)
Definition: fs_evr.h:4466
#define EvtFsIOC_DeviceControlSuccess
Definition: fs_evr.h:255
__STATIC_INLINE void EvrFsMcSPI_MediaSD_V2(uint32_t instance)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:5384
__STATIC_INLINE void EvrFsMcSPI_InitMedia(uint32_t instance)
Event on memory card device initialization (Op)
Definition: fs_evr.h:5264
#define EvtFsFAT_PathProcessing
Definition: fs_evr.h:120
__STATIC_INLINE void EvrFsEFS_UninitDrive(uint32_t drive)
Event on EFS drive uninitialization (Op)
Definition: fs_evr.h:2257
__STATIC_INLINE void EvrFsMcMCI_InitSuccess(uint32_t instance)
Event on successful memory card device initialization (Op)
Definition: fs_evr.h:4822
#define EvtFsIOC_GetIdError
Definition: fs_evr.h:238
#define EvtFsNFTL_GarbageCollection
Definition: fs_evr.h:303
#define EvtFsNFTL_FormatSuccess
Definition: fs_evr.h:284
__STATIC_INLINE void EvrFsMcMCI_TransferError(uint32_t instance, uint32_t events)
Event on transfer error (Error)
Definition: fs_evr.h:4917
#define EvtFsMcSPI_MediaNoResponse
Definition: fs_evr.h:430
__STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:4955
__STATIC_INLINE void EvrFsNFTL_RelocateBlock(uint32_t instance, uint32_t pbn)
Event on attempt to change block physical location (Op)
Definition: fs_evr.h:3882
#define EvtFsFAT_DirCreate
Definition: fs_evr.h:144
__STATIC_INLINE void EvrFsEFS_DriveDefrag(uint32_t drive)
Event on EFS drive defrag (Op)
Definition: fs_evr.h:2785
__STATIC_INLINE void EvrFsMcSPI_UninitDriver(uint32_t instance, uint32_t driver)
Event on SPI driver uninitialization (Op)
Definition: fs_evr.h:5483
#define EvtFsMcSPI_DriverReceiveError
Definition: fs_evr.h:456
#define EvtFsFAT_FormatLowLevel
Definition: fs_evr.h:103
__STATIC_INLINE void EvrFsNFTL_ResetDeviceFailed(uint32_t instance)
Event on NAND device reset error (Error)
Definition: fs_evr.h:3373
#define EvtFsMcMCI_InitSuccess
Definition: fs_evr.h:382
#define EvtFsMcSPI_InitMediaSuccess
Definition: fs_evr.h:419
__STATIC_INLINE void EvrFsMcSPI_ReadWpMissing(uint32_t instance)
Event on missing fs_mc_read_wp function (Op)
Definition: fs_evr.h:5689
__STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap(uint32_t drive)
Event on EFS allocation area overlap error (Error)
Definition: fs_evr.h:2773
__STATIC_INLINE void EvrFsMcMCI_SectorRead(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation (Op)
Definition: fs_evr.h:4862
__STATIC_INLINE void EvrFsIOC_DeviceControl(uint32_t drv_id, uint32_t code, uint32_t p)
Event on call of fs_ioc_read_info function (API)
Definition: fs_evr.h:3239
__STATIC_INLINE void EvrFsIOC_WriteSectorSuccess(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on successful read sector operation (Op)
Definition: fs_evr.h:3172
__STATIC_INLINE void EvrFsEFS_FileNameInvalid(const char *name, uint32_t len)
Event on invalid EFS filename specification (Error)
Definition: fs_evr.h:2458
__STATIC_INLINE void EvrFsFAT_LabelString(const char *buf, uint32_t len)
Event on FAT volume label string output (Detail)
Definition: fs_evr.h:2069
__STATIC_INLINE void EvrFsFAT_NonexistentMBR(uint32_t drive)
Event on nonexistent Master Boot Record (Op)
Definition: fs_evr.h:1084
#define EvtFsMcSPI_BusSpeedControl
Definition: fs_evr.h:450
__STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed(uint32_t drive)
Event on Flash chip erase operation error (Error)
Definition: fs_evr.h:2405
#define EvtFsMcSPI_InitDriver
Definition: fs_evr.h:414
#define EvtFsFAT_FormatOptionDetected
Definition: fs_evr.h:101
#define EvtFsCore_fversion
Definition: fs_evr.h:68
__STATIC_INLINE void EvrFsMcMCI_MediaPasswordEnabled(uint32_t instance)
Event on detection of enabled media password protection (Error)
Definition: fs_evr.h:5199
__STATIC_INLINE void EvrFsFAT_LabelNotSet(uint32_t drive)
Event on nonexisting FAT volume label (Op)
Definition: fs_evr.h:1573
#define EvtFsIOC_WriteSector
Definition: fs_evr.h:248
#define EvtFsFAT_FileIsNonExistent
Definition: fs_evr.h:119
#define EvtFsNAND_Init
Definition: fs_evr.h:333
__STATIC_INLINE void EvrFsEFS_FileName(const char *buf, uint32_t len)
Event on EFS file name specification (Detail)
Definition: fs_evr.h:2954
#define EvtFsCore_sys_handle_assign
Definition: fs_evr.h:41
__STATIC_INLINE void EvrFsMcSPI_DriverSendError(uint32_t instance, uint32_t event)
Event on SPI driver Send function error (Error)
Definition: fs_evr.h:5726
#define EvtFsNAND_DriverBusModeSelect
Definition: fs_evr.h:337
#define EvtFsMcSPI_BlenWriteError
Definition: fs_evr.h:435
#define EvtFsFAT_InvalidMBR
Definition: fs_evr.h:84
#define EvtFsMcSPI_MediaDetectionSD
Definition: fs_evr.h:427
#define EvtFsNFTL_BlockEraseStatusErr
Definition: fs_evr.h:313
__STATIC_INLINE void EvrFsEFS_UnmountDrive(uint32_t drive)
Event on EFS drive unmount (Op)
Definition: fs_evr.h:2345
__STATIC_INLINE void EvrFsCore_ftime_set(const char *path, fsTime *create, fsTime *access, fsTime *write)
Event on file or directory timestamp set (API)
Definition: fs_evr.h:863
#define EvtFsEFS_FlashEraseChipFailed
Definition: fs_evr.h:188
#define EvtFsMcMCI_SleepAwakeControl
Definition: fs_evr.h:403
#define EvtFsNFTL_DataBlockCapacity
Definition: fs_evr.h:273
#define EvtFsIOC_DriveIdInvalid
Definition: fs_evr.h:256
#define EvtFsNFTL_LoadDataLayout
Definition: fs_evr.h:322
#define EvtFsMcMCI_SectorRead
Definition: fs_evr.h:385
#define EvtFsFAT_FormatDriveSuccess
Definition: fs_evr.h:99
#define EvtFsNFTL_DevCtrl
Definition: fs_evr.h:281
__STATIC_INLINE void EvrFsNFTL_PageRead(uint32_t instance, uint32_t pbn, uint32_t pg)
Event on page read (Op)
Definition: fs_evr.h:4154
#define EvtFsMcMCI_DeviceStateTimeout
Definition: fs_evr.h:401
#define EvtFsMcMCI_StbyStateError
Definition: fs_evr.h:381
__STATIC_INLINE void EvrFsFAT_FileModeRead(int32_t h)
Event on write to FAT file opened for read (Error)
Definition: fs_evr.h:1994
__STATIC_INLINE void EvrFsMcSPI_DevCtrl(uint32_t instance, uint32_t code, uint32_t p)
Event on memory card device control operation (Op)
Definition: fs_evr.h:5591
#define EvtFsNFTL_CacheRead
Definition: fs_evr.h:330
#define EvtFsFAT_FileRead
Definition: fs_evr.h:135
__STATIC_INLINE void EvrFsCore_fmount(const char *drive)
Event on drive mount (API)
Definition: fs_evr.h:585
#define EvtFsEFS_DriveAnalyze
Definition: fs_evr.h:210
__STATIC_INLINE void EvrFsFAT_ClearHiddenSectors(uint32_t drive, uint32_t sector, uint32_t count)
Event on FAT hidden sectors clear operation (Op)
Definition: fs_evr.h:1369
__STATIC_INLINE void EvrFsNFTL_ReadSectorSuccess(uint32_t instance)
Event on successful NFTL read sector operation (Op)
Definition: fs_evr.h:3688
#define EvtFsEFS_OpenModeInvalid
Definition: fs_evr.h:201
__STATIC_INLINE void EvrFsNFTL_DeviceNotInitialized(uint32_t instance)
Event (Error)
Definition: fs_evr.h:3349
#define EvtFsEFS_FileNameInvalid
Definition: fs_evr.h:192
__STATIC_INLINE void EvrFsNFTL_BootSignatureInvalid(uint32_t instance)
Event on NFTL invalid boot signatures (Op)
Definition: fs_evr.h:3433
#define EvtFsEFS_InitDriver
Definition: fs_evr.h:174
__STATIC_INLINE void EvrFsMcMCI_LockActive(uint32_t instance)
Event on active password protection status (Op)
Definition: fs_evr.h:5018
#define EvtFsMcMCI_AwakeActive
Definition: fs_evr.h:405
#define EvtFsNAND_DriverBusWidthError
Definition: fs_evr.h:339
#define EvtFsFAT_PathName
Definition: fs_evr.h:160
#define EvtFsCore_fchdir
Definition: fs_evr.h:52
#define EvtFsEFS_FlashEraseSectors
Definition: fs_evr.h:190
#define EvtFsFAT_SectorReadFailed
Definition: fs_evr.h:125
__STATIC_INLINE void EvrFsNAND_InitDriver(uint32_t instance, uint32_t driver)
Event on NAND driver initialization (Op)
Definition: fs_evr.h:4234
#define EvtFsNFTL_ReadTableFailed
Definition: fs_evr.h:275
uint8_t sec
Seconds [0..59].
Definition: rl_fs.h:127
__STATIC_INLINE void EvrFsMcSPI_InitDriverError(uint32_t instance, uint32_t driver)
Event on memory card driver initialization error (Op)
Definition: fs_evr.h:5238
__STATIC_INLINE void EvrFsNAND_DriverEccInquireError(uint32_t instance, uint32_t driver)
Event on NAND driver ECC inquiry error (Op)
Definition: fs_evr.h:4357
#define EvtFsNFTL_BlockErase
Definition: fs_evr.h:327
#define EvtFsCore_sys_flen
Definition: fs_evr.h:40
#define EvtFsMcSPI_MediaResetError
Definition: fs_evr.h:426
#define EvtFsNFTL_PageProgramTimeout
Definition: fs_evr.h:312
#define EvtFsNAND_DriverPowerCtrlError
Definition: fs_evr.h:336
__STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing(uint32_t instance)
Event on missing fs_mc_spi_control_ss function (Op)
Definition: fs_evr.h:5677
#define EvtFsFAT_DiskFull
Definition: fs_evr.h:127
__STATIC_INLINE void EvrFsMcSPI_InitDriverPowerError(uint32_t instance, uint32_t driver, uint32_t state)
Event on memory card driver power control error (Op)
Definition: fs_evr.h:5252
#define EvtFsEFS_FileOpenReadMode
Definition: fs_evr.h:199
#define EvtFsNAND_PageRead
Definition: fs_evr.h:350
#define EvtFsEFS_FileDelete
Definition: fs_evr.h:204
__STATIC_INLINE void EvrFsNFTL_Format(uint32_t instance)
Event on NFTL format operation (Op)
Definition: fs_evr.h:3571
#define EvtFsEFS_FlashEraseFailed
Definition: fs_evr.h:226
__STATIC_INLINE void EvrFsNFTL_BootSignatureValid(uint32_t instance)
Event on NFTL valid boot signatures (Op)
Definition: fs_evr.h:3421
#define EvtFsMcMCI_WriteXferSetupError
Definition: fs_evr.h:409
#define EvtFsFAT_InitDriverError
Definition: fs_evr.h:74
__STATIC_INLINE void EvrFsNAND_DeviceTimeoutError(uint32_t instance, uint32_t driver, uint32_t device)
Event on NAND device timeout error (Error)
Definition: fs_evr.h:4384
#define EvtFsFAT_InitDriveSuccess
Definition: fs_evr.h:72
__STATIC_INLINE void EvrFsNFTL_SetupPageLayout(uint32_t instance, uint32_t sector_inc, uint32_t spare_ofs, uint32_t spare_inc)
Event on page layout setup (Detail)
Definition: fs_evr.h:4110
__STATIC_INLINE void EvrFsNAND_PageWrite(uint32_t instance, uint32_t row, uint32_t col, uint32_t len)
Event on NAND page write operation (Op)
Definition: fs_evr.h:4437
#define EvtFsMcSPI_MediaDetectionMMC
Definition: fs_evr.h:431
__STATIC_INLINE void EvrFsFAT_ClearReservedSectors(uint32_t drive, uint32_t sector, uint32_t count)
Event on FAT reserved sectors clear operation (Op)
Definition: fs_evr.h:1383
__STATIC_INLINE void EvrFsFAT_FreeAmount(uint32_t drive, uint32_t clus, uint32_t size)
Event on FAT free space retrieval (Op)
Definition: fs_evr.h:1982
__STATIC_INLINE void EvrFsNFTL_WriteSector(uint32_t instance, uint32_t sector, const uint8_t *buf, uint32_t cnt)
Event on NFTL write sector operation (Op)
Definition: fs_evr.h:3649
#define EvtFsFAT_VolumeWriteStatError
Definition: fs_evr.h:81
__STATIC_INLINE void EvrFsCore_fformat(const char *drive, const char *options)
Event on drive format (API)
Definition: fs_evr.h:749
#define EvtFsFAT_InitJournalFATError
Definition: fs_evr.h:132
#define EvtFsEFS_FreeSpaceRetrieve
Definition: fs_evr.h:208
#define EvtFsMcSPI_LockDeactivated
Definition: fs_evr.h:449
__STATIC_INLINE void EvrFsMcMCI_CardPowerControl(uint32_t instance, uint32_t voltage)
Event on memory card power control operation (Op)
Definition: fs_evr.h:5131
#define EvtFsFAT_CountFreeClus
Definition: fs_evr.h:94
#define EvtFsNAND_InitDriverError
Definition: fs_evr.h:335
__STATIC_INLINE void EvrFsFAT_FileDeleteSuccess(uint32_t drive, const char *path)
Event on successful FAT file delete operation (Op)
Definition: fs_evr.h:1792
#define EvtFsMcMCI_ParameterInvalid
Definition: fs_evr.h:410
__STATIC_INLINE void EvrFsNFTL_UninitDriver(uint32_t instance)
Event on NFTL driver uninitialization (Op)
Definition: fs_evr.h:3494
#define EvtFsFAT_InvalidParameter
Definition: fs_evr.h:158
__STATIC_INLINE void EvrFsEFS_FileAlreadyExists(uint32_t drive)
Event on EFS file already exists (Op)
Definition: fs_evr.h:2651
#define EvtFsNAND_DeviceReset
Definition: fs_evr.h:353
#define EvtFsFAT_NameCacheMiss
Definition: fs_evr.h:164
#define EvtFsEFS_AllocationAreaOverlap
Definition: fs_evr.h:217
#define EvtFsMcSPI_LockUnlockExecError
Definition: fs_evr.h:447
#define EvtFsCore_InvalidDrive
Definition: fs_evr.h:64
#define EvtFsCore_funmount
Definition: fs_evr.h:45
#define EvtFsNFTL_ParameterInvalid
Definition: fs_evr.h:317
__STATIC_INLINE void EvrFsEFS_FileNotFound(uint32_t drive)
Event on EFS file not found (Op)
Definition: fs_evr.h:2639
#define EvtFsIOC_WriteSectorError
Definition: fs_evr.h:250
#define EvtFsMcMCI_MediaSD_V2
Definition: fs_evr.h:367
__STATIC_INLINE void EvrFsIOC_WriteSector(uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt)
Event on call of fs_ioc_write_sector function (API)
Definition: fs_evr.h:3157
#define EvtFsNFTL_TableEntryNotFound
Definition: fs_evr.h:298
__STATIC_INLINE void EvrFsMcMCI_DevCtrl(uint32_t instance, uint32_t code, uint32_t p)
Event on memory card device control operation (Op)
Definition: fs_evr.h:4969
__STATIC_INLINE void EvrFsNFTL_ReadInfo(uint32_t instance, uint32_t info)
Event on NFTL driver uninitialization (Op)
Definition: fs_evr.h:3519
#define EvtFsNFTL_LsnToLbn
Definition: fs_evr.h:293
__STATIC_INLINE void EvrFsNFTL_PageProgramFailed(uint32_t instance, uint32_t row)
Event on NAND page program error (Error)
Definition: fs_evr.h:3947
__STATIC_INLINE void EvrFsMcMCI_DeviceStateTimeout(uint32_t instance, uint32_t cstate, uint32_t nstate)
Event on discovery of invalid device state (Error)
Definition: fs_evr.h:5070
#define EvtFsNFTL_SkipBadBlock
Definition: fs_evr.h:308
#define EvtFsMcMCI_InitDriverPowerError
Definition: fs_evr.h:358
#define EvtFsEFS_FileNotOpened
Definition: fs_evr.h:195
__STATIC_INLINE void EvrFsFAT_FileDelete(uint32_t drive, const char *path)
Event on FAT file delete (Op)
Definition: fs_evr.h:1779
__STATIC_INLINE void EvrFsNFTL_DataBlockCapacity(uint32_t instance, uint32_t capacity)
Event on NFTL invalid boot signatures (Op)
Definition: fs_evr.h:3446
#define EvtFsFAT_InitJournal
Definition: fs_evr.h:130
#define EvtFsNFTL_BlockEraseTimeout
Definition: fs_evr.h:315
#define EvtFsMcMCI_MediaWpActive
Definition: fs_evr.h:363
__STATIC_INLINE void EvrFsFAT_InvalidParameter(uint32_t drive)
Event on FAT invalid function parameter error (Error)
Definition: fs_evr.h:2018
#define EvtFsMcMCI_MediaCdActive
Definition: fs_evr.h:361
__STATIC_INLINE void EvrFsMcMCI_ReadXferSetupError(uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size)
Event on TransferSetup error for block read operation (Op)
Definition: fs_evr.h:5160
__STATIC_INLINE void EvrFsEFS_InitDriverFailed(uint32_t drive, uint32_t driver)
Event on EFS driver initialization error (Error)
Definition: fs_evr.h:2245
__STATIC_INLINE void EvrFsEFS_FlashEraseChip(uint32_t drive)
Event on Flash chip erase operation (Op)
Definition: fs_evr.h:2393
__STATIC_INLINE void EvrFsNFTL_FormatSuccess(uint32_t instance)
Event on successful NFTL format operation (Op)
Definition: fs_evr.h:3583
#define EvtFsEFS_DriveAnalyzeSuccess
Definition: fs_evr.h:211
__STATIC_INLINE void EvrFsCore_ftime_get(const char *path, fsTime *create, fsTime *access, fsTime *write)
Event on file or directory timestamp get (API)
Definition: fs_evr.h:878
__STATIC_INLINE void EvrFsNAND_DriverPowerCtrlError(uint32_t instance, uint32_t driver, uint32_t state)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4261
#define EvtFsMcMCI_TranStateError
Definition: fs_evr.h:376
__STATIC_INLINE void EvrFsFAT_WriteMBR(uint32_t drive, uint32_t sector)
Event on Master Boot Record write operation (Op)
Definition: fs_evr.h:1342
#define EvtFsNFTL_RelocateBlockFailed
Definition: fs_evr.h:307
#define EvtFsNFTL_BadBlockDetected
Definition: fs_evr.h:287
__STATIC_INLINE void EvrFsMcMCI_MediaSD_V2(uint32_t instance)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:4640
__STATIC_INLINE void EvrFsMcMCI_ReadInfo(uint32_t instance)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:4942
#define EvtFsMcMCI_SleepActive
Definition: fs_evr.h:404
__STATIC_INLINE void EvrFsFAT_DirRemove(uint32_t drive, const char *path, const char *options)
Event on FAT directory remove (Op)
Definition: fs_evr.h:1860
__STATIC_INLINE void EvrFsFAT_PathIsTooLong(uint32_t max_len)
Event on too long FAT path (Error)
Definition: fs_evr.h:1464
#define EvtFsEFS_FlashCapacity
Definition: fs_evr.h:182
#define EvtFsMcMCI_TransferRetry
Definition: fs_evr.h:390
__STATIC_INLINE void EvrFsEFS_FileOpenWriteMode(uint32_t h)
Event on EFS when reading from write only file (Error)
Definition: fs_evr.h:2522
#define EvtFsFAT_InitMediaError
Definition: fs_evr.h:77
#define EvtFsNFTL_BBMPositionSet
Definition: fs_evr.h:286
#define EvtFsCore_fdelete_l
Definition: fs_evr.h:46
#define EvtFsMcSPI_DevCtrlUnsupported
Definition: fs_evr.h:445
#define EvtFsFAT_FileSeekIncrease
Definition: fs_evr.h:139
#define EvtFsMcSPI_ReadWpMissing
Definition: fs_evr.h:453
#define EvtFsMcSPI_InitDriverError
Definition: fs_evr.h:416
__STATIC_INLINE void EvrFsMcSPI_CmdResponseError(uint32_t instance, uint32_t cmd)
Event on missing or invalid command response (Error)
Definition: fs_evr.h:5766
__STATIC_INLINE void EvrFsFAT_FileRename(uint32_t drive, const char *path, const char *newname)
Event on FAT file rename (Op)
Definition: fs_evr.h:1806
#define EvtFsNFTL_MoveData
Definition: fs_evr.h:305
#define EvtFsNFTL_LoadTableLayout
Definition: fs_evr.h:321
__STATIC_INLINE void EvrFsFAT_ReadMBR(uint32_t drive, uint32_t sector)
Event on Master Boot Record read operation (Op)
Definition: fs_evr.h:1060
#define EvtFsMcSPI_DriverSendError
Definition: fs_evr.h:455
#define EvtFsCore_fmkdir
Definition: fs_evr.h:53
#define EvtFsNFTL_CacheWrite
Definition: fs_evr.h:329
#define EvtFsNAND_DriverEccInquireError
Definition: fs_evr.h:343
#define EvtFsNAND_ParamPageRead
Definition: fs_evr.h:351