Home
last modified time | relevance | path

Searched refs:max_ec (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap-wl.c37 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local
40 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
42 max_ec = e->ec; in find_anchor_wl_entry()
H A Dattach.c1043 if (ec > ai->max_ec) in scan_peb()
1044 ai->max_ec = ec; in scan_peb()
1438 ubi->max_ec = ai->max_ec; in ubi_attach()
1573 if (aeb->ec > ai->max_ec) { in self_check_ai()
1575 ai->max_ec, aeb->ec); in self_check_ai()
H A Dubi.h552 int max_ec; member
739 int max_ec; member
H A Dwl.c473 if (e->ec > ubi->max_ec) in sync_erase()
474 ubi->max_ec = e->ec; in sync_erase()
1539 ubi->max_ec = ai->max_ec;
H A Dbuild.c157 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
400 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
1048 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
H A Dfastmap.c160 if (ai->max_ec < aeb->ec) in add_aeb()
161 ai->max_ec = aeb->ec; in add_aeb()
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap-wl.c30 int max_ec = UBI_MAX_ERASECOUNTER; in find_anchor_wl_entry() local
33 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
35 max_ec = e->ec; in find_anchor_wl_entry()
H A Dattach.c1187 if (ec > ai->max_ec) in scan_peb()
1188 ai->max_ec = ec; in scan_peb()
1597 ubi->max_ec = ai->max_ec; in ubi_attach()
1734 if (aeb->ec > ai->max_ec) { in self_check_ai()
1736 ai->max_ec, aeb->ec); in self_check_ai()
H A Dubi.h580 int max_ec; member
776 int max_ec; member
H A Dbuild.c130 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
365 ret = sprintf(buf, "%d\n", ubi->max_ec); in dev_attribute_show()
1038 ubi->max_ec, ubi->mean_ec, CONFIG_MTD_UBI_WL_THRESHOLD, in ubi_attach_mtd_dev()
H A Dwl.c481 if (e->ec > ubi->max_ec) in sync_erase()
482 ubi->max_ec = e->ec; in sync_erase()
1792 ubi->max_ec = ai->max_ec;
H A Dfastmap.c152 if (ai->max_ec < aeb->ec) in add_aeb()
153 ai->max_ec = aeb->ec; in add_aeb()
/openbmc/u-boot/cmd/
H A Dubi.c71 ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec); in display_ubi_info()
/openbmc/linux/Documentation/ABI/stable/
H A Dsysfs-class-ubi74 What: /sys/class/ubi/ubiX/max_ec