Home
last modified time | relevance | path

Searched refs:g_lfsDevice (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_m/components/fs/littlefs/
H A Dlfs_adapter.c44 static struct DeviceDesc *g_lfsDevice = NULL; variable
48 if (g_lfsDevice == NULL) { in LfsGetStartAddr()
52 g_lfsDevice = device; in LfsGetStartAddr()
58 if ((g_lfsDevice == NULL) || (partition >= g_lfsDevice->dPartNum)) { in LfsGetStartAddr()
62 return (uint32_t)g_lfsDevice->dAddrArray[partition]; in LfsGetStartAddr()
/kernel/uniproton/src/fs/littlefs/
H A Dlfs_adapter.c28 static struct TagDeviceDesc *g_lfsDevice; variable
32 if (g_lfsDevice == NULL) { in OsLfsGetStartAddr()
36 g_lfsDevice = device; in OsLfsGetStartAddr()
42 if ((g_lfsDevice == NULL) || (partition >= g_lfsDevice->dPartNum)) { in OsLfsGetStartAddr()
46 return g_lfsDevice->dAddrArray[partition]; in OsLfsGetStartAddr()

Completed in 2 milliseconds