Lines Matching full:disk
10 #include <zephyr/drivers/disk.h>
39 static int disk_ram_access_status(struct disk_info *disk) in disk_ram_access_status() argument
44 static int disk_ram_access_read(struct disk_info *disk, uint8_t *buff, in disk_ram_access_read() argument
47 const struct device *dev = disk->dev; in disk_ram_access_read()
62 static int disk_ram_access_write(struct disk_info *disk, const uint8_t *buff, in disk_ram_access_write() argument
65 const struct device *dev = disk->dev; in disk_ram_access_write()
80 static int disk_ram_access_ioctl(struct disk_info *disk, uint8_t cmd, void *buff) in disk_ram_access_ioctl() argument
82 const struct ram_disk_config *config = disk->dev->config; in disk_ram_access_ioctl()
106 static int disk_ram_access_init(struct disk_info *disk) in disk_ram_access_init() argument
108 return disk_ram_access_ioctl(disk, DISK_IOCTL_CTRL_INIT, NULL); in disk_ram_access_init()
136 "Disk size is smaller than memory region"); \