/Zephyr-Core-2.7.6/subsys/disk/ |
D | disk_access.c | 18 LOG_MODULE_REGISTER(disk); 28 struct disk_info *disk = NULL, *itr; in disk_access_get_di() local 45 /* Check for disk name match */ in disk_access_get_di() 47 disk = itr; in disk_access_get_di() 53 return disk; in disk_access_get_di() 58 struct disk_info *disk = disk_access_get_di(pdrv); in disk_access_init() local 61 if ((disk != NULL) && (disk->ops != NULL) && in disk_access_init() 62 (disk->ops->init != NULL)) { in disk_access_init() 63 rc = disk->ops->init(disk); in disk_access_init() 71 struct disk_info *disk = disk_access_get_di(pdrv); in disk_access_status() local [all …]
|
D | Kconfig | 5 bool "Disk Interface" 8 Enable disk access over a supported media backend like FLASH or RAM 12 module = DISK 13 module-str = disk
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | disk.h | 10 * @brief Disk Driver Interface 12 * This file contains interface for disk access. Apart from disks, various 22 * @brief Disk Driver Interface 23 * @defgroup disk_driver_interface Disk Driver Interface 39 /** Get the number of sectors in the disk */ 41 /** Get the size of a disk SECTOR in bytes */ 47 /** Commit any cached read/writes to disk */ 54 /** Disk status okay */ 56 /** Disk status uninitialized */ 58 /** Disk status no media */ [all …]
|
/Zephyr-Core-2.7.6/include/storage/ |
D | disk_access.h | 9 * @brief Disk Access layer API 11 * This file contains APIs for disk access. 18 * @brief Disk Access APIs 19 * @defgroup disk_access_interface Disk Access Interface 23 #include <drivers/disk.h> 33 * disk or the backing device can do any initialization. 35 * @param[in] pdrv Disk name 42 * @brief Get the status of disk 44 * This call is used to get the status of the disk 46 * @param[in] pdrv Disk name [all …]
|
/Zephyr-Core-2.7.6/drivers/disk/ |
D | Kconfig.ram | 5 bool "RAM Disk" 7 RAM buffer used to emulate storage disk. 14 int "RAM Disk size in kilobytes" 17 Size of the RAM Disk. 20 string "RAM Disk mount point or drive name" 23 Disk name as per file system naming guidelines.
|
D | Kconfig | 5 bool "Disk Drivers" 7 Disk Driver configuration 11 source "drivers/disk/Kconfig.ram" 12 source "drivers/disk/Kconfig.flash" 13 source "drivers/disk/Kconfig.sdmmc"
|
D | ramdisk.c | 10 #include <drivers/disk.h> 28 static int disk_ram_access_status(struct disk_info *disk) in disk_ram_access_status() argument 33 static int disk_ram_access_init(struct disk_info *disk) in disk_ram_access_init() argument 38 static int disk_ram_access_read(struct disk_info *disk, uint8_t *buff, in disk_ram_access_read() argument 46 static int disk_ram_access_write(struct disk_info *disk, const uint8_t *buff, in disk_ram_access_write() argument 54 static int disk_ram_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buff) in disk_ram_access_ioctl() argument
|
D | sdmmc_stm32.c | 10 #include <drivers/disk.h> 89 static int stm32_sdmmc_access_init(struct disk_info *disk) in stm32_sdmmc_access_init() argument 91 const struct device *dev = disk->dev; in stm32_sdmmc_access_init() 125 static int stm32_sdmmc_access_status(struct disk_info *disk) in stm32_sdmmc_access_status() argument 127 const struct device *dev = disk->dev; in stm32_sdmmc_access_status() 133 static int stm32_sdmmc_access_read(struct disk_info *disk, uint8_t *data_buf, in stm32_sdmmc_access_read() argument 136 const struct device *dev = disk->dev; in stm32_sdmmc_access_read() 153 static int stm32_sdmmc_access_write(struct disk_info *disk, in stm32_sdmmc_access_write() argument 157 const struct device *dev = disk->dev; in stm32_sdmmc_access_write() 173 static int stm32_sdmmc_access_ioctl(struct disk_info *disk, uint8_t cmd, in stm32_sdmmc_access_ioctl() argument [all …]
|
D | flashdisk.c | 11 #include <drivers/disk.h> 44 static int disk_flash_access_status(struct disk_info *disk) in disk_flash_access_status() argument 53 static int disk_flash_access_init(struct disk_info *disk) in disk_flash_access_init() argument 67 static int disk_flash_access_read(struct disk_info *disk, uint8_t *buff, in disk_flash_access_read() argument 184 static int disk_flash_access_write(struct disk_info *disk, const uint8_t *buff, in disk_flash_access_write() argument 253 static int disk_flash_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buff) in disk_flash_access_ioctl() argument
|
D | Kconfig.sdmmc | 23 string "SDMMC Disk mount point or drive name" 27 Disk name as per file system naming guidelines.
|
/Zephyr-Core-2.7.6/doc/reference/storage/disk/ |
D | access.rst | 3 Disk Access 9 The disk access API provides access to storage devices. 15 SD cards via SPI. These drivers use disk driver interface and a file system 16 can access the SD cards via disk access API. 55 Disk Access API Configuration Options 67 Disk Driver Configuration Options 74 Disk Driver Interface
|
/Zephyr-Core-2.7.6/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | disk_access_test_drv.c | 17 /* A 96KB RAM Disk, which meets ELM FAT fs's minimum block requirement. Fit for 31 static int disk_ram_access_status(struct disk_info *disk) in disk_ram_access_status() argument 36 static int disk_ram_access_init(struct disk_info *disk) in disk_ram_access_init() argument 41 static int disk_ram_access_read(struct disk_info *disk, uint8_t *buff, in disk_ram_access_read() argument 49 static int disk_ram_access_write(struct disk_info *disk, const uint8_t *buff, in disk_ram_access_write() argument 57 static int disk_ram_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buff) in disk_ram_access_ioctl() argument
|
/Zephyr-Core-2.7.6/subsys/usb/class/ |
D | Kconfig.msc | 13 string "Mass storage disk or drive name" 16 Mass storage device disk or drive name 27 default "ZEPHYR USB DISK " 50 Stack size for mass storage disk operations thread
|
/Zephyr-Core-2.7.6/samples/subsys/usb/mass/ |
D | Kconfig | 19 bool "Use RAM disk as block device" 23 bool "Use RAM disk and FAT file system" 29 bool "Use FLASH disk and FAT file system" 35 bool "Use FLASH disk and LittleFS"
|
D | README.rst | 11 into an USB disk. This sample can be found under 25 The selection between a RAM-based or a FLASH-based disk and file system 28 RAM-disk Example without any file system 31 The default configurations selects RAM-based disk without any file system. 32 This example only needs additional 32KiB RAM for the RAM-disk and is intended 46 with a RAM-disk. Alternatively it is possible with the FLASH-based disk. 47 In this example we will build the sample with a RAM-based disk: 57 In this example we will build the sample with a FLASH-based disk and FAT 83 scsi 3:0:0:0: Direct-Access ZEPHYR ZEPHYR USB DISK 0.01 PQ: 0 ANSI: 0 CCS 91 sd 3:0:0:0: [sdb] Attached SCSI removable disk [all …]
|
D | CMakeLists.txt | 10 message( FATAL_ERROR "No disk access settings detected." )
|
/Zephyr-Core-2.7.6/.buildkite/hooks/ |
D | post-command | 6 # report disk usage: 7 echo "--- $0 disk usage"
|
/Zephyr-Core-2.7.6/samples/subsys/fs/fat_fs/src/ |
D | main.c | 35 /* raw disk i/o */ in main() 70 printk("Disk mounted.\n"); in main() 73 printk("Error mounting disk.\n"); in main()
|
/Zephyr-Core-2.7.6/samples/subsys/usb/cdc_acm/ |
D | overlay-composite-cdc-msc.conf | 9 #RAM DISK
|
/Zephyr-Core-2.7.6/doc/reference/file_system/ |
D | index.rst | 26 the mount point as the disk volume name, which is used by the file system library 27 while formatting or mounting a disk.
|
/Zephyr-Core-2.7.6/doc/reference/storage/ |
D | index.rst | 10 disk/access.rst
|
/Zephyr-Core-2.7.6/scripts/west_commands/zspdx/ |
D | datatypes.py | 45 # dict of absolute path on disk => File 56 # written to disk, so that others can refer to it 77 # absolute path of the "root" directory on disk, to be used as the 195 # absolute path to this file on disk
|
/Zephyr-Core-2.7.6/.buildkite/ |
D | run.sh | 30 # disk usage 31 echo "--- disk usage at finish"
|
/Zephyr-Core-2.7.6/dts/bindings/mmc/ |
D | st,stm32-sdmmc.yaml | 1 description: stm32 sdmmc disk access
|
/Zephyr-Core-2.7.6/subsys/ |
D | CMakeLists.txt | 10 add_subdirectory_ifdef(CONFIG_DISK_ACCESS disk)
|