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