Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/maps/
Dsa1100-flash.c36 int num_subdev; member
144 for (i = info->num_subdev - 1; i >= 0; i--) in sa1100_destroy()
207 info->num_subdev = i; in sa1100_setup_mtd()
212 if (ret != 0 && !(ret == -ENXIO && info->num_subdev > 0)) in sa1100_setup_mtd()
220 if (info->num_subdev == 1) { in sa1100_setup_mtd()
224 } else if (info->num_subdev > 1) { in sa1100_setup_mtd()
236 for (i = 0; i < info->num_subdev; i++) in sa1100_setup_mtd()
239 info->mtd = mtd_concat_create(cdev, info->num_subdev, in sa1100_setup_mtd()
/Linux-v5.10/drivers/mtd/
Dmtdconcat.c31 int num_subdev; member
39 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument
40 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
61 for (i = 0; i < concat->num_subdev; i++) { in concat_read()
112 for (i = 0; i < concat->num_subdev; i++) { in concat_panic_write()
154 for (i = 0; i < concat->num_subdev; i++) { in concat_write()
212 for (i = 0; i < concat->num_subdev; i++) { in concat_writev()
268 for (i = 0; i < concat->num_subdev; i++) { in concat_read_oob()
328 for (i = 0; i < concat->num_subdev; i++) { in concat_write_oob()
431 for (i = 0; i < concat->num_subdev; i++) { in concat_erase()
[all …]