Lines Matching refs:num_subdev
38 int num_subdev; member
46 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument
47 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *)))
72 for (i = 0; i < concat->num_subdev; i++) { in concat_read()
128 for (i = 0; i < concat->num_subdev; i++) { in concat_write()
187 for (i = 0; i < concat->num_subdev; i++) { in concat_writev()
244 for (i = 0; i < concat->num_subdev; i++) { in concat_read_oob()
304 for (i = 0; i < concat->num_subdev; i++) { in concat_write_oob()
448 for (i = 0; i < concat->num_subdev; i++) { in concat_erase()
459 BUG_ON(i >= concat->num_subdev); in concat_erase()
508 for (i = 0; i < concat->num_subdev; i++) { in concat_lock()
542 for (i = 0; i < concat->num_subdev; i++) { in concat_unlock()
576 for (i = 0; i < concat->num_subdev; i++) { in concat_sync()
588 for (i = 0; i < concat->num_subdev; i++) { in concat_suspend()
601 for (i = 0; i < concat->num_subdev; i++) { in concat_resume()
616 for (i = 0; i < concat->num_subdev; i++) { in concat_block_isbad()
636 for (i = 0; i < concat->num_subdev; i++) { in concat_block_markbad()
665 for (i = 0; i < concat->num_subdev; i++) { in concat_get_unmapped_area()
809 concat->num_subdev = num_devs; in mtd_concat_create()