Lines Matching full:disk
8 * MMC disk driver using zephyr SD subsystem
13 #include <zephyr/drivers/disk.h>
34 static int disk_mmc_access_init(struct disk_info *disk) in disk_mmc_access_init() argument
36 const struct device *dev = disk->dev; in disk_mmc_access_init()
50 static int disk_mmc_access_status(struct disk_info *disk) in disk_mmc_access_status() argument
52 const struct device *dev = disk->dev; in disk_mmc_access_status()
62 static int disk_mmc_access_read(struct disk_info *disk, uint8_t *buf, in disk_mmc_access_read() argument
65 const struct device *dev = disk->dev; in disk_mmc_access_read()
71 static int disk_mmc_access_write(struct disk_info *disk, const uint8_t *buf, in disk_mmc_access_write() argument
74 const struct device *dev = disk->dev; in disk_mmc_access_write()
80 static int disk_mmc_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buf) in disk_mmc_access_ioctl() argument
82 const struct device *dev = disk->dev; in disk_mmc_access_ioctl()
87 return disk_mmc_access_init(disk); in disk_mmc_access_ioctl()
91 * disk as uninitialized in disk_mmc_access_ioctl()