Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/maps/
H A 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()
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c38 int num_subdev; member
46 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument
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()
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdconcat.c31 int num_subdev; member
39 #define SIZEOF_STRUCT_MTD_CONCAT(num_subdev) \ argument
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()
442 BUG_ON(i >= concat->num_subdev); in concat_erase()
[all …]