/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 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 74 if ((disk != NULL) && (disk->ops != NULL) && in disk_access_status() [all …]
|
D | Kconfig | 8 Enable disk access over a supported media backend like FLASH or RAM 13 module-str = disk
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | disk.h | 83 int (*init)(struct disk_info *disk); 84 int (*status)(struct disk_info *disk); 85 int (*read)(struct disk_info *disk, uint8_t *data_buf, 87 int (*write)(struct disk_info *disk, const uint8_t *data_buf, 89 int (*ioctl)(struct disk_info *disk, uint8_t cmd, void *buff); 99 int disk_access_register(struct disk_info *disk); 108 int disk_access_unregister(struct disk_info *disk);
|
/Zephyr-Core-2.7.6/drivers/disk/ |
D | ramdisk.c | 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 | Kconfig | 11 source "drivers/disk/Kconfig.ram" 12 source "drivers/disk/Kconfig.flash" 13 source "drivers/disk/Kconfig.sdmmc"
|
D | sdmmc_stm32.c | 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 176 const struct device *dev = disk->dev; in stm32_sdmmc_access_ioctl()
|
D | flashdisk.c | 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 | sdmmc_spi.c | 865 static int disk_spi_sdhc_access_status(struct disk_info *disk) in disk_spi_sdhc_access_status() argument 867 const struct device *dev = disk->dev; in disk_spi_sdhc_access_status() 873 static int disk_spi_sdhc_access_read(struct disk_info *disk, in disk_spi_sdhc_access_read() argument 876 const struct device *dev = disk->dev; in disk_spi_sdhc_access_read() 891 static int disk_spi_sdhc_access_write(struct disk_info *disk, in disk_spi_sdhc_access_write() argument 894 const struct device *dev = disk->dev; in disk_spi_sdhc_access_write() 919 static int disk_spi_sdhc_access_ioctl(struct disk_info *disk, in disk_spi_sdhc_access_ioctl() argument 922 const struct device *dev = disk->dev; in disk_spi_sdhc_access_ioctl() 950 static int disk_spi_sdhc_access_init(struct disk_info *disk) in disk_spi_sdhc_access_init() argument 952 const struct device *dev = disk->dev; in disk_spi_sdhc_access_init()
|
D | Kconfig.ram | 7 RAM buffer used to emulate storage disk.
|
D | usdhc.c | 2719 static int disk_usdhc_access_status(struct disk_info *disk) in disk_usdhc_access_status() argument 2721 const struct device *dev = disk->dev; in disk_usdhc_access_status() 2727 static int disk_usdhc_access_read(struct disk_info *disk, uint8_t *buf, in disk_usdhc_access_read() argument 2730 const struct device *dev = disk->dev; in disk_usdhc_access_read() 2738 static int disk_usdhc_access_write(struct disk_info *disk, const uint8_t *buf, in disk_usdhc_access_write() argument 2741 const struct device *dev = disk->dev; in disk_usdhc_access_write() 2749 static int disk_usdhc_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buf) in disk_usdhc_access_ioctl() argument 2751 const struct device *dev = disk->dev; in disk_usdhc_access_ioctl() 2779 static int disk_usdhc_access_init(struct disk_info *disk) in disk_usdhc_access_init() argument 2781 const struct device *dev = disk->dev; in disk_usdhc_access_init()
|
/Zephyr-Core-2.7.6/tests/subsys/fs/fat_fs_dual_drive/src/ |
D | disk_access_test_drv.c | 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/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 91 sd 3:0:0:0: [sdb] Attached SCSI removable disk 181 [00:00:00.009,002] <inf> littlefs: LittleFS version 2.2, disk version 2.0 [all …]
|
D | CMakeLists.txt | 10 message( FATAL_ERROR "No disk access settings detected." )
|
/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 50 Stack size for mass storage disk operations thread
|
/Zephyr-Core-2.7.6/doc/reference/storage/disk/ |
D | access.rst | 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.
|
/Zephyr-Core-2.7.6/doc/reference/storage/ |
D | index.rst | 10 disk/access.rst
|
/Zephyr-Core-2.7.6/subsys/ |
D | CMakeLists.txt | 10 add_subdirectory_ifdef(CONFIG_DISK_ACCESS disk)
|
D | Kconfig | 19 source "subsys/disk/Kconfig"
|
/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/drivers/ |
D | CMakeLists.txt | 8 add_subdirectory(disk)
|
D | Kconfig | 116 source "drivers/disk/Kconfig"
|
/Zephyr-Core-2.7.6/samples/subsys/fs/littlefs/ |
D | README.rst | 25 [00:00:00.010,192] <inf> littlefs: LittleFS version 2.0, disk version 2.0
|
/Zephyr-Core-2.7.6/boards/arm/nrf52_blenano2/doc/ |
D | index.rst | 58 …DAPLink USB board acts as a dongle. DAPLink debug probes appear on the host computer as a USB disk.
|
/Zephyr-Core-2.7.6/boards/arm/nrf51_blenano/doc/ |
D | index.rst | 58 …DAPLink USB board acts as a dongle. DAPLink debug probes appear on the host computer as a USB disk.
|