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

/linux-4.4.14/drivers/mtd/maps/
H A Dsa1100-flash.c35 int num_subdev; member in struct:sa_info
143 for (i = info->num_subdev - 1; i >= 0; i--) sa1100_destroy()
206 info->num_subdev = i; sa1100_setup_mtd()
211 if (ret != 0 && !(ret == -ENXIO && info->num_subdev > 0)) sa1100_setup_mtd()
219 if (info->num_subdev == 1) { sa1100_setup_mtd()
223 } else if (info->num_subdev > 1) { sa1100_setup_mtd()
228 for (i = 0; i < info->num_subdev; i++) sa1100_setup_mtd()
231 info->mtd = mtd_concat_create(cdev, info->num_subdev, sa1100_setup_mtd()
/linux-4.4.14/drivers/mtd/
H A Dmtdconcat.c45 int num_subdev; member in struct:mtd_concat
53 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \
54 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
75 for (i = 0; i < concat->num_subdev; i++) { concat_read()
127 for (i = 0; i < concat->num_subdev; i++) { concat_write()
185 for (i = 0; i < concat->num_subdev; i++) { concat_writev()
241 for (i = 0; i < concat->num_subdev; i++) { concat_read_oob()
301 for (i = 0; i < concat->num_subdev; i++) { concat_write_oob()
443 for (i = 0; i < concat->num_subdev; i++) { concat_erase()
454 BUG_ON(i >= concat->num_subdev); concat_erase()
503 for (i = 0; i < concat->num_subdev; i++) { concat_lock()
537 for (i = 0; i < concat->num_subdev; i++) { concat_unlock()
571 for (i = 0; i < concat->num_subdev; i++) { concat_sync()
582 for (i = 0; i < concat->num_subdev; i++) { concat_suspend()
595 for (i = 0; i < concat->num_subdev; i++) { concat_resume()
609 for (i = 0; i < concat->num_subdev; i++) { concat_block_isbad()
629 for (i = 0; i < concat->num_subdev; i++) { concat_block_markbad()
658 for (i = 0; i < concat->num_subdev; i++) { concat_get_unmapped_area()
782 concat->num_subdev = num_devs; mtd_concat_create()

Completed in 103 milliseconds