Searched refs:num_subdev (Results 1 – 2 of 2) sorted by relevance
36 int num_subdev; member144 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()
31 int num_subdev; member39 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument40 ((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 …]