Lines Matching full:disk
8 * SDMMC disk driver using zephyr SD subsystem
13 #include <zephyr/drivers/disk.h>
33 static int disk_sdmmc_access_init(struct disk_info *disk) in disk_sdmmc_access_init() argument
35 const struct device *dev = disk->dev; in disk_sdmmc_access_init()
53 static int disk_sdmmc_access_status(struct disk_info *disk) in disk_sdmmc_access_status() argument
55 const struct device *dev = disk->dev; in disk_sdmmc_access_status()
69 static int disk_sdmmc_access_read(struct disk_info *disk, uint8_t *buf, in disk_sdmmc_access_read() argument
72 const struct device *dev = disk->dev; in disk_sdmmc_access_read()
78 static int disk_sdmmc_access_write(struct disk_info *disk, const uint8_t *buf, in disk_sdmmc_access_write() argument
81 const struct device *dev = disk->dev; in disk_sdmmc_access_write()
87 static int disk_sdmmc_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buf) in disk_sdmmc_access_ioctl() argument
89 const struct device *dev = disk->dev; in disk_sdmmc_access_ioctl()
94 return disk_sdmmc_access_init(disk); in disk_sdmmc_access_ioctl()