Home
last modified time | relevance | path

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

/drivers/mtd/
Dmtdconcat.c30 int num_subdev; member
38 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument
39 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
62 for (i = 0; i < concat->num_subdev; i++) { in concat_read()
119 for (i = 0; i < concat->num_subdev; i++) { in concat_write()
191 for (i = 0; i < concat->num_subdev; i++) { in concat_writev()
250 for (i = 0; i < concat->num_subdev; i++) { in concat_read_oob()
310 for (i = 0; i < concat->num_subdev; i++) { in concat_write_oob()
462 for (i = 0; i < concat->num_subdev; i++) { in concat_erase()
473 BUG_ON(i >= concat->num_subdev); in concat_erase()
[all …]
/drivers/mtd/maps/
Dsa1100-flash.c136 int num_subdev; member
243 for (i = info->num_subdev - 1; i >= 0; i--) in sa1100_destroy()
306 info->num_subdev = i; in sa1100_setup_mtd()
311 if (ret != 0 && !(ret == -ENXIO && info->num_subdev > 0)) in sa1100_setup_mtd()
319 if (info->num_subdev == 1) { in sa1100_setup_mtd()
323 } else if (info->num_subdev > 1) { in sa1100_setup_mtd()
329 for (i = 0; i < info->num_subdev; i++) in sa1100_setup_mtd()
332 info->mtd = mtd_concat_create(cdev, info->num_subdev, in sa1100_setup_mtd()