File System Component  Version 6.10.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-2017 ARM Germany GmbH. All rights reserved.
4  *------------------------------------------------------------------------------
5  * Name: fs_evr.h
6  * Purpose: Definition of debug events for FileSystem
7  *----------------------------------------------------------------------------*/
8 
9 #ifdef FS_DEBUG
10 #include "EventRecorder.h" // Keil::Compiler:Event Recorder
11 #include "rl_fs.h"
12 
13 #ifndef __STATIC_INLINE
14  #define __STATIC_INLINE static __inline
15 #endif
16 
17 /* Fs component number - available range: [0x80-0x9F] */
18 #define EvtFsCore_No (0x80 | 0) /* FsCore component number */
19 #define EvtFsFAT_No (0x80 | 1) /* FsFAT component number */
20 #define EvtFsEFS_No (0x80 | 2) /* FsEFS component number */
21 #define EvtFsIOC_No (0x80 | 3) /* FsIOC component number */
22 #define EvtFsNFTL_No (0x80 | 4) /* FsNFTL component number */
23 #define EvtFsNAND_No (0x80 | 5) /* FsNAND component number */
24 #define EvtFsMcMCI_No (0x80 | 6) /* FsMcMCI component number */
25 #define EvtFsMcSPI_No (0x80 | 7) /* FsMcSPI component number */
26 
27 /* Fs component IDs */
28 #define EvtFsCoreId(Level, Msg_No) EventID(Level, EvtFsCore_No, Msg_No)
29 #define EvtFsFATId(Level, Msg_No) EventID(Level, EvtFsFAT_No, Msg_No)
30 #define EvtFsEFSId(Level, Msg_No) EventID(Level, EvtFsEFS_No, Msg_No)
31 #define EvtFsIOCId(Level, Msg_No) EventID(Level, EvtFsIOC_No, Msg_No)
32 #define EvtFsNFTLId(Level, Msg_No) EventID(Level, EvtFsNFTL_No, Msg_No)
33 #define EvtFsNANDId(Level, Msg_No) EventID(Level, EvtFsNAND_No, Msg_No)
34 #define EvtFsMcMCIId(Level, Msg_No) EventID(Level, EvtFsMcMCI_No, Msg_No)
35 #define EvtFsMcSPIId(Level, Msg_No) EventID(Level, EvtFsMcSPI_No, Msg_No)
36 
37 /* Event id list for "FsCore" */
38 #define EvtFsCore_sys_open EvtFsCoreId(EventLevelAPI, 0)
39 #define EvtFsCore_sys_close EvtFsCoreId(EventLevelAPI, 1)
40 #define EvtFsCore_sys_write EvtFsCoreId(EventLevelAPI, 2)
41 #define EvtFsCore_sys_read EvtFsCoreId(EventLevelAPI, 3)
42 #define EvtFsCore_sys_seek EvtFsCoreId(EventLevelAPI, 4)
43 #define EvtFsCore_sys_flen EvtFsCoreId(EventLevelAPI, 5)
44 #define EvtFsCore_sys_handle_assign EvtFsCoreId(EventLevelOp, 6)
45 #define EvtFsCore_finit EvtFsCoreId(EventLevelAPI, 7)
46 #define EvtFsCore_funinit EvtFsCoreId(EventLevelAPI, 8)
47 #define EvtFsCore_fmount EvtFsCoreId(EventLevelAPI, 9)
48 #define EvtFsCore_funmount EvtFsCoreId(EventLevelAPI, 10)
49 #define EvtFsCore_fdelete_l EvtFsCoreId(EventLevelAPI, 11)
50 #define EvtFsCore_fdelete EvtFsCoreId(EventLevelAPI, 12)
51 #define EvtFsCore_ffind EvtFsCoreId(EventLevelAPI, 13)
52 #define EvtFsCore_frename EvtFsCoreId(EventLevelAPI, 14)
53 #define EvtFsCore_fattrib EvtFsCoreId(EventLevelAPI, 15)
54 #define EvtFsCore_fpwd EvtFsCoreId(EventLevelAPI, 16)
55 #define EvtFsCore_fchdir EvtFsCoreId(EventLevelAPI, 17)
56 #define EvtFsCore_fmkdir EvtFsCoreId(EventLevelAPI, 18)
57 #define EvtFsCore_frmdir EvtFsCoreId(EventLevelAPI, 19)
58 #define EvtFsCore_fchdrive EvtFsCoreId(EventLevelAPI, 20)
59 #define EvtFsCore_ffree EvtFsCoreId(EventLevelAPI, 21)
60 #define EvtFsCore_fformat EvtFsCoreId(EventLevelAPI, 22)
61 #define EvtFsCore_fanalyse EvtFsCoreId(EventLevelAPI, 23)
62 #define EvtFsCore_fcheck EvtFsCoreId(EventLevelAPI, 24)
63 #define EvtFsCore_fdefrag EvtFsCoreId(EventLevelAPI, 25)
64 #define EvtFsCore_fmedia EvtFsCoreId(EventLevelAPI, 26)
65 #define EvtFsCore_finfo EvtFsCoreId(EventLevelAPI, 27)
66 #define EvtFsCore_fvol EvtFsCoreId(EventLevelAPI, 28)
67 #define EvtFsCore_InvalidDrive EvtFsCoreId(EventLevelError, 29)
68 #define EvtFsCore_CurrentDriveSelect EvtFsCoreId(EventLevelOp, 30)
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 
169 /* Event id list for "FsEFS" */
170 #define EvtFsEFS_InitDrive EvtFsEFSId(EventLevelOp, 0)
171 #define EvtFsEFS_InitDriver EvtFsEFSId(EventLevelOp, 1)
172 #define EvtFsEFS_InitDriverFailed EvtFsEFSId(EventLevelError, 2)
173 #define EvtFsEFS_UninitDrive EvtFsEFSId(EventLevelOp, 3)
174 #define EvtFsEFS_UninitDriver EvtFsEFSId(EventLevelOp, 4)
175 #define EvtFsEFS_MountDrive EvtFsEFSId(EventLevelOp, 5)
176 #define EvtFsEFS_MountDriveSuccess EvtFsEFSId(EventLevelError, 6)
177 #define EvtFsEFS_FlashGetInfo EvtFsEFSId(EventLevelOp, 7)
178 #define EvtFsEFS_FlashProgUnitTooBig EvtFsEFSId(EventLevelError, 8)
179 #define EvtFsEFS_FlashCapacity EvtFsEFSId(EventLevelOp, 9)
180 #define EvtFsEFS_UnmountDrive EvtFsEFSId(EventLevelOp, 10)
181 #define EvtFsEFS_UnmountDriveSuccess EvtFsEFSId(EventLevelOp, 11)
182 #define EvtFsEFS_FormatDrive EvtFsEFSId(EventLevelOp, 12)
183 #define EvtFsEFS_FormatDriveSuccess EvtFsEFSId(EventLevelOp, 13)
184 #define EvtFsEFS_FlashEraseChip EvtFsEFSId(EventLevelOp, 14)
185 #define EvtFsEFS_FlashEraseChipFailed EvtFsEFSId(EventLevelError, 15)
186 #define EvtFsEFS_FlashEraseChipTimeout EvtFsEFSId(EventLevelError, 16)
187 #define EvtFsEFS_FlashEraseSectors EvtFsEFSId(EventLevelOp, 17)
188 #define EvtFsEFS_FileOpen EvtFsEFSId(EventLevelOp, 18)
189 #define EvtFsEFS_FileNameInvalid EvtFsEFSId(EventLevelError, 19)
190 #define EvtFsEFS_OpenModeUnsupported EvtFsEFSId(EventLevelError, 20)
191 #define EvtFsEFS_FileClose EvtFsEFSId(EventLevelOp, 21)
192 #define EvtFsEFS_FileNotOpened EvtFsEFSId(EventLevelError, 22)
193 #define EvtFsEFS_FileRead EvtFsEFSId(EventLevelOp, 23)
194 #define EvtFsEFS_FileOpenWriteMode EvtFsEFSId(EventLevelError, 24)
195 #define EvtFsEFS_FileWrite EvtFsEFSId(EventLevelOp, 25)
196 #define EvtFsEFS_FileOpenReadMode EvtFsEFSId(EventLevelError, 26)
197 #define EvtFsEFS_FileFlush EvtFsEFSId(EventLevelOp, 27)
198 #define EvtFsEFS_OpenModeInvalid EvtFsEFSId(EventLevelError, 28)
199 #define EvtFsEFS_FileSeek EvtFsEFSId(EventLevelOp, 29)
200 #define EvtFsEFS_FileSeekEOF EvtFsEFSId(EventLevelError, 30)
201 #define EvtFsEFS_FileDelete EvtFsEFSId(EventLevelOp, 31)
202 #define EvtFsEFS_FileRename EvtFsEFSId(EventLevelOp, 32)
203 #define EvtFsEFS_FileNotFound EvtFsEFSId(EventLevelError, 33)
204 #define EvtFsEFS_FileAlreadyExists EvtFsEFSId(EventLevelError, 34)
205 #define EvtFsEFS_FreeSpaceRetrieve EvtFsEFSId(EventLevelOp, 35)
206 #define EvtFsEFS_FreeSpaceAmount EvtFsEFSId(EventLevelOp, 36)
207 #define EvtFsEFS_DriveAnalyze EvtFsEFSId(EventLevelOp, 37)
208 #define EvtFsEFS_DriveAnalyzeSuccess EvtFsEFSId(EventLevelOp, 38)
209 #define EvtFsEFS_DriveCheck EvtFsEFSId(EventLevelOp, 39)
210 #define EvtFsEFS_DriveCheckSuccess EvtFsEFSId(EventLevelOp, 40)
211 #define EvtFsEFS_DataAreaOverlap EvtFsEFSId(EventLevelError, 41)
212 #define EvtFsEFS_FileIdInvalid EvtFsEFSId(EventLevelError, 42)
213 #define EvtFsEFS_AllocationOrderInvalid EvtFsEFSId(EventLevelError, 43)
214 #define EvtFsEFS_AllocationAreaOverlap EvtFsEFSId(EventLevelError, 44)
215 #define EvtFsEFS_DriveDefrag EvtFsEFSId(EventLevelOp, 45)
216 #define EvtFsEFS_FileHandleActive EvtFsEFSId(EventLevelError, 46)
217 #define EvtFsEFS_FileHandleUnavailable EvtFsEFSId(EventLevelError, 47)
218 #define EvtFsEFS_FileHandleInvalid EvtFsEFSId(EventLevelError, 48)
219 #define EvtFsEFS_FileInUse EvtFsEFSId(EventLevelError, 49)
220 #define EvtFsEFS_FlashWriteFailed EvtFsEFSId(EventLevelError, 50)
221 #define EvtFsEFS_FlashReadFailed EvtFsEFSId(EventLevelError, 51)
222 #define EvtFsEFS_FlashReadTimeout EvtFsEFSId(EventLevelError, 52)
223 #define EvtFsEFS_FlashEraseFailed EvtFsEFSId(EventLevelError, 53)
224 #define EvtFsEFS_DiskFull EvtFsEFSId(EventLevelError, 54)
225 #define EvtFsEFS_InvalidParameter EvtFsEFSId(EventLevelError, 55)
226 #define EvtFsEFS_DriveNotMounted EvtFsEFSId(EventLevelError, 56)
227 #define EvtFsEFS_DriveNotInitialized EvtFsEFSId(EventLevelError, 57)
228 #define EvtFsEFS_FileName EvtFsEFSId(EventLevelDetail, 58)
229 #define EvtFsEFS_FileAllocWrite EvtFsEFSId(EventLevelDetail, 59)
230 #define EvtFsEFS_FileAllocRead EvtFsEFSId(EventLevelDetail, 60)
231 
232 /* Event id list for "FsIOC" */
233 #define EvtFsIOC_GetId EvtFsIOCId(EventLevelAPI, 0)
234 #define EvtFsIOC_GetIdSuccess EvtFsIOCId(EventLevelOp, 1)
235 #define EvtFsIOC_GetIdError EvtFsIOCId(EventLevelError, 2)
236 #define EvtFsIOC_Lock EvtFsIOCId(EventLevelAPI, 3)
237 #define EvtFsIOC_LockSuccess EvtFsIOCId(EventLevelOp, 4)
238 #define EvtFsIOC_Unlock EvtFsIOCId(EventLevelAPI, 5)
239 #define EvtFsIOC_UnlockSuccess EvtFsIOCId(EventLevelOp, 6)
240 #define EvtFsIOC_GetCache EvtFsIOCId(EventLevelAPI, 7)
241 #define EvtFsIOC_GetCacheSuccess EvtFsIOCId(EventLevelOp, 8)
242 #define EvtFsIOC_ReadSector EvtFsIOCId(EventLevelAPI, 9)
243 #define EvtFsIOC_ReadSectorSuccess EvtFsIOCId(EventLevelOp, 10)
244 #define EvtFsIOC_ReadSectorError EvtFsIOCId(EventLevelError, 11)
245 #define EvtFsIOC_WriteSector EvtFsIOCId(EventLevelAPI, 12)
246 #define EvtFsIOC_WriteSectorSuccess EvtFsIOCId(EventLevelOp, 13)
247 #define EvtFsIOC_WriteSectorError EvtFsIOCId(EventLevelError, 14)
248 #define EvtFsIOC_ReadInfo EvtFsIOCId(EventLevelAPI, 15)
249 #define EvtFsIOC_ReadInfoSuccess EvtFsIOCId(EventLevelOp, 16)
250 #define EvtFsIOC_ReadInfoError EvtFsIOCId(EventLevelError, 17)
251 #define EvtFsIOC_DeviceControl EvtFsIOCId(EventLevelAPI, 18)
252 #define EvtFsIOC_DeviceControlSuccess EvtFsIOCId(EventLevelOp, 19)
253 #define EvtFsIOC_DriveIdInvalid EvtFsIOCId(EventLevelError, 20)
254 #define EvtFsIOC_DriveNotFAT EvtFsIOCId(EventLevelError, 21)
255 #define EvtFsIOC_NotAllowed EvtFsIOCId(EventLevelError, 22)
256 
257 /* Event id list for "FsNFTL" */
258 #define EvtFsNFTL_Init EvtFsNFTLId(EventLevelOp, 0)
259 #define EvtFsNFTL_InitMediaFailed EvtFsNFTLId(EventLevelError, 1)
260 #define EvtFsNFTL_Mount EvtFsNFTLId(EventLevelOp, 2)
261 #define EvtFsNFTL_MountSuccess EvtFsNFTLId(EventLevelOp, 3)
262 #define EvtFsNFTL_DeviceNotInitialized EvtFsNFTLId(EventLevelError, 4)
263 #define EvtFsNFTL_ResetDevice EvtFsNFTLId(EventLevelOp, 5)
264 #define EvtFsNFTL_ResetDeviceFailed EvtFsNFTLId(EventLevelError, 6)
265 #define EvtFsNFTL_ResetDeviceTimeout EvtFsNFTLId(EventLevelError, 7)
266 #define EvtFsNFTL_ReadBootBlock EvtFsNFTLId(EventLevelOp, 8)
267 #define EvtFsNFTL_ReadBootBlockFailed EvtFsNFTLId(EventLevelError, 9)
268 #define EvtFsNFTL_BootSignatureValid EvtFsNFTLId(EventLevelOp, 10)
269 #define EvtFsNFTL_BootSignatureInvalid EvtFsNFTLId(EventLevelOp, 11)
270 #define EvtFsNFTL_DataBlockCapacity EvtFsNFTLId(EventLevelOp, 12)
271 #define EvtFsNFTL_ReadTable EvtFsNFTLId(EventLevelOp, 13)
272 #define EvtFsNFTL_ReadTableFailed EvtFsNFTLId(EventLevelError, 14)
273 #define EvtFsNFTL_Uninit EvtFsNFTLId(EventLevelOp, 15)
274 #define EvtFsNFTL_UninitDriver EvtFsNFTLId(EventLevelOp, 16)
275 #define EvtFsNFTL_UninitDriverFailed EvtFsNFTLId(EventLevelError, 17)
276 #define EvtFsNFTL_ReadInfo EvtFsNFTLId(EventLevelOp, 18)
277 #define EvtFsNFTL_ReadInfoSuccess EvtFsNFTLId(EventLevelOp, 19)
278 #define EvtFsNFTL_DevCtrl EvtFsNFTLId(EventLevelOp, 20)
279 #define EvtFsNFTL_DevCtrlUnsupported EvtFsNFTLId(EventLevelError, 21)
280 #define EvtFsNFTL_Format EvtFsNFTLId(EventLevelOp, 22)
281 #define EvtFsNFTL_FormatSuccess EvtFsNFTLId(EventLevelOp, 23)
282 #define EvtFsNFTL_FormatLLEB EvtFsNFTLId(EventLevelOp, 24)
283 #define EvtFsNFTL_BBMPositionSet EvtFsNFTLId(EventLevelOp, 25)
284 #define EvtFsNFTL_BadBlockDetected EvtFsNFTLId(EventLevelOp, 26)
285 #define EvtFsNFTL_BadBlockMark EvtFsNFTLId(EventLevelOp, 27)
286 #define EvtFsNFTL_WriteSector EvtFsNFTLId(EventLevelOp, 28)
287 #define EvtFsNFTL_WriteSectorSuccess EvtFsNFTLId(EventLevelOp, 29)
288 #define EvtFsNFTL_ReadSector EvtFsNFTLId(EventLevelOp, 30)
289 #define EvtFsNFTL_ReadSectorSuccess EvtFsNFTLId(EventLevelOp, 31)
290 #define EvtFsNFTL_LsnToLbn EvtFsNFTLId(EventLevelOp, 32)
291 #define EvtFsNFTL_LbnToPbn EvtFsNFTLId(EventLevelOp, 33)
292 #define EvtFsNFTL_LbnOutOfRange EvtFsNFTLId(EventLevelError, 34)
293 #define EvtFsNFTL_PbnOutOfRange EvtFsNFTLId(EventLevelError, 35)
294 #define EvtFsNFTL_TableLookup EvtFsNFTLId(EventLevelOp, 36)
295 #define EvtFsNFTL_TableEntryNotFound EvtFsNFTLId(EventLevelOp, 37)
296 #define EvtFsNFTL_AllocateBlock EvtFsNFTLId(EventLevelOp, 38)
297 #define EvtFsNFTL_LsnFind EvtFsNFTLId(EventLevelOp, 39)
298 #define EvtFsNFTL_LsnFound EvtFsNFTLId(EventLevelOp, 40)
299 #define EvtFsNFTL_LsnNotFound EvtFsNFTLId(EventLevelOp, 41)
300 #define EvtFsNFTL_GarbageCollection EvtFsNFTLId(EventLevelOp, 42)
301 #define EvtFsNFTL_SetBadBlockMarker EvtFsNFTLId(EventLevelOp, 43)
302 #define EvtFsNFTL_MoveData EvtFsNFTLId(EventLevelOp, 44)
303 #define EvtFsNFTL_RelocateBlock EvtFsNFTLId(EventLevelOp, 45)
304 #define EvtFsNFTL_RelocateBlockFailed EvtFsNFTLId(EventLevelError, 46)
305 #define EvtFsNFTL_SkipBadBlock EvtFsNFTLId(EventLevelOp, 47)
306 #define EvtFsNFTL_PageReadFailed EvtFsNFTLId(EventLevelError, 48)
307 #define EvtFsNFTL_PageProgramStatusErr EvtFsNFTLId(EventLevelOp, 49)
308 #define EvtFsNFTL_PageProgramFailed EvtFsNFTLId(EventLevelError, 50)
309 #define EvtFsNFTL_PageProgramTimeout EvtFsNFTLId(EventLevelError, 51)
310 #define EvtFsNFTL_BlockEraseStatusErr EvtFsNFTLId(EventLevelOp, 52)
311 #define EvtFsNFTL_BlockEraseFailed EvtFsNFTLId(EventLevelError, 53)
312 #define EvtFsNFTL_BlockEraseTimeout EvtFsNFTLId(EventLevelError, 54)
313 #define EvtFsNFTL_BitErrorCorrected EvtFsNFTLId(EventLevelOp, 55)
314 #define EvtFsNFTL_ParameterInvalid EvtFsNFTLId(EventLevelError, 56)
315 #define EvtFsNFTL_TableUpdate EvtFsNFTLId(EventLevelOp, 57)
316 #define EvtFsNFTL_AllocatedBlock EvtFsNFTLId(EventLevelOp, 58)
317 #define EvtFsNFTL_LoadSector EvtFsNFTLId(EventLevelDetail, 59)
318 #define EvtFsNFTL_LoadTableLayout EvtFsNFTLId(EventLevelDetail, 60)
319 #define EvtFsNFTL_LoadDataLayout EvtFsNFTLId(EventLevelDetail, 61)
320 #define EvtFsNFTL_SetupPageLayout EvtFsNFTLId(EventLevelDetail, 62)
321 #define EvtFsNFTL_SetupSpareLayout EvtFsNFTLId(EventLevelDetail, 63)
322 #define EvtFsNFTL_PageWrite EvtFsNFTLId(EventLevelDetail, 64)
323 #define EvtFsNFTL_PageRead EvtFsNFTLId(EventLevelDetail, 65)
324 #define EvtFsNFTL_BlockErase EvtFsNFTLId(EventLevelDetail, 66)
325 #define EvtFsNFTL_StatusRead EvtFsNFTLId(EventLevelDetail, 67)
326 #define EvtFsNFTL_CacheWrite EvtFsNFTLId(EventLevelDetail, 68)
327 #define EvtFsNFTL_CacheRead EvtFsNFTLId(EventLevelDetail, 69)
328 
329 /* Event id list for "FsNAND" */
330 #define EvtFsNAND_Init EvtFsNANDId(EventLevelOp, 0)
331 #define EvtFsNAND_InitDriver EvtFsNANDId(EventLevelOp, 1)
332 #define EvtFsNAND_InitDriverError EvtFsNANDId(EventLevelError, 2)
333 #define EvtFsNAND_DriverPowerCtrlError EvtFsNANDId(EventLevelError, 3)
334 #define EvtFsNAND_DriverBusModeSelect EvtFsNANDId(EventLevelOp, 4)
335 #define EvtFsNAND_DriverBusWidthSelect EvtFsNANDId(EventLevelOp, 5)
336 #define EvtFsNAND_DriverBusWidthError EvtFsNANDId(EventLevelError, 6)
337 #define EvtFsNAND_DriverDevPowerSelect EvtFsNANDId(EventLevelOp, 7)
338 #define EvtFsNAND_DriverEccInquire EvtFsNANDId(EventLevelOp, 8)
339 #define EvtFsNAND_DriverEccSelect EvtFsNANDId(EventLevelOp, 9)
340 #define EvtFsNAND_DriverEccInquireError EvtFsNANDId(EventLevelOp, 10)
341 #define EvtFsNAND_DriverTimeoutError EvtFsNANDId(EventLevelError, 11)
342 #define EvtFsNAND_DeviceTimeoutError EvtFsNANDId(EventLevelError, 12)
343 #define EvtFsNAND_Uninit EvtFsNANDId(EventLevelOp, 13)
344 #define EvtFsNAND_StatusRead EvtFsNANDId(EventLevelDetail, 14)
345 #define EvtFsNAND_BlockErase EvtFsNANDId(EventLevelOp, 15)
346 #define EvtFsNAND_PageWrite EvtFsNANDId(EventLevelOp, 16)
347 #define EvtFsNAND_PageRead EvtFsNANDId(EventLevelOp, 17)
348 #define EvtFsNAND_ParamPageRead EvtFsNANDId(EventLevelOp, 18)
349 #define EvtFsNAND_IdRead EvtFsNANDId(EventLevelOp, 19)
350 #define EvtFsNAND_DeviceReset EvtFsNANDId(EventLevelOp, 20)
351 
352 /* Event id list for "FsMcMCI" */
353 #define EvtFsMcMCI_InitDriver EvtFsMcMCIId(EventLevelOp, 0)
354 #define EvtFsMcMCI_InitDriverError EvtFsMcMCIId(EventLevelError, 1)
355 #define EvtFsMcMCI_InitDriverPowerError EvtFsMcMCIId(EventLevelError, 2)
356 #define EvtFsMcMCI_InitMedia EvtFsMcMCIId(EventLevelOp, 3)
357 #define EvtFsMcMCI_MediaNotInitialized EvtFsMcMCIId(EventLevelOp, 4)
358 #define EvtFsMcMCI_MediaCdActive EvtFsMcMCIId(EventLevelOp, 5)
359 #define EvtFsMcMCI_MediaCdInactive EvtFsMcMCIId(EventLevelError, 6)
360 #define EvtFsMcMCI_MediaWpActive EvtFsMcMCIId(EventLevelOp, 7)
361 #define EvtFsMcMCI_MediaWpInactive EvtFsMcMCIId(EventLevelOp, 8)
362 #define EvtFsMcMCI_MediaReset EvtFsMcMCIId(EventLevelOp, 9)
363 #define EvtFsMcMCI_MediaDetectionSD EvtFsMcMCIId(EventLevelOp, 10)
364 #define EvtFsMcMCI_MediaSD_V2 EvtFsMcMCIId(EventLevelOp, 11)
365 #define EvtFsMcMCI_MediaReady EvtFsMcMCIId(EventLevelOp, 12)
366 #define EvtFsMcMCI_MediaNoResponse EvtFsMcMCIId(EventLevelOp, 13)
367 #define EvtFsMcMCI_MediaDetectionMMC EvtFsMcMCIId(EventLevelOp, 14)
368 #define EvtFsMcMCI_MediaDetectionError EvtFsMcMCIId(EventLevelError, 15)
369 #define EvtFsMcMCI_CidReadError EvtFsMcMCIId(EventLevelError, 16)
370 #define EvtFsMcMCI_RcaReadError EvtFsMcMCIId(EventLevelError, 17)
371 #define EvtFsMcMCI_RcaWriteError EvtFsMcMCIId(EventLevelError, 18)
372 #define EvtFsMcMCI_CsdReadError EvtFsMcMCIId(EventLevelError, 19)
373 #define EvtFsMcMCI_TranStateError EvtFsMcMCIId(EventLevelError, 20)
374 #define EvtFsMcMCI_BlenWriteError EvtFsMcMCIId(EventLevelError, 21)
375 #define EvtFsMcMCI_ExtCsdReadError EvtFsMcMCIId(EventLevelError, 22)
376 #define EvtFsMcMCI_HighSpeedSwitchError EvtFsMcMCIId(EventLevelError, 23)
377 #define EvtFsMcMCI_DataBusSwitchError EvtFsMcMCIId(EventLevelError, 24)
378 #define EvtFsMcMCI_StbyStateError EvtFsMcMCIId(EventLevelError, 25)
379 #define EvtFsMcMCI_InitSuccess EvtFsMcMCIId(EventLevelError, 26)
380 #define EvtFsMcMCI_UninitDriver EvtFsMcMCIId(EventLevelOp, 27)
381 #define EvtFsMcMCI_UninitMedia EvtFsMcMCIId(EventLevelOp, 28)
382 #define EvtFsMcMCI_SectorRead EvtFsMcMCIId(EventLevelOp, 29)
383 #define EvtFsMcMCI_SectorReadError EvtFsMcMCIId(EventLevelError, 30)
384 #define EvtFsMcMCI_SectorWrite EvtFsMcMCIId(EventLevelOp, 31)
385 #define EvtFsMcMCI_SectorWriteError EvtFsMcMCIId(EventLevelError, 32)
386 #define EvtFsMcMCI_TransferSetupError EvtFsMcMCIId(EventLevelError, 33)
387 #define EvtFsMcMCI_TransferRetry EvtFsMcMCIId(EventLevelOp, 34)
388 #define EvtFsMcMCI_ReadInfo EvtFsMcMCIId(EventLevelOp, 35)
389 #define EvtFsMcMCI_ReadInfoSuccess EvtFsMcMCIId(EventLevelOp, 36)
390 #define EvtFsMcMCI_DevCtrl EvtFsMcMCIId(EventLevelOp, 37)
391 #define EvtFsMcMCI_DevCtrlUnsupported EvtFsMcMCIId(EventLevelOp, 38)
392 #define EvtFsMcMCI_LockUnlockExec EvtFsMcMCIId(EventLevelOp, 39)
393 #define EvtFsMcMCI_LockUnlockExecError EvtFsMcMCIId(EventLevelError, 40)
394 #define EvtFsMcMCI_LockActive EvtFsMcMCIId(EventLevelOp, 41)
395 #define EvtFsMcMCI_LockDeactivated EvtFsMcMCIId(EventLevelOp, 42)
396 #define EvtFsMcMCI_DeviceStateUnknown EvtFsMcMCIId(EventLevelError, 43)
397 #define EvtFsMcMCI_DeviceStateInvalid EvtFsMcMCIId(EventLevelError, 44)
398 #define EvtFsMcMCI_DeviceStateTimeout EvtFsMcMCIId(EventLevelError, 45)
399 #define EvtFsMcMCI_TransferAbort EvtFsMcMCIId(EventLevelOp, 46)
400 #define EvtFsMcMCI_SleepAwakeControl EvtFsMcMCIId(EventLevelOp, 47)
401 #define EvtFsMcMCI_SleepActive EvtFsMcMCIId(EventLevelOp, 48)
402 #define EvtFsMcMCI_AwakeActive EvtFsMcMCIId(EventLevelOp, 49)
403 #define EvtFsMcMCI_CardPowerControl EvtFsMcMCIId(EventLevelOp, 50)
404 #define EvtFsMcMCI_SendCommandError EvtFsMcMCIId(EventLevelError, 51)
405 #define EvtFsMcMCI_ReadXferSetupError EvtFsMcMCIId(EventLevelError, 52)
406 #define EvtFsMcMCI_WriteXferSetupError EvtFsMcMCIId(EventLevelError, 53)
407 #define EvtFsMcMCI_ParameterInvalid EvtFsMcMCIId(EventLevelError, 54)
408 #define EvtFsMcMCI_MediaPasswordEnabled EvtFsMcMCIId(EventLevelError, 55)
409 
410 /* Event id list for "FsMcSPI" */
411 #define EvtFsMcSPI_InitDriver EvtFsMcSPIId(EventLevelOp, 0)
412 #define EvtFsMcSPI_InitDriverSuccess EvtFsMcSPIId(EventLevelOp, 1)
413 #define EvtFsMcSPI_InitDriverError EvtFsMcSPIId(EventLevelError, 2)
414 #define EvtFsMcSPI_InitDriverPowerError EvtFsMcSPIId(EventLevelError, 3)
415 #define EvtFsMcSPI_InitMedia EvtFsMcSPIId(EventLevelOp, 4)
416 #define EvtFsMcSPI_InitMediaSuccess EvtFsMcSPIId(EventLevelOp, 5)
417 #define EvtFsMcSPI_MediaNotInitialized EvtFsMcSPIId(EventLevelError, 6)
418 #define EvtFsMcSPI_MediaCdActive EvtFsMcSPIId(EventLevelOp, 7)
419 #define EvtFsMcSPI_MediaCdInactive EvtFsMcSPIId(EventLevelError, 8)
420 #define EvtFsMcSPI_MediaWpActive EvtFsMcSPIId(EventLevelOp, 9)
421 #define EvtFsMcSPI_MediaWpInactive EvtFsMcSPIId(EventLevelOp, 10)
422 #define EvtFsMcSPI_MediaReset EvtFsMcSPIId(EventLevelOp, 11)
423 #define EvtFsMcSPI_MediaResetError EvtFsMcSPIId(EventLevelError, 12)
424 #define EvtFsMcSPI_MediaDetectionSD EvtFsMcSPIId(EventLevelOp, 13)
425 #define EvtFsMcSPI_MediaSD_V2 EvtFsMcSPIId(EventLevelOp, 14)
426 #define EvtFsMcSPI_MediaReady EvtFsMcSPIId(EventLevelOp, 15)
427 #define EvtFsMcSPI_MediaNoResponse EvtFsMcSPIId(EventLevelOp, 16)
428 #define EvtFsMcSPI_MediaDetectionMMC EvtFsMcSPIId(EventLevelOp, 17)
429 #define EvtFsMcSPI_MediaDetectionError EvtFsMcSPIId(EventLevelError, 18)
430 #define EvtFsMcSPI_CidReadError EvtFsMcSPIId(EventLevelError, 19)
431 #define EvtFsMcSPI_CsdReadError EvtFsMcSPIId(EventLevelError, 20)
432 #define EvtFsMcSPI_BlenWriteError EvtFsMcSPIId(EventLevelError, 21)
433 #define EvtFsMcSPI_UninitDriver EvtFsMcSPIId(EventLevelOp, 22)
434 #define EvtFsMcSPI_UninitMedia EvtFsMcSPIId(EventLevelOp, 23)
435 #define EvtFsMcSPI_SectorRead EvtFsMcSPIId(EventLevelOp, 24)
436 #define EvtFsMcSPI_SectorReadError EvtFsMcSPIId(EventLevelError, 25)
437 #define EvtFsMcSPI_SectorWrite EvtFsMcSPIId(EventLevelOp, 26)
438 #define EvtFsMcSPI_SectorWriteError EvtFsMcSPIId(EventLevelError, 27)
439 #define EvtFsMcSPI_ReadInfo EvtFsMcSPIId(EventLevelOp, 28)
440 #define EvtFsMcSPI_ReadInfoSuccess EvtFsMcSPIId(EventLevelOp, 29)
441 #define EvtFsMcSPI_DevCtrl EvtFsMcSPIId(EventLevelOp, 30)
442 #define EvtFsMcSPI_DevCtrlUnsupported EvtFsMcSPIId(EventLevelError, 31)
443 #define EvtFsMcSPI_LockUnlockExec EvtFsMcSPIId(EventLevelOp, 32)
444 #define EvtFsMcSPI_LockUnlockExecError EvtFsMcSPIId(EventLevelError, 33)
445 #define EvtFsMcSPI_LockActive EvtFsMcSPIId(EventLevelOp, 34)
446 #define EvtFsMcSPI_LockDeactivated EvtFsMcSPIId(EventLevelOp, 35)
447 #define EvtFsMcSPI_BusSpeedControl EvtFsMcSPIId(EventLevelOp, 36)
448 #define EvtFsMcSPI_SlaveSelCtrlMissing EvtFsMcSPIId(EventLevelOp, 37)
449 #define EvtFsMcSPI_ReadCdMissing EvtFsMcSPIId(EventLevelOp, 38)
450 #define EvtFsMcSPI_ReadWpMissing EvtFsMcSPIId(EventLevelOp, 39)
451 #define EvtFsMcSPI_CrcDisableError EvtFsMcSPIId(EventLevelError, 40)
452 #define EvtFsMcSPI_DriverSendError EvtFsMcSPIId(EventLevelError, 41)
453 #define EvtFsMcSPI_DriverReceiveError EvtFsMcSPIId(EventLevelError, 42)
454 #define EvtFsMcSPI_CmdSendError EvtFsMcSPIId(EventLevelError, 43)
455 #define EvtFsMcSPI_CmdResponseError EvtFsMcSPIId(EventLevelError, 44)
456 #define EvtFsMcSPI_ACmdResponseError EvtFsMcSPIId(EventLevelError, 45)
457 #define EvtFsMcSPI_ParameterInvalid EvtFsMcSPIId(EventLevelError, 46)
458 #define EvtFsMcSPI_MediaPasswordEnabled EvtFsMcSPIId(EventLevelError, 47)
459 #endif
460 
461 
467 #ifdef EvtFsCore_sys_open
468  __STATIC_INLINE void EvrFsCore_sys_open (const char *name, int openmode) {
469  EventRecord2 (EvtFsCore_sys_open, (uint32_t)name, openmode);
470  }
471 #else
472  #define EvrFsCore_sys_open(name, openmode)
473 #endif
474 
479 #ifdef EvtFsCore_sys_close
481  EventRecord2 (EvtFsCore_sys_close, (uint32_t)fh, 0);
482  }
483 #else
484  #define EvrFsCore_sys_close(fh)
485 #endif
486 
493 #ifdef EvtFsCore_sys_write
494  __STATIC_INLINE void EvrFsCore_sys_write (int fh, const unsigned char *buf, unsigned int len) {
495  EventRecord4 (EvtFsCore_sys_write, (uint32_t)fh, (uint32_t)buf, len, 0);
496  }
497 #else
498  #define EvrFsCore_sys_write(fh, buf, len)
499 #endif
500 
507 #ifdef EvtFsCore_sys_read
508  __STATIC_INLINE void EvrFsCore_sys_read (int fh, unsigned char *buf, unsigned int len) {
509  EventRecord4 (EvtFsCore_sys_read, (uint32_t)fh, (uint32_t)buf, len, 0);
510  }
511 #else
512  #define EvrFsCore_sys_read(fh, buf, len)
513 #endif
514 
520 #ifdef EvtFsCore_sys_seek
521  __STATIC_INLINE void EvrFsCore_sys_seek (int fh, long pos) {
522  EventRecord2 (EvtFsCore_sys_seek, (uint32_t)fh, (uint32_t)pos);
523  }
524 #else
525  #define EvrFsCore_sys_seek(fh, pos)
526 #endif
527 
532 #ifdef EvtFsCore_sys_flen
534  EventRecord2 (EvtFsCore_sys_flen, (uint32_t)fh, 0);
535  }
536 #else
537  #define EvrFsCore_sys_flen(fh)
538 #endif
539 
545 #ifdef EvtFsCore_sys_handle_assign
546  __STATIC_INLINE void EvrFsCore_sys_handle_assign (const char *name, int fh) {
547  EventRecord2 (EvtFsCore_sys_handle_assign, (uint32_t)name, (uint32_t)fh);
548  }
549 #else
550  #define EvrFsCore_sys_handle_assign(name, fh)
551 #endif
552 
557 #ifdef EvtFsCore_finit
558  __STATIC_INLINE void EvrFsCore_finit (const char *drive) {
559  EventRecord2 (EvtFsCore_finit, (uint32_t)drive, 0);
560  }
561 #else
562  #define EvrFsCore_finit(drive)
563 #endif
564 
569 #ifdef EvtFsCore_funinit
570  __STATIC_INLINE void EvrFsCore_funinit (const char *drive) {
571  EventRecord2 (EvtFsCore_funinit, (uint32_t)drive, 0);
572  }
573 #else
574  #define EvrFsCore_funinit(drive)
575 #endif
576 
581 #ifdef EvtFsCore_fmount
582  __STATIC_INLINE void EvrFsCore_fmount (const char *drive) {
583  EventRecord2 (EvtFsCore_fmount, (uint32_t)drive, 0);
584  }
585 #else
586  #define EvrFsCore_fmount(drive)
587 #endif
588 
593 #ifdef EvtFsCore_funmount
594  __STATIC_INLINE void EvrFsCore_funmount (const char *drive) {
595  EventRecord2 (EvtFsCore_funmount, (uint32_t)drive, 0);
596  }
597 #else
598  #define EvrFsCore_funmount(drive)
599 #endif
600 
605 #ifdef EvtFsCore_fdelete_l
606  __STATIC_INLINE void EvrFsCore_fdelete_l (const char *path) {
607  EventRecord2 (EvtFsCore_fdelete_l, (uint32_t)path, 0);
608  }
609 #else
610  #define EvrFsCore_fdelete_l(path)
611 #endif
612 
618 #ifdef EvtFsCore_fdelete
619  __STATIC_INLINE void EvrFsCore_fdelete (const char *path, const char *options) {
620  EventRecord2 (EvtFsCore_fdelete, (uint32_t)path, (uint32_t)options);
621  }
622 #else
623  #define EvrFsCore_fdelete(path, options)
624 #endif
625 
631 #ifdef EvtFsCore_ffind
632  __STATIC_INLINE void EvrFsCore_ffind (const char *pattern, fsFileInfo *info) {
633  EventRecord2 (EvtFsCore_ffind, (uint32_t)pattern, (uint32_t)info);
634  }
635 #else
636  #define EvrFsCore_ffind(pattern, info)
637 #endif
638 
644 #ifdef EvtFsCore_frename
645  __STATIC_INLINE void EvrFsCore_frename (const char *path, const char *newname) {
646  EventRecord2 (EvtFsCore_frename, (uint32_t)path, (uint32_t)newname);
647  }
648 #else
649  #define EvrFsCore_frename(path, newname)
650 #endif
651 
657 #ifdef EvtFsCore_fattrib
658  __STATIC_INLINE void EvrFsCore_fattrib (const char *path, const char *attr) {
659  EventRecord2 (EvtFsCore_fattrib, (uint32_t)path, (uint32_t)attr);
660  }
661 #else
662  #define EvrFsCore_fattrib(path, attr)
663 #endif
664 
671 #ifdef EvtFsCore_fpwd
672  __STATIC_INLINE void EvrFsCore_fpwd (const char *drive, char *buf, uint32_t len) {
673  EventRecord4 (EvtFsCore_fpwd, (uint32_t)drive, (uint32_t)buf, len, 0);
674  }
675 #else
676  #define EvrFsCore_fpwd(drive, buf, len)
677 #endif
678 
683 #ifdef EvtFsCore_fchdir
684  __STATIC_INLINE void EvrFsCore_fchdir (const char *path) {
685  EventRecord2 (EvtFsCore_fchdir, (uint32_t)path, 0);
686  }
687 #else
688  #define EvrFsCore_fchdir(path)
689 #endif
690 
695 #ifdef EvtFsCore_fmkdir
696  __STATIC_INLINE void EvrFsCore_fmkdir (const char *path) {
697  EventRecord2 (EvtFsCore_fmkdir, (uint32_t)path, 0);
698  }
699 #else
700  #define EvrFsCore_fmkdir(path)
701 #endif
702 
708 #ifdef EvtFsCore_frmdir
709  __STATIC_INLINE void EvrFsCore_frmdir (const char *path, const char *options) {
710  EventRecord2 (EvtFsCore_frmdir, (uint32_t)path, (uint32_t)options);
711  }
712 #else
713  #define EvrFsCore_frmdir(path, options)
714 #endif
715 
720 #ifdef EvtFsCore_fchdrive
721  __STATIC_INLINE void EvrFsCore_fchdrive (const char *drive) {
722  EventRecord2 (EvtFsCore_fchdrive, (uint32_t)drive, 0);
723  }
724 #else
725  #define EvrFsCore_fchdrive(drive)
726 #endif
727 
732 #ifdef EvtFsCore_ffree
733  __STATIC_INLINE void EvrFsCore_ffree (const char *drive) {
734  EventRecord2 (EvtFsCore_ffree, (uint32_t)drive, 0);
735  }
736 #else
737  #define EvrFsCore_ffree(drive)
738 #endif
739 
745 #ifdef EvtFsCore_fformat
746  __STATIC_INLINE void EvrFsCore_fformat (const char *drive, const char *options) {
747  EventRecord2 (EvtFsCore_fformat, (uint32_t)drive, (uint32_t)options);
748  }
749 #else
750  #define EvrFsCore_fformat(drive, options)
751 #endif
752 
757 #ifdef EvtFsCore_fanalyse
758  __STATIC_INLINE void EvrFsCore_fanalyse (const char *drive) {
759  EventRecord2 (EvtFsCore_fanalyse, (uint32_t)drive, 0);
760  }
761 #else
762  #define EvrFsCore_fanalyse(drive)
763 #endif
764 
769 #ifdef EvtFsCore_fcheck
770  __STATIC_INLINE void EvrFsCore_fcheck (const char *drive) {
771  EventRecord2 (EvtFsCore_fcheck, (uint32_t)drive, 0);
772  }
773 #else
774  #define EvrFsCore_fcheck(drive)
775 #endif
776 
781 #ifdef EvtFsCore_fdefrag
782  __STATIC_INLINE void EvrFsCore_fdefrag (const char *drive) {
783  EventRecord2 (EvtFsCore_fdefrag, (uint32_t)drive, 0);
784  }
785 #else
786  #define EvrFsCore_fdefrag(drive)
787 #endif
788 
793 #ifdef EvtFsCore_fmedia
794  __STATIC_INLINE void EvrFsCore_fmedia (const char *drive) {
795  EventRecord2 (EvtFsCore_fmedia, (uint32_t)drive, 0);
796  }
797 #else
798  #define EvrFsCore_fmedia(drive)
799 #endif
800 
806 #ifdef EvtFsCore_finfo
807  __STATIC_INLINE void EvrFsCore_finfo (const char *drive, fsDriveInfo *info) {
808  EventRecord2 (EvtFsCore_finfo, (uint32_t)drive, (uint32_t)info);
809  }
810 #else
811  #define EvrFsCore_finfo(drive, info)
812 #endif
813 
820 #ifdef EvtFsCore_fvol
821  __STATIC_INLINE void EvrFsCore_fvol (const char *drive, char *label, uint32_t *serial) {
822  EventRecord4 (EvtFsCore_fvol, (uint32_t)drive, (uint32_t)label, (uint32_t)serial, 0);
823  }
824 #else
825  #define EvrFsCore_fvol(drive, label, serial)
826 #endif
827 
832 #ifdef EvtFsCore_InvalidDrive
833  __STATIC_INLINE void EvrFsCore_InvalidDrive (uint32_t drive) {
834  EventRecord2 (EvtFsCore_InvalidDrive, drive, 0);
835  }
836 #else
837  #define EvrFsCore_InvalidDrive(drive)
838 #endif
839 
844 #ifdef EvtFsCore_CurrentDriveSelect
846  EventRecord2 (EvtFsCore_CurrentDriveSelect, drive, 0);
847  }
848 #else
849  #define EvrFsCore_CurrentDriveSelect(drive)
850 #endif
851 
852 
857 #ifdef EvtFsFAT_InitDrive
858  __STATIC_INLINE void EvrFsFAT_InitDrive(uint32_t drive) {
859  EventRecord2(EvtFsFAT_InitDrive, drive, 0);
860  }
861 #else
862  #define EvrFsFAT_InitDrive(drive)
863 #endif
864 
869 #ifdef EvtFsFAT_InitDriveSuccess
871  EventRecord2(EvtFsFAT_InitDriveSuccess, drive, 0);
872  }
873 #else
874  #define EvrFsFAT_InitDriveSuccess(drive)
875 #endif
876 
881 #ifdef EvtFsFAT_InitDriverCfgError
883  EventRecord2(EvtFsFAT_InitDriverCfgError, drive, 0);
884  }
885 #else
886  #define EvrFsFAT_InitDriverCfgError(drive)
887 #endif
888 
893 #ifdef EvtFsFAT_InitDriverError
895  EventRecord2(EvtFsFAT_InitDriverError, drive, 0);
896  }
897 #else
898  #define EvrFsFAT_InitDriverError(drive)
899 #endif
900 
905 #ifdef EvtFsFAT_UninitDrive
906  __STATIC_INLINE void EvrFsFAT_UninitDrive(uint32_t drive) {
907  EventRecord2(EvtFsFAT_UninitDrive, drive, 0);
908  }
909 #else
910  #define EvrFsFAT_UninitDrive(drive)
911 #endif
912 
917 #ifdef EvtFsFAT_MountDrive
918  __STATIC_INLINE void EvrFsFAT_MountDrive(uint32_t drive) {
919  EventRecord2(EvtFsFAT_MountDrive, drive, 0);
920  }
921 #else
922  #define EvrFsFAT_MountDrive(drive)
923 #endif
924 
929 #ifdef EvtFsFAT_InitMediaError
931  EventRecord2(EvtFsFAT_InitMediaError, drive, 0);
932  }
933 #else
934  #define EvrFsFAT_InitMediaError(drive)
935 #endif
936 
941 #ifdef EvtFsFAT_MediaInsertStatError
943  EventRecord2(EvtFsFAT_MediaInsertStatError, drive, 0);
944  }
945 #else
946  #define EvrFsFAT_MediaInsertStatError(drive)
947 #endif
948 
953 #ifdef EvtFsFAT_MediaInitStatError
955  EventRecord2(EvtFsFAT_MediaInitStatError, drive, 0);
956  }
957 #else
958  #define EvrFsFAT_MediaInitStatError(drive)
959 #endif
960 
965 #ifdef EvtFsFAT_VolumeReadyStatError
967  EventRecord2(EvtFsFAT_VolumeReadyStatError, drive, 0);
968  }
969 #else
970  #define EvrFsFAT_VolumeReadyStatError(drive)
971 #endif
972 
977 #ifdef EvtFsFAT_VolumeWriteStatError
979  EventRecord2(EvtFsFAT_VolumeWriteStatError, drive, 0);
980  }
981 #else
982  #define EvrFsFAT_VolumeWriteStatError(drive)
983 #endif
984 
989 #ifdef EvtFsFAT_VolumeNotMounted
991  EventRecord2(EvtFsFAT_VolumeNotMounted, drive, 0);
992  }
993 #else
994  #define EvrFsFAT_VolumeNotMounted(drive)
995 #endif
996 
1002 #ifdef EvtFsFAT_ReadMBR
1003  __STATIC_INLINE void EvrFsFAT_ReadMBR (uint32_t drive, uint32_t sector) {
1004  EventRecord2(EvtFsFAT_ReadMBR, drive, sector);
1005  }
1006 #else
1007  #define EvrFsFAT_ReadMBR(drive, sector)
1008 #endif
1009 
1014 #ifdef EvtFsFAT_InvalidMBR
1015  __STATIC_INLINE void EvrFsFAT_InvalidMBR (uint32_t drive) {
1016  EventRecord2(EvtFsFAT_InvalidMBR, drive, 0);
1017  }
1018 #else
1019  #define EvrFsFAT_InvalidMBR(drive)
1020 #endif
1021 
1026 #ifdef EvtFsFAT_NonexistentMBR
1028  EventRecord2(EvtFsFAT_NonexistentMBR, drive, 0);
1029  }
1030 #else
1031  #define EvrFsFAT_NonexistentMBR(drive)
1032 #endif
1033 
1039 #ifdef EvtFsFAT_ReadBootSector
1040  __STATIC_INLINE void EvrFsFAT_ReadBootSector (uint32_t drive, uint32_t sector) {
1041  EventRecord2(EvtFsFAT_ReadBootSector, drive, sector);
1042  }
1043 #else
1044  #define EvrFsFAT_ReadBootSector(drive, sector)
1045 #endif
1046 
1051 #ifdef EvtFsFAT_InvalidBootSector
1053  EventRecord2(EvtFsFAT_InvalidBootSector, drive, 0);
1054  }
1055 #else
1056  #define EvrFsFAT_InvalidBootSector(drive)
1057 #endif
1058 
1063 #ifdef EvtFsFAT_InvalidFAT
1064  __STATIC_INLINE void EvrFsFAT_InvalidFAT (uint32_t drive) {
1065  EventRecord2(EvtFsFAT_InvalidFAT, drive, 0);
1066  }
1067 #else
1068  #define EvrFsFAT_InvalidFAT(drive)
1069 #endif
1070 
1076 #ifdef EvtFsFAT_ReadFSInfo
1077  __STATIC_INLINE void EvrFsFAT_ReadFSInfo (uint32_t drive, uint32_t sector) {
1078  EventRecord2(EvtFsFAT_ReadFSInfo, drive, sector);
1079  }
1080 #else
1081  #define EvrFsFAT_ReadFSInfo(drive, sector)
1082 #endif
1083 
1088 #ifdef EvtFsFAT_InvalidFSInfo
1089  __STATIC_INLINE void EvrFsFAT_InvalidFSInfo (uint32_t drive) {
1090  EventRecord2(EvtFsFAT_InvalidFSInfo, drive, 0);
1091  }
1092 #else
1093  #define EvrFsFAT_InvalidFSInfo(drive)
1094 #endif
1095 
1100 #ifdef EvtFsFAT_InvalidFreeClusFSInfo
1102  EventRecord2(EvtFsFAT_InvalidFreeClusFSInfo, drive, 0);
1103  }
1104 #else
1105  #define EvrFsFAT_InvalidFreeClusFSInfo(drive)
1106 #endif
1107 
1112 #ifdef EvtFsFAT_InvalidNextClusFSInfo
1114  EventRecord2(EvtFsFAT_InvalidNextClusFSInfo, drive, 0);
1115  }
1116 #else
1117  #define EvrFsFAT_InvalidNextClusFSInfo(drive)
1118 #endif
1119 
1125 #ifdef EvtFsFAT_WriteFSInfo
1126  __STATIC_INLINE void EvrFsFAT_WriteFSInfo (uint32_t drive, uint32_t sector) {
1127  EventRecord2(EvtFsFAT_WriteFSInfo, drive, sector);
1128  }
1129 #else
1130  #define EvrFsFAT_WriteFSInfo(drive, sector)
1131 #endif
1132 
1137 #ifdef EvtFsFAT_CountFreeClus
1138  __STATIC_INLINE void EvrFsFAT_CountFreeClus (uint32_t drive) {
1139  EventRecord2(EvtFsFAT_CountFreeClus, drive, 0);
1140  }
1141 #else
1142  #define EvrFsFAT_CountFreeClus(drive)
1143 #endif
1144 
1149 #ifdef EvtFsFAT_MountDriveSuccess
1151  EventRecord2(EvtFsFAT_MountDriveSuccess, drive, 0);
1152  }
1153 #else
1154  #define EvrFsFAT_MountDriveSuccess(drive)
1155 #endif
1156 
1161 #ifdef EvtFsFAT_UnmountDrive
1163  EventRecord2(EvtFsFAT_UnmountDrive, drive, 0);
1164  }
1165 #else
1166  #define EvrFsFAT_UnmountDrive(drive)
1167 #endif
1168 
1173 #ifdef EvtFsFAT_UnmountDriveSuccess
1175  EventRecord2(EvtFsFAT_UnmountDriveSuccess, drive, 0);
1176  }
1177 #else
1178  #define EvrFsFAT_UnmountDriveSuccess(drive)
1179 #endif
1180 
1185 #ifdef EvtFsFAT_FormatDrive
1186  __STATIC_INLINE void EvrFsFAT_FormatDrive(uint32_t drive) {
1187  EventRecord2(EvtFsFAT_FormatDrive, drive, 0);
1188  }
1189 #else
1190  #define EvrFsFAT_FormatDrive(drive)
1191 #endif
1192 
1197 #ifdef EvtFsFAT_FormatDriveSuccess
1199  EventRecord2(EvtFsFAT_FormatDriveSuccess, drive, 0);
1200  }
1201 #else
1202  #define EvrFsFAT_FormatDriveSuccess(drive)
1203 #endif
1204 
1209 #ifdef EvtFsFAT_ResetHandles
1210  __STATIC_INLINE void EvrFsFAT_ResetHandles (uint32_t drive) {
1211  EventRecord2(EvtFsFAT_ResetHandles, drive, 0);
1212  }
1213 #else
1214  #define EvrFsFAT_ResetHandles(drive)
1215 #endif
1216 
1222 #ifdef EvtFsFAT_FormatOptionDetected
1223  __STATIC_INLINE void EvrFsFAT_FormatOptionDetected (uint32_t drive, uint32_t option) {
1224  EventRecord2(EvtFsFAT_FormatOptionDetected, drive, option);
1225  }
1226 #else
1227  #define EvrFsFAT_FormatOptionDetected(drive, option)
1228 #endif
1229 
1235 #ifdef EvtFsFAT_FormatMediaCapacity
1236  __STATIC_INLINE void EvrFsFAT_FormatMediaCapacity (uint32_t drive, uint32_t sectors) {
1237  EventRecord2(EvtFsFAT_FormatMediaCapacity, drive, sectors);
1238  }
1239 #else
1240  #define EvrFsFAT_FormatMediaCapacity(drive, sectors)
1241 #endif
1242 
1247 #ifdef EvtFsFAT_FormatLowLevel
1249  EventRecord2(EvtFsFAT_FormatLowLevel, drive, 0);
1250  }
1251 #else
1252  #define EvrFsFAT_FormatLowLevel(drive)
1253 #endif
1254 
1259 #ifdef EvtFsFAT_FormatNoSpace
1260  __STATIC_INLINE void EvrFsFAT_FormatNoSpace (uint32_t drive) {
1261  EventRecord2(EvtFsFAT_FormatNoSpace, drive, 0);
1262  }
1263 #else
1264  #define EvrFsFAT_FormatNoSpace(drive)
1265 #endif
1266 
1271 #ifdef EvtFsFAT_FormatNoSpaceFAT32
1273  EventRecord2(EvtFsFAT_FormatNoSpaceFAT32, drive, 0);
1274  }
1275 #else
1276  #define EvrFsFAT_FormatNoSpaceFAT32(drive)
1277 #endif
1278 
1284 #ifdef EvtFsFAT_WriteMBR
1285  __STATIC_INLINE void EvrFsFAT_WriteMBR (uint32_t drive, uint32_t sector) {
1286  EventRecord2(EvtFsFAT_WriteMBR, drive, sector);
1287  }
1288 #else
1289  #define EvrFsFAT_WriteMBR(drive, sector)
1290 #endif
1291 
1297 #ifdef EvtFsFAT_WriteBootSector
1298  __STATIC_INLINE void EvrFsFAT_WriteBootSector (uint32_t drive, uint32_t sector) {
1299  EventRecord2(EvtFsFAT_WriteBootSector, drive, sector);
1300  }
1301 #else
1302  #define EvrFsFAT_WriteBootSector(drive, sector)
1303 #endif
1304 
1311 #ifdef EvtFsFAT_ClearHiddenSectors
1312  __STATIC_INLINE void EvrFsFAT_ClearHiddenSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1313  EventRecord4 (EvtFsFAT_ClearHiddenSectors, drive, sector, count, 0);
1314  }
1315 #else
1316  #define EvrFsFAT_ClearHiddenSectors(drive, sector, count)
1317 #endif
1318 
1325 #ifdef EvtFsFAT_ClearReservedSectors
1326  __STATIC_INLINE void EvrFsFAT_ClearReservedSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1327  EventRecord4 (EvtFsFAT_ClearReservedSectors, drive, sector, count, 0);
1328  }
1329 #else
1330  #define EvrFsFAT_ClearReservedSectors(drive, sector, count)
1331 #endif
1332 
1339 #ifdef EvtFsFAT_ClearRootSectors
1340  __STATIC_INLINE void EvrFsFAT_ClearRootSectors (uint32_t drive, uint32_t sector, uint32_t count) {
1341  EventRecord4 (EvtFsFAT_ClearRootSectors, drive, sector, count, 0);
1342  }
1343 #else
1344  #define EvrFsFAT_ClearRootSectors(drive, sector, count)
1345 #endif
1346 
1353 #ifdef EvtFsFAT_CreateFAT
1354  __STATIC_INLINE void EvrFsFAT_CreateFAT (uint32_t drive, uint32_t sector, uint32_t count) {
1355  EventRecord4 (EvtFsFAT_CreateFAT, drive, sector, count, 0);
1356  }
1357 #else
1358  #define EvrFsFAT_CreateFAT(drive, sector, count)
1359 #endif
1360 
1368 #ifdef EvtFsFAT_FormatProperties
1369  __STATIC_INLINE void EvrFsFAT_FormatProperties (uint32_t drive, uint32_t type, uint32_t clus_size, uint32_t data_clus) {
1370  EventRecord4 (EvtFsFAT_FormatProperties, drive, type, clus_size, data_clus);
1371  }
1372 #else
1373  #define EvrFsFAT_FormatProperties(drive, type, clus_size, data_clus)
1374 #endif
1375 
1382 #ifdef EvtFsFAT_FileOpen
1383  __STATIC_INLINE void EvrFsFAT_FileOpen (uint32_t h, const char *path, uint32_t openmode) {
1384  EventRecord4 (EvtFsFAT_FileOpen, h, (uint32_t)path, openmode, 0);
1385  }
1386 #else
1387  #define EvrFsFAT_FileOpen(h, path, openmode)
1388 #endif
1389 
1394 #ifdef EvtFsFAT_PathInvalidChar
1396  EventRecord2 (EvtFsFAT_PathInvalidChar, ch, 0);
1397  }
1398 #else
1399  #define EvrFsFAT_PathInvalidChar(ch)
1400 #endif
1401 
1406 #ifdef EvtFsFAT_PathIsTooLong
1407  __STATIC_INLINE void EvrFsFAT_PathIsTooLong (uint32_t max_len) {
1408  EventRecord2 (EvtFsFAT_PathIsTooLong, max_len, 0);
1409  }
1410 #else
1411  #define EvrFsFAT_PathIsTooLong(max_len)
1412 #endif
1413 
1418 #ifdef EvtFsFAT_PathIsDirNotFile
1420  EventRecord2 (EvtFsFAT_PathIsDirNotFile, drive, 0);
1421  }
1422 #else
1423  #define EvrFsFAT_PathIsDirNotFile(drive)
1424 #endif
1425 
1430 #ifdef EvtFsFAT_FileIsInUse
1431  __STATIC_INLINE void EvrFsFAT_FileIsInUse (uint32_t drive) {
1432  EventRecord2 (EvtFsFAT_FileIsInUse, drive, 0);
1433  }
1434 #else
1435  #define EvrFsFAT_FileIsInUse(drive)
1436 #endif
1437 
1442 #ifdef EvtFsFAT_FileIsReadOnly
1444  EventRecord2 (EvtFsFAT_FileIsReadOnly, drive, 0);
1445  }
1446 #else
1447  #define EvrFsFAT_FileIsReadOnly(drive)
1448 #endif
1449 
1454 #ifdef EvtFsFAT_FileIsNonExistent
1456  EventRecord2 (EvtFsFAT_FileIsNonExistent, drive, 0);
1457  }
1458 #else
1459  #define EvrFsFAT_FileIsNonExistent(drive)
1460 #endif
1461 
1467 #ifdef EvtFsFAT_PathProcessing
1468  __STATIC_INLINE void EvrFsFAT_PathProcessing (uint32_t drive, const char *path) {
1469  EventRecord2 (EvtFsFAT_PathProcessing, drive, (uint32_t)path);
1470  }
1471 #else
1472  #define EvrFsFAT_PathProcessing(drive, path)
1473 #endif
1474 
1479 #ifdef EvtFsFAT_FileHandleUnavailable
1481  EventRecord2 (EvtFsFAT_FileHandleUnavailable, drive, 0);
1482  }
1483 #else
1484  #define EvrFsFAT_FileHandleUnavailable(drive)
1485 #endif
1486 
1491 #ifdef EvtFsFAT_FileHandleInvalid
1493  EventRecord2 (EvtFsFAT_FileHandleInvalid, h, 0);
1494  }
1495 #else
1496  #define EvrFsFAT_FileHandleInvalid(h)
1497 #endif
1498 
1503 #ifdef EvtFsFAT_LabelInvalid
1504  __STATIC_INLINE void EvrFsFAT_LabelInvalid (uint32_t drive) {
1505  EventRecord2 (EvtFsFAT_LabelInvalid, drive, 0);
1506  }
1507 #else
1508  #define EvrFsFAT_LabelInvalid(drive)
1509 #endif
1510 
1515 #ifdef EvtFsFAT_LabelNotSet
1516  __STATIC_INLINE void EvrFsFAT_LabelNotSet (uint32_t drive) {
1517  EventRecord2 (EvtFsFAT_LabelNotSet, drive, 0);
1518  }
1519 #else
1520  #define EvrFsFAT_LabelNotSet(drive)
1521 #endif
1522 
1529 #ifdef EvtFsFAT_SectorReadFailed
1530  __STATIC_INLINE void EvrFsFAT_SectorReadFailed (uint32_t drive, uint32_t sector, uint32_t count) {
1531  EventRecord4 (EvtFsFAT_SectorReadFailed, drive, sector, count, 0);
1532  }
1533 #else
1534  #define EvrFsFAT_SectorReadFailed(drive, sector, count)
1535 #endif
1536 
1543 #ifdef EvtFsFAT_SectorWriteFailed
1544  __STATIC_INLINE void EvrFsFAT_SectorWriteFailed (uint32_t drive, uint32_t sector, uint32_t count) {
1545  EventRecord4 (EvtFsFAT_SectorWriteFailed, drive, sector, count, 0);
1546  }
1547 #else
1548  #define EvrFsFAT_SectorWriteFailed(drive, sector, count)
1549 #endif
1550 
1555 #ifdef EvtFsFAT_DiskFull
1556  __STATIC_INLINE void EvrFsFAT_DiskFull (uint32_t drive) {
1557  EventRecord2 (EvtFsFAT_DiskFull, drive, 0);
1558  }
1559 #else
1560  #define EvrFsFAT_DiskFull(drive)
1561 #endif
1562 
1568 #ifdef EvtFsFAT_DirEntryAllocFailed
1569  __STATIC_INLINE void EvrFsFAT_DirEntryAllocFailed (uint32_t drive, uint32_t dir_clus) {
1570  EventRecord2 (EvtFsFAT_DirEntryAllocFailed, drive, dir_clus);
1571  }
1572 #else
1573  #define EvrFsFAT_DirEntryAllocFailed(drive, dir_clus)
1574 #endif
1575 
1580 #ifdef EvtFsFAT_PathBufferToSmall
1582  EventRecord2 (EvtFsFAT_PathBufferToSmall, drive, 0);
1583  }
1584 #else
1585  #define EvrFsFAT_PathBufferToSmall(drive)
1586 #endif
1587 
1592 #ifdef EvtFsFAT_InitJournal
1593  __STATIC_INLINE void EvrFsFAT_InitJournal (uint32_t drive) {
1594  EventRecord2 (EvtFsFAT_InitJournal, drive, 0);
1595  }
1596 #else
1597  #define EvrFsFAT_InitJournal(drive)
1598 #endif
1599 
1604 #ifdef EvtFsFAT_InitJournalSuccess
1606  EventRecord2 (EvtFsFAT_InitJournalSuccess, drive, 0);
1607  }
1608 #else
1609  #define EvrFsFAT_InitJournalSuccess(drive)
1610 #endif
1611 
1616 #ifdef EvtFsFAT_InitJournalFATError
1618  EventRecord2 (EvtFsFAT_InitJournalFATError, drive, 0);
1619  }
1620 #else
1621  #define EvrFsFAT_InitJournalFATError(drive)
1622 #endif
1623 
1628 #ifdef EvtFsFAT_FileClose
1630  EventRecord2 (EvtFsFAT_FileClose, h, 0);
1631  }
1632 #else
1633  #define EvrFsFAT_FileClose(h)
1634 #endif
1635 
1641 #ifdef EvtFsFAT_FileHandleError
1642  __STATIC_INLINE void EvrFsFAT_FileHandleError (int32_t h, uint32_t flags) {
1643  EventRecord2 (EvtFsFAT_FileHandleError, (uint32_t)h, flags);
1644  }
1645 #else
1646  #define EvrFsFAT_FileHandleError(h, flags)
1647 #endif
1648 
1655 #ifdef EvtFsFAT_FileRead
1656  __STATIC_INLINE void EvrFsFAT_FileRead (uint32_t h, uint8_t *buf, uint32_t len) {
1657  EventRecord4 (EvtFsFAT_FileRead, h, (uint32_t)buf, len, 0);
1658  }
1659 #else
1660  #define EvrFsFAT_FileRead(h, buf, len)
1661 #endif
1662 
1669 #ifdef EvtFsFAT_FileWrite
1670  __STATIC_INLINE void EvrFsFAT_FileWrite (uint32_t h, const uint8_t *buf, uint32_t len) {
1671  EventRecord4 (EvtFsFAT_FileWrite, h, (uint32_t)buf, len, 0);
1672  }
1673 #else
1674  #define EvrFsFAT_FileWrite(h, buf, len)
1675 #endif
1676 
1681 #ifdef EvtFsFAT_FileFlush
1683  EventRecord2 (EvtFsFAT_FileFlush, h, 0);
1684  }
1685 #else
1686  #define EvrFsFAT_FileFlush(h)
1687 #endif
1688 
1694 #ifdef EvtFsFAT_FileSeek
1695  __STATIC_INLINE void EvrFsFAT_FileSeek (uint32_t h, uint32_t pos) {
1696  EventRecord2 (EvtFsFAT_FileSeek, h, pos);
1697  }
1698 #else
1699  #define EvrFsFAT_FileSeek(h, pos)
1700 #endif
1701 
1708 #ifdef EvtFsFAT_FileSeekIncrease
1709  __STATIC_INLINE void EvrFsFAT_FileSeekIncrease (int32_t h, uint32_t csize, uint32_t nsize) {
1710  EventRecord4 (EvtFsFAT_FileSeekIncrease, (uint32_t)h, csize, nsize, 0);
1711  }
1712 #else
1713  #define EvrFsFAT_FileSeekIncrease(h, csize, nsize)
1714 #endif
1715 
1721 #ifdef EvtFsFAT_FileDelete
1722  __STATIC_INLINE void EvrFsFAT_FileDelete (uint32_t drive, const char *path) {
1723  EventRecord2 (EvtFsFAT_FileDelete, drive, (uint32_t)path);
1724  }
1725 #else
1726  #define EvrFsFAT_FileDelete(drive, path)
1727 #endif
1728 
1734 #ifdef EvtFsFAT_FileDeleteSuccess
1735  __STATIC_INLINE void EvrFsFAT_FileDeleteSuccess (uint32_t drive, const char *path) {
1736  EventRecord2 (EvtFsFAT_FileDeleteSuccess, drive, (uint32_t)path);
1737  }
1738 #else
1739  #define EvrFsFAT_FileDeleteSuccess(drive, path)
1740 #endif
1741 
1748 #ifdef EvtFsFAT_FileRename
1749  __STATIC_INLINE void EvrFsFAT_FileRename (uint32_t drive, const char *path, const char *newname) {
1750  EventRecord4 (EvtFsFAT_FileRename, drive, (uint32_t)path, (uint32_t)newname, 0);
1751  }
1752 #else
1753  #define EvrFsFAT_FileRename(drive, path, newname)
1754 #endif
1755 
1762 #ifdef EvtFsFAT_FileRenameSuccess
1763  __STATIC_INLINE void EvrFsFAT_FileRenameSuccess (uint32_t drive, const char *path, const char *newname) {
1764  EventRecord4 (EvtFsFAT_FileRenameSuccess, drive, (uint32_t)path, (uint32_t)newname, 0);
1765  }
1766 #else
1767  #define EvrFsFAT_FileRenameSuccess(drive, path, newname)
1768 #endif
1769 
1775 #ifdef EvtFsFAT_DirCreate
1776  __STATIC_INLINE void EvrFsFAT_DirCreate (uint32_t drive, const char *path) {
1777  EventRecord2 (EvtFsFAT_DirCreate, drive, (uint32_t)path);
1778  }
1779 #else
1780  #define EvrFsFAT_DirCreate(drive, path)
1781 #endif
1782 
1788 #ifdef EvtFsFAT_DirCreateSuccess
1789  __STATIC_INLINE void EvrFsFAT_DirCreateSuccess (uint32_t drive, const char *path) {
1790  EventRecord2 (EvtFsFAT_DirCreateSuccess, drive, (uint32_t)path);
1791  }
1792 #else
1793  #define EvrFsFAT_DirCreateSuccess(drive, path)
1794 #endif
1795 
1802 #ifdef EvtFsFAT_DirRemove
1803  __STATIC_INLINE void EvrFsFAT_DirRemove (uint32_t drive, const char *path, const char *options) {
1804  EventRecord4 (EvtFsFAT_DirRemove, drive, (uint32_t)path, (uint32_t)options, 0);
1805  }
1806 #else
1807  #define EvrFsFAT_DirRemove(drive, path, options)
1808 #endif
1809 
1816 #ifdef EvtFsFAT_DirRemoveSuccess
1817  __STATIC_INLINE void EvrFsFAT_DirRemoveSuccess (uint32_t drive, const char *path, const char *options) {
1818  EventRecord4 (EvtFsFAT_DirRemoveSuccess, drive, (uint32_t)path, (uint32_t)options, 0);
1819  }
1820 #else
1821  #define EvrFsFAT_DirRemoveSuccess(drive, path, options)
1822 #endif
1823 
1829 #ifdef EvtFsFAT_ChDir
1830  __STATIC_INLINE void EvrFsFAT_ChDir (uint32_t drive, const char *path) {
1831  EventRecord2 (EvtFsFAT_ChDir, drive, (uint32_t)path);
1832  }
1833 #else
1834  #define EvrFsFAT_ChDir(drive, path)
1835 #endif
1836 
1842 #ifdef EvtFsFAT_ChDirSuccess
1843  __STATIC_INLINE void EvrFsFAT_ChDirSuccess (uint32_t drive, const char *path) {
1844  EventRecord2 (EvtFsFAT_ChDirSuccess, drive, (uint32_t)path);
1845  }
1846 #else
1847  #define EvrFsFAT_ChDirSuccess(drive, path)
1848 #endif
1849 
1856 #ifdef EvtFsFAT_Pwd
1857  __STATIC_INLINE void EvrFsFAT_Pwd (uint32_t drive, const char *path, uint32_t len) {
1858  EventRecord4 (EvtFsFAT_Pwd, drive, (uint32_t)path, len, 0);
1859  }
1860 #else
1861  #define EvrFsFAT_Pwd(drive, path, len)
1862 #endif
1863 
1870 #ifdef EvtFsFAT_PwdSuccess
1871  __STATIC_INLINE void EvrFsFAT_PwdSuccess (uint32_t drive, const char *path, uint32_t len) {
1872  EventRecord4 (EvtFsFAT_PwdSuccess, drive, (uint32_t)path, len, 0);
1873  }
1874 #else
1875  #define EvrFsFAT_PwdSuccess(drive, path, len)
1876 #endif
1877 
1884 #ifdef EvtFsFAT_AttribSet
1885  __STATIC_INLINE void EvrFsFAT_AttribSet (uint32_t drive, const char *path, uint32_t attrib) {
1886  EventRecord4 (EvtFsFAT_AttribSet, drive, (uint32_t)path, attrib, 0);
1887  }
1888 #else
1889  #define EvrFsFAT_AttribSet(drive, path, len)
1890 #endif
1891 
1898 #ifdef EvtFsFAT_AttribSetSuccess
1899  __STATIC_INLINE void EvrFsFAT_AttribSetSuccess (uint32_t drive, const char *path, uint32_t attrib) {
1900  EventRecord4 (EvtFsFAT_AttribSetSuccess, drive, (uint32_t)path, attrib, 0);
1901  }
1902 #else
1903  #define EvrFsFAT_AttribSetSuccess(drive, path, len)
1904 #endif
1905 
1910 #ifdef EvtFsFAT_GetFreeSpace
1911  __STATIC_INLINE void EvrFsFAT_GetFreeSpace (uint32_t drive) {
1912  EventRecord2 (EvtFsFAT_GetFreeSpace, drive, 0);
1913  }
1914 #else
1915  #define EvrFsFAT_GetFreeSpace(drive)
1916 #endif
1917 
1924 #ifdef EvtFsFAT_FreeAmount
1925  __STATIC_INLINE void EvrFsFAT_FreeAmount (uint32_t drive, uint32_t clus, uint32_t size) {
1926  EventRecord4 (EvtFsFAT_FreeAmount, drive, clus, size, drive);
1927  }
1928 #else
1929  #define EvrFsFAT_FreeAmount(clus, size, drive)
1930 #endif
1931 
1936 #ifdef EvtFsFAT_FileModeRead
1938  EventRecord2 (EvtFsFAT_FileModeRead, (uint32_t)h, 0);
1939  }
1940 #else
1941  #define EvrFsFAT_FileModeRead(h)
1942 #endif
1943 
1948 #ifdef EvtFsFAT_FileFind
1950  EventRecord2 (EvtFsFAT_FileFind, (uint32_t)h, 0);
1951  }
1952 #else
1953  #define EvrFsFAT_FileFind(h)
1954 #endif
1955 
1960 #ifdef EvtFsFAT_InvalidParameter
1962  EventRecord2 (EvtFsFAT_InvalidParameter, drive, 0);
1963  }
1964 #else
1965  #define EvrFsFAT_InvalidParameter(drive)
1966 #endif
1967 
1972 #ifdef EvtFsFAT_DriverNotInitialized
1974  EventRecord2 (EvtFsFAT_DriverNotInitialized, drive, 0);
1975  }
1976 #else
1977  #define EvrFsFAT_DriverNotInitialized(drive)
1978 #endif
1979 
1985 #ifdef EvtFsFAT_PathName
1986  __STATIC_INLINE void EvrFsFAT_PathName (const char *buf, uint32_t len) {
1987  EventRecordData (EvtFsFAT_PathName, (const uint8_t *)buf, len);
1988  }
1989 #else
1990  #define EvrFsFAT_PathName(buf, len)
1991 #endif
1992 
1998 #ifdef EvtFsFAT_OptionsString
1999  __STATIC_INLINE void EvrFsFAT_OptionsString (const char *buf, uint32_t len) {
2000  EventRecordData (EvtFsFAT_OptionsString, (const uint8_t *)buf, len);
2001  }
2002 #else
2003  #define EvrFsFAT_OptionsString(buf, len)
2004 #endif
2005 
2011 #ifdef EvtFsFAT_LabelString
2012  __STATIC_INLINE void EvrFsFAT_LabelString (const char *buf, uint32_t len) {
2013  EventRecordData (EvtFsFAT_LabelString, (const uint8_t *)buf, len);
2014  }
2015 #else
2016  #define EvrFsFAT_LabelString(buf, len)
2017 #endif
2018 
2025 #ifdef EvtFsFAT_NameCacheHit
2026  __STATIC_INLINE void EvrFsFAT_NameCacheHit (uint32_t drive, const char *name, uint32_t len) {
2027  EventRecord4 (EvtFsFAT_NameCacheHit, drive, (uint32_t)name, len, 0);
2028  }
2029 #else
2030  #define EvrFsFAT_NameCacheHit(drive, name, len)
2031 #endif
2032 
2039 #ifdef EvtFsFAT_NameCacheMiss
2040  __STATIC_INLINE void EvrFsFAT_NameCacheMiss (uint32_t drive, const char *name, uint32_t len) {
2041  EventRecord4 (EvtFsFAT_NameCacheMiss, drive, (uint32_t)name, len, 0);
2042  }
2043 #else
2044  #define EvrFsFAT_NameCacheMiss(drive, name, len)
2045 #endif
2046 
2054 #ifdef EvtFsFAT_NameCacheEntryFound
2055  __STATIC_INLINE void EvrFsFAT_NameCacheEntryFound (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2056  EventRecord4 (EvtFsFAT_NameCacheEntryFound, drive, clus, offs, cnt);
2057  }
2058 #else
2059  #define EvrFsFAT_NameCacheEntryFound(drive, clus, offs, cnt)
2060 #endif
2061 
2069 #ifdef EvtFsFAT_NameCacheEntryInsert
2070  __STATIC_INLINE void EvrFsFAT_NameCacheEntryInsert (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2071  EventRecord4 (EvtFsFAT_NameCacheEntryInsert, drive, clus, offs, cnt);
2072  }
2073 #else
2074  #define EvrFsFAT_NameCacheEntryInsert(drive, clus, offs, cnt)
2075 #endif
2076 
2084 #ifdef EvtFsFAT_NameCacheEntryDelete
2085  __STATIC_INLINE void EvrFsFAT_NameCacheEntryDelete (uint32_t drive, uint32_t clus, uint32_t offs, uint32_t cnt) {
2086  EventRecord4 (EvtFsFAT_NameCacheEntryDelete, drive, clus, offs, cnt);
2087  }
2088 #else
2089  #define EvrFsFAT_NameCacheEntryDelete(drive, clus, offs, cnt);
2090 #endif
2091 
2092 
2097 #ifdef EvtFsEFS_InitDrive
2098  __STATIC_INLINE void EvrFsEFS_InitDrive (uint32_t drive) {
2099  EventRecord2 (EvtFsEFS_InitDrive, drive, 0);
2100  }
2101 #else
2102  #define EvrFsEFS_InitDrive(drive)
2103 #endif
2104 
2110 #ifdef EvtFsEFS_InitDriver
2111  __STATIC_INLINE void EvrFsEFS_InitDriver (uint32_t drive, uint32_t driver) {
2112  EventRecord2 (EvtFsEFS_InitDriver, drive, driver);
2113  }
2114 #else
2115  #define EvrFsEFS_InitDriver(drive, driver)
2116 #endif
2117 
2123 #ifdef EvtFsEFS_InitDriverFailed
2124  __STATIC_INLINE void EvrFsEFS_InitDriverFailed (uint32_t drive, uint32_t driver) {
2125  EventRecord2 (EvtFsEFS_InitDriverFailed, drive, driver);
2126  }
2127 #else
2128  #define EvrFsEFS_InitDriverFailed(drive, driver)
2129 #endif
2130 
2135 #ifdef EvtFsEFS_UninitDrive
2136  __STATIC_INLINE void EvrFsEFS_UninitDrive (uint32_t drive) {
2137  EventRecord2 (EvtFsEFS_UninitDrive, drive, 0);
2138  }
2139 #else
2140  #define EvrFsEFS_UninitDrive(drive)
2141 #endif
2142 
2148 #ifdef EvtFsEFS_UninitDriver
2149  __STATIC_INLINE void EvrFsEFS_UninitDriver (uint32_t drive, uint32_t driver) {
2150  EventRecord2 (EvtFsEFS_UninitDrive, drive, driver);
2151  }
2152 #else
2153  #define EvrFsEFS_UninitDriver(drive, driver)
2154 #endif
2155 
2160 #ifdef EvtFsEFS_MountDrive
2161  __STATIC_INLINE void EvrFsEFS_MountDrive (uint32_t drive) {
2162  EventRecord2 (EvtFsEFS_MountDrive, drive, 0);
2163  }
2164 #else
2165  #define EvrFsEFS_MountDrive(drive)
2166 #endif
2167 
2172 #ifdef EvtFsEFS_MountDriveSuccess
2174  EventRecord2 (EvtFsEFS_MountDriveSuccess, drive, 0);
2175  }
2176 #else
2177  #define EvrFsEFS_MountDriveSuccess(drive)
2178 #endif
2179 
2184 #ifdef EvtFsEFS_FlashGetInfo
2185  __STATIC_INLINE void EvrFsEFS_FlashGetInfo (uint32_t drive) {
2186  EventRecord2 (EvtFsEFS_FlashGetInfo, drive, 0);
2187  }
2188 #else
2189  #define EvrFsEFS_FlashGetInfo(drive)
2190 #endif
2191 
2198 #ifdef EvtFsEFS_FlashProgUnitTooBig
2199  __STATIC_INLINE void EvrFsEFS_FlashProgUnitTooBig (uint32_t drive, uint32_t current, uint32_t required) {
2200  EventRecord4 (EvtFsEFS_FlashProgUnitTooBig, drive, current, required, 0);
2201  }
2202 #else
2203  #define EvrFsEFS_FlashProgUnitTooBig(drive, current, required)
2204 #endif
2205 
2211 #ifdef EvtFsEFS_FlashCapacity
2212  __STATIC_INLINE void EvrFsEFS_FlashCapacity (uint32_t drive, uint32_t capacity) {
2213  EventRecord2 (EvtFsEFS_FlashCapacity, drive, capacity);
2214  }
2215 #else
2216  #define EvrFsEFS_FlashCapacity(drive, capacity)
2217 #endif
2218 
2223 #ifdef EvtFsEFS_UnmountDrive
2224  __STATIC_INLINE void EvrFsEFS_UnmountDrive (uint32_t drive) {
2225  EventRecord2 (EvtFsEFS_UnmountDrive, drive, 0);
2226  }
2227 #else
2228  #define EvrFsEFS_UnmountDrive(drive)
2229 #endif
2230 
2235 #ifdef EvtFsEFS_UnmountDriveSuccess
2237  EventRecord2 (EvtFsEFS_UnmountDriveSuccess, drive, 0);
2238  }
2239 #else
2240  #define EvrFsEFS_UnmountDriveSuccess(drive)
2241 #endif
2242 
2247 #ifdef EvtFsEFS_FormatDrive
2248  __STATIC_INLINE void EvrFsEFS_FormatDrive (uint32_t drive) {
2249  EventRecord2 (EvtFsEFS_FormatDrive, drive, 0);
2250  }
2251 #else
2252  #define EvrFsEFS_FormatDrive(drive)
2253 #endif
2254 
2259 #ifdef EvtFsEFS_FormatDriveSuccess
2261  EventRecord2 (EvtFsEFS_FormatDriveSuccess, drive, 0);
2262  }
2263 #else
2264  #define EvrFsEFS_FormatDriveSuccess(drive)
2265 #endif
2266 
2271 #ifdef EvtFsEFS_FlashEraseChip
2273  EventRecord2 (EvtFsEFS_FlashEraseChip, drive, 0);
2274  }
2275 #else
2276  #define EvrFsEFS_FlashEraseChip(drive)
2277 #endif
2278 
2283 #ifdef EvtFsEFS_FlashEraseChipFailed
2285  EventRecord2 (EvtFsEFS_FlashEraseChipFailed, drive, 0);
2286  }
2287 #else
2288  #define EvrFsEFS_FlashEraseChipFailed(drive)
2289 #endif
2290 
2295 #ifdef EvtFsEFS_FlashEraseChipTimeout
2297  EventRecord2 (EvtFsEFS_FlashEraseChipTimeout, drive, 0);
2298  }
2299 #else
2300  #define EvrFsEFS_FlashEraseChipTimeout(drive)
2301 #endif
2302 
2309 #ifdef EvtFsEFS_FlashEraseSectors
2310  __STATIC_INLINE void EvrFsEFS_FlashEraseSectors (uint32_t drive, uint32_t sector, uint32_t cnt) {
2311  EventRecord4 (EvtFsEFS_FlashEraseSectors, drive, sector, cnt, 0);
2312  }
2313 #else
2314  #define EvrFsEFS_FlashEraseSectors(drive, sector, cnt)
2315 #endif
2316 
2323 #ifdef EvtFsEFS_FileOpen
2324  __STATIC_INLINE void EvrFsEFS_FileOpen (uint32_t h, const char *path, uint32_t openmode) {
2325  EventRecord4 (EvtFsEFS_FileOpen, h, (uint32_t)path, openmode, 0);
2326  }
2327 #else
2328  #define EvrFsEFS_FileOpen(h, path, openmode)
2329 #endif
2330 
2336 #ifdef EvtFsEFS_FileNameInvalid
2337  __STATIC_INLINE void EvrFsEFS_FileNameInvalid (const char *name, uint32_t len) {
2338  EventRecordData (EvtFsEFS_FileNameInvalid, (const uint8_t *)name, len);
2339  }
2340 #else
2341  #define EvrFsEFS_FileNameInvalid(name, len)
2342 #endif
2343 
2349 #ifdef EvtFsEFS_OpenModeUnsupported
2350  __STATIC_INLINE void EvrFsEFS_OpenModeUnsupported (uint32_t h, uint32_t openmode) {
2351  EventRecord2 (EvtFsEFS_OpenModeUnsupported, h, openmode);
2352  }
2353 #else
2354  #define EvrFsEFS_OpenModeUnsupported(h, openmode)
2355 #endif
2356 
2361 #ifdef EvtFsEFS_FileClose
2363  EventRecord2 (EvtFsEFS_FileClose, h, 0);
2364  }
2365 #else
2366  #define EvrFsEFS_FileClose(h)
2367 #endif
2368 
2374 #ifdef EvtFsEFS_FileNotOpened
2375  __STATIC_INLINE void EvrFsEFS_FileNotOpened (uint32_t h, uint32_t flags) {
2376  EventRecord2 (EvtFsEFS_FileNotOpened, h, flags);
2377  }
2378 #else
2379  #define EvrFsEFS_FileNotOpened(h, flags)
2380 #endif
2381 
2388 #ifdef EvtFsEFS_FileRead
2389  __STATIC_INLINE void EvrFsEFS_FileRead (uint32_t h, uint8_t *buf, uint32_t len) {
2390  EventRecord4 (EvtFsEFS_FileRead, h, (uint32_t)buf, len, 0);
2391  }
2392 #else
2393  #define EvrFsEFS_FileRead(h, buf, len)
2394 #endif
2395 
2400 #ifdef EvtFsEFS_FileOpenWriteMode
2402  EventRecord2 (EvtFsEFS_FileOpenWriteMode, h, 0);
2403  }
2404 #else
2405  #define EvrFsEFS_FileOpenWriteMode(h)
2406 #endif
2407 
2414 #ifdef EvtFsEFS_FileWrite
2415  __STATIC_INLINE void EvrFsEFS_FileWrite (uint32_t h, const uint8_t *buf, uint32_t len) {
2416  EventRecord4 (EvtFsEFS_FileWrite, h, (uint32_t)buf, len, 0);
2417  }
2418 #else
2419  #define EvrFsEFS_FileWrite(h, buf, len)
2420 #endif
2421 
2426 #ifdef EvtFsEFS_FileOpenReadMode
2428  EventRecord2 (EvtFsEFS_FileOpenReadMode, h, 0);
2429  }
2430 #else
2431  #define EvrFsEFS_FileOpenReadMode(h)
2432 #endif
2433 
2438 #ifdef EvtFsEFS_FileFlush
2440  EventRecord2 (EvtFsEFS_FileFlush, h, 0);
2441  }
2442 #else
2443  #define EvrFsEFS_FileFlush(h)
2444 #endif
2445 
2451 #ifdef EvtFsEFS_OpenModeInvalid
2452  __STATIC_INLINE void EvrFsEFS_OpenModeInvalid (uint32_t h, uint32_t flags) {
2453  EventRecord2 (EvtFsEFS_OpenModeInvalid, h, flags);
2454  }
2455 #else
2456  #define EvrFsEFS_OpenModeInvalid(h, flags)
2457 #endif
2458 
2464 #ifdef EvtFsEFS_FileSeek
2465  __STATIC_INLINE void EvrFsEFS_FileSeek (uint32_t h, uint32_t pos) {
2466  EventRecord2 (EvtFsEFS_FileSeek, h, pos);
2467  }
2468 #else
2469  #define EvrFsEFS_FileSeek(h, pos)
2470 #endif
2471 
2478 #ifdef EvtFsEFS_FileSeekEOF
2479  __STATIC_INLINE void EvrFsEFS_FileSeekEOF (uint32_t h, uint32_t size, uint32_t pos) {
2480  EventRecord4 (EvtFsEFS_FileSeekEOF, h, size, pos, 0);
2481  }
2482 #else
2483  #define EvrFsEFS_FileSeekEOF(h, size, pos)
2484 #endif
2485 
2491 #ifdef EvtFsEFS_FileDelete
2492  __STATIC_INLINE void EvrFsEFS_FileDelete (uint32_t drive, const char *path) {
2493  EventRecord2 (EvtFsEFS_FileDelete, drive, (uint32_t)path);
2494  }
2495 #else
2496  #define EvrFsEFS_FileDelete(drive, path)
2497 #endif
2498 
2505 #ifdef EvtFsEFS_FileRename
2506  __STATIC_INLINE void EvrFsEFS_FileRename (uint32_t drive, const char *path, const char *newname) {
2507  EventRecord4 (EvtFsEFS_FileRename, drive, (uint32_t)path, (uint32_t)newname, 0);
2508  }
2509 #else
2510  #define EvrFsEFS_FileRename(drive, path, newname)
2511 #endif
2512 
2517 #ifdef EvtFsEFS_FileNotFound
2518  __STATIC_INLINE void EvrFsEFS_FileNotFound (uint32_t drive) {
2519  EventRecord2 (EvtFsEFS_FileNotFound, drive, 0);
2520  }
2521 #else
2522  #define EvrFsEFS_FileNotFound(drive)
2523 #endif
2524 
2529 #ifdef EvtFsEFS_FileAlreadyExists
2531  EventRecord2 (EvtFsEFS_FileAlreadyExists, drive, 0);
2532  }
2533 #else
2534  #define EvrFsEFS_FileAlreadyExists(drive)
2535 #endif
2536 
2541 #ifdef EvtFsEFS_FreeSpaceRetrieve
2543  EventRecord2 (EvtFsEFS_FreeSpaceRetrieve, drive, 0);
2544  }
2545 #else
2546  #define EvrFsEFS_FreeSpaceRetrieve(drive)
2547 #endif
2548 
2554 #ifdef EvtFsEFS_FreeSpaceAmount
2555  __STATIC_INLINE void EvrFsEFS_FreeSpaceAmount (uint32_t drive, uint32_t free) {
2556  EventRecord2 (EvtFsEFS_FreeSpaceAmount, drive, free);
2557  }
2558 #else
2559  #define EvrFsEFS_FreeSpaceAmount(drive, free)
2560 #endif
2561 
2566 #ifdef EvtFsEFS_DriveAnalyze
2567  __STATIC_INLINE void EvrFsEFS_DriveAnalyze (uint32_t drive) {
2568  EventRecord2 (EvtFsEFS_DriveAnalyze, drive, 0);
2569  }
2570 #else
2571  #define EvrFsEFS_DriveAnalyze(drive)
2572 #endif
2573 
2579 #ifdef EvtFsEFS_DriveAnalyzeSuccess
2580  __STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess (uint32_t drive, uint32_t factor) {
2581  EventRecord2 (EvtFsEFS_DriveAnalyzeSuccess, drive, factor);
2582  }
2583 #else
2584  #define EvrFsEFS_DriveAnalyzeSuccess(drive, factor)
2585 #endif
2586 
2591 #ifdef EvtFsEFS_DriveCheck
2592  __STATIC_INLINE void EvrFsEFS_DriveCheck (uint32_t drive) {
2593  EventRecord2 (EvtFsEFS_DriveCheck, drive, 0);
2594  }
2595 #else
2596  #define EvrFsEFS_DriveCheck(drive)
2597 #endif
2598 
2603 #ifdef EvtFsEFS_DriveCheckSuccess
2605  EventRecord2 (EvtFsEFS_DriveCheckSuccess, drive, 0);
2606  }
2607 #else
2608  #define EvrFsEFS_DriveCheckSuccess(drive)
2609 #endif
2610 
2615 #ifdef EvtFsEFS_DataAreaOverlap
2617  EventRecord2 (EvtFsEFS_DataAreaOverlap, drive, 0);
2618  }
2619 #else
2620  #define EvrFsEFS_DataAreaOverlap(drive)
2621 #endif
2622 
2627 #ifdef EvtFsEFS_FileIdInvalid
2628  __STATIC_INLINE void EvrFsEFS_FileIdInvalid (uint32_t drive) {
2629  EventRecord2 (EvtFsEFS_FileIdInvalid, drive, 0);
2630  }
2631 #else
2632  #define EvrFsEFS_FileIdInvalid(drive)
2633 #endif
2634 
2639 #ifdef EvtFsEFS_AllocationOrderInvalid
2641  EventRecord2 (EvtFsEFS_AllocationOrderInvalid, drive, 0);
2642  }
2643 #else
2644  #define EvrFsEFS_AllocationOrderInvalid(drive)
2645 #endif
2646 
2651 #ifdef EvtFsEFS_AllocationAreaOverlap
2653  EventRecord2 (EvtFsEFS_AllocationAreaOverlap, drive, 0);
2654  }
2655 #else
2656  #define EvrFsEFS_AllocationAreaOverlap(drive)
2657 #endif
2658 
2663 #ifdef EvtFsEFS_DriveDefrag
2664  __STATIC_INLINE void EvrFsEFS_DriveDefrag (uint32_t drive) {
2665  EventRecord2 (EvtFsEFS_DriveDefrag, drive, 0);
2666  }
2667 #else
2668  #define EvrFsEFS_DriveDefrag(drive)
2669 #endif
2670 
2676 #ifdef EvtFsEFS_FileHandleActive
2677  __STATIC_INLINE void EvrFsEFS_FileHandleActive (uint32_t drive, uint32_t h) {
2678  EventRecord2 (EvtFsEFS_FileHandleActive, drive, h);
2679  }
2680 #else
2681  #define EvrFsEFS_FileHandleActive(drive, h)
2682 #endif
2683 
2688 #ifdef EvtFsEFS_FileHandleUnavailable
2690  EventRecord2 (EvtFsEFS_FileHandleUnavailable, drive, 0);
2691  }
2692 #else
2693  #define EvrFsEFS_FileHandleUnavailable(drive)
2694 #endif
2695 
2700 #ifdef EvtFsEFS_FileHandleInvalid
2702  EventRecord2 (EvtFsEFS_FileHandleInvalid, h, 0);
2703  }
2704 #else
2705  #define EvrFsEFS_FileHandleInvalid(h)
2706 #endif
2707 
2712 #ifdef EvtFsEFS_FileInUse
2714  EventRecord2 (EvtFsEFS_FileInUse, h, 0);
2715  }
2716 #else
2717  #define EvrFsEFS_FileInUse(h)
2718 #endif
2719 
2724 #ifdef EvtFsEFS_DiskFull
2725  __STATIC_INLINE void EvrFsEFS_DiskFull (uint32_t drive) {
2726  EventRecord2 (EvtFsEFS_DiskFull, drive, 0);
2727  }
2728 #else
2729  #define EvrFsEFS_DiskFull(drive)
2730 #endif
2731 
2739 #ifdef EvtFsEFS_FlashWriteFailed
2740  __STATIC_INLINE void EvrFsEFS_FlashWriteFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2741  EventRecord4 (EvtFsEFS_FlashWriteFailed, drive, addr, (uint32_t)buf, cnt);
2742  }
2743 #else
2744  #define EvrFsEFS_FlashWriteFailed(drive, addr, buf, cnt)
2745 #endif
2746 
2754 #ifdef EvtFsEFS_FlashReadFailed
2755  __STATIC_INLINE void EvrFsEFS_FlashReadFailed (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2756  EventRecord4 (EvtFsEFS_FlashReadFailed, drive, addr, (uint32_t)buf, cnt);
2757  }
2758 #else
2759  #define EvrFsEFS_FlashReadFailed(drive, addr, buf, cnt)
2760 #endif
2761 
2769 #ifdef EvtFsEFS_FlashReadTimeout
2770  __STATIC_INLINE void EvrFsEFS_FlashReadTimeout (uint32_t drive, uint32_t addr, void *buf, uint32_t cnt) {
2771  EventRecord4 (EvtFsEFS_FlashReadTimeout, drive, addr, (uint32_t)buf, cnt);
2772  }
2773 #else
2774  #define EvrFsEFS_FlashReadTimeout(drive, addr, buf, cnt)
2775 #endif
2776 
2783 #ifdef EvtFsEFS_FlashEraseFailed
2784  __STATIC_INLINE void EvrFsEFS_FlashEraseFailed (uint32_t drive, uint32_t block, uint32_t addr) {
2785  EventRecord4 (EvtFsEFS_FlashEraseFailed, drive, block, addr, 0);
2786  }
2787 #else
2788  #define EvrFsEFS_FlashEraseFailed(drive, block, addr)
2789 #endif
2790 
2795 #ifdef EvtFsEFS_InvalidParameter
2797  EventRecord2 (EvtFsEFS_InvalidParameter, drive, 0);
2798  }
2799 #else
2800  #define EvrFsEFS_InvalidParameter(drive)
2801 #endif
2802 
2807 #ifdef EvtFsEFS_DriveNotMounted
2809  EventRecord2 (EvtFsEFS_DriveNotMounted, drive, 0);
2810  }
2811 #else
2812  #define EvrFsEFS_DriveNotMounted(drive)
2813 #endif
2814 
2819 #ifdef EvtFsEFS_DriverNotInitialized
2820  __STATIC_INLINE void EvrFsEFS_DriveNotInitialized (uint32_t drive) {
2821  EventRecord2 (EvtFsEFS_DriveNotInitialized, drive, 0);
2822  }
2823 #else
2824  #define EvrFsEFS_DriveNotInitialized(drive)
2825 #endif
2826 
2832 #ifdef EvtFsEFS_FileName
2833  __STATIC_INLINE void EvrFsEFS_FileName (const char *buf, uint32_t len) {
2834  EventRecordData (EvtFsEFS_FileName, (const uint8_t *)buf, len);
2835  }
2836 #else
2837  #define EvrFsEFS_FileName(buf, len)
2838 #endif
2839 
2847 #ifdef EvtFsEFS_FileAllocWrite
2848  __STATIC_INLINE void EvrFsEFS_FileAllocWrite (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) {
2849  EventRecord4 (EvtFsEFS_FileAllocWrite, addr, end, fileID, index);
2850  }
2851 #else
2852  #define EvrFsEFS_FileAllocWrite(addr, end, fileID, index)
2853 #endif
2854 
2862 #ifdef EvtFsEFS_FileAllocRead
2863  __STATIC_INLINE void EvrFsEFS_FileAllocRead (uint32_t addr, uint32_t end, uint32_t fileID, uint32_t index) {
2864  EventRecord4 (EvtFsEFS_FileAllocRead, addr, end, fileID, index);
2865  }
2866 #else
2867  #define EvrFsEFS_FileAllocRead(addr, end, fileID, index)
2868 #endif
2869 
2870 
2875 #ifdef EvtFsIOC_GetId
2876  __STATIC_INLINE void EvrFsIOC_GetId (uint32_t drive) {
2877  EventRecord2 (EvtFsIOC_GetId, drive, 0);
2878  }
2879 #else
2880  #define EvrFsIOC_GetId(drive)
2881 #endif
2882 
2888 #ifdef EvtFsIOC_GetIdSuccess
2889  __STATIC_INLINE void EvrFsIOC_GetIdSuccess (uint32_t drive, uint32_t drv_id) {
2890  EventRecord2 (EvtFsIOC_GetIdSuccess, drive, drv_id);
2891  }
2892 #else
2893  #define EvrFsIOC_GetIdSuccess(drive, drv_id)
2894 #endif
2895 
2900 #ifdef EvtFsIOC_GetIdError
2901  __STATIC_INLINE void EvrFsIOC_GetIdError (uint32_t drive) {
2902  EventRecord2 (EvtFsIOC_GetIdError, drive, 0);
2903  }
2904 #else
2905  #define EvrFsIOC_GetIdError(drive)
2906 #endif
2907 
2912 #ifdef EvtFsIOC_Lock
2913  __STATIC_INLINE void EvrFsIOC_Lock (uint32_t drv_id) {
2914  EventRecord2 (EvtFsIOC_Lock, drv_id, 0);
2915  }
2916 #else
2917  #define EvrFsIOC_Lock(drv_id)
2918 #endif
2919 
2924 #ifdef EvtFsIOC_LockSuccess
2925  __STATIC_INLINE void EvrFsIOC_LockSuccess (uint32_t drv_id) {
2926  EventRecord2 (EvtFsIOC_LockSuccess, drv_id, 0);
2927  }
2928 #else
2929  #define EvrFsIOC_LockSuccess(drv_id)
2930 #endif
2931 
2936 #ifdef EvtFsIOC_Unlock
2937  __STATIC_INLINE void EvrFsIOC_Unlock (uint32_t drv_id) {
2938  EventRecord2 (EvtFsIOC_Unlock, drv_id, 0);
2939  }
2940 #else
2941  #define EvrFsIOC_Unlock(drv_id)
2942 #endif
2943 
2948 #ifdef EvtFsIOC_UnlockSuccess
2949  __STATIC_INLINE void EvrFsIOC_UnlockSuccess (uint32_t drv_id) {
2950  EventRecord2 (EvtFsIOC_UnlockSuccess, drv_id, 0);
2951  }
2952 #else
2953  #define EvrFsIOC_UnlockSuccess(drv_id)
2954 #endif
2955 
2961 #ifdef EvtFsIOC_GetCache
2962  __STATIC_INLINE void EvrFsIOC_GetCache (uint32_t drv_id, uint32_t cache_info) {
2963  EventRecord2 (EvtFsIOC_GetCache, drv_id, cache_info);
2964  }
2965 #else
2966  #define EvrFsIOC_GetCache(drv_id, cache_info)
2967 #endif
2968 
2975 #ifdef EvtFsIOC_GetCacheSuccess
2976  __STATIC_INLINE void EvrFsIOC_GetCacheSuccess (uint32_t drv_id, uint32_t buf, uint32_t size) {
2977  EventRecord4 (EvtFsIOC_GetCacheSuccess, drv_id, buf, size, 0);
2978  }
2979 #else
2980  #define EvrFsIOC_GetCacheSuccess(drv_id, buf, size)
2981 #endif
2982 
2990 #ifdef EvtFsIOC_ReadSector
2991  __STATIC_INLINE void EvrFsIOC_ReadSector (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
2992  EventRecord4 (EvtFsIOC_ReadSector, drv_id, sect, buf, cnt);
2993  }
2994 #else
2995  #define EvrFsIOC_ReadSector(drv_id, sect, buf, cnt)
2996 #endif
2997 
3005 #ifdef EvtFsIOC_ReadSectorSuccess
3006  __STATIC_INLINE void EvrFsIOC_ReadSectorSuccess (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3007  EventRecord4 (EvtFsIOC_ReadSectorSuccess, drv_id, sect, buf, cnt);
3008  }
3009 #else
3010  #define EvrFsIOC_ReadSectorSuccess(drv_id, sect, buf, cnt)
3011 #endif
3012 
3020 #ifdef EvtFsIOC_ReadSectorError
3021  __STATIC_INLINE void EvrFsIOC_ReadSectorError (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3022  EventRecord4 (EvtFsIOC_ReadSectorError, drv_id, sect, buf, cnt);
3023  }
3024 #else
3025  #define EvrFsIOC_ReadSectorError(drv_id, sect, buf, cnt)
3026 #endif
3027 
3035 #ifdef EvtFsIOC_WriteSector
3036  __STATIC_INLINE void EvrFsIOC_WriteSector (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3037  EventRecord4 (EvtFsIOC_WriteSector, drv_id, sect, buf, cnt);
3038  }
3039 #else
3040  #define EvrFsIOC_WriteSector(drv_id, sect, buf, cnt)
3041 #endif
3042 
3050 #ifdef EvtFsIOC_WriteSectorSuccess
3051  __STATIC_INLINE void EvrFsIOC_WriteSectorSuccess (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3052  EventRecord4 (EvtFsIOC_WriteSectorSuccess, drv_id, sect, buf, cnt);
3053  }
3054 #else
3055  #define EvrFsIOC_WriteSectorSuccess(drv_id, sect, buf, cnt)
3056 #endif
3057 
3065 #ifdef EvtFsIOC_WriteSectorError
3066  __STATIC_INLINE void EvrFsIOC_WriteSectorError (uint32_t drv_id, uint32_t sect, uint32_t buf, uint32_t cnt) {
3067  EventRecord4 (EvtFsIOC_WriteSectorError, drv_id, sect, buf, cnt);
3068  }
3069 #else
3070  #define EvrFsIOC_WriteSectorError(drv_id, sect, buf, cnt)
3071 #endif
3072 
3078 #ifdef EvtFsIOC_ReadInfo
3079  __STATIC_INLINE void EvrFsIOC_ReadInfo (uint32_t drv_id, uint32_t info) {
3080  EventRecord2 (EvtFsIOC_ReadInfo, drv_id, info);
3081  }
3082 #else
3083  #define EvrFsIOC_ReadInfo(drv_id, info)
3084 #endif
3085 
3091 #ifdef EvtFsIOC_ReadInfoSuccess
3092  __STATIC_INLINE void EvrFsIOC_ReadInfoSuccess (uint32_t drv_id, uint32_t block_count) {
3093  EventRecord2 (EvtFsIOC_ReadInfoSuccess, drv_id, block_count);
3094  }
3095 #else
3096  #define EvrFsIOC_ReadInfoSuccess(drv_id, block_count)
3097 #endif
3098 
3103 #ifdef EvtFsIOC_ReadInfoError
3104  __STATIC_INLINE void EvrFsIOC_ReadInfoError (uint32_t drv_id) {
3105  EventRecord2 (EvtFsIOC_ReadInfoError, drv_id, 0);
3106  }
3107 #else
3108  #define EvrFsIOC_ReadInfoError(drv_id)
3109 #endif
3110 
3117 #ifdef EvtFsIOC_DeviceControl
3118  __STATIC_INLINE void EvrFsIOC_DeviceControl (uint32_t drv_id, uint32_t code, uint32_t p) {
3119  EventRecord4 (EvtFsIOC_DeviceControl, drv_id, code, p, 0);
3120  }
3121 #else
3122  #define EvrFsIOC_DeviceControl(drv_id, code, p)
3123 #endif
3124 
3131 #ifdef EvtFsIOC_DeviceControlSuccess
3132  __STATIC_INLINE void EvrFsIOC_DeviceControlSuccess (uint32_t drv_id, uint32_t code, uint32_t p) {
3133  EventRecord4 (EvtFsIOC_DeviceControlSuccess, drv_id, code, p, 0);
3134  }
3135 #else
3136  #define EvrFsIOC_DeviceControlSuccess(drv_id, code, p)
3137 #endif
3138 
3143 #ifdef EvrFsIOC_DriveIdInvalid
3144  __STATIC_INLINE void EvrFsIOC_DriveIdInvalid (uint32_t drv_id) {
3145  EventRecord2 (EvrFsIOC_DriveIdInvalid, drv_id, 0);
3146  }
3147 #else
3148  #define EvrFsIOC_DriveIdInvalid(drv_id)
3149 #endif
3150 
3155 #ifdef EvtFsIOC_DriveNotFAT
3156  __STATIC_INLINE void EvrFsIOC_DriveNotFAT (uint32_t drv_id) {
3157  EventRecord2 (EvtFsIOC_DriveNotFAT, drv_id, 0);
3158  }
3159 #else
3160  #define EvrFsIOC_DriveNotFAT(drv_id)
3161 #endif
3162 
3167 #ifdef EvtFsIOC_NotAllowed
3168  __STATIC_INLINE void EvrFsIOC_NotAllowed (uint32_t drive) {
3169  EventRecord2 (EvtFsIOC_NotAllowed, drive, 0);
3170  }
3171 #else
3172  #define EvrFsIOC_NotAllowed(drive)
3173 #endif
3174 
3179 #ifdef EvtFsNFTL_Init
3180  __STATIC_INLINE void EvrFsNFTL_Init (uint32_t instance) {
3181  EventRecord2 (EvtFsNFTL_Init, instance, 0);
3182  }
3183 #else
3184  #define EvrFsNFTL_Init(instance)
3185 #endif
3186 
3191 #ifdef EvtFsNFTL_InitMediaFailed
3192  __STATIC_INLINE void EvrFsNFTL_InitMediaFailed (uint32_t instance) {
3193  EventRecord2 (EvtFsNFTL_InitMediaFailed, instance, 0);
3194  }
3195 #else
3196  #define EvrFsNFTL_InitMediaFailed(instance)
3197 #endif
3198 
3203 #ifdef EvtFsNFTL_Mount
3204  __STATIC_INLINE void EvrFsNFTL_Mount (uint32_t instance) {
3205  EventRecord2 (EvtFsNFTL_Mount, instance, 0);
3206  }
3207 #else
3208  #define EvrFsNFTL_Mount(instance)
3209 #endif
3210 
3215 #ifdef EvtFsNFTL_MountSuccess
3216  __STATIC_INLINE void EvrFsNFTL_MountSuccess (uint32_t instance) {
3217  EventRecord2 (EvtFsNFTL_MountSuccess, instance, 0);
3218  }
3219 #else
3220  #define EvrFsNFTL_MountSuccess(instance)
3221 #endif
3222 
3227 #ifdef EvtFsNFTL_DeviceNotInitialized
3229  EventRecord2 (EvtFsNFTL_DeviceNotInitialized, instance, 0);
3230  }
3231 #else
3232  #define EvrFsNFTL_DeviceNotInitialized(instance)
3233 #endif
3234 
3239 #ifdef EvtFsNFTL_ResetDevice
3240  __STATIC_INLINE void EvrFsNFTL_ResetDevice (uint32_t instance) {
3241  EventRecord2 (EvtFsNFTL_ResetDevice, instance, 0);
3242  }
3243 #else
3244  #define EvrFsNFTL_ResetDevice(instance)
3245 #endif
3246 
3251 #ifdef EvtFsNFTL_ResetDeviceFailed
3253  EventRecord2 (EvtFsNFTL_ResetDeviceFailed, instance, 0);
3254  }
3255 #else
3256  #define EvrFsNFTL_ResetDeviceFailed(instance)
3257 #endif
3258 
3263 #ifdef EvtFsNFTL_ResetDeviceTimeout
3265  EventRecord2 (EvtFsNFTL_ResetDeviceTimeout, instance, 0);
3266  }
3267 #else
3268  #define EvrFsNFTL_ResetDeviceTimeout(instance)
3269 #endif
3270 
3275 #ifdef EvtFsNFTL_ReadBootBlock
3276  __STATIC_INLINE void EvrFsNFTL_ReadBootBlock (uint32_t instance) {
3277  EventRecord2 (EvtFsNFTL_ReadBootBlock, instance, 0);
3278  }
3279 #else
3280  #define EvrFsNFTL_ReadBootBlock(instance)
3281 #endif
3282 
3287 #ifdef EvtFsNFTL_ReadBootBlockFailed
3289  EventRecord2 (EvtFsNFTL_ReadBootBlockFailed, instance, 0);
3290  }
3291 #else
3292  #define EvrFsNFTL_ReadBootBlockFailed(instance)
3293 #endif
3294 
3299 #ifdef EvtFsNFTL_BootSignatureValid
3301  EventRecord2 (EvtFsNFTL_BootSignatureValid, instance, 0);
3302  }
3303 #else
3304  #define EvrFsNFTL_BootSignatureValid(instance)
3305 #endif
3306 
3311 #ifdef EvtFsNFTL_BootSignatureInalid
3312  __STATIC_INLINE void EvrFsNFTL_BootSignatureInvalid (uint32_t instance) {
3313  EventRecord2 (EvtFsNFTL_BootSignatureInvalid, instance, 0);
3314  }
3315 #else
3316  #define EvrFsNFTL_BootSignatureInvalid(instance)
3317 #endif
3318 
3324 #ifdef EvtFsNFTL_DataBlockCapacity
3325  __STATIC_INLINE void EvrFsNFTL_DataBlockCapacity (uint32_t instance, uint32_t capacity) {
3326  EventRecord2 (EvtFsNFTL_DataBlockCapacity, instance, capacity);
3327  }
3328 #else
3329  #define EvrFsNFTL_DataBlockCapacity(instance, capacity)
3330 #endif
3331 
3336 #ifdef EvtFsNFTL_ReadTable
3337  __STATIC_INLINE void EvrFsNFTL_ReadTable (uint32_t instance) {
3338  EventRecord2 (EvtFsNFTL_ReadTable, instance, 0);
3339  }
3340 #else
3341  #define EvrFsNFTL_ReadTable(instance)
3342 #endif
3343 
3348 #ifdef EvtFsNFTL_ReadTableFailed
3349  __STATIC_INLINE void EvrFsNFTL_ReadTableFailed (uint32_t instance) {
3350  EventRecord2 (EvtFsNFTL_ReadTableFailed, instance, 0);
3351  }
3352 #else
3353  #define EvrFsNFTL_ReadTableFailed(instance)
3354 #endif
3355 
3360 #ifdef EvtFsNFTL_Uninit
3361  __STATIC_INLINE void EvrFsNFTL_Uninit (uint32_t instance) {
3362  EventRecord2 (EvtFsNFTL_Uninit, instance, 0);
3363  }
3364 #else
3365  #define EvrFsNFTL_Uninit(instance)
3366 #endif
3367 
3372 #ifdef EvtFsNFTL_UninitDriver
3373  __STATIC_INLINE void EvrFsNFTL_UninitDriver (uint32_t instance) {
3374  EventRecord2 (EvtFsNFTL_UninitDriver, instance, 0);
3375  }
3376 #else
3377  #define EvrFsNFTL_UninitDriver(instance)
3378 #endif
3379 
3384 #ifdef EvtFsNFTL_UninitDriverFailed
3386  EventRecord2 (EvtFsNFTL_UninitDriverFailed, instance, 0);
3387  }
3388 #else
3389  #define EvrFsNFTL_UninitDriverFailed(instance)
3390 #endif
3391 
3397 #ifdef EvtFsNFTL_ReadInfo
3398  __STATIC_INLINE void EvrFsNFTL_ReadInfo (uint32_t instance, uint32_t info) {
3399  EventRecord2 (EvtFsNFTL_ReadInfo, instance, info);
3400  }
3401 #else
3402  #define EvrFsNFTL_ReadInfo(instance, info)
3403 #endif
3404 
3410 #ifdef EvtFsNFTL_ReadInfoSuccess
3411  __STATIC_INLINE void EvrFsNFTL_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
3412  EventRecord2 (EvtFsNFTL_ReadInfoSuccess, instance, sect_count);
3413  }
3414 #else
3415  #define EvrFsNFTL_ReadInfoSuccess(instance, sect_count)
3416 #endif
3417 
3424 #ifdef EvtFsNFTL_DevCtrl
3425  __STATIC_INLINE void EvrFsNFTL_DevCtrl (uint32_t instance, uint32_t code, void *p) {
3426  EventRecord4 (EvtFsNFTL_DevCtrl, instance, code, (uint32_t)p, 0);
3427  }
3428 #else
3429  #define EvrFsNFTL_DevCtrl(instance, code, p)
3430 #endif
3431 
3437 #ifdef EvtFsNFTL_DevCtrlUnsupported
3438  __STATIC_INLINE void EvrFsNFTL_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
3439  EventRecord2 (EvtFsNFTL_DevCtrlUnsupported, instance, code);
3440  }
3441 #else
3442  #define EvrFsNFTL_DevCtrlUnsupported(instance, code)
3443 #endif
3444 
3449 #ifdef EvtFsNFTL_Format
3450  __STATIC_INLINE void EvrFsNFTL_Format (uint32_t instance) {
3451  EventRecord2 (EvtFsNFTL_Format, instance, 0);
3452  }
3453 #else
3454  #define EvrFsNFTL_Format(instance)
3455 #endif
3456 
3461 #ifdef EvtFsNFTL_FormatSuccess
3462  __STATIC_INLINE void EvrFsNFTL_FormatSuccess (uint32_t instance) {
3463  EventRecord2 (EvtFsNFTL_FormatSuccess, instance, 0);
3464  }
3465 #else
3466  #define EvrFsNFTL_FormatSuccess(instance)
3467 #endif
3468 
3473 #ifdef EvtFsNFTL_FormatLLEB
3474  __STATIC_INLINE void EvrFsNFTL_FormatLLEB (uint32_t instance) {
3475  EventRecord2 (EvtFsNFTL_FormatLLEB, instance, 0);
3476  }
3477 #else
3478  #define EvrFsNFTL_FormatLLEB(instance)
3479 #endif
3480 
3486 #ifdef EvtFsNFTL_BBMPositionSet
3487  __STATIC_INLINE void EvrFsNFTL_BBMPositionSet (uint32_t instance, uint32_t pos) {
3488  EventRecord2 (EvtFsNFTL_BBMPositionSet, instance, pos);
3489  }
3490 #else
3491  #define EvrFsNFTL_BBMPositionSet(instance, pos)
3492 #endif
3493 
3499 #ifdef EvtFsNFTL_BadBlockDetected
3500  __STATIC_INLINE void EvrFsNFTL_BadBlockDetected (uint32_t instance, uint32_t block) {
3501  EventRecord2 (EvtFsNFTL_BadBlockDetected, instance, block);
3502  }
3503 #else
3504  #define EvrFsNFTL_BadBlockDetected(instance, block)
3505 #endif
3506 
3512 #ifdef EvtFsNFTL_BadBlockMark
3513  __STATIC_INLINE void EvrFsNFTL_BadBlockMark (uint32_t instance, uint32_t block) {
3514  EventRecord2 (EvtFsNFTL_BadBlockMark, instance, block);
3515  }
3516 #else
3517  #define EvrFsNFTL_BadBlockMark(instance, block)
3518 #endif
3519 
3527 #ifdef EvtFsNFTL_WriteSector
3528  __STATIC_INLINE void EvrFsNFTL_WriteSector (uint32_t instance, uint32_t sector, const uint8_t *buf, uint32_t cnt) {
3529  EventRecord4 (EvtFsNFTL_WriteSector, instance, sector, (uint32_t)buf, cnt);
3530  }
3531 #else
3532  #define EvrFsNFTL_WriteSector(instance, sector, buf, cnt)
3533 #endif
3534 
3539 #ifdef EvtFsNFTL_WriteSectorSuccess
3541  EventRecord2 (EvtFsNFTL_WriteSectorSuccess, instance, 0);
3542  }
3543 #else
3544  #define EvrFsNFTL_WriteSectorSuccess(instance)
3545 #endif
3546 
3554 #ifdef EvtFsNFTL_ReadSector
3555  __STATIC_INLINE void EvrFsNFTL_ReadSector (uint32_t instance, uint32_t sector, uint8_t *buf, uint32_t cnt) {
3556  EventRecord4 (EvtFsNFTL_ReadSector, instance, sector, (uint32_t)buf, cnt);
3557  }
3558 #else
3559  #define EvrFsNFTL_ReadSector(instance, sector, buf, cnt)
3560 #endif
3561 
3566 #ifdef EvtFsNFTL_ReadSectorSuccess
3568  EventRecord2 (EvtFsNFTL_ReadSectorSuccess, instance, 0);
3569  }
3570 #else
3571  #define EvrFsNFTL_ReadSectorSuccess(instance)
3572 #endif
3573 
3580 #ifdef EvtFsNFTL_LsnToLbn
3581  __STATIC_INLINE void EvrFsNFTL_LsnToLbn (uint32_t instance, uint32_t lsn, uint32_t lbn) {
3582  EventRecord4 (EvtFsNFTL_LsnToLbn, instance, lsn, lbn, 0);
3583  }
3584 #else
3585  #define EvrFsNFTL_LsnToLbn(instance, lsn, lbn)
3586 #endif
3587 
3595 #ifdef EvtFsNFTL_LbnToPbn
3596  __STATIC_INLINE void EvrFsNFTL_LbnToPbn (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) {
3597  EventRecord4 (EvtFsNFTL_LbnToPbn, instance, lbn, pbn_0, pbn_1);
3598  }
3599 #else
3600  #define EvrFsNFTL_LbnToPbn(instance, lbn, pbn_0, pbn_1)
3601 #endif
3602 
3609 #ifdef EvtFsNFTL_LbnOutOfRange
3610  __STATIC_INLINE void EvrFsNFTL_LbnOutOfRange (uint32_t instance, uint32_t lbn, uint32_t max) {
3611  EventRecord4 (EvtFsNFTL_LbnOutOfRange, instance, lbn, max, 0);
3612  }
3613 #else
3614  #define EvrFsNFTL_LbnOutOfRange(instance, lbn, max)
3615 #endif
3616 
3623 #ifdef EvtFsNFTL_PbnOutOfRange
3624  __STATIC_INLINE void EvrFsNFTL_PbnOutOfRange (uint32_t instance, uint32_t pbn, uint32_t max) {
3625  EventRecord4 (EvtFsNFTL_PbnOutOfRange, instance, pbn, max, 0);
3626  }
3627 #else
3628  #define EvrFsNFTL_PbnOutOfRange(instance, pbn, max)
3629 #endif
3630 
3636 #ifdef EvtFsNFTL_TableLookup
3637  __STATIC_INLINE void EvrFsNFTL_TableLookup (uint32_t instance, uint32_t lbn) {
3638  EventRecord2 (EvtFsNFTL_TableLookup, instance, lbn);
3639  }
3640 #else
3641  #define EvrFsNFTL_TableLookup(instance, lbn)
3642 #endif
3643 
3649 #ifdef EvtFsNFTL_TableEntryNotFound
3650  __STATIC_INLINE void EvrFsNFTL_TableEntryNotFound (uint32_t instance, uint32_t lbn) {
3651  EventRecord2 (EvtFsNFTL_TableEntryNotFound, instance, lbn);
3652  }
3653 #else
3654  #define EvrFsNFTL_TableEntryNotFound(instance, lbn)
3655 #endif
3656 
3662 #ifdef EvtFsNFTL_AllocateBlock
3663  __STATIC_INLINE void EvrFsNFTL_AllocateBlock (uint32_t instance, uint32_t area) {
3664  EventRecord2 (EvtFsNFTL_AllocateBlock, instance, area);
3665  }
3666 #else
3667  #define EvrFsNFTL_AllocateBlock(instance, area)
3668 #endif
3669 
3676 #ifdef EvtFsNFTL_LsnFind
3677  __STATIC_INLINE void EvrFsNFTL_LsnFind (uint32_t instance, uint32_t lsn, uint32_t pbn) {
3678  EventRecord4 (EvtFsNFTL_LsnFind, instance, lsn, pbn, 0);
3679  }
3680 #else
3681  #define EvrFsNFTL_LsnFind(instance, lsn, pbn)
3682 #endif
3683 
3691 #ifdef EvtFsNFTL_LsnFound
3692  __STATIC_INLINE void EvrFsNFTL_LsnFound (uint32_t instance, uint32_t lsn, uint32_t pbn, uint32_t pg) {
3693  EventRecord4 (EvtFsNFTL_LsnFound, instance, lsn, pbn, pg);
3694  }
3695 #else
3696  #define EvrFsNFTL_LsnFound(instance, lsn, pbn, pg)
3697 #endif
3698 
3705 #ifdef EvtFsNFTL_LsnNotFound
3706  __STATIC_INLINE void EvrFsNFTL_LsnNotFound (uint32_t instance, uint32_t lsn, uint32_t pbn) {
3707  EventRecord4 (EvtFsNFTL_LsnNotFound, instance, lsn, pbn, 0);
3708  }
3709 #else
3710  #define EvrFsNFTL_LsnNotFound(instance, lsn, pbn)
3711 #endif
3712 
3720 #ifdef EvtFsNFTL_GarbageCollection
3721  __STATIC_INLINE void EvrFsNFTL_GarbageCollection (uint32_t instance, uint32_t src_0, uint32_t src_1, uint32_t dst) {
3722  EventRecord4 (EvtFsNFTL_GarbageCollection, instance, src_0, src_1, dst);
3723  }
3724 #else
3725  #define EvrFsNFTL_GarbageCollection(instance, src_0, src_1, dst)
3726 #endif
3727 
3733 #ifdef EvtFsNFTL_SetBadBlockMarker
3734  __STATIC_INLINE void EvrFsNFTL_SetBadBlockMarker (uint32_t instance, uint32_t pbn) {
3735  EventRecord2 (EvtFsNFTL_SetBadBlockMarker, instance, pbn);
3736  }
3737 #else
3738  #define EvrFsNFTL_SetBadBlockMarker(instance, pbn)
3739 #endif
3740 
3747 #ifdef EvtFsNFTL_MoveData
3748  __STATIC_INLINE void EvrFsNFTL_MoveData (uint32_t instance, uint32_t src, uint32_t dst) {
3749  EventRecord4 (EvtFsNFTL_MoveData, instance, src, dst, 0);
3750  }
3751 #else
3752  #define EvrFsNFTL_MoveData(instance, src, dst)
3753 #endif
3754 
3760 #ifdef EvtFsNFTL_RelocateBlock
3761  __STATIC_INLINE void EvrFsNFTL_RelocateBlock (uint32_t instance, uint32_t pbn) {
3762  EventRecord2 (EvtFsNFTL_RelocateBlock, instance, pbn);
3763  }
3764 #else
3765  #define EvrFsNFTL_RelocateBlock(instance, pbn)
3766 #endif
3767 
3773 #ifdef EvtFsNFTL_RelocateBlockFailed
3774  __STATIC_INLINE void EvrFsNFTL_RelocateBlockFailed (uint32_t instance, uint32_t pbn) {
3775  EventRecord2 (EvtFsNFTL_RelocateBlockFailed, instance, pbn);
3776  }
3777 #else
3778  #define EvrFsNFTL_RelocateBlockFailed(instance, pbn)
3779 #endif
3780 
3786 #ifdef EvtFsNFTL_SkipBadBlock
3787  __STATIC_INLINE void EvrFsNFTL_SkipBadBlock (uint32_t instance, uint32_t pbn) {
3788  EventRecord2 (EvtFsNFTL_SkipBadBlock, instance, pbn);
3789  }
3790 #else
3791  #define EvrFsNFTL_SkipBadBlock(instance, pbn)
3792 #endif
3793 
3799 #ifdef EvtFsNFTL_PageReadFailed
3800  __STATIC_INLINE void EvrFsNFTL_PageReadFailed (uint32_t instance, uint32_t row) {
3801  EventRecord2 (EvtFsNFTL_PageReadFailed, instance, row);
3802  }
3803 #else
3804  #define EvrFsNFTL_PageReadFailed(instance, row)
3805 #endif
3806 
3812 #ifdef EvtFsNFTL_PageProgramStatusErr
3813  __STATIC_INLINE void EvrFsNFTL_PageProgramStatusErr (uint32_t instance, uint32_t row) {
3814  EventRecord2 (EvtFsNFTL_PageProgramStatusErr, instance, row);
3815  }
3816 #else
3817  #define EvrFsNFTL_PageProgramStatusErr(instance, row)
3818 #endif
3819 
3825 #ifdef EvtFsNFTL_PageProgramFailed
3826  __STATIC_INLINE void EvrFsNFTL_PageProgramFailed (uint32_t instance, uint32_t row) {
3827  EventRecord2 (EvtFsNFTL_PageProgramFailed, instance, row);
3828  }
3829 #else
3830  #define EvrFsNFTL_PageProgramFailed(instance, row)
3831 #endif
3832 
3838 #ifdef EvtFsNFTL_PageProgramTimeout
3839  __STATIC_INLINE void EvrFsNFTL_PageProgramTimeout (uint32_t instance, uint32_t row) {
3840  EventRecord2 (EvtFsNFTL_PageProgramTimeout, instance, row);
3841  }
3842 #else
3843  #define EvrFsNFTL_PageProgramTimeout(instance, row)
3844 #endif
3845 
3851 #ifdef EvtFsNFTL_BlockEraseStatusErr
3852  __STATIC_INLINE void EvrFsNFTL_BlockEraseStatusErr (uint32_t instance, uint32_t row) {
3853  EventRecord2 (EvtFsNFTL_BlockEraseStatusErr, instance, row);
3854  }
3855 #else
3856  #define EvrFsNFTL_BlockEraseStatusErr(instance, row)
3857 #endif
3858 
3864 #ifdef EvtFsNFTL_BlockEraseFailed
3865  __STATIC_INLINE void EvrFsNFTL_BlockEraseFailed (uint32_t instance, uint32_t row) {
3866  EventRecord2 (EvtFsNFTL_BlockEraseFailed, instance, row);
3867  }
3868 #else
3869  #define EvrFsNFTL_BlockEraseFailed(instance, row)
3870 #endif
3871 
3877 #ifdef EvtFsNFTL_BlockEraseTimeout
3878  __STATIC_INLINE void EvrFsNFTL_BlockEraseTimeout (uint32_t instance, uint32_t row) {
3879  EventRecord2 (EvtFsNFTL_BlockEraseTimeout, instance, row);
3880  }
3881 #else
3882  #define EvrFsNFTL_BlockEraseTimeout(instance, row)
3883 #endif
3884 
3890 #ifdef EvtFsNFTL_BitErrorCorrected
3891  __STATIC_INLINE void EvrFsNFTL_BitErrorCorrected (uint32_t instance, uint32_t row) {
3892  EventRecord2 (EvtFsNFTL_BitErrorCorrected, instance, row);
3893  }
3894 #else
3895  #define EvrFsNFTL_BitErrorCorrected(instance, row)
3896 #endif
3897 
3902 #ifdef EvtFsNFTL_ParameterInvalid
3903  __STATIC_INLINE void EvrFsNFTL_ParameterInvalid (uint32_t instance) {
3904  EventRecord2 (EvtFsNFTL_ParameterInvalid, instance, 0);
3905  }
3906 #else
3907  #define EvrFsNFTL_ParameterInvalid(instance)
3908 #endif
3909 
3917 #ifdef EvtFsNFTL_TableUpdate
3918  __STATIC_INLINE void EvrFsNFTL_TableUpdate (uint32_t instance, uint32_t lbn, uint32_t pbn_0, uint32_t pbn_1) {
3919  EventRecord4 (EvtFsNFTL_TableUpdate, instance, lbn, pbn_0, pbn_1);
3920  }
3921 #else
3922  #define EvrFsNFTL_TableUpdate(instance, lbn, pbn_0, pbn_1)
3923 #endif
3924 
3930 #ifdef EvtFsNFTL_AllocatedBlock
3931  __STATIC_INLINE void EvrFsNFTL_AllocatedBlock (uint32_t instance, uint32_t pbn) {
3932  EventRecord2 (EvtFsNFTL_AllocatedBlock, instance, pbn);
3933  }
3934 #else
3935  #define EvrFsNFTL_AllocatedBlock(instance, pbn)
3936 #endif
3937 
3945 #ifdef EvtFsNFTL_LoadSector
3946  __STATIC_INLINE void EvrFsNFTL_LoadSector (uint32_t instance, uint32_t lsn, uint32_t offs, uint32_t spare) {
3947  EventRecord4 (EvtFsNFTL_LoadSector, instance, lsn, offs, spare);
3948  }
3949 #else
3950  #define EvrFsNFTL_LoadSector(instance, lsn, offs, spare)
3951 #endif
3952 
3959 #ifdef EvtFsNFTL_LoadTableLayout
3960  __STATIC_INLINE void EvrFsNFTL_LoadTableLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) {
3961  EventRecord4 (EvtFsNFTL_LoadTableLayout, instance, pbn_0, pbn_1, 0);
3962  }
3963 #else
3964  #define EvrFsNFTL_LoadTableLayout(instance, pbn_0, pbn_1)
3965 #endif
3966 
3973 #ifdef EvtFsNFTL_LoadDataLayout
3974  __STATIC_INLINE void EvrFsNFTL_LoadDataLayout (uint32_t instance, uint32_t pbn_0, uint32_t pbn_1) {
3975  EventRecord4 (EvtFsNFTL_LoadDataLayout, instance, pbn_0, pbn_1, 0);
3976  }
3977 #else
3978  #define EvrFsNFTL_LoadDataLayout(instance, pbn_0, pbn_1)
3979 #endif
3980 
3988 #ifdef EvtFsNFTL_SetupPageLayout
3989  __STATIC_INLINE void EvrFsNFTL_SetupPageLayout (uint32_t instance, uint32_t sector_inc, uint32_t spare_ofs, uint32_t spare_inc) {
3990  EventRecord4 (EvtFsNFTL_SetupPageLayout, instance, sector_inc, spare_ofs, spare_inc);
3991  }
3992 #else
3993  #define EvrFsNFTL_SetupPageLayout(instance, sector_inc, spare_ofs, spare_inc);
3994 #endif
3995 
4004 #ifdef EvtFsNFTL_SetupSpareLayout
4005  __STATIC_INLINE void EvrFsNFTL_SetupSpareLayout (uint32_t instance, uint32_t ofs_lsn, uint32_t ofs_dcm, uint32_t ofs_bbm, uint32_t ofs_ecc) {
4006  EventRecord4 (EvtFsNFTL_SetupSpareLayout, instance, (ofs_dcm << 16) | ofs_lsn, ofs_bbm, ofs_ecc);
4007  }
4008 #else
4009  #define EvrFsNFTL_SetupSpareLayout(instance, ofs_lsn, ofs_dcm, ofs_bbm, ofs_ecc);
4010 #endif
4011 
4018 #ifdef EvtFsNFTL_PageWrite
4019  __STATIC_INLINE void EvrFsNFTL_PageWrite (uint32_t instance, uint32_t pbn, uint32_t pg) {
4020  EventRecord4 (EvtFsNFTL_PageWrite, instance, pbn, pg, 0);
4021  }
4022 #else
4023  #define EvrFsNFTL_PageWrite(instance, pbn, pg);
4024 #endif
4025 
4032 #ifdef EvtFsNFTL_PageRead
4033  __STATIC_INLINE void EvrFsNFTL_PageRead (uint32_t instance, uint32_t pbn, uint32_t pg) {
4034  EventRecord4 (EvtFsNFTL_PageRead, instance, pbn, pg, 0);
4035  }
4036 #else
4037  #define EvrFsNFTL_PageRead(instance, pbn, pg);
4038 #endif
4039 
4045 #ifdef EvtFsNFTL_BlockErase
4046  __STATIC_INLINE void EvrFsNFTL_BlockErase (uint32_t instance, uint32_t pbn) {
4047  EventRecord2 (EvtFsNFTL_BlockErase, instance, pbn);
4048  }
4049 #else
4050  #define EvrFsNFTL_BlockErase(instance, pbn);
4051 #endif
4052 
4058 #ifdef EvtFsNFTL_StatusRead
4059  __STATIC_INLINE void EvrFsNFTL_StatusRead (uint32_t instance, uint32_t status) {
4060  EventRecord2 (EvtFsNFTL_StatusRead, instance, status);
4061  }
4062 #else
4063  #define EvrFsNFTL_StatusRead(instance, status);
4064 #endif
4065 
4072 #ifdef EvtFsNFTL_CacheWrite
4073  __STATIC_INLINE void EvrFsNFTL_CacheWrite (uint32_t instance, uint32_t pbn, uint32_t pg) {
4074  EventRecord4 (EvtFsNFTL_CacheWrite, instance, pbn, pg, 0);
4075  }
4076 #else
4077  #define EvrFsNFTL_CacheWrite(instance, pbn, pg);
4078 #endif
4079 
4087 #ifdef EvtFsNFTL_CacheRead
4088  __STATIC_INLINE void EvrFsNFTL_CacheRead (uint32_t instance, uint32_t pbn, uint32_t pg, uint32_t col) {
4089  EventRecord4 (EvtFsNFTL_CacheRead, instance, pbn, pg, col);
4090  }
4091 #else
4092  #define EvrFsNFTL_CacheRead(instance, pbn, pg, col);
4093 #endif
4094 
4099 #ifdef EvtFsNAND_Init
4100  __STATIC_INLINE void EvrFsNAND_Init (uint32_t instance) {
4101  EventRecord2 (EvtFsNAND_Init, instance, 0);
4102  }
4103 #else
4104  #define EvrFsNAND_Init(instance)
4105 #endif
4106 
4112 #ifdef EvtFsNAND_InitDriver
4113  __STATIC_INLINE void EvrFsNAND_InitDriver (uint32_t instance, uint32_t driver) {
4114  EventRecord2 (EvtFsNAND_InitDriver, instance, driver);
4115  }
4116 #else
4117  #define EvrFsNAND_InitDriver(instance, driver)
4118 #endif
4119 
4125 #ifdef EvtFsNAND_InitDriverError
4126  __STATIC_INLINE void EvrFsNAND_InitDriverError (uint32_t instance, uint32_t driver) {
4127  EventRecord2 (EvtFsNAND_InitDriverError, instance, driver);
4128  }
4129 #else
4130  #define EvrFsNAND_InitDriverError(instance, driver)
4131 #endif
4132 
4139 #ifdef EvtFsNAND_DriverPowerCtrlError
4140  __STATIC_INLINE void EvrFsNAND_DriverPowerCtrlError (uint32_t instance, uint32_t driver, uint32_t state) {
4141  EventRecord4 (EvtFsNAND_DriverPowerCtrlError, instance, driver, state, 0);
4142  }
4143 #else
4144  #define EvrFsNAND_DriverPowerCtrlError(instance, driver, state)
4145 #endif
4146 
4153 #ifdef EvtFsNAND_DriverBusModeSelect
4154  __STATIC_INLINE void EvrFsNAND_DriverBusModeSelect (uint32_t instance, uint32_t driver, uint32_t mode) {
4155  EventRecord4 (EvtFsNAND_DriverBusModeSelect, instance, driver, mode, 0);
4156  }
4157 #else
4158  #define EvrFsNAND_DriverBusModeSelect(instance, driver, mode)
4159 #endif
4160 
4167 #ifdef EvtFsNAND_DriverBusWidthSelect
4168  __STATIC_INLINE void EvrFsNAND_DriverBusWidthSelect (uint32_t instance, uint32_t driver, uint32_t width) {
4169  EventRecord4 (EvtFsNAND_DriverBusWidthSelect, instance, driver, width, 0);
4170  }
4171 #else
4172  #define EvrFsNAND_DriverBusWidthSelect(instance, driver, width)
4173 #endif
4174 
4181 #ifdef EvtFsNAND_DriverBusWidthError
4182  __STATIC_INLINE void EvrFsNAND_DriverBusWidthError (uint32_t instance, uint32_t driver, uint32_t width) {
4183  EventRecord4 (EvtFsNAND_DriverBusWidthError, instance, driver, width, 0);
4184  }
4185 #else
4186  #define EvrFsNAND_DriverBusWidthError(instance, driver, width)
4187 #endif
4188 
4195 #ifdef EvtFsNAND_DriverDevPowerSelect
4196  __STATIC_INLINE void EvrFsNAND_DriverDevPowerSelect (uint32_t instance, uint32_t driver, uint32_t volt) {
4197  EventRecord4 (EvtFsNAND_DriverDevPowerSelect, instance, driver, volt, 0);
4198  }
4199 #else
4200  #define EvrFsNAND_DriverDevPowerSelect(instance, driver, volt)
4201 #endif
4202 
4208 #ifdef EvtFsNAND_DriverEccInquire
4209  __STATIC_INLINE void EvrFsNAND_DriverEccInquire (uint32_t instance, uint32_t driver) {
4210  EventRecord2 (EvtFsNAND_DriverEccInquire, instance, driver);
4211  }
4212 #else
4213  #define EvrFsNAND_DriverEccInquire(instance, driver)
4214 #endif
4215 
4222 #ifdef EvtFsNAND_DriverEccSelect
4223  __STATIC_INLINE void EvrFsNAND_DriverEccSelect (uint32_t instance, uint32_t driver, uint32_t index) {
4224  EventRecord4 (EvtFsNAND_DriverEccSelect, instance, driver, index, 0);
4225  }
4226 #else
4227  #define EvrFsNAND_DriverEccSelect(instance, driver, index)
4228 #endif
4229 
4235 #ifdef EvtFsNAND_DriverEccInquireError
4236  __STATIC_INLINE void EvrFsNAND_DriverEccInquireError (uint32_t instance, uint32_t driver) {
4237  EventRecord2 (EvtFsNAND_DriverEccInquireError, instance, driver);
4238  }
4239 #else
4240  #define EvrFsNAND_DriverEccInquireError(instance, driver)
4241 #endif
4242 
4248 #ifdef EvtFsNAND_DriverTimeoutError
4249  __STATIC_INLINE void EvrFsNAND_DriverTimeoutError (uint32_t instance, uint32_t driver) {
4250  EventRecord2 (EvtFsNAND_DriverTimeoutError, instance, driver);
4251  }
4252 #else
4253  #define EvrFsNAND_DriverTimeoutError(instance, driver)
4254 #endif
4255 
4262 #ifdef EvtFsNAND_DeviceTimeoutError
4263  __STATIC_INLINE void EvrFsNAND_DeviceTimeoutError (uint32_t instance, uint32_t driver, uint32_t device) {
4264  EventRecord4 (EvtFsNAND_DeviceTimeoutError, instance, driver, device, 0);
4265  }
4266 #else
4267  #define EvrFsNAND_DeviceTimeoutError(instance, driver, device)
4268 #endif
4269 
4274 #ifdef EvtFsNAND_Uninit
4275  __STATIC_INLINE void EvrFsNAND_Uninit (uint32_t instance) {
4276  EventRecord2 (EvtFsNAND_Uninit, instance, 0);
4277  }
4278 #else
4279  #define EvrFsNAND_Uninit(instance)
4280 #endif
4281 
4287 #ifdef EvtFsNAND_StatusRead
4288  __STATIC_INLINE void EvrFsNAND_StatusRead (uint32_t instance, uint32_t status) {
4289  EventRecord2 (EvtFsNAND_StatusRead, instance, status);
4290  }
4291 #else
4292  #define EvrFsNAND_StatusRead(instance, status)
4293 #endif
4294 
4300 #ifdef EvtFsNAND_BlockErase
4301  __STATIC_INLINE void EvrFsNAND_BlockErase (uint32_t instance, uint32_t row) {
4302  EventRecord2 (EvtFsNAND_BlockErase, instance, row);
4303  }
4304 #else
4305  #define EvrFsNAND_BlockErase(instance, row)
4306 #endif
4307 
4315 #ifdef EvtFsNAND_PageWrite
4316  __STATIC_INLINE void EvrFsNAND_PageWrite (uint32_t instance, uint32_t row, uint32_t col, uint32_t len) {
4317  EventRecord4 (EvtFsNAND_PageWrite, instance, row, col, len);
4318  }
4319 #else
4320  #define EvrFsNAND_PageWrite(instance, row, col, len)
4321 #endif
4322 
4330 #ifdef EvtFsNAND_PageRead
4331  __STATIC_INLINE void EvrFsNAND_PageRead (uint32_t instance, uint32_t row, uint32_t col, uint32_t len) {
4332  EventRecord4 (EvtFsNAND_PageRead, instance, row, col, len);
4333  }
4334 #else
4335  #define EvrFsNAND_PageRead(instance, row, col, len)
4336 #endif
4337 
4344 #ifdef EvtFsNAND_ParamPageRead
4345  __STATIC_INLINE void EvrFsNAND_ParamPageRead (uint32_t instance, uint32_t col, uint32_t len) {
4346  EventRecord4 (EvtFsNAND_ParamPageRead, instance, col, len, 0);
4347  }
4348 #else
4349  #define EvrFsNAND_ParamPageRead(instance, col, len)
4350 #endif
4351 
4358 #ifdef EvtFsNAND_IdRead
4359  __STATIC_INLINE void EvrFsNAND_IdRead (uint32_t instance, uint32_t addr, uint32_t len) {
4360  EventRecord4 (EvtFsNAND_IdRead, instance, addr, len, 0);
4361  }
4362 #else
4363  #define EvrFsNAND_IdRead(instance, addr, len)
4364 #endif
4365 
4370 #ifdef EvtFsNAND_DeviceReset
4371  __STATIC_INLINE void EvrFsNAND_DeviceReset (uint32_t instance) {
4372  EventRecord2 (EvtFsNAND_DeviceReset, instance, 0);
4373  }
4374 #else
4375  #define EvrFsNAND_DeviceReset(instance)
4376 #endif
4377 
4383 #ifdef EvtFsMcMCI_InitDriver
4384  __STATIC_INLINE void EvrFsMcMCI_InitDriver (uint32_t instance, uint32_t driver) {
4385  EventRecord2 (EvtFsMcMCI_InitDriver, instance, driver);
4386  }
4387 #else
4388  #define EvrFsMcMCI_InitDriver(instance, driver)
4389 #endif
4390 
4396 #ifdef EvtFsMcMCI_InitDriverError
4397  __STATIC_INLINE void EvrFsMcMCI_InitDriverError (uint32_t instance, uint32_t driver) {
4398  EventRecord2 (EvtFsMcMCI_InitDriverError, instance, driver);
4399  }
4400 #else
4401  #define EvrFsMcMCI_InitDriverError(instance, driver)
4402 #endif
4403 
4410 #ifdef EvtFsMcMCI_InitDriverPowerError
4411  __STATIC_INLINE void EvrFsMcMCI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state) {
4412  EventRecord4 (EvtFsMcMCI_InitDriverPowerError, instance, driver, state, 0);
4413  }
4414 #else
4415  #define EvrFsMcMCI_InitDriverPowerError(instance, driver, state)
4416 #endif
4417 
4422 #ifdef EvtFsMcMCI_InitMedia
4423  __STATIC_INLINE void EvrFsMcMCI_InitMedia (uint32_t instance) {
4424  EventRecord2 (EvtFsMcMCI_InitMedia, instance, 0);
4425  }
4426 #else
4427  #define EvrFsMcMCI_InitMedia(instance)
4428 #endif
4429 
4434 #ifdef EvtFsMcMCI_MediaNotInitialized
4436  EventRecord2 (EvtFsMcMCI_MediaNotInitialized, instance, 0);
4437  }
4438 #else
4439  #define EvrFsMcMCI_MediaNotInitialized(instance)
4440 #endif
4441 
4446 #ifdef EvtFsMcMCI_MediaCdActive
4447  __STATIC_INLINE void EvrFsMcMCI_MediaCdActive (uint32_t instance) {
4448  EventRecord2 (EvtFsMcMCI_MediaCdActive, instance, 0);
4449  }
4450 #else
4451  #define EvrFsMcMCI_MediaCdActive(instance)
4452 #endif
4453 
4458 #ifdef EvtFsMcMCI_MediaCdInactive
4459  __STATIC_INLINE void EvrFsMcMCI_MediaCdInactive (uint32_t instance) {
4460  EventRecord2 (EvtFsMcMCI_MediaCdInactive, instance, 0);
4461  }
4462 #else
4463  #define EvrFsMcMCI_MediaCdInactive(instance)
4464 #endif
4465 
4470 #ifdef EvtFsMcMCI_MediaWpActive
4471  __STATIC_INLINE void EvrFsMcMCI_MediaWpActive (uint32_t instance) {
4472  EventRecord2 (EvtFsMcMCI_MediaWpActive, instance, 0);
4473  }
4474 #else
4475  #define EvrFsMcMCI_MediaWpActive(instance)
4476 #endif
4477 
4482 #ifdef EvtFsMcMCI_MediaWpInactive
4483  __STATIC_INLINE void EvrFsMcMCI_MediaWpInactive (uint32_t instance) {
4484  EventRecord2 (EvtFsMcMCI_MediaWpInactive, instance, 0);
4485  }
4486 #else
4487  #define EvrFsMcMCI_MediaWpInactive(instance)
4488 #endif
4489 
4494 #ifdef EvtFsMcMCI_MediaReset
4495  __STATIC_INLINE void EvrFsMcMCI_MediaReset (uint32_t instance) {
4496  EventRecord2 (EvtFsMcMCI_MediaReset, instance, 0);
4497  }
4498 #else
4499  #define EvrFsMcMCI_MediaReset(instance)
4500 #endif
4501 
4506 #ifdef EvtFsMcMCI_MediaDetectionSD
4508  EventRecord2 (EvtFsMcMCI_MediaDetectionSD, instance, 0);
4509  }
4510 #else
4511  #define EvrFsMcMCI_MediaDetectionSD(instance)
4512 #endif
4513 
4518 #ifdef EvtFsMcMCI_MediaSD_V2
4519  __STATIC_INLINE void EvrFsMcMCI_MediaSD_V2 (uint32_t instance) {
4520  EventRecord2 (EvtFsMcMCI_MediaSD_V2, instance, 0);
4521  }
4522 #else
4523  #define EvrFsMcMCI_MediaSD_V2(instance)
4524 #endif
4525 
4531 #ifdef EvtFsMcMCI_MediaReady
4532  __STATIC_INLINE void EvrFsMcMCI_MediaReady (uint32_t instance, uint32_t ocr) {
4533  EventRecord2 (EvtFsMcMCI_MediaReady, instance, ocr);
4534  }
4535 #else
4536  #define EvrFsMcMCI_MediaReady(instance, ocr)
4537 #endif
4538 
4543 #ifdef EvtFsMcMCI_MediaNoResponse
4544  __STATIC_INLINE void EvrFsMcMCI_MediaNoResponse (uint32_t instance) {
4545  EventRecord2 (EvtFsMcMCI_MediaNoResponse, instance, 0);
4546  }
4547 #else
4548  #define EvrFsMcMCI_MediaNoResponse(instance)
4549 #endif
4550 
4555 #ifdef EvtFsMcMCI_MediaDetectionMMC
4557  EventRecord2 (EvtFsMcMCI_MediaDetectionMMC, instance, 0);
4558  }
4559 #else
4560  #define EvrFsMcMCI_MediaDetectionMMC(instance)
4561 #endif
4562 
4567 #ifdef EvtFsMcMCI_MediaDetectionError
4569  EventRecord2 (EvtFsMcMCI_MediaDetectionError, instance, 0);
4570  }
4571 #else
4572  #define EvrFsMcMCI_MediaDetectionError(instance)
4573 #endif
4574 
4579 #ifdef EvtFsMcMCI_CidReadError
4580  __STATIC_INLINE void EvrFsMcMCI_CidReadError (uint32_t instance) {
4581  EventRecord2 (EvtFsMcMCI_CidReadError, instance, 0);
4582  }
4583 #else
4584  #define EvrFsMcMCI_CidReadError(instance)
4585 #endif
4586 
4591 #ifdef EvtFsMcMCI_RcaReadError
4592  __STATIC_INLINE void EvrFsMcMCI_RcaReadError (uint32_t instance) {
4593  EventRecord2 (EvtFsMcMCI_RcaReadError, instance, 0);
4594  }
4595 #else
4596  #define EvrFsMcMCI_RcaReadError(instance)
4597 #endif
4598 
4603 #ifdef EvtFsMcMCI_RcaWriteError
4604  __STATIC_INLINE void EvrFsMcMCI_RcaWriteError (uint32_t instance) {
4605  EventRecord2 (EvtFsMcMCI_RcaWriteError, instance, 0);
4606  }
4607 #else
4608  #define EvrFsMcMCI_RcaWriteError(instance)
4609 #endif
4610 
4615 #ifdef EvtFsMcMCI_CsdReadError
4616  __STATIC_INLINE void EvrFsMcMCI_CsdReadError (uint32_t instance) {
4617  EventRecord2 (EvtFsMcMCI_CsdReadError, instance, 0);
4618  }
4619 #else
4620  #define EvrFsMcMCI_CsdReadError(instance)
4621 #endif
4622 
4627 #ifdef EvtFsMcMCI_TranStateError
4628  __STATIC_INLINE void EvrFsMcMCI_TranStateError (uint32_t instance) {
4629  EventRecord2 (EvtFsMcMCI_TranStateError, instance, 0);
4630  }
4631 #else
4632  #define EvrFsMcMCI_TranStateError(instance)
4633 #endif
4634 
4640 #ifdef EvtFsMcMCI_BlenWriteError
4641  __STATIC_INLINE void EvrFsMcMCI_BlenWriteError (uint32_t instance, uint32_t blen) {
4642  EventRecord2 (EvtFsMcMCI_BlenWriteError, instance, blen);
4643  }
4644 #else
4645  #define EvrFsMcMCI_BlenWriteError(instance, blen)
4646 #endif
4647 
4652 #ifdef EvtFsMcMCI_ExtCsdReadError
4653  __STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError (uint32_t instance) {
4654  EventRecord2 (EvtFsMcMCI_ExtCsdReadError, instance, 0);
4655  }
4656 #else
4657  #define EvrFsMcMCI_ExtCsdReadError(instance)
4658 #endif
4659 
4664 #ifdef EvtFsMcMCI_HighSpeedSwitchError
4666  EventRecord2 (EvtFsMcMCI_HighSpeedSwitchError, instance, 0);
4667  }
4668 #else
4669  #define EvrFsMcMCI_HighSpeedSwitchError(instance)
4670 #endif
4671 
4676 #ifdef EvtFsMcMCI_DataBusSwitchError
4678  EventRecord2 (EvtFsMcMCI_DataBusSwitchError, instance, 0);
4679  }
4680 #else
4681  #define EvrFsMcMCI_DataBusSwitchError(instance)
4682 #endif
4683 
4688 #ifdef EvtFsMcMCI_StbyStateError
4689  __STATIC_INLINE void EvrFsMcMCI_StbyStateError (uint32_t instance) {
4690  EventRecord2 (EvtFsMcMCI_StbyStateError, instance, 0);
4691  }
4692 #else
4693  #define EvrFsMcMCI_StbyStateError(instance)
4694 #endif
4695 
4700 #ifdef EvtFsMcMCI_InitSuccess
4701  __STATIC_INLINE void EvrFsMcMCI_InitSuccess (uint32_t instance) {
4702  EventRecord2 (EvtFsMcMCI_InitSuccess, instance, 0);
4703  }
4704 #else
4705  #define EvrFsMcMCI_InitSuccess(instance)
4706 #endif
4707 
4713 #ifdef EvtFsMcMCI_UninitDriver
4714  __STATIC_INLINE void EvrFsMcMCI_UninitDriver (uint32_t instance, uint32_t driver) {
4715  EventRecord2 (EvtFsMcMCI_UninitDriver, instance, driver);
4716  }
4717 #else
4718  #define EvrFsMcMCI_UninitDriver(instance, driver)
4719 #endif
4720 
4726 #ifdef EvtFsMcMCI_UninitMedia
4727  __STATIC_INLINE void EvrFsMcMCI_UninitMedia (uint32_t instance) {
4728  EventRecord2 (EvtFsMcMCI_UninitMedia, instance, 0);
4729  }
4730 #else
4731  #define EvrFsMcMCI_UninitMedia(instance)
4732 #endif
4733 
4740 #ifdef EvtFsMcMCI_SectorRead
4741  __STATIC_INLINE void EvrFsMcMCI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count) {
4742  EventRecord4 (EvtFsMcMCI_SectorRead, instance, sector, count, 0);
4743  }
4744 #else
4745  #define EvrFsMcMCI_SectorRead(instance, sector, count)
4746 #endif
4747 
4754 #ifdef EvtFsMcMCI_SectorReadError
4755  __STATIC_INLINE void EvrFsMcMCI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count) {
4756  EventRecord4 (EvtFsMcMCI_SectorReadError, instance, sector, count, 0);
4757  }
4758 #else
4759  #define EvrFsMcMCI_SectorReadError(instance, sector, count)
4760 #endif
4761 
4768 #ifdef EvtFsMcMCI_SectorWrite
4769  __STATIC_INLINE void EvrFsMcMCI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count) {
4770  EventRecord4 (EvtFsMcMCI_SectorWrite, instance, sector, count, 0);
4771  }
4772 #else
4773  #define EvrFsMcMCI_SectorWrite(instance, sector, count)
4774 #endif
4775 
4782 #ifdef EvtFsMcMCI_SectorWriteError
4783  __STATIC_INLINE void EvrFsMcMCI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count) {
4784  EventRecord4 (EvtFsMcMCI_SectorWriteError, instance, sector, count, 0);
4785  }
4786 #else
4787  #define EvrFsMcMCI_SectorWriteError(instance, sector, count)
4788 #endif
4789 
4796 #ifdef EvtFsMcMCI_TransferSetupError
4797  __STATIC_INLINE void EvrFsMcMCI_TransferSetupError (uint32_t instance, uint32_t sector, uint32_t count) {
4798  EventRecord4 (EvtFsMcMCI_TransferSetupError, instance, sector, count, 0);
4799  }
4800 #else
4801  #define EvrFsMcMCI_TransferSetupError(instance, sector, count)
4802 #endif
4803 
4809 #ifdef EvtFsMcMCI_TransferError
4810  __STATIC_INLINE void EvrFsMcMCI_TransferError (uint32_t instance, uint32_t events) {
4811  EventRecord2 (EvtFsMcMCI_TransferError, instance, events);
4812  }
4813 #else
4814  #define EvrFsMcMCI_TransferError(instance, events)
4815 #endif
4816 
4822 #ifdef EvtFsMcMCI_TransferRetry
4823  __STATIC_INLINE void EvrFsMcMCI_TransferRetry (uint32_t instance, uint32_t retry) {
4824  EventRecord2 (EvtFsMcMCI_TransferRetry, instance, retry);
4825  }
4826 #else
4827  #define EvrFsMcMCI_TransferRetry(instance, retry)
4828 #endif
4829 
4834 #ifdef EvtFsMcMCI_ReadInfo
4835  __STATIC_INLINE void EvrFsMcMCI_ReadInfo (uint32_t instance) {
4836  EventRecord2 (EvtFsMcMCI_ReadInfo, instance, 0);
4837  }
4838 #else
4839  #define EvrFsMcMCI_ReadInfo(instance)
4840 #endif
4841 
4847 #ifdef EvtFsMcMCI_ReadInfoSuccess
4848  __STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
4849  EventRecord2 (EvtFsMcMCI_ReadInfoSuccess, instance, sect_count);
4850  }
4851 #else
4852  #define EvrFsMcMCI_ReadInfoSuccess(instance, sect_count)
4853 #endif
4854 
4861 #ifdef EvtFsMcMCI_DevCtrl
4862  __STATIC_INLINE void EvrFsMcMCI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p) {
4863  EventRecord4 (EvtFsMcMCI_DevCtrl, instance, code, p, 0);
4864  }
4865 #else
4866  #define EvrFsMcMCI_DevCtrl(instance, code, p)
4867 #endif
4868 
4874 #ifdef EvtFsMcMCI_DevCtrlUnsupported
4875  __STATIC_INLINE void EvrFsMcMCI_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
4876  EventRecord2 (EvtFsMcMCI_DevCtrlUnsupported, instance, code);
4877  }
4878 #else
4879  #define EvrFsMcMCI_DevCtrlUnsupported(instance, code)
4880 #endif
4881 
4886 #ifdef EvtFsMcMCI_LockUnlockExec
4887  __STATIC_INLINE void EvrFsMcMCI_LockUnlockExec (uint32_t instance) {
4888  EventRecord2 (EvtFsMcMCI_LockUnlockExec, instance, 0);
4889  }
4890 #else
4891  #define EvrFsMcMCI_LockUnlockExec(instance)
4892 #endif
4893 
4898 #ifdef EvtFsMcMCI_LockUnlockExecError
4900  EventRecord2 (EvtFsMcMCI_LockUnlockExecError, instance, 0);
4901  }
4902 #else
4903  #define EvrFsMcMCI_LockUnlockExecError(instance)
4904 #endif
4905 
4910 #ifdef EvtFsMcMCI_LockActive
4911  __STATIC_INLINE void EvrFsMcMCI_LockActive (uint32_t instance) {
4912  EventRecord2 (EvtFsMcMCI_LockActive, instance, 0);
4913  }
4914 #else
4915  #define EvrFsMcMCI_LockActive(instance)
4916 #endif
4917 
4922 #ifdef EvtFsMcMCI_LockDeactivated
4923  __STATIC_INLINE void EvrFsMcMCI_LockDeactivated (uint32_t instance) {
4924  EventRecord2 (EvtFsMcMCI_LockDeactivated, instance, 0);
4925  }
4926 #else
4927  #define EvrFsMcMCI_LockDeactivated(instance)
4928 #endif
4929 
4935 #ifdef EvtFsMcMCI_DeviceStateUnknown
4936  __STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown (uint32_t instance, uint32_t state) {
4937  EventRecord2 (EvtFsMcMCI_DeviceStateUnknown, instance, state);
4938  }
4939 #else
4940  #define EvrFsMcMCI_DeviceStateUnknown(instance, state)
4941 #endif
4942 
4948 #ifdef EvtFsMcMCI_DeviceStateInvalid
4949  __STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid (uint32_t instance, uint32_t state) {
4950  EventRecord2 (EvtFsMcMCI_DeviceStateInvalid, instance, state);
4951  }
4952 #else
4953  #define EvrFsMcMCI_DeviceStateInvalid(instance, state)
4954 #endif
4955 
4962 #ifdef EvtFsMcMCI_DeviceStateTimeout
4963  __STATIC_INLINE void EvrFsMcMCI_DeviceStateTimeout (uint32_t instance, uint32_t cstate, uint32_t nstate) {
4964  EventRecord4 (EvtFsMcMCI_DeviceStateTimeout, instance, cstate, nstate, 0);
4965  }
4966 #else
4967  #define EvrFsMcMCI_DeviceStateTimeout(instance, cstate, nstate)
4968 #endif
4969 
4974 #ifdef EvtFsMcMCI_TransferAbort
4975  __STATIC_INLINE void EvrFsMcMCI_TransferAbort (uint32_t instance) {
4976  EventRecord2 (EvtFsMcMCI_TransferAbort, instance, 0);
4977  }
4978 #else
4979  #define EvrFsMcMCI_TransferAbort(instance)
4980 #endif
4981 
4986 #ifdef EvtFsMcMCI_SleepAwakeControl
4988  EventRecord2 (EvtFsMcMCI_SleepAwakeControl, instance, 0);
4989  }
4990 #else
4991  #define EvrFsMcMCI_SleepAwakeControl(instance)
4992 #endif
4993 
4998 #ifdef EvtFsMcMCI_SleepActive
4999  __STATIC_INLINE void EvrFsMcMCI_SleepActive (uint32_t instance) {
5000  EventRecord2 (EvtFsMcMCI_SleepActive, instance, 0);
5001  }
5002 #else
5003  #define EvrFsMcMCI_SleepActive(instance)
5004 #endif
5005 
5010 #ifdef EvtFsMcMCI_AwakeActive
5011  __STATIC_INLINE void EvrFsMcMCI_AwakeActive (uint32_t instance) {
5012  EventRecord2 (EvtFsMcMCI_AwakeActive, instance, 0);
5013  }
5014 #else
5015  #define EvrFsMcMCI_AwakeActive(instance)
5016 #endif
5017 
5023 #ifdef EvtFsMcMCI_CardPowerControl
5024  __STATIC_INLINE void EvrFsMcMCI_CardPowerControl (uint32_t instance, uint32_t voltage) {
5025  EventRecord2 (EvtFsMcMCI_CardPowerControl, instance, voltage);
5026  }
5027 #else
5028  #define EvrFsMcMCI_CardPowerControl(instance, voltage)
5029 #endif
5030 
5037 #ifdef EvtFsMcMCI_SendCommandError
5038  __STATIC_INLINE void EvrFsMcMCI_SendCommandError (uint32_t instance, uint32_t cmd, uint32_t arg) {
5039  EventRecord4 (EvtFsMcMCI_SendCommandError, instance, cmd, arg, 0);
5040  }
5041 #else
5042  #define EvrFsMcMCI_SendCommandError(instance, cmd, arg)
5043 #endif
5044 
5052 #ifdef EvtFsMcMCI_ReadXferSetupError
5053  __STATIC_INLINE void EvrFsMcMCI_ReadXferSetupError (uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size) {
5054  EventRecord4 (EvtFsMcMCI_ReadXferSetupError, instance, (uint32_t)buf, cnt, size);
5055  }
5056 #else
5057  #define EvrFsMcMCI_ReadXferSetupError(instance, buf, cnt, size)
5058 #endif
5059 
5067 #ifdef EvtFsMcMCI_WriteXferSetupError
5068  __STATIC_INLINE void EvrFsMcMCI_WriteXferSetupError (uint32_t instance, uint8_t *buf, uint32_t cnt, uint32_t size) {
5069  EventRecord4 (EvtFsMcMCI_WriteXferSetupError, instance, (uint32_t)buf, cnt, size);
5070  }
5071 #else
5072  #define EvrFsMcMCI_WriteXferSetupError(instance, buf, cnt, size)
5073 #endif
5074 
5079 #ifdef EvtFsMcMCI_ParameterInvalid
5081  EventRecord2 (EvtFsMcMCI_ParameterInvalid, instance, 0);
5082  }
5083 #else
5084  #define EvrFsMcMCI_ParameterInvalid(instance)
5085 #endif
5086 
5091 #ifdef EvtFsMcMCI_MediaPasswordEnabled
5093  EventRecord2 (EvtFsMcMCI_MediaPasswordEnabled, instance, 0);
5094  }
5095 #else
5096  #define EvrFsMcMCI_MediaPasswordEnabled(instance)
5097 #endif
5098 
5104 #ifdef EvtFsMcSPI_InitDriver
5105  __STATIC_INLINE void EvrFsMcSPI_InitDriver (uint32_t instance, uint32_t driver) {
5106  EventRecord2 (EvtFsMcSPI_InitDriver, instance, driver);
5107  }
5108 #else
5109  #define EvrFsMcSPI_InitDriver(instance, driver)
5110 #endif
5111 
5117 #ifdef EvtFsMcSPI_InitDriverSuccess
5118  __STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess (uint32_t instance, uint32_t driver) {
5119  EventRecord2 (EvtFsMcSPI_InitDriverSuccess, instance, driver);
5120  }
5121 #else
5122  #define EvrFsMcSPI_InitDriverSuccess(instance, driver)
5123 #endif
5124 
5130 #ifdef EvtFsMcSPI_InitDriverError
5131  __STATIC_INLINE void EvrFsMcSPI_InitDriverError (uint32_t instance, uint32_t driver) {
5132  EventRecord2 (EvtFsMcSPI_InitDriverError, instance, driver);
5133  }
5134 #else
5135  #define EvrFsMcSPI_InitDriverError(instance, driver)
5136 #endif
5137 
5144 #ifdef EvtFsMcSPI_InitDriverPowerError
5145  __STATIC_INLINE void EvrFsMcSPI_InitDriverPowerError (uint32_t instance, uint32_t driver, uint32_t state) {
5146  EventRecord4 (EvtFsMcSPI_InitDriverPowerError, instance, driver, state, 0);
5147  }
5148 #else
5149  #define EvrFsMcSPI_InitDriverPowerError(instance, driver, state)
5150 #endif
5151 
5156 #ifdef EvtFsMcSPI_InitMedia
5157  __STATIC_INLINE void EvrFsMcSPI_InitMedia (uint32_t instance) {
5158  EventRecord2 (EvtFsMcSPI_InitMedia, instance, 0);
5159  }
5160 #else
5161  #define EvrFsMcSPI_InitMedia(instance)
5162 #endif
5163 
5168 #ifdef EvtFsMcSPI_InitMediaSuccess
5170  EventRecord2 (EvtFsMcSPI_InitMediaSuccess, instance, 0);
5171  }
5172 #else
5173  #define EvrFsMcSPI_InitMediaSuccess(instance)
5174 #endif
5175 
5180 #ifdef EvtFsMcSPI_MediaNotInitialized
5182  EventRecord2 (EvtFsMcSPI_MediaNotInitialized, instance, 0);
5183  }
5184 #else
5185  #define EvrFsMcSPI_MediaNotInitialized(instance)
5186 #endif
5187 
5192 #ifdef EvtFsMcSPI_MediaCdActive
5193  __STATIC_INLINE void EvrFsMcSPI_MediaCdActive (uint32_t instance) {
5194  EventRecord2 (EvtFsMcSPI_MediaCdActive, instance, 0);
5195  }
5196 #else
5197  #define EvrFsMcSPI_MediaCdActive(instance)
5198 #endif
5199 
5204 #ifdef EvtFsMcSPI_MediaCdInactive
5205  __STATIC_INLINE void EvrFsMcSPI_MediaCdInactive (uint32_t instance) {
5206  EventRecord2 (EvtFsMcSPI_MediaCdInactive, instance, 0);
5207  }
5208 #else
5209  #define EvrFsMcSPI_MediaCdInactive(instance)
5210 #endif
5211 
5216 #ifdef EvtFsMcSPI_MediaWpActive
5217  __STATIC_INLINE void EvrFsMcSPI_MediaWpActive (uint32_t instance) {
5218  EventRecord2 (EvtFsMcSPI_MediaWpActive, instance, 0);
5219  }
5220 #else
5221  #define EvrFsMcSPI_MediaWpActive(instance)
5222 #endif
5223 
5228 #ifdef EvtFsMcSPI_MediaWpInactive
5229  __STATIC_INLINE void EvrFsMcSPI_MediaWpInactive (uint32_t instance) {
5230  EventRecord2 (EvtFsMcSPI_MediaWpInactive, instance, 0);
5231  }
5232 #else
5233  #define EvrFsMcSPI_MediaWpInactive(instance)
5234 #endif
5235 
5240 #ifdef EvtFsMcSPI_MediaReset
5241  __STATIC_INLINE void EvrFsMcSPI_MediaReset (uint32_t instance) {
5242  EventRecord2 (EvtFsMcSPI_MediaReset, instance, 0);
5243  }
5244 #else
5245  #define EvrFsMcSPI_MediaReset(instance)
5246 #endif
5247 
5252 #ifdef EvtFsMcSPI_MediaResetError
5253  __STATIC_INLINE void EvrFsMcSPI_MediaResetError (uint32_t instance) {
5254  EventRecord2 (EvtFsMcSPI_MediaResetError, instance, 0);
5255  }
5256 #else
5257  #define EvrFsMcSPI_MediaResetError(instance)
5258 #endif
5259 
5264 #ifdef EvtFsMcSPI_MediaDetectionSD
5266  EventRecord2 (EvtFsMcSPI_MediaDetectionSD, instance, 0);
5267  }
5268 #else
5269  #define EvrFsMcSPI_MediaDetectionSD(instance)
5270 #endif
5271 
5276 #ifdef EvtFsMcSPI_MediaSD_V2
5277  __STATIC_INLINE void EvrFsMcSPI_MediaSD_V2 (uint32_t instance) {
5278  EventRecord2 (EvtFsMcSPI_MediaSD_V2, instance, 0);
5279  }
5280 #else
5281  #define EvrFsMcSPI_MediaSD_V2(instance)
5282 #endif
5283 
5289 #ifdef EvtFsMcSPI_MediaReady
5290  __STATIC_INLINE void EvrFsMcSPI_MediaReady (uint32_t instance, uint32_t ocr) {
5291  EventRecord2 (EvtFsMcSPI_MediaReady, instance, ocr);
5292  }
5293 #else
5294  #define EvrFsMcSPI_MediaReady(instance, ocr)
5295 #endif
5296 
5301 #ifdef EvtFsMcSPI_MediaNoResponse
5302  __STATIC_INLINE void EvrFsMcSPI_MediaNoResponse (uint32_t instance) {
5303  EventRecord2 (EvtFsMcSPI_MediaNoResponse, instance, 0);
5304  }
5305 #else
5306  #define EvrFsMcSPI_MediaNoResponse(instance)
5307 #endif
5308 
5313 #ifdef EvtFsMcSPI_MediaDetectionMMC
5315  EventRecord2 (EvtFsMcSPI_MediaDetectionMMC, instance, 0);
5316  }
5317 #else
5318  #define EvrFsMcSPI_MediaDetectionMMC(instance)
5319 #endif
5320 
5325 #ifdef EvtFsMcSPI_MediaDetectionError
5327  EventRecord2 (EvtFsMcSPI_MediaDetectionError, instance, 0);
5328  }
5329 #else
5330  #define EvrFsMcSPI_MediaDetectionError(instance)
5331 #endif
5332 
5337 #ifdef EvtFsMcSPI_CidReadError
5338  __STATIC_INLINE void EvrFsMcSPI_CidReadError (uint32_t instance) {
5339  EventRecord2 (EvtFsMcSPI_CidReadError, instance, 0);
5340  }
5341 #else
5342  #define EvrFsMcSPI_CidReadError(instance)
5343 #endif
5344 
5349 #ifdef EvtFsMcSPI_CsdReadError
5350  __STATIC_INLINE void EvrFsMcSPI_CsdReadError (uint32_t instance) {
5351  EventRecord2 (EvtFsMcSPI_CsdReadError, instance, 0);
5352  }
5353 #else
5354  #define EvrFsMcSPI_CsdReadError(instance)
5355 #endif
5356 
5362 #ifdef EvtFsMcSPI_BlenWriteError
5363  __STATIC_INLINE void EvrFsMcSPI_BlenWriteError (uint32_t instance, uint32_t blen) {
5364  EventRecord2 (EvtFsMcSPI_BlenWriteError, instance, blen);
5365  }
5366 #else
5367  #define EvrFsMcSPI_BlenWriteError(instance, blen)
5368 #endif
5369 
5375 #ifdef EvtFsMcSPI_UninitDriver
5376  __STATIC_INLINE void EvrFsMcSPI_UninitDriver (uint32_t instance, uint32_t driver) {
5377  EventRecord2 (EvtFsMcSPI_UninitDriver, instance, driver);
5378  }
5379 #else
5380  #define EvrFsMcSPI_UninitDriver(instance, driver)
5381 #endif
5382 
5388 #ifdef EvtFsMcSPI_UninitMedia
5389  __STATIC_INLINE void EvrFsMcSPI_UninitMedia (uint32_t instance) {
5390  EventRecord2 (EvtFsMcSPI_UninitMedia, instance, 0);
5391  }
5392 #else
5393  #define EvrFsMcSPI_UninitMedia(instance)
5394 #endif
5395 
5402 #ifdef EvtFsMcSPI_SectorRead
5403  __STATIC_INLINE void EvrFsMcSPI_SectorRead (uint32_t instance, uint32_t sector, uint32_t count) {
5404  EventRecord4 (EvtFsMcSPI_SectorRead, instance, sector, count, 0);
5405  }
5406 #else
5407  #define EvrFsMcSPI_SectorRead(instance, sector, count)
5408 #endif
5409 
5416 #ifdef EvtFsMcSPI_SectorReadError
5417  __STATIC_INLINE void EvrFsMcSPI_SectorReadError (uint32_t instance, uint32_t sector, uint32_t count) {
5418  EventRecord4 (EvtFsMcSPI_SectorReadError, instance, sector, count, 0);
5419  }
5420 #else
5421  #define EvrFsMcSPI_SectorReadError(instance, sector, count)
5422 #endif
5423 
5430 #ifdef EvtFsMcSPI_SectorWrite
5431  __STATIC_INLINE void EvrFsMcSPI_SectorWrite (uint32_t instance, uint32_t sector, uint32_t count) {
5432  EventRecord4 (EvtFsMcSPI_SectorWrite, instance, sector, count, 0);
5433  }
5434 #else
5435  #define EvrFsMcSPI_SectorWrite(instance, sector, count)
5436 #endif
5437 
5444 #ifdef EvtFsMcSPI_SectorWriteError
5445  __STATIC_INLINE void EvrFsMcSPI_SectorWriteError (uint32_t instance, uint32_t sector, uint32_t count) {
5446  EventRecord4 (EvtFsMcSPI_SectorWriteError, instance, sector, count, 0);
5447  }
5448 #else
5449  #define EvrFsMcSPI_SectorWriteError(instance, sector, count)
5450 #endif
5451 
5456 #ifdef EvtFsMcSPI_ReadInfo
5457  __STATIC_INLINE void EvrFsMcSPI_ReadInfo (uint32_t instance) {
5458  EventRecord2 (EvtFsMcSPI_ReadInfo, instance, 0);
5459  }
5460 #else
5461  #define EvrFsMcSPI_ReadInfo(instance)
5462 #endif
5463 
5469 #ifdef EvtFsMcSPI_ReadInfoSuccess
5470  __STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess (uint32_t instance, uint32_t sect_count) {
5471  EventRecord2 (EvtFsMcSPI_ReadInfoSuccess, instance, sect_count);
5472  }
5473 #else
5474  #define EvrFsMcSPI_ReadInfoSuccess(instance, sect_count)
5475 #endif
5476 
5483 #ifdef EvtFsMcSPI_DevCtrl
5484  __STATIC_INLINE void EvrFsMcSPI_DevCtrl (uint32_t instance, uint32_t code, uint32_t p) {
5485  EventRecord4 (EvtFsMcSPI_DevCtrl, instance, code, p, 0);
5486  }
5487 #else
5488  #define EvrFsMcSPI_DevCtrl(instance, code, p)
5489 #endif
5490 
5496 #ifdef EvtFsMcSPI_DevCtrlUnsupported
5497  __STATIC_INLINE void EvrFsMcSPI_DevCtrlUnsupported (uint32_t instance, uint32_t code) {
5498  EventRecord2 (EvtFsMcSPI_DevCtrlUnsupported, instance, code);
5499  }
5500 #else
5501  #define EvrFsMcSPI_DevCtrlUnsupported(instance, code)
5502 #endif
5503 
5508 #ifdef EvtFsMcSPI_LockUnlockExec
5509  __STATIC_INLINE void EvrFsMcSPI_LockUnlockExec (uint32_t instance) {
5510  EventRecord2 (EvtFsMcSPI_LockUnlockExec, instance, 0);
5511  }
5512 #else
5513  #define EvrFsMcSPI_LockUnlockExec(instance)
5514 #endif
5515 
5520 #ifdef EvtFsMcSPI_LockUnlockExecError
5522  EventRecord2 (EvtFsMcSPI_LockUnlockExecError, instance, 0);
5523  }
5524 #else
5525  #define EvrFsMcSPI_LockUnlockExecError(instance)
5526 #endif
5527 
5532 #ifdef EvtFsMcSPI_LockActive
5533  __STATIC_INLINE void EvrFsMcSPI_LockActive (uint32_t instance) {
5534  EventRecord2 (EvtFsMcSPI_LockActive, instance, 0);
5535  }
5536 #else
5537  #define EvrFsMcSPI_LockActive(instance)
5538 #endif
5539 
5544 #ifdef EvtFsMcSPI_LockDeactivated
5545  __STATIC_INLINE void EvrFsMcSPI_LockDeactivated (uint32_t instance) {
5546  EventRecord2 (EvtFsMcSPI_LockDeactivated, instance, 0);
5547  }
5548 #else
5549  #define EvrFsMcSPI_LockDeactivated(instance)
5550 #endif
5551 
5557 #ifdef EvtFsMcSPI_BusSpeedControl
5558  __STATIC_INLINE void EvrFsMcSPI_BusSpeedControl (uint32_t instance, uint32_t speed) {
5559  EventRecord2 (EvtFsMcSPI_BusSpeedControl, instance, speed);
5560  }
5561 #else
5562  #define EvrFsMcSPI_BusSpeedControl(instance, speed)
5563 #endif
5564 
5569 #ifdef EvtFsMcSPI_SlaveSelCtrlMissing
5571  EventRecord2 (EvtFsMcSPI_SlaveSelCtrlMissing, instance, 0);
5572  }
5573 #else
5574  #define EvrFsMcSPI_SlaveSelCtrlMissing(instance)
5575 #endif
5576 
5581 #ifdef EvtFsMcSPI_ReadWpMissing
5582  __STATIC_INLINE void EvrFsMcSPI_ReadWpMissing (uint32_t instance) {
5583  EventRecord2 (EvtFsMcSPI_ReadWpMissing, instance, 0);
5584  }
5585 #else
5586  #define EvrFsMcSPI_ReadWpMissing(instance)
5587 #endif
5588 
5593 #ifdef EvtFsMcSPI_ReadCdMissing
5594  __STATIC_INLINE void EvrFsMcSPI_ReadCdMissing (uint32_t instance) {
5595  EventRecord2 (EvtFsMcSPI_ReadCdMissing, instance, 0);
5596  }
5597 #else
5598  #define EvrFsMcSPI_ReadCdMissing(instance)
5599 #endif
5600 
5605 #ifdef EvtFsMcSPI_CrcDisableError
5606  __STATIC_INLINE void EvrFsMcSPI_CrcDisableError (uint32_t instance) {
5607  EventRecord2 (EvtFsMcSPI_CrcDisableError, instance, 0);
5608  }
5609 #else
5610  #define EvrFsMcSPI_CrcDisableError(instance)
5611 #endif
5612 
5618 #ifdef EvtFsMcSPI_DriverSendError
5619  __STATIC_INLINE void EvrFsMcSPI_DriverSendError (uint32_t instance, uint32_t event) {
5620  EventRecord2 (EvtFsMcSPI_DriverSendError, instance, event);
5621  }
5622 #else
5623  #define EvrFsMcSPI_DriverSendError(instance, event)
5624 #endif
5625 
5631 #ifdef EvtFsMcSPI_DriverReceiveError
5632  __STATIC_INLINE void EvrFsMcSPI_DriverReceiveError (uint32_t instance, uint32_t event) {
5633  EventRecord2 (EvtFsMcSPI_DriverReceiveError, instance, event);
5634  }
5635 #else
5636  #define EvrFsMcSPI_DriverReceiveError(instance, event)
5637 #endif
5638 
5645 #ifdef EvtFsMcSPI_CmdSendError
5646  __STATIC_INLINE void EvrFsMcSPI_CmdSendError (uint32_t instance, uint32_t cmd, uint32_t arg) {
5647  EventRecord4 (EvtFsMcSPI_CmdSendError, instance, cmd, arg, 0);
5648  }
5649 #else
5650  #define EvrFsMcSPI_CmdSendError(instance, cmd, arg)
5651 #endif
5652 
5658 #ifdef EvtFsMcSPI_CmdResponseError
5659  __STATIC_INLINE void EvrFsMcSPI_CmdResponseError (uint32_t instance, uint32_t cmd) {
5660  EventRecord2 (EvtFsMcSPI_CmdResponseError, instance, cmd);
5661  }
5662 #else
5663  #define EvrFsMcSPI_CmdResponseError(instance, cmd)
5664 #endif
5665 
5671 #ifdef EvtFsMcSPI_ACmdResponseError
5672  __STATIC_INLINE void EvrFsMcSPI_ACmdResponseError (uint32_t instance, uint32_t cmd) {
5673  EventRecord2 (EvtFsMcSPI_ACmdResponseError, instance, cmd);
5674  }
5675 #else
5676  #define EvrFsMcSPI_ACmdResponseError(instance, cmd)
5677 #endif
5678 
5683 #ifdef EvtFsMcSPI_ParameterInvalid
5685  EventRecord2 (EvtFsMcSPI_ParameterInvalid, instance, 0);
5686  }
5687 #else
5688  #define EvrFsMcSPI_ParameterInvalid(instance)
5689 #endif
5690 
5695 #ifdef EvtFsMcSPI_MediaPasswordEnabled
5697  EventRecord2 (EvtFsMcSPI_MediaPasswordEnabled, instance, 0);
5698  }
5699 #else
5700  #define EvrFsMcSPI_MediaPasswordEnabled(instance)
5701 #endif
#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:1236
#define EvtFsIOC_GetCache
Definition: fs_evr.h:240
__STATIC_INLINE void EvrFsFAT_CountFreeClus(uint32_t drive)
Event on count number of free clusters operation (Op)
Definition: fs_evr.h:1138
#define EvtFsEFS_DataAreaOverlap
Definition: fs_evr.h:211
#define EvtFsMcSPI_ACmdResponseError
Definition: fs_evr.h:456
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExecError(uint32_t instance)
Event on Lock/Unlock command execution error (Error)
Definition: fs_evr.h:4899
__STATIC_INLINE void EvrFsIOC_Unlock(uint32_t drv_id)
Event on call of fs_ioc_unlock function (API)
Definition: fs_evr.h:2937
#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:606
#define EvtFsFAT_PathIsDirNotFile
Definition: fs_evr.h:116
#define EvtFsEFS_UnmountDrive
Definition: fs_evr.h:180
__STATIC_INLINE void EvrFsFAT_DirEntryAllocFailed(uint32_t drive, uint32_t dir_clus)
Event on directory entry allocation error (Error)
Definition: fs_evr.h:1569
#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:494
#define EvtFsMcSPI_MediaNotInitialized
Definition: fs_evr.h:417
#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:4507
#define EvtFsFAT_FileClose
Definition: fs_evr.h:133
#define EvtFsNFTL_WriteSector
Definition: fs_evr.h:286
__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:3006
__STATIC_INLINE void EvrFsFAT_MountDrive(uint32_t drive)
Event on FAT drive mount operation (Op)
Definition: fs_evr.h:918
#define EvtFsEFS_FormatDriveSuccess
Definition: fs_evr.h:183
__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:2784
#define EvtFsFAT_GetFreeSpace
Definition: fs_evr.h:154
#define EvtFsNAND_DriverEccInquire
Definition: fs_evr.h:338
__STATIC_INLINE void EvrFsMcSPI_ReadInfo(uint32_t instance)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:5457
__STATIC_INLINE void EvrFsFAT_VolumeWriteStatError(uint32_t drive)
Event on FAT volume write protection active status error (Error)
Definition: fs_evr.h:978
__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:3021
#define EvtFsNFTL_DevCtrlUnsupported
Definition: fs_evr.h:279
__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:3066
#define EvtFsMcSPI_MediaWpActive
Definition: fs_evr.h:420
__STATIC_INLINE void EvrFsEFS_FileSeek(uint32_t h, uint32_t pos)
Event on EFS file seek (Op)
Definition: fs_evr.h:2465
__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:3079
#define EvtFsEFS_FlashWriteFailed
Definition: fs_evr.h:220
__STATIC_INLINE void EvrFsMcMCI_DeviceStateInvalid(uint32_t instance, uint32_t state)
Event on discovery of invalid device state (Error)
Definition: fs_evr.h:4949
#define EvtFsMcMCI_CardPowerControl
Definition: fs_evr.h:403
#define EvtFsMcSPI_InitDriverSuccess
Definition: fs_evr.h:412
#define EvtFsNFTL_PageProgramStatusErr
Definition: fs_evr.h:307
#define EvtFsMcMCI_UninitDriver
Definition: fs_evr.h:380
#define EvtFsMcMCI_LockUnlockExec
Definition: fs_evr.h:392
#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:2770
__STATIC_INLINE void EvrFsEFS_DriveCheckSuccess(uint32_t drive)
Event on EFS drive check completed without errors (Error)
Definition: fs_evr.h:2604
__STATIC_INLINE void EvrFsEFS_FormatDriveSuccess(uint32_t drive)
Event on successful EFS drive format operation (Op)
Definition: fs_evr.h:2260
__STATIC_INLINE void EvrFsMcMCI_LockUnlockExec(uint32_t instance)
Event on Lock/Unlock command execution (Op)
Definition: fs_evr.h:4887
__STATIC_INLINE void EvrFsFAT_FileSeek(uint32_t h, uint32_t pos)
Event on FAT file seek (Op)
Definition: fs_evr.h:1695
__STATIC_INLINE void EvrFsFAT_InvalidMBR(uint32_t drive)
Event on invalid Master Boot Record (Error)
Definition: fs_evr.h:1015
__STATIC_INLINE void EvrFsFAT_ChDirSuccess(uint32_t drive, const char *path)
Event on successful FAT directory remove operation (Op)
Definition: fs_evr.h:1843
#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:1642
#define EvtFsMcSPI_CidReadError
Definition: fs_evr.h:430
__STATIC_INLINE void EvrFsMcMCI_MediaWpInactive(uint32_t instance)
Event on inactive write protection switch (Op)
Definition: fs_evr.h:4483
__STATIC_INLINE void EvrFsFAT_FormatLowLevel(uint32_t drive)
Event on FAT media low level format operation (Op)
Definition: fs_evr.h:1248
#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:1040
__STATIC_INLINE void EvrFsMcSPI_MediaResetError(uint32_t instance)
Event on memory card device reset error (Op)
Definition: fs_evr.h:5253
__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:2976
#define EvtFsEFS_OpenModeUnsupported
Definition: fs_evr.h:190
#define EvtFsNFTL_ReadInfoSuccess
Definition: fs_evr.h:277
#define EvtFsCore_fattrib
Definition: fs_evr.h:53
#define EvtFsIOC_ReadInfoSuccess
Definition: fs_evr.h:249
#define EvtFsCore_CurrentDriveSelect
Definition: fs_evr.h:68
#define EvtFsIOC_ReadInfoError
Definition: fs_evr.h:250
#define EvtFsNFTL_TableUpdate
Definition: fs_evr.h:315
__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:3946
#define EvtFsCore_sys_open
Definition: fs_evr.h:38
__STATIC_INLINE void EvrFsMcMCI_TransferAbort(uint32_t instance)
Event on data transfer abort operation (Op)
Definition: fs_evr.h:4975
__STATIC_INLINE void EvrFsFAT_InitJournalFATError(uint32_t drive)
Event on invalid FAT formatting to complete journal initialization (Error)
Definition: fs_evr.h:1617
__STATIC_INLINE void EvrFsEFS_OpenModeInvalid(uint32_t h, uint32_t flags)
Event on invalid EFS file handle open mode (Error)
Definition: fs_evr.h:2452
__STATIC_INLINE void EvrFsMcMCI_HighSpeedSwitchError(uint32_t instance)
Event on high speed mode switch error (Error)
Definition: fs_evr.h:4665
#define EvtFsFAT_WriteFSInfo
Definition: fs_evr.h:93
#define EvtFsFAT_DriverNotInitialized
Definition: fs_evr.h:159
#define EvtFsNFTL_SetupSpareLayout
Definition: fs_evr.h:321
__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:1340
#define EvtFsMcMCI_LockUnlockExecError
Definition: fs_evr.h:393
__STATIC_INLINE void EvrFsMcSPI_UninitMedia(uint32_t instance)
Event on memory card device uninitialization (Op)
Definition: fs_evr.h:5389
__STATIC_INLINE void EvrFsFAT_DriverNotInitialized(uint32_t drive)
Event on EFS when media driver is not initialized (Error)
Definition: fs_evr.h:1973
#define EvtFsMcSPI_MediaCdInactive
Definition: fs_evr.h:419
__STATIC_INLINE void EvrFsNFTL_PageWrite(uint32_t instance, uint32_t pbn, uint32_t pg)
Event on page write (Op)
Definition: fs_evr.h:4019
#define EvtFsMcSPI_MediaReady
Definition: fs_evr.h:426
#define EvtFsCore_frmdir
Definition: fs_evr.h:57
__STATIC_INLINE void EvrFsEFS_FlashEraseChipTimeout(uint32_t drive)
Event on Flash chip erase operation timeout (Error)
Definition: fs_evr.h:2296
__STATIC_INLINE void EvrFsFAT_VolumeReadyStatError(uint32_t drive)
Event on FAT volume ready status error (Error)
Definition: fs_evr.h:966
__STATIC_INLINE void EvrFsNFTL_FormatLLEB(uint32_t instance)
Event on NFTL format operation with option LLEB (Op)
Definition: fs_evr.h:3474
__STATIC_INLINE void EvrFsMcSPI_ReadCdMissing(uint32_t instance)
Event on missing fs_mc_read_cd function (Op)
Definition: fs_evr.h:5594
__STATIC_INLINE void EvrFsNFTL_PageReadFailed(uint32_t instance, uint32_t row)
Event on NAND page read error (Error)
Definition: fs_evr.h:3800
__STATIC_INLINE void EvrFsCore_frename(const char *path, const char *newname)
Event on file or directory rename (API)
Definition: fs_evr.h:645
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionError(uint32_t instance)
Event on media device detection error (Error)
Definition: fs_evr.h:5326
__STATIC_INLINE void EvrFsMcMCI_MediaNoResponse(uint32_t instance)
Event on nonresponsive media device (Error)
Definition: fs_evr.h:4544
#define EvtFsMcMCI_ExtCsdReadError
Definition: fs_evr.h:375
#define EvtFsFAT_ReadBootSector
Definition: fs_evr.h:86
#define EvtFsFAT_PathIsTooLong
Definition: fs_evr.h:115
__STATIC_INLINE void EvrFsFAT_MountDriveSuccess(uint32_t drive)
Event on successful mount of a FAT drive (Op)
Definition: fs_evr.h:1150
#define EvtFsNAND_DriverDevPowerSelect
Definition: fs_evr.h:337
__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:3692
__STATIC_INLINE void EvrFsCore_fpwd(const char *drive, char *buf, uint32_t len)
Event on working directory retrieval (API)
Definition: fs_evr.h:672
#define EvtFsFAT_DirRemove
Definition: fs_evr.h:146
#define EvtFsMcSPI_SectorWriteError
Definition: fs_evr.h:438
#define EvtFsNAND_InitDriver
Definition: fs_evr.h:331
__STATIC_INLINE void EvrFsNFTL_ReadTableFailed(uint32_t instance)
Event on NFTL (Error)
Definition: fs_evr.h:3349
#define EvtFsMcSPI_MediaWpInactive
Definition: fs_evr.h:421
__STATIC_INLINE void EvrFsEFS_InitDrive(uint32_t drive)
Event on EFS drive initialization (Op)
Definition: fs_evr.h:2098
__STATIC_INLINE void EvrFsIOC_DriveNotFAT(uint32_t drv_id)
Event on non-FAT drive specifier (Error)
Definition: fs_evr.h:3156
__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:3918
__STATIC_INLINE void EvrFsFAT_DiskFull(uint32_t drive)
Event on out of free space error (Error)
Definition: fs_evr.h:1556
__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:1763
__STATIC_INLINE void EvrFsEFS_UnmountDriveSuccess(uint32_t drive)
Event on successful EFS drive unmount operation (Op)
Definition: fs_evr.h:2236
__STATIC_INLINE void EvrFsNFTL_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:3903
__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:2026
#define EvtFsMcMCI_InitDriverError
Definition: fs_evr.h:354
__STATIC_INLINE void EvrFsMcSPI_DriverReceiveError(uint32_t instance, uint32_t event)
Event on SPI driver Receive function error (Error)
Definition: fs_evr.h:5632
__STATIC_INLINE void EvrFsMcMCI_InitDriver(uint32_t instance, uint32_t driver)
Event on memory card driver initialization (Op)
Definition: fs_evr.h:4384
__STATIC_INLINE void EvrFsEFS_FileInUse(uint32_t h)
Event on EFS file busy (Error)
Definition: fs_evr.h:2713
__STATIC_INLINE void EvrFsCore_sys_open(const char *name, int openmode)
Event on file open (API)
Definition: fs_evr.h:468
__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:1817
#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:2479
__STATIC_INLINE void EvrFsMcMCI_RcaWriteError(uint32_t instance)
Event on RCA (Relative Card Address) register write error (Error)
Definition: fs_evr.h:4604
#define EvtFsNAND_BlockErase
Definition: fs_evr.h:345
__STATIC_INLINE void EvrFsNFTL_BlockEraseTimeout(uint32_t instance, uint32_t row)
Event on NAND block erase timeout (Error)
Definition: fs_evr.h:3878
#define EvtFsMcMCI_SectorReadError
Definition: fs_evr.h:383
__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:5290
__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:508
#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:3337
#define EvtFsNFTL_ResetDeviceTimeout
Definition: fs_evr.h:265
__STATIC_INLINE void EvrFsFAT_InvalidFSInfo(uint32_t drive)
Event on invalid FAT FSInfo signature (Error)
Definition: fs_evr.h:1089
#define EvtFsMcMCI_DeviceStateInvalid
Definition: fs_evr.h:397
#define EvtFsFAT_InitJournalSuccess
Definition: fs_evr.h:131
#define EvtFsNFTL_WriteSectorSuccess
Definition: fs_evr.h:287
__STATIC_INLINE void EvrFsNFTL_SetBadBlockMarker(uint32_t instance, uint32_t pbn)
Event on setting NAND block as bad (Op)
Definition: fs_evr.h:3734
__STATIC_INLINE void EvrFsFAT_UnmountDrive(uint32_t drive)
Event on FAT drive unmount operation (Op)
Definition: fs_evr.h:1162
#define EvtFsMcMCI_TransferAbort
Definition: fs_evr.h:399
__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:3706
#define EvtFsMcMCI_RcaReadError
Definition: fs_evr.h:370
#define EvtFsNFTL_BlockEraseFailed
Definition: fs_evr.h:311
__STATIC_INLINE void EvrFsFAT_PathIsDirNotFile(uint32_t drive)
Event on FAT directory found instead of file (Error)
Definition: fs_evr.h:1419
__STATIC_INLINE void EvrFsMcSPI_CmdSendError(uint32_t instance, uint32_t cmd, uint32_t arg)
Event on command send error (Error)
Definition: fs_evr.h:5646
__STATIC_INLINE void EvrFsCore_fchdrive(const char *drive)
Event on current drive change (API)
Definition: fs_evr.h:721
__STATIC_INLINE void EvrFsNAND_Uninit(uint32_t instance)
Event on NAND media layer uninitialization (Op)
Definition: fs_evr.h:4275
#define EvtFsNFTL_ReadBootBlockFailed
Definition: fs_evr.h:267
#define EvtFsIOC_GetId
Definition: fs_evr.h:233
#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:2173
__STATIC_INLINE void EvrFsMcSPI_BlenWriteError(uint32_t instance, uint32_t blen)
Event on failed block length setting (Error)
Definition: fs_evr.h:5363
#define EvtFsFAT_FileFind
Definition: fs_evr.h:157
#define EvtFsCore_finit
Definition: fs_evr.h:45
__STATIC_INLINE void EvrFsIOC_LockSuccess(uint32_t drv_id)
Event on successful drive lock operation (Op)
Definition: fs_evr.h:2925
__STATIC_INLINE void EvrFsFAT_PathBufferToSmall(uint32_t drive)
Event on directory/file path buffer size error (Error)
Definition: fs_evr.h:1581
#define EvtFsIOC_ReadSectorError
Definition: fs_evr.h:244
__STATIC_INLINE void EvrFsMcMCI_MediaReset(uint32_t instance)
Event on memory card device reset (Op)
Definition: fs_evr.h:4495
__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:4532
#define EvtFsMcMCI_SendCommandError
Definition: fs_evr.h:404
#define EvtFsMcSPI_SectorRead
Definition: fs_evr.h:435
__STATIC_INLINE void EvrFsCore_fchdir(const char *path)
Event on working directory change (API)
Definition: fs_evr.h:684
#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:833
__STATIC_INLINE void EvrFsNFTL_ReadBootBlockFailed(uint32_t instance)
Event on NFTL boot block error (Error)
Definition: fs_evr.h:3288
__STATIC_INLINE void EvrFsFAT_SectorReadFailed(uint32_t drive, uint32_t sector, uint32_t count)
Event on sector read error (Error)
Definition: fs_evr.h:1530
#define EvtFsEFS_FileInUse
Definition: fs_evr.h:219
__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:5068
#define EvtFsEFS_FileOpen
Definition: fs_evr.h:188
#define EvtFsFAT_ClearRootSectors
Definition: fs_evr.h:110
__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:2085
__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:2740
__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:3677
__STATIC_INLINE void EvrFsMcMCI_InitDriverError(uint32_t instance, uint32_t driver)
Event on memory card driver initialization error (Op)
Definition: fs_evr.h:4397
__STATIC_INLINE void EvrFsMcSPI_MediaPasswordEnabled(uint32_t instance)
Event on detection of enabled media password protection (Error)
Definition: fs_evr.h:5696
#define EvtFsEFS_DiskFull
Definition: fs_evr.h:224
__STATIC_INLINE void EvrFsEFS_FileHandleInvalid(uint32_t h)
Event on invalid handle (Error)
Definition: fs_evr.h:2701
__STATIC_INLINE void EvrFsFAT_WriteBootSector(uint32_t drive, uint32_t sector)
Event on Boot Sector write operation (Op)
Definition: fs_evr.h:1298
__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:3974
#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:4677
__STATIC_INLINE void EvrFsFAT_InvalidFAT(uint32_t drive)
Event on invalid FAT volume description (Error)
Definition: fs_evr.h:1064
__STATIC_INLINE void EvrFsMcMCI_RcaReadError(uint32_t instance)
Event on RCA (Relative Card Address) register read error (Error)
Definition: fs_evr.h:4592
__STATIC_INLINE void EvrFsFAT_PathProcessing(uint32_t drive, const char *path)
Event on FAT path processing (Op)
Definition: fs_evr.h:1468
__STATIC_INLINE void EvrFsFAT_PathInvalidChar(const char ch)
Event on invalid FAT path character (Error)
Definition: fs_evr.h:1395
#define EvtFsFAT_ReadMBR
Definition: fs_evr.h:83
#define EvtFsFAT_WriteMBR
Definition: fs_evr.h:106
#define EvtFsNFTL_Init
Definition: fs_evr.h:258
#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:696
#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:1605
#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:4301
#define EvtFsEFS_FreeSpaceAmount
Definition: fs_evr.h:206
#define EvtFsEFS_UnmountDriveSuccess
Definition: fs_evr.h:181
__STATIC_INLINE void EvrFsCore_sys_seek(int fh, long pos)
Event on file position move (API)
Definition: fs_evr.h:521
#define EvtFsMcMCI_MediaDetectionError
Definition: fs_evr.h:368
#define EvtFsMcMCI_MediaNoResponse
Definition: fs_evr.h:366
__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:2199
#define EvtFsFAT_FileModeRead
Definition: fs_evr.h:156
#define EvtFsCore_fpwd
Definition: fs_evr.h:54
__STATIC_INLINE void EvrFsEFS_FileClose(uint32_t h)
Event on EFS file close (Op)
Definition: fs_evr.h:2362
__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:1709
__STATIC_INLINE void EvrFsEFS_UninitDriver(uint32_t drive, uint32_t driver)
Event on EFS driver uninitialization (Op)
Definition: fs_evr.h:2149
__STATIC_INLINE void EvrFsNFTL_AllocatedBlock(uint32_t instance, uint32_t pbn)
Event on successful block allocation (Op)
Definition: fs_evr.h:3931
#define EvtFsCore_finfo
Definition: fs_evr.h:65
__STATIC_INLINE void EvrFsNFTL_Uninit(uint32_t instance)
Event on NFTL device uninitialization (Op)
Definition: fs_evr.h:3361
#define EvtFsMcSPI_ParameterInvalid
Definition: fs_evr.h:457
#define EvtFsIOC_ReadSectorSuccess
Definition: fs_evr.h:243
#define EvtFsMcMCI_CsdReadError
Definition: fs_evr.h:372
#define EvtFsNFTL_LsnFind
Definition: fs_evr.h:297
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionSD(uint32_t instance)
Event on start of SD memory card detection operation (Op)
Definition: fs_evr.h:5265
#define EvtFsEFS_FileRead
Definition: fs_evr.h:193
__STATIC_INLINE void EvrFsNFTL_BBMPositionSet(uint32_t instance, uint32_t pos)
Event on NFTL bad block position setting (Op)
Definition: fs_evr.h:3487
#define EvtFsEFS_FileName
Definition: fs_evr.h:228
#define EvtFsEFS_FlashGetInfo
Definition: fs_evr.h:177
__STATIC_INLINE void EvrFsCore_finfo(const char *drive, fsDriveInfo *info)
Event on drive information read (API)
Definition: fs_evr.h:807
__STATIC_INLINE void EvrFsFAT_FileOpen(uint32_t h, const char *path, uint32_t openmode)
Event on FAT file open (Op)
Definition: fs_evr.h:1383
#define EvtFsNFTL_LbnOutOfRange
Definition: fs_evr.h:292
#define EvtFsCore_fvol
Definition: fs_evr.h:66
__STATIC_INLINE void EvrFsFAT_FileHandleUnavailable(uint32_t drive)
Event on FAT file handle not available (Error)
Definition: fs_evr.h:1480
__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:4088
__STATIC_INLINE void EvrFsMcSPI_MediaCdInactive(uint32_t instance)
Event on card detect switch check and media is not present (Op)
Definition: fs_evr.h:5205
__STATIC_INLINE void EvrFsFAT_ResetHandles(uint32_t drive)
Event on reset of all FAT file handles (Op)
Definition: fs_evr.h:1210
#define EvtFsNFTL_DeviceNotInitialized
Definition: fs_evr.h:262
#define EvtFsEFS_MountDriveSuccess
Definition: fs_evr.h:176
#define EvtFsMcMCI_HighSpeedSwitchError
Definition: fs_evr.h:376
#define EvtFsMcMCI_InitDriver
Definition: fs_evr.h:353
#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:5533
__STATIC_INLINE void EvrFsFAT_InvalidNextClusFSInfo(uint32_t drive)
Event on invalid next free cluster in FAT FSInfo signature (Error)
Definition: fs_evr.h:1113
#define EvtFsMcMCI_InitMedia
Definition: fs_evr.h:356
__STATIC_INLINE void EvrFsMcMCI_MediaCdInactive(uint32_t instance)
Event on card detect switch check and media is not present (Op)
Definition: fs_evr.h:4459
__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:4154
#define EvtFsFAT_UninitDrive
Definition: fs_evr.h:75
#define EvtFsMcMCI_TransferSetupError
Definition: fs_evr.h:386
__STATIC_INLINE void EvrFsCore_funmount(const char *drive)
Event on drive unmount (API)
Definition: fs_evr.h:594
#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:1986
__STATIC_INLINE void EvrFsMcSPI_SectorRead(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation (Op)
Definition: fs_evr.h:5403
#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:5350
__STATIC_INLINE void EvrFsMcSPI_MediaWpActive(uint32_t instance)
Event on active write protection switch (Op)
Definition: fs_evr.h:5217
__STATIC_INLINE void EvrFsEFS_InvalidParameter(uint32_t drive)
Event on EFS invalid function parameter error (Error)
Definition: fs_evr.h:2796
#define EvtFsMcSPI_DevCtrl
Definition: fs_evr.h:441
__STATIC_INLINE void EvrFsEFS_FileRename(uint32_t drive, const char *path, const char *newname)
Event on EFS file rename (Op)
Definition: fs_evr.h:2506
#define EvtFsEFS_InvalidParameter
Definition: fs_evr.h:225
__STATIC_INLINE void EvrFsCore_frmdir(const char *path, const char *options)
Event on directory remove (API)
Definition: fs_evr.h:709
#define EvtFsEFS_UninitDrive
Definition: fs_evr.h:173
__STATIC_INLINE void EvrFsFAT_ChDir(uint32_t drive, const char *path)
Event on FAT current directory change (Op)
Definition: fs_evr.h:1830
#define EvtFsFAT_FormatDrive
Definition: fs_evr.h:98
#define EvrFsEFS_DriveNotInitialized(drive)
Event on EFS when media driver is not initialized (Error)
Definition: fs_evr.h:2824
#define EvtFsNFTL_Mount
Definition: fs_evr.h:260
#define EvtFsIOC_DeviceControl
Definition: fs_evr.h:251
__STATIC_INLINE void EvrFsNFTL_BlockErase(uint32_t instance, uint32_t pbn)
Event on block erase (Op)
Definition: fs_evr.h:4046
__STATIC_INLINE void EvrFsNAND_DeviceReset(uint32_t instance)
Event on NAND device reset operation (Op)
Definition: fs_evr.h:4371
#define EvtFsEFS_FileHandleInvalid
Definition: fs_evr.h:218
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExecError(uint32_t instance)
Event on Lock/Unlock command execution error (Error)
Definition: fs_evr.h:5521
#define EvtFsCore_sys_read
Definition: fs_evr.h:41
__STATIC_INLINE void EvrFsMcSPI_SectorWrite(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation (Op)
Definition: fs_evr.h:5431
#define EvtFsIOC_LockSuccess
Definition: fs_evr.h:237
#define EvtFsMcMCI_LockActive
Definition: fs_evr.h:394
__STATIC_INLINE void EvrFsNFTL_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on succesful media capacity retrieval (Op)
Definition: fs_evr.h:3411
__STATIC_INLINE void EvrFsMcSPI_ACmdResponseError(uint32_t instance, uint32_t cmd)
Event on missing or invalid application command response (Error)
Definition: fs_evr.h:5672
#define EvtFsCore_fdefrag
Definition: fs_evr.h:63
#define EvtFsIOC_UnlockSuccess
Definition: fs_evr.h:239
#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:2991
__STATIC_INLINE void EvrFsMcMCI_LockDeactivated(uint32_t instance)
Event on deactivated password protection status (Op)
Definition: fs_evr.h:4923
__STATIC_INLINE void EvrFsNAND_Init(uint32_t instance)
Event on NAND media layer initialization (Op)
Definition: fs_evr.h:4100
#define EvtFsNFTL_LoadSector
Definition: fs_evr.h:317
#define EvtFsEFS_FileIdInvalid
Definition: fs_evr.h:212
#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:3204
#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:4331
__STATIC_INLINE void EvrFsMcSPI_MediaWpInactive(uint32_t instance)
Event on inactive write protection switch (Op)
Definition: fs_evr.h:5229
__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:1369
#define EvtFsMcSPI_ReadInfo
Definition: fs_evr.h:439
#define EvtFsEFS_FlashReadFailed
Definition: fs_evr.h:221
__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:2310
#define EvtFsMcMCI_DevCtrlUnsupported
Definition: fs_evr.h:391
__STATIC_INLINE void EvrFsMcSPI_MediaDetectionMMC(uint32_t instance)
Event on start of MMC/eMMC device detection procedure (Op)
Definition: fs_evr.h:5314
#define EvtFsIOC_WriteSectorSuccess
Definition: fs_evr.h:246
#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:2949
#define EvtFsIOC_GetCacheSuccess
Definition: fs_evr.h:241
#define EvtFsEFS_FlashEraseChip
Definition: fs_evr.h:184
__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:2755
__STATIC_INLINE void EvrFsMcMCI_TranStateError(uint32_t instance)
Event on failed switch to TRAN state (Error)
Definition: fs_evr.h:4628
#define EvtFsMcSPI_CmdResponseError
Definition: fs_evr.h:455
#define EvtFsNAND_DeviceTimeoutError
Definition: fs_evr.h:342
#define EvtFsCore_fcheck
Definition: fs_evr.h:62
#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:4714
__STATIC_INLINE void EvrFsMcMCI_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:5080
__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:4755
#define EvtFsCore_ffree
Definition: fs_evr.h:59
#define EvtFsCore_fchdrive
Definition: fs_evr.h:58
__STATIC_INLINE void EvrFsMcMCI_BlenWriteError(uint32_t instance, uint32_t blen)
Event on failed block length setting (Error)
Definition: fs_evr.h:4641
#define EvtFsNFTL_PageReadFailed
Definition: fs_evr.h:306
__STATIC_INLINE void EvrFsNFTL_UninitDriverFailed(uint32_t instance)
Event on NFTL driver uninitialization error (Error)
Definition: fs_evr.h:3385
__STATIC_INLINE void EvrFsFAT_GetFreeSpace(uint32_t drive)
Event on FAT free space retrieve request (Op)
Definition: fs_evr.h:1911
__STATIC_INLINE void EvrFsMcMCI_MediaNotInitialized(uint32_t instance)
Event on using uninitialized memory card device (Error)
Definition: fs_evr.h:4435
__STATIC_INLINE void EvrFsNFTL_PageProgramStatusErr(uint32_t instance, uint32_t row)
Event on invalid page program status value (Error)
Definition: fs_evr.h:3813
#define EvtFsIOC_ReadSector
Definition: fs_evr.h:242
__STATIC_INLINE void EvrFsCore_fattrib(const char *path, const char *attr)
Event on file or directory attribute change (API)
Definition: fs_evr.h:658
#define EvtFsEFS_FileOpenWriteMode
Definition: fs_evr.h:194
#define EvtFsFAT_MountDrive
Definition: fs_evr.h:76
#define EvtFsEFS_FileSeek
Definition: fs_evr.h:199
__STATIC_INLINE void EvrFsMcMCI_InitMedia(uint32_t instance)
Event on memory card device initialization (Op)
Definition: fs_evr.h:4423
#define EvrFsNFTL_BootSignatureInvalid(instance)
Event on NFTL invalid boot signatures (Op)
Definition: fs_evr.h:3316
#define EvtFsCore_fmount
Definition: fs_evr.h:47
#define EvtFsFAT_FileOpen
Definition: fs_evr.h:113
#define EvtFsMcSPI_MediaReset
Definition: fs_evr.h:422
#define EvtFsEFS_MountDrive
Definition: fs_evr.h:175
__STATIC_INLINE void EvrFsMcSPI_MediaReset(uint32_t instance)
Event on start of memory card device reset operation (Op)
Definition: fs_evr.h:5241
__STATIC_INLINE void EvrFsMcMCI_SleepActive(uint32_t instance)
Event on SLEEP mode active status (Op)
Definition: fs_evr.h:4999
__STATIC_INLINE void EvrFsNFTL_DevCtrlUnsupported(uint32_t instance, uint32_t code)
Event on NFTL device control code unsupported error (Error)
Definition: fs_evr.h:3438
__STATIC_INLINE void EvrFsFAT_SectorWriteFailed(uint32_t drive, uint32_t sector, uint32_t count)
Event on sector write error (Error)
Definition: fs_evr.h:1544
__STATIC_INLINE void EvrFsNFTL_InitMediaFailed(uint32_t instance)
Event on NFTL memory media initialization error (Error)
Definition: fs_evr.h:3192
__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:1871
#define EvtFsNFTL_RelocateBlock
Definition: fs_evr.h:303
#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:4059
#define EvtFsNAND_DriverBusWidthSelect
Definition: fs_evr.h:335
#define EvtFsMcMCI_MediaPasswordEnabled
Definition: fs_evr.h:408
__STATIC_INLINE void EvrFsEFS_FileOpenReadMode(uint32_t h)
Event on EFS when writing to read only file (Error)
Definition: fs_evr.h:2427
#define EvrFsMcMCI_TransferError(instance, events)
Event on transfer setup error (Op)
Definition: fs_evr.h:4814
__STATIC_INLINE void EvrFsFAT_MediaInitStatError(uint32_t drive)
Event on FAT media init status error (Error)
Definition: fs_evr.h:954
__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:2962
#define EvtFsNFTL_PageProgramFailed
Definition: fs_evr.h:308
__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:4359
__STATIC_INLINE void EvrFsNFTL_AllocateBlock(uint32_t instance, uint32_t area)
Event on NAND block allocation operation (Op)
Definition: fs_evr.h:3663
__STATIC_INLINE void EvrFsNFTL_MoveData(uint32_t instance, uint32_t src, uint32_t dst)
Event on block content move (Op)
Definition: fs_evr.h:3748
__STATIC_INLINE void EvrFsMcMCI_DeviceStateUnknown(uint32_t instance, uint32_t state)
Event on discovery of unknown device state (Error)
Definition: fs_evr.h:4936
#define EvtFsFAT_SectorWriteFailed
Definition: fs_evr.h:126
#define EvtFsFAT_NameCacheEntryFound
Definition: fs_evr.h:165
#define EvtFsMcSPI_MediaDetectionError
Definition: fs_evr.h:429
__STATIC_INLINE void EvrFsMcMCI_AwakeActive(uint32_t instance)
Event on AWAKE mode active status (Op)
Definition: fs_evr.h:5011
#define EvtFsEFS_FileWrite
Definition: fs_evr.h:195
#define EvtFsEFS_FileClose
Definition: fs_evr.h:191
__STATIC_INLINE void EvrFsNFTL_WriteSectorSuccess(uint32_t instance)
Event on successful NFTL write sector operation (Op)
Definition: fs_evr.h:3540
__STATIC_INLINE void EvrFsNFTL_ResetDevice(uint32_t instance)
Event on NAND device reset (Op)
Definition: fs_evr.h:3240
__STATIC_INLINE void EvrFsFAT_FormatDrive(uint32_t drive)
Event on FAT drive format operation (Op)
Definition: fs_evr.h:1186
__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:5417
#define EvtFsMcSPI_ReadCdMissing
Definition: fs_evr.h:449
#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:4182
#define EvtFsNFTL_StatusRead
Definition: fs_evr.h:325
__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:2070
__STATIC_INLINE void EvrFsEFS_FileHandleActive(uint32_t drive, uint32_t h)
Event (Error)
Definition: fs_evr.h:2677
#define EvtFsMcSPI_CmdSendError
Definition: fs_evr.h:454
#define EvtFsNFTL_AllocatedBlock
Definition: fs_evr.h:316
#define EvtFsCore_fdelete
Definition: fs_evr.h:50
#define EvtFsCore_sys_write
Definition: fs_evr.h:40
__STATIC_INLINE void EvrFsFAT_InitDriverCfgError(uint32_t drive)
Event on FAT driver configuration error (Error)
Definition: fs_evr.h:882
#define EvtFsMcMCI_ReadXferSetupError
Definition: fs_evr.h:405
__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:3960
__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:4875
__STATIC_INLINE void EvrFsFAT_FileIsNonExistent(uint32_t drive)
Event on specification of nonexistent FAT file (Error)
Definition: fs_evr.h:1455
__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:821
#define EvtFsMcSPI_LockActive
Definition: fs_evr.h:445
__STATIC_INLINE void EvrFsMcMCI_CsdReadError(uint32_t instance)
Event on CSD register read error (Error)
Definition: fs_evr.h:4616
#define EvtFsCore_fanalyse
Definition: fs_evr.h:61
__STATIC_INLINE void EvrFsMcSPI_InitMediaSuccess(uint32_t instance)
Event on successful memory card device initialization (Op)
Definition: fs_evr.h:5169
#define EvtFsMcSPI_SectorReadError
Definition: fs_evr.h:436
#define EvtFsEFS_FileFlush
Definition: fs_evr.h:197
#define EvtFsCore_frename
Definition: fs_evr.h:52
#define EvtFsFAT_VolumeNotMounted
Definition: fs_evr.h:82
#define EvtFsNFTL_LsnFound
Definition: fs_evr.h:298
__STATIC_INLINE void EvrFsFAT_MediaInsertStatError(uint32_t drive)
Event on FAT media not present status error (Error)
Definition: fs_evr.h:942
#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:1949
#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:4073
#define EvtFsEFS_DriveNotMounted
Definition: fs_evr.h:226
__STATIC_INLINE void EvrFsIOC_ReadInfoError(uint32_t drv_id)
Event on read info operation error (Error)
Definition: fs_evr.h:3104
#define EvtFsMcSPI_ReadInfoSuccess
Definition: fs_evr.h:440
#define EvtFsNFTL_TableLookup
Definition: fs_evr.h:294
#define EvtFsNAND_PageWrite
Definition: fs_evr.h:346
__STATIC_INLINE void EvrFsEFS_FileOpen(uint32_t h, const char *path, uint32_t openmode)
Event on EFS file open (Op)
Definition: fs_evr.h:2324
__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:3610
__STATIC_INLINE void EvrFsMcSPI_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:5470
#define EvtFsMcSPI_MediaSD_V2
Definition: fs_evr.h:425
#define EvtFsEFS_FileNotFound
Definition: fs_evr.h:203
#define EvtFsMcMCI_MediaWpInactive
Definition: fs_evr.h:361
#define EvtFsEFS_DriveDefrag
Definition: fs_evr.h:215
#define EvtFsNAND_StatusRead
Definition: fs_evr.h:344
#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:3168
__STATIC_INLINE void EvrFsIOC_GetIdError(uint32_t drive)
Event on invalid or nonexisting drive specifier (Error)
Definition: fs_evr.h:2901
#define EvtFsMcMCI_SectorWriteError
Definition: fs_evr.h:385
#define EvtFsNFTL_SetupPageLayout
Definition: fs_evr.h:320
#define EvtFsNFTL_Format
Definition: fs_evr.h:280
#define EvtFsNFTL_ReadBootBlock
Definition: fs_evr.h:266
Drive information.
Definition: rl_fs.h:141
#define EvtFsEFS_DriveCheck
Definition: fs_evr.h:209
__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:2040
#define EvtFsNFTL_AllocateBlock
Definition: fs_evr.h:296
#define EvtFsFAT_MountDriveSuccess
Definition: fs_evr.h:95
#define EvtFsNFTL_FormatLLEB
Definition: fs_evr.h:282
__STATIC_INLINE void EvrFsIOC_GetId(uint32_t drive)
Event on call of fs_ioc_get_id function (API)
Definition: fs_evr.h:2876
__STATIC_INLINE void EvrFsMcSPI_MediaNotInitialized(uint32_t instance)
Event on using uninitialized memory card device (Error)
Definition: fs_evr.h:5181
__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:1899
__STATIC_INLINE void EvrFsFAT_FileHandleInvalid(uint32_t h)
Event on invalid FAT file handle number (Error)
Definition: fs_evr.h:1492
#define EvtFsEFS_AllocationOrderInvalid
Definition: fs_evr.h:213
__STATIC_INLINE void EvrFsFAT_FormatNoSpace(uint32_t drive)
Event on not enough free space for FAT12/16 format (Error)
Definition: fs_evr.h:1260
__STATIC_INLINE void EvrFsMcMCI_MediaWpActive(uint32_t instance)
Event on active write protection switch (Op)
Definition: fs_evr.h:4471
#define EvtFsCore_fformat
Definition: fs_evr.h:60
#define EvtFsIOC_DriveNotFAT
Definition: fs_evr.h:254
#define EvtFsNFTL_MountSuccess
Definition: fs_evr.h:261
__STATIC_INLINE void EvrFsFAT_DirCreate(uint32_t drive, const char *path)
Event on FAT directory create (Op)
Definition: fs_evr.h:1776
__STATIC_INLINE void EvrFsIOC_Lock(uint32_t drv_id)
Event on call of fs_ioc_lock function (API)
Definition: fs_evr.h:2913
#define EvtFsNFTL_PageRead
Definition: fs_evr.h:323
__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:3774
#define EvtFsMcMCI_ReadInfoSuccess
Definition: fs_evr.h:389
__STATIC_INLINE void EvrFsFAT_InitDriverError(uint32_t drive)
Event on FAT driver initialization error (Error)
Definition: fs_evr.h:894
#define EvtFsMcSPI_UninitDriver
Definition: fs_evr.h:433
__STATIC_INLINE void EvrFsFAT_FormatNoSpaceFAT32(uint32_t drive)
Event on not enough free space for FAT32 format (Error)
Definition: fs_evr.h:1272
#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:3276
#define EvtFsEFS_InitDrive
Definition: fs_evr.h:170
__STATIC_INLINE void EvrFsEFS_DriveAnalyze(uint32_t drive)
Event on EFS drive analyze (Op)
Definition: fs_evr.h:2567
__STATIC_INLINE void EvrFsEFS_DiskFull(uint32_t drive)
Event on out of free space on EFS drive (Error)
Definition: fs_evr.h:2725
__STATIC_INLINE void EvrFsMcMCI_StbyStateError(uint32_t instance)
Event on STBY state switch error (Error)
Definition: fs_evr.h:4689
__STATIC_INLINE void EvrFsNFTL_BadBlockDetected(uint32_t instance, uint32_t block)
Event on NFTL bad block detection (Op)
Definition: fs_evr.h:3500
#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:632
__STATIC_INLINE void EvrFsFAT_InvalidFreeClusFSInfo(uint32_t drive)
Event on invalid number of free clusters in FAT FSInfo signature (Error)
Definition: fs_evr.h:1101
__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:3132
#define EvtFsNFTL_ReadInfo
Definition: fs_evr.h:276
__STATIC_INLINE void EvrFsEFS_FileIdInvalid(uint32_t drive)
Event on EFS invalid file ID detection (Error)
Definition: fs_evr.h:2628
#define EvtFsMcMCI_MediaDetectionSD
Definition: fs_evr.h:363
#define EvtFsNFTL_BadBlockMark
Definition: fs_evr.h:285
__STATIC_INLINE void EvrFsFAT_OptionsString(const char *buf, uint32_t len)
Event on FAT options specification (Detail)
Definition: fs_evr.h:1999
#define EvtFsFAT_PathInvalidChar
Definition: fs_evr.h:114
#define EvtFsMcMCI_CidReadError
Definition: fs_evr.h:369
__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:2415
__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:4783
#define EvtFsFAT_ChDirSuccess
Definition: fs_evr.h:149
#define EvtFsMcMCI_UninitMedia
Definition: fs_evr.h:381
#define EvtFsNFTL_PageWrite
Definition: fs_evr.h:322
__STATIC_INLINE void EvrFsFAT_InitDriveSuccess(uint32_t drive)
Event on successful FAT drive initialization (Op)
Definition: fs_evr.h:870
#define EvtFsMcSPI_CrcDisableError
Definition: fs_evr.h:451
#define EvtFsCore_funinit
Definition: fs_evr.h:46
#define EvtFsEFS_FlashReadTimeout
Definition: fs_evr.h:222
__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:1857
#define EvtFsMcSPI_InitMedia
Definition: fs_evr.h:415
__STATIC_INLINE void EvrFsNFTL_TableLookup(uint32_t instance, uint32_t lbn)
Event on NFTL translation table lookup (Op)
Definition: fs_evr.h:3637
#define EvtFsCore_sys_seek
Definition: fs_evr.h:42
__STATIC_INLINE void EvrFsNAND_InitDriverError(uint32_t instance, uint32_t driver)
Event on NAND driver initialization error (Error)
Definition: fs_evr.h:4126
__STATIC_INLINE void EvrFsNAND_DriverTimeoutError(uint32_t instance, uint32_t driver)
Event on NAND driver timeout error (Error)
Definition: fs_evr.h:4249
__STATIC_INLINE void EvrFsNFTL_BlockEraseStatusErr(uint32_t instance, uint32_t row)
Event on invalid block erase status value (Op)
Definition: fs_evr.h:3852
#define EvtFsEFS_FileHandleActive
Definition: fs_evr.h:216
__STATIC_INLINE void EvrFsNFTL_ResetDeviceTimeout(uint32_t instance)
Event on NAND device reset timeout (Error)
Definition: fs_evr.h:3264
#define EvtFsMcMCI_DeviceStateUnknown
Definition: fs_evr.h:396
__STATIC_INLINE void EvrFsCore_fdefrag(const char *drive)
Event on drive defrag (API)
Definition: fs_evr.h:782
__STATIC_INLINE void EvrFsEFS_FileDelete(uint32_t drive, const char *path)
Event on EFS file delete (Op)
Definition: fs_evr.h:2492
__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:3555
#define EvtFsMcSPI_SectorWrite
Definition: fs_evr.h:437
#define EvtFsNFTL_UninitDriverFailed
Definition: fs_evr.h:275
#define EvtFsNFTL_InitMediaFailed
Definition: fs_evr.h:259
__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:1670
#define EvtFsNFTL_BootSignatureInvalid
Definition: fs_evr.h:269
__STATIC_INLINE void EvrFsNFTL_Init(uint32_t instance)
Event on NFTL initialization (Op)
Definition: fs_evr.h:3180
#define EvtFsMcSPI_SlaveSelCtrlMissing
Definition: fs_evr.h:448
#define EvtFsMcSPI_InitDriverPowerError
Definition: fs_evr.h:414
__STATIC_INLINE void EvrFsEFS_DriveCheck(uint32_t drive)
Event on EFS drive check (Op)
Definition: fs_evr.h:2592
__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:4005
__STATIC_INLINE void EvrFsMcSPI_InitDriverSuccess(uint32_t instance, uint32_t driver)
Event on successful memory card driver initialization (Op)
Definition: fs_evr.h:5118
__STATIC_INLINE void EvrFsMcMCI_SectorWrite(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector write operation (Op)
Definition: fs_evr.h:4769
#define EvtFsEFS_FileRename
Definition: fs_evr.h:202
__STATIC_INLINE void EvrFsMcMCI_MediaDetectionMMC(uint32_t instance)
Event on start of MMC/eMMC device detection procedure (Op)
Definition: fs_evr.h:4556
__STATIC_INLINE void EvrFsMcMCI_CidReadError(uint32_t instance)
Event on CID register read error (Error)
Definition: fs_evr.h:4580
#define EvtFsIOC_ReadInfo
Definition: fs_evr.h:248
#define EvtFsCore_fmedia
Definition: fs_evr.h:64
#define EvtFsNFTL_UninitDriver
Definition: fs_evr.h:274
#define EvtFsFAT_MediaInsertStatError
Definition: fs_evr.h:78
#define EvtFsNAND_IdRead
Definition: fs_evr.h:349
#define EvtFsMcMCI_SectorWrite
Definition: fs_evr.h:384
#define EvtFsEFS_FlashProgUnitTooBig
Definition: fs_evr.h:178
#define EvtFsMcMCI_DataBusSwitchError
Definition: fs_evr.h:377
__STATIC_INLINE void EvrFsEFS_FileNotOpened(uint32_t h, uint32_t flags)
Event on EFS file close (Op)
Definition: fs_evr.h:2375
__STATIC_INLINE void EvrFsMcMCI_TransferRetry(uint32_t instance, uint32_t retry)
Event on transfer setup error (Op)
Definition: fs_evr.h:4823
__STATIC_INLINE void EvrFsFAT_AttribSet(uint32_t drive, const char *path, uint32_t attrib)
Event on FAT attribute setting (Op)
Definition: fs_evr.h:1885
__STATIC_INLINE void EvrFsEFS_FreeSpaceAmount(uint32_t drive, uint32_t free)
Event on EFS free space retrieval (Op)
Definition: fs_evr.h:2555
File information data.
Definition: rl_fs.h:132
__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:3624
#define EvtFsEFS_FileAlreadyExists
Definition: fs_evr.h:204
__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:5445
#define EvtFsMcMCI_MediaCdInactive
Definition: fs_evr.h:359
__STATIC_INLINE void EvrFsFAT_ReadFSInfo(uint32_t drive, uint32_t sector)
Event on FAT FSInfo read operation (Op)
Definition: fs_evr.h:1077
#define EvtFsNFTL_ReadTable
Definition: fs_evr.h:271
#define EvtFsEFS_DriveCheckSuccess
Definition: fs_evr.h:210
__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:3581
#define EvtFsMcMCI_RcaWriteError
Definition: fs_evr.h:371
#define EvtFsMcSPI_CsdReadError
Definition: fs_evr.h:431
__STATIC_INLINE void EvrFsFAT_FormatOptionDetected(uint32_t drive, uint32_t option)
Event on FAT drive format option detection (Op)
Definition: fs_evr.h:1223
#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:4987
__STATIC_INLINE void EvrFsFAT_DirCreateSuccess(uint32_t drive, const char *path)
Event on successful FAT directory create operation (Op)
Definition: fs_evr.h:1789
__STATIC_INLINE void EvrFsFAT_InitDrive(uint32_t drive)
Event on FAT drive initialization (Op)
Definition: fs_evr.h:858
__STATIC_INLINE void EvrFsCore_sys_close(int fh)
Event on file close (API)
Definition: fs_evr.h:480
__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:3596
#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:558
__STATIC_INLINE void EvrFsNFTL_TableEntryNotFound(uint32_t instance, uint32_t lbn)
Event on nonexisting translation table entry (Op)
Definition: fs_evr.h:3650
#define EvtFsCore_sys_close
Definition: fs_evr.h:39
#define EvtFsMcMCI_ReadInfo
Definition: fs_evr.h:388
__STATIC_INLINE void EvrFsEFS_InitDriver(uint32_t drive, uint32_t driver)
Event on EFS driver initialization (Op)
Definition: fs_evr.h:2111
__STATIC_INLINE void EvrFsFAT_FormatDriveSuccess(uint32_t drive)
Event on successful formating of a FAT drive (Op)
Definition: fs_evr.h:1198
#define EvtFsIOC_GetIdSuccess
Definition: fs_evr.h:234
#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:4727
#define EvtFsMcSPI_MediaPasswordEnabled
Definition: fs_evr.h:458
#define EvtFsNFTL_ResetDeviceFailed
Definition: fs_evr.h:264
#define EvtFsIOC_Lock
Definition: fs_evr.h:236
__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:4223
__STATIC_INLINE void EvrFsEFS_DataAreaOverlap(uint32_t drive)
Event on EFS user and allocation area overlap detection (Error)
Definition: fs_evr.h:2616
#define EvtFsEFS_FileAllocWrite
Definition: fs_evr.h:229
__STATIC_INLINE void EvrFsCore_fcheck(const char *drive)
Event on drive check (API)
Definition: fs_evr.h:770
__STATIC_INLINE void EvrFsEFS_FileFlush(uint32_t h)
Event on EFS file flush (Op)
Definition: fs_evr.h:2439
__STATIC_INLINE void EvrFsFAT_UnmountDriveSuccess(uint32_t drive)
Event on successful unmount of a FAT drive (Op)
Definition: fs_evr.h:1174
#define EvtFsMcMCI_BlenWriteError
Definition: fs_evr.h:374
__STATIC_INLINE void EvrFsEFS_DriveAnalyzeSuccess(uint32_t drive, uint32_t factor)
Event on successful EFS drive analyze (Op)
Definition: fs_evr.h:2580
__STATIC_INLINE void EvrFsFAT_LabelInvalid(uint32_t drive)
Event on invalid character found in FAT label (Error)
Definition: fs_evr.h:1504
#define EvtFsMcSPI_UninitMedia
Definition: fs_evr.h:434
__STATIC_INLINE void EvrFsMcMCI_ExtCsdReadError(uint32_t instance)
Event on EXT_CSD register read error (Error)
Definition: fs_evr.h:4653
#define EvtFsCore_ffind
Definition: fs_evr.h:51
#define EvtFsMcMCI_LockDeactivated
Definition: fs_evr.h:395
#define EvtFsEFS_FlashEraseChipTimeout
Definition: fs_evr.h:186
#define EvtFsEFS_FileHandleUnavailable
Definition: fs_evr.h:217
__STATIC_INLINE void EvrFsNFTL_BadBlockMark(uint32_t instance, uint32_t block)
Event on NFTL bad block mark operation (Op)
Definition: fs_evr.h:3513
__STATIC_INLINE void EvrFsMcSPI_CidReadError(uint32_t instance)
Event on CID register read error (Error)
Definition: fs_evr.h:5338
#define EvtFsEFS_FileAllocRead
Definition: fs_evr.h:230
__STATIC_INLINE void EvrFsCore_sys_handle_assign(const char *name, int fh)
Event on file handle assignment (Op)
Definition: fs_evr.h:546
#define EvtFsNFTL_ReadSectorSuccess
Definition: fs_evr.h:289
__STATIC_INLINE void EvrFsCore_sys_flen(int fh)
Event on current file length request (API)
Definition: fs_evr.h:533
__STATIC_INLINE void EvrFsNFTL_BlockEraseFailed(uint32_t instance, uint32_t row)
Event on NAND block erase error (Error)
Definition: fs_evr.h:3865
__STATIC_INLINE void EvrFsMcMCI_MediaCdActive(uint32_t instance)
Event on media detection using card detect switch (Op)
Definition: fs_evr.h:4447
__STATIC_INLINE void EvrFsFAT_VolumeNotMounted(uint32_t drive)
Event on FAT when using unmounted volume (Error)
Definition: fs_evr.h:990
__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:2863
#define EvtFsEFS_InitDriverFailed
Definition: fs_evr.h:172
__STATIC_INLINE void EvrFsMcSPI_MediaNoResponse(uint32_t instance)
Event on nonresponsive media device (Error)
Definition: fs_evr.h:5302
__STATIC_INLINE void EvrFsMcSPI_ParameterInvalid(uint32_t instance)
Event on invalid function parameter(s) (Error)
Definition: fs_evr.h:5684
#define EvtFsNFTL_ReadSector
Definition: fs_evr.h:288
#define EvtFsMcMCI_MediaDetectionMMC
Definition: fs_evr.h:367
__STATIC_INLINE void EvrFsFAT_UninitDrive(uint32_t drive)
Event on FAT drive uninitialization (Op)
Definition: fs_evr.h:906
__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:3721
#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:4168
#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:1443
#define EvtFsNAND_Uninit
Definition: fs_evr.h:343
__STATIC_INLINE void EvrFsFAT_InitJournal(uint32_t drive)
Event on FAT journal initialization start (Op)
Definition: fs_evr.h:1593
#define EvtFsNFTL_ResetDevice
Definition: fs_evr.h:263
__STATIC_INLINE void EvrFsMcSPI_LockUnlockExec(uint32_t instance)
Event on Lock/Unlock command execution (Op)
Definition: fs_evr.h:5509
__STATIC_INLINE void EvrFsNFTL_SkipBadBlock(uint32_t instance, uint32_t pbn)
Event on skipped bad block (Op)
Definition: fs_evr.h:3787
#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:5497
#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:4568
#define EvtFsNAND_DriverTimeoutError
Definition: fs_evr.h:341
__STATIC_INLINE void EvrFsNFTL_DevCtrl(uint32_t instance, uint32_t code, void *p)
Event on NFTL device control operation (Op)
Definition: fs_evr.h:3425
__STATIC_INLINE void EvrFsFAT_WriteFSInfo(uint32_t drive, uint32_t sector)
Event on FAT FSInfo write operation (Op)
Definition: fs_evr.h:1126
__STATIC_INLINE void EvrFsEFS_FileHandleUnavailable(uint32_t drive)
Event on too many open files (Error)
Definition: fs_evr.h:2689
__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:4411
__STATIC_INLINE void EvrFsEFS_DriveNotMounted(uint32_t drive)
Event on EFS when using unmounted drive (Error)
Definition: fs_evr.h:2808
#define EvtFsFAT_FileRename
Definition: fs_evr.h:142
#define EvtFsNFTL_BitErrorCorrected
Definition: fs_evr.h:313
__STATIC_INLINE void EvrFsCore_funinit(const char *drive)
Event on drive uninitialization (API)
Definition: fs_evr.h:570
__STATIC_INLINE void EvrFsIOC_ReadInfoSuccess(uint32_t drv_id, uint32_t block_count)
Event on successful read info operation (Op)
Definition: fs_evr.h:3092
#define EvtFsFAT_FileHandleUnavailable
Definition: fs_evr.h:121
#define EvtFsMcSPI_LockUnlockExec
Definition: fs_evr.h:443
__STATIC_INLINE void EvrFsMcSPI_InitDriver(uint32_t instance, uint32_t driver)
Event on memory card driver initialization (Op)
Definition: fs_evr.h:5105
__STATIC_INLINE void EvrFsIOC_GetIdSuccess(uint32_t drive, uint32_t drv_id)
Event on retrieval of drive ID (Op)
Definition: fs_evr.h:2889
#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:5606
__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:4196
#define EvtFsMcMCI_DevCtrl
Definition: fs_evr.h:390
__STATIC_INLINE void EvrFsEFS_OpenModeUnsupported(uint32_t h, uint32_t openmode)
Event on unsupported EFS file open mode specification (Error)
Definition: fs_evr.h:2350
#define EvtFsEFS_FileSeekEOF
Definition: fs_evr.h:200
#define EvtFsNFTL_LsnNotFound
Definition: fs_evr.h:299
#define EvtFsMcMCI_MediaReset
Definition: fs_evr.h:362
__STATIC_INLINE void EvrFsNFTL_MountSuccess(uint32_t instance)
Event on successful NFTL mount (Op)
Definition: fs_evr.h:3216
__STATIC_INLINE void EvrFsFAT_FileIsInUse(uint32_t drive)
Event on specified FAT file already in use (Error)
Definition: fs_evr.h:1431
#define EvtFsNFTL_SetBadBlockMarker
Definition: fs_evr.h:301
#define EvtFsIOC_NotAllowed
Definition: fs_evr.h:255
#define EvtFsFAT_DirEntryAllocFailed
Definition: fs_evr.h:128
#define EvtFsMcMCI_MediaNotInitialized
Definition: fs_evr.h:357
__STATIC_INLINE void EvrFsFAT_FileFlush(uint32_t h)
Event on FAT file flush (Op)
Definition: fs_evr.h:1682
#define EvtFsMcSPI_MediaCdActive
Definition: fs_evr.h:418
#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:2212
__STATIC_INLINE void EvrFsCore_CurrentDriveSelect(uint32_t drive)
Event on current drive selection (Op)
Definition: fs_evr.h:845
__STATIC_INLINE void EvrFsEFS_FormatDrive(uint32_t drive)
Event on EFS drive format (Op)
Definition: fs_evr.h:2248
__STATIC_INLINE void EvrFsMcSPI_MediaCdActive(uint32_t instance)
Event on media detection using card detect switch (Op)
Definition: fs_evr.h:5193
#define EvtFsNFTL_PbnOutOfRange
Definition: fs_evr.h:293
#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:930
__STATIC_INLINE void EvrFsCore_ffree(const char *drive)
Event on free space retrieval (API)
Definition: fs_evr.h:733
#define EvtFsEFS_DriveNotInitialized
Definition: fs_evr.h:227
#define EvtFsNFTL_BootSignatureValid
Definition: fs_evr.h:268
#define EvtFsFAT_FileHandleInvalid
Definition: fs_evr.h:122
#define EvtFsMcMCI_MediaReady
Definition: fs_evr.h:365
__STATIC_INLINE void EvrFsNFTL_PageProgramTimeout(uint32_t instance, uint32_t row)
Event on NAND page program timeout (Error)
Definition: fs_evr.h:3839
__STATIC_INLINE void EvrFsNAND_DriverEccInquire(uint32_t instance, uint32_t driver)
Event on NAND driver ECC inquiry (Op)
Definition: fs_evr.h:4209
__STATIC_INLINE void EvrFsEFS_FileRead(uint32_t h, uint8_t *buf, uint32_t len)
Event on EFS file read (Op)
Definition: fs_evr.h:2389
__STATIC_INLINE void EvrFsMcSPI_LockDeactivated(uint32_t instance)
Event on deactivated password protection status (Op)
Definition: fs_evr.h:5545
__STATIC_INLINE void EvrFsCore_fanalyse(const char *drive)
Event on drive analyse (API)
Definition: fs_evr.h:758
__STATIC_INLINE void EvrFsFAT_InvalidBootSector(uint32_t drive)
Event on invalid Boot Sector (Error)
Definition: fs_evr.h:1052
__STATIC_INLINE void EvrFsCore_fdelete(const char *path, const char *options)
Event on file delete (API)
Definition: fs_evr.h:619
#define EvtFsIOC_Unlock
Definition: fs_evr.h:238
__STATIC_INLINE void EvrFsNAND_StatusRead(uint32_t instance, uint32_t status)
Event on NAND device status retrieval (Detail)
Definition: fs_evr.h:4288
__STATIC_INLINE void EvrFsMcSPI_BusSpeedControl(uint32_t instance, uint32_t speed)
Event on SPI bus speed control operation (Op)
Definition: fs_evr.h:5558
__STATIC_INLINE void EvrFsEFS_AllocationOrderInvalid(uint32_t drive)
Event on EFS allocation order error (Error)
Definition: fs_evr.h:2640
__STATIC_INLINE void EvrFsMcMCI_TransferSetupError(uint32_t instance, uint32_t sector, uint32_t count)
Event on transfer setup error (Op)
Definition: fs_evr.h:4797
__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:5038
#define EvtFsNAND_DriverEccSelect
Definition: fs_evr.h:339
__STATIC_INLINE void EvrFsCore_fmedia(const char *drive)
Event on media presence check (API)
Definition: fs_evr.h:794
__STATIC_INLINE void EvrFsNFTL_BitErrorCorrected(uint32_t instance, uint32_t row)
Event on ECC bit error correction (Op)
Definition: fs_evr.h:3891
#define EvtFsNFTL_Uninit
Definition: fs_evr.h:273
__STATIC_INLINE void EvrFsEFS_MountDrive(uint32_t drive)
Event on EFS drive mount (Op)
Definition: fs_evr.h:2161
__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:2848
#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:1656
#define EvtFsNFTL_LbnToPbn
Definition: fs_evr.h:291
__STATIC_INLINE void EvrFsFAT_FileClose(uint32_t h)
Event on FAT file close (Op)
Definition: fs_evr.h:1629
__STATIC_INLINE void EvrFsEFS_FreeSpaceRetrieve(uint32_t drive)
Event on EFS free space retrieve request (Op)
Definition: fs_evr.h:2542
#define EvtFsEFS_FormatDrive
Definition: fs_evr.h:182
#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:2185
__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:1354
__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:4345
#define EvtFsIOC_DeviceControlSuccess
Definition: fs_evr.h:252
__STATIC_INLINE void EvrFsMcSPI_MediaSD_V2(uint32_t instance)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:5277
__STATIC_INLINE void EvrFsMcSPI_InitMedia(uint32_t instance)
Event on memory card device initialization (Op)
Definition: fs_evr.h:5157
#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:2136
__STATIC_INLINE void EvrFsMcMCI_InitSuccess(uint32_t instance)
Event on successful memory card device initialization (Op)
Definition: fs_evr.h:4701
#define EvtFsIOC_GetIdError
Definition: fs_evr.h:235
#define EvtFsNFTL_GarbageCollection
Definition: fs_evr.h:300
#define EvtFsNFTL_FormatSuccess
Definition: fs_evr.h:281
#define EvtFsMcSPI_MediaNoResponse
Definition: fs_evr.h:427
__STATIC_INLINE void EvrFsMcMCI_ReadInfoSuccess(uint32_t instance, uint32_t sect_count)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:4848
__STATIC_INLINE void EvrFsNFTL_RelocateBlock(uint32_t instance, uint32_t pbn)
Event on attempt to change block physical location (Op)
Definition: fs_evr.h:3761
#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:2664
#define EvrFsIOC_DriveIdInvalid(drv_id)
Event on invalid drive ID specifier (Error)
Definition: fs_evr.h:3148
__STATIC_INLINE void EvrFsMcSPI_UninitDriver(uint32_t instance, uint32_t driver)
Event on SPI driver uninitialization (Op)
Definition: fs_evr.h:5376
#define EvtFsMcSPI_DriverReceiveError
Definition: fs_evr.h:453
#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:3252
#define EvtFsMcMCI_InitSuccess
Definition: fs_evr.h:379
#define EvtFsMcSPI_InitMediaSuccess
Definition: fs_evr.h:416
__STATIC_INLINE void EvrFsMcSPI_ReadWpMissing(uint32_t instance)
Event on missing fs_mc_read_wp function (Op)
Definition: fs_evr.h:5582
__STATIC_INLINE void EvrFsEFS_AllocationAreaOverlap(uint32_t drive)
Event on EFS allocation area overlap error (Error)
Definition: fs_evr.h:2652
__STATIC_INLINE void EvrFsMcMCI_SectorRead(uint32_t instance, uint32_t sector, uint32_t count)
Event on sector read operation (Op)
Definition: fs_evr.h:4741
#define __STATIC_INLINE
Definition: fs_evr.h:14
__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:3118
__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:3051
__STATIC_INLINE void EvrFsEFS_FileNameInvalid(const char *name, uint32_t len)
Event on invalid EFS filename specification (Error)
Definition: fs_evr.h:2337
__STATIC_INLINE void EvrFsFAT_LabelString(const char *buf, uint32_t len)
Event on FAT volume label string output (Detail)
Definition: fs_evr.h:2012
__STATIC_INLINE void EvrFsFAT_NonexistentMBR(uint32_t drive)
Event on nonexistent Master Boot Record (Op)
Definition: fs_evr.h:1027
#define EvtFsMcSPI_BusSpeedControl
Definition: fs_evr.h:447
__STATIC_INLINE void EvrFsEFS_FlashEraseChipFailed(uint32_t drive)
Event on Flash chip erase operation error (Error)
Definition: fs_evr.h:2284
#define EvtFsMcSPI_InitDriver
Definition: fs_evr.h:411
#define EvtFsFAT_FormatOptionDetected
Definition: fs_evr.h:101
__STATIC_INLINE void EvrFsMcMCI_MediaPasswordEnabled(uint32_t instance)
Event on detection of enabled media password protection (Error)
Definition: fs_evr.h:5092
__STATIC_INLINE void EvrFsFAT_LabelNotSet(uint32_t drive)
Event on nonexisting FAT volume label (Op)
Definition: fs_evr.h:1516
#define EvtFsIOC_WriteSector
Definition: fs_evr.h:245
#define EvtFsFAT_FileIsNonExistent
Definition: fs_evr.h:119
#define EvtFsNAND_Init
Definition: fs_evr.h:330
__STATIC_INLINE void EvrFsEFS_FileName(const char *buf, uint32_t len)
Event on EFS file name specification (Detail)
Definition: fs_evr.h:2833
#define EvtFsCore_sys_handle_assign
Definition: fs_evr.h:44
__STATIC_INLINE void EvrFsMcSPI_DriverSendError(uint32_t instance, uint32_t event)
Event on SPI driver Send function error (Error)
Definition: fs_evr.h:5619
#define EvtFsNAND_DriverBusModeSelect
Definition: fs_evr.h:334
#define EvtFsMcSPI_BlenWriteError
Definition: fs_evr.h:432
#define EvtFsFAT_InvalidMBR
Definition: fs_evr.h:84
#define EvtFsMcSPI_MediaDetectionSD
Definition: fs_evr.h:424
__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:2055
#define EvtFsNFTL_BlockEraseStatusErr
Definition: fs_evr.h:310
__STATIC_INLINE void EvrFsEFS_UnmountDrive(uint32_t drive)
Event on EFS drive unmount (Op)
Definition: fs_evr.h:2224
#define EvtFsEFS_FlashEraseChipFailed
Definition: fs_evr.h:185
#define EvtFsMcMCI_SleepAwakeControl
Definition: fs_evr.h:400
#define EvtFsNFTL_DataBlockCapacity
Definition: fs_evr.h:270
#define EvtFsNFTL_LoadDataLayout
Definition: fs_evr.h:319
#define EvtFsMcMCI_SectorRead
Definition: fs_evr.h:382
#define EvtFsFAT_FormatDriveSuccess
Definition: fs_evr.h:99
#define EvtFsNFTL_DevCtrl
Definition: fs_evr.h:278
__STATIC_INLINE void EvrFsNFTL_PageRead(uint32_t instance, uint32_t pbn, uint32_t pg)
Event on page read (Op)
Definition: fs_evr.h:4033
#define EvtFsMcMCI_DeviceStateTimeout
Definition: fs_evr.h:398
#define EvtFsMcMCI_StbyStateError
Definition: fs_evr.h:378
__STATIC_INLINE void EvrFsFAT_FileModeRead(int32_t h)
Event on write to FAT file opened for read (Error)
Definition: fs_evr.h:1937
__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:5484
#define EvtFsNFTL_CacheRead
Definition: fs_evr.h:327
#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:582
#define EvtFsEFS_DriveAnalyze
Definition: fs_evr.h:207
__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:1312
__STATIC_INLINE void EvrFsNFTL_ReadSectorSuccess(uint32_t instance)
Event on successful NFTL read sector operation (Op)
Definition: fs_evr.h:3567
#define EvtFsEFS_OpenModeInvalid
Definition: fs_evr.h:198
__STATIC_INLINE void EvrFsNFTL_DeviceNotInitialized(uint32_t instance)
Event (Error)
Definition: fs_evr.h:3228
#define EvtFsEFS_FileNameInvalid
Definition: fs_evr.h:189
#define EvtFsEFS_InitDriver
Definition: fs_evr.h:171
__STATIC_INLINE void EvrFsMcMCI_LockActive(uint32_t instance)
Event on active password protection status (Op)
Definition: fs_evr.h:4911
#define EvtFsMcMCI_AwakeActive
Definition: fs_evr.h:402
#define EvtFsNAND_DriverBusWidthError
Definition: fs_evr.h:336
#define EvtFsFAT_PathName
Definition: fs_evr.h:160
#define EvtFsCore_fchdir
Definition: fs_evr.h:55
#define EvtFsEFS_FlashEraseSectors
Definition: fs_evr.h:187
#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:4113
#define EvtFsNFTL_ReadTableFailed
Definition: fs_evr.h:272
__STATIC_INLINE void EvrFsMcSPI_InitDriverError(uint32_t instance, uint32_t driver)
Event on memory card driver initialization error (Op)
Definition: fs_evr.h:5131
__STATIC_INLINE void EvrFsNAND_DriverEccInquireError(uint32_t instance, uint32_t driver)
Event on NAND driver ECC inquiry error (Op)
Definition: fs_evr.h:4236
#define EvtFsNFTL_BlockErase
Definition: fs_evr.h:324
#define EvtFsCore_sys_flen
Definition: fs_evr.h:43
#define EvtFsMcSPI_MediaResetError
Definition: fs_evr.h:423
#define EvtFsNFTL_PageProgramTimeout
Definition: fs_evr.h:309
#define EvtFsNAND_DriverPowerCtrlError
Definition: fs_evr.h:333
__STATIC_INLINE void EvrFsMcSPI_SlaveSelCtrlMissing(uint32_t instance)
Event on missing fs_mc_spi_control_ss function (Op)
Definition: fs_evr.h:5570
#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:5145
#define EvtFsEFS_FileOpenReadMode
Definition: fs_evr.h:196
#define EvtFsNAND_PageRead
Definition: fs_evr.h:347
#define EvtFsEFS_FileDelete
Definition: fs_evr.h:201
__STATIC_INLINE void EvrFsNFTL_Format(uint32_t instance)
Event on NFTL format operation (Op)
Definition: fs_evr.h:3450
#define EvtFsEFS_FlashEraseFailed
Definition: fs_evr.h:223
__STATIC_INLINE void EvrFsNFTL_BootSignatureValid(uint32_t instance)
Event on NFTL valid boot signatures (Op)
Definition: fs_evr.h:3300
#define EvtFsMcMCI_WriteXferSetupError
Definition: fs_evr.h:406
#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:4263
#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:3989
__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:4316
#define EvtFsMcSPI_MediaDetectionMMC
Definition: fs_evr.h:428
__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:1326
__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:1925
__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:3528
#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:746
#define EvtFsFAT_InitJournalFATError
Definition: fs_evr.h:132
#define EvtFsEFS_FreeSpaceRetrieve
Definition: fs_evr.h:205
#define EvtFsMcSPI_LockDeactivated
Definition: fs_evr.h:446
__STATIC_INLINE void EvrFsMcMCI_CardPowerControl(uint32_t instance, uint32_t voltage)
Event on memory card power control operation (Op)
Definition: fs_evr.h:5024
#define EvtFsFAT_CountFreeClus
Definition: fs_evr.h:94
#define EvtFsNAND_InitDriverError
Definition: fs_evr.h:332
__STATIC_INLINE void EvrFsFAT_FileDeleteSuccess(uint32_t drive, const char *path)
Event on successful FAT file delete operation (Op)
Definition: fs_evr.h:1735
#define EvtFsMcMCI_ParameterInvalid
Definition: fs_evr.h:407
__STATIC_INLINE void EvrFsNFTL_UninitDriver(uint32_t instance)
Event on NFTL driver uninitialization (Op)
Definition: fs_evr.h:3373
#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:2530
#define EvtFsNAND_DeviceReset
Definition: fs_evr.h:350
#define EvtFsFAT_NameCacheMiss
Definition: fs_evr.h:164
#define EvtFsEFS_AllocationAreaOverlap
Definition: fs_evr.h:214
#define EvtFsMcSPI_LockUnlockExecError
Definition: fs_evr.h:444
#define EvtFsCore_InvalidDrive
Definition: fs_evr.h:67
#define EvtFsCore_funmount
Definition: fs_evr.h:48
#define EvtFsNFTL_ParameterInvalid
Definition: fs_evr.h:314
__STATIC_INLINE void EvrFsEFS_FileNotFound(uint32_t drive)
Event on EFS file not found (Op)
Definition: fs_evr.h:2518
#define EvtFsIOC_WriteSectorError
Definition: fs_evr.h:247
#define EvtFsMcMCI_MediaSD_V2
Definition: fs_evr.h:364
__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:3036
#define EvtFsNFTL_TableEntryNotFound
Definition: fs_evr.h:295
__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:4862
__STATIC_INLINE void EvrFsNFTL_ReadInfo(uint32_t instance, uint32_t info)
Event on NFTL driver uninitialization (Op)
Definition: fs_evr.h:3398
#define EvtFsNFTL_LsnToLbn
Definition: fs_evr.h:290
__STATIC_INLINE void EvrFsNFTL_PageProgramFailed(uint32_t instance, uint32_t row)
Event on NAND page program error (Error)
Definition: fs_evr.h:3826
__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:4963
#define EvtFsNFTL_SkipBadBlock
Definition: fs_evr.h:305
#define EvtFsMcMCI_InitDriverPowerError
Definition: fs_evr.h:355
#define EvtFsEFS_FileNotOpened
Definition: fs_evr.h:192
__STATIC_INLINE void EvrFsFAT_FileDelete(uint32_t drive, const char *path)
Event on FAT file delete (Op)
Definition: fs_evr.h:1722
__STATIC_INLINE void EvrFsNFTL_DataBlockCapacity(uint32_t instance, uint32_t capacity)
Event on NFTL invalid boot signatures (Op)
Definition: fs_evr.h:3325
#define EvtFsFAT_InitJournal
Definition: fs_evr.h:130
#define EvtFsNFTL_BlockEraseTimeout
Definition: fs_evr.h:312
#define EvtFsMcMCI_MediaWpActive
Definition: fs_evr.h:360
__STATIC_INLINE void EvrFsFAT_InvalidParameter(uint32_t drive)
Event on FAT invalid function parameter error (Error)
Definition: fs_evr.h:1961
#define EvtFsMcMCI_MediaCdActive
Definition: fs_evr.h:358
__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:5053
__STATIC_INLINE void EvrFsEFS_InitDriverFailed(uint32_t drive, uint32_t driver)
Event on EFS driver initialization error (Error)
Definition: fs_evr.h:2124
__STATIC_INLINE void EvrFsEFS_FlashEraseChip(uint32_t drive)
Event on Flash chip erase operation (Op)
Definition: fs_evr.h:2272
__STATIC_INLINE void EvrFsNFTL_FormatSuccess(uint32_t instance)
Event on successful NFTL format operation (Op)
Definition: fs_evr.h:3462
#define EvtFsEFS_DriveAnalyzeSuccess
Definition: fs_evr.h:208
__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:4140
#define EvtFsMcMCI_TranStateError
Definition: fs_evr.h:373
__STATIC_INLINE void EvrFsFAT_WriteMBR(uint32_t drive, uint32_t sector)
Event on Master Boot Record write operation (Op)
Definition: fs_evr.h:1285
#define EvtFsNFTL_RelocateBlockFailed
Definition: fs_evr.h:304
#define EvtFsNFTL_BadBlockDetected
Definition: fs_evr.h:284
__STATIC_INLINE void EvrFsMcMCI_MediaSD_V2(uint32_t instance)
Event on received response from SD memory card V2 (Op)
Definition: fs_evr.h:4519
__STATIC_INLINE void EvrFsMcMCI_ReadInfo(uint32_t instance)
Event on media capacity retrieval operation (Op)
Definition: fs_evr.h:4835
#define EvtFsMcMCI_SleepActive
Definition: fs_evr.h:401
__STATIC_INLINE void EvrFsFAT_DirRemove(uint32_t drive, const char *path, const char *options)
Event on FAT directory remove (Op)
Definition: fs_evr.h:1803
__STATIC_INLINE void EvrFsFAT_PathIsTooLong(uint32_t max_len)
Event on too long FAT path (Error)
Definition: fs_evr.h:1407
#define EvtFsEFS_FlashCapacity
Definition: fs_evr.h:179
#define EvtFsMcMCI_TransferRetry
Definition: fs_evr.h:387
__STATIC_INLINE void EvrFsEFS_FileOpenWriteMode(uint32_t h)
Event on EFS when reading from write only file (Error)
Definition: fs_evr.h:2401
#define EvtFsFAT_InitMediaError
Definition: fs_evr.h:77
#define EvtFsNFTL_BBMPositionSet
Definition: fs_evr.h:283
#define EvtFsCore_fdelete_l
Definition: fs_evr.h:49
#define EvtFsMcSPI_DevCtrlUnsupported
Definition: fs_evr.h:442
#define EvtFsFAT_FileSeekIncrease
Definition: fs_evr.h:139
#define EvtFsMcSPI_ReadWpMissing
Definition: fs_evr.h:450
#define EvtFsMcSPI_InitDriverError
Definition: fs_evr.h:413
__STATIC_INLINE void EvrFsMcSPI_CmdResponseError(uint32_t instance, uint32_t cmd)
Event on missing or invalid command response (Error)
Definition: fs_evr.h:5659
__STATIC_INLINE void EvrFsFAT_FileRename(uint32_t drive, const char *path, const char *newname)
Event on FAT file rename (Op)
Definition: fs_evr.h:1749
#define EvtFsNFTL_MoveData
Definition: fs_evr.h:302
#define EvtFsNFTL_LoadTableLayout
Definition: fs_evr.h:318
__STATIC_INLINE void EvrFsFAT_ReadMBR(uint32_t drive, uint32_t sector)
Event on Master Boot Record read operation (Op)
Definition: fs_evr.h:1003
#define EvtFsMcSPI_DriverSendError
Definition: fs_evr.h:452
#define EvtFsCore_fmkdir
Definition: fs_evr.h:56
#define EvtFsNFTL_CacheWrite
Definition: fs_evr.h:326
#define EvtFsNAND_DriverEccInquireError
Definition: fs_evr.h:340
#define EvtFsNAND_ParamPageRead
Definition: fs_evr.h:348