Home
last modified time | relevance | path

Searched refs:block2mtd_dev (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/mtd/devices/
Dblock2mtd.c35 struct block2mtd_dev { struct
53 static int _block2mtd_erase(struct block2mtd_dev *dev, loff_t to, size_t len) in _block2mtd_erase() argument
86 struct block2mtd_dev *dev = mtd->priv; in block2mtd_erase()
104 struct block2mtd_dev *dev = mtd->priv; in block2mtd_read()
135 static int _block2mtd_write(struct block2mtd_dev *dev, const u_char *buf, in _block2mtd_write()
178 struct block2mtd_dev *dev = mtd->priv; in block2mtd_write()
193 struct block2mtd_dev *dev = mtd->priv; in block2mtd_sync()
199 static void block2mtd_free_device(struct block2mtd_dev *dev) in block2mtd_free_device()
216 static struct block2mtd_dev *add_device(char *devname, int erase_size, in add_device()
224 struct block2mtd_dev *dev; in add_device()
[all …]