Home
last modified time | relevance | path

Searched refs:sector_memory (Results 1 – 3 of 3) sorted by relevance

/USBX-v6.2.1/common/usbx_host_classes/src/
Dux_host_class_storage_media_mount.c103 UCHAR *sector_memory; in _ux_host_class_storage_media_mount()
126sector_memory = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, storage -> ux_ho… in _ux_host_class_storage_media_mount()
127 if (sector_memory == UX_NULL) in _ux_host_class_storage_media_mount()
137 status = _ux_host_class_storage_media_read(storage, sector, 1, sector_memory); in _ux_host_class_storage_media_mount()
144 _ux_utility_memory_free(sector_memory); in _ux_host_class_storage_media_mount()
159 if (_ux_utility_short_get(sector_memory + 510) == UX_HOST_CLASS_STORAGE_PARTITION_SIGNATURE) in _ux_host_class_storage_media_mount()
171 if ((*sector_memory == 0xe9) || ((*sector_memory == 0xeb) && *(sector_memory + 2) == 0x90)) in _ux_host_class_storage_media_mount()
175 if (_ux_utility_short_get(sector_memory + 0x16) != 0x0 || in _ux_host_class_storage_media_mount()
176 _ux_utility_long_get(sector_memory + 0x24) != 0x0 || in _ux_host_class_storage_media_mount()
177 (*(sector_memory + 1) == 0x76) /* exFAT volume */) in _ux_host_class_storage_media_mount()
[all …]
Dux_host_class_storage_partition_read.c82 UINT _ux_host_class_storage_partition_read(UX_HOST_CLASS_STORAGE *storage, UCHAR *sector_memory, U… in _ux_host_class_storage_partition_read() argument
86 UX_PARAMETER_NOT_USED(sector_memory); in _ux_host_class_storage_partition_read()
95 sector_memory += UX_HOST_CLASS_STORAGE_PARTITION_TABLE_START; in _ux_host_class_storage_partition_read()
102 switch(*(sector_memory + UX_HOST_CLASS_STORAGE_PARTITION_TYPE)) in _ux_host_class_storage_partition_read()
114 …_host_class_storage_media_open(storage, sector + _ux_utility_long_get(sector_memory + UX_HOST_CLAS… in _ux_host_class_storage_partition_read()
122 …host_class_storage_media_mount(storage, sector + _ux_utility_long_get(sector_memory + UX_HOST_CLAS… in _ux_host_class_storage_partition_read()
133 sector_memory += UX_HOST_CLASS_STORAGE_PARTITION_TABLE_SIZE; in _ux_host_class_storage_partition_read()
/USBX-v6.2.1/common/usbx_host_classes/inc/
Dux_host_class_storage.h648 UINT _ux_host_class_storage_partition_read(UX_HOST_CLASS_STORAGE *storage, UCHAR *sector_memory,…