Home
last modified time | relevance | path

Searched refs:power_cut_counter (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Ddebug.c519 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
520 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
524 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut()
529 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
530 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
H A Dubi.h398 unsigned int power_cut_counter; member
/openbmc/linux/drivers/mtd/ubi/
H A Ddebug.c589 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
590 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
594 ubi->dbg.power_cut_counter += get_random_u32_below(range); in ubi_dbg_power_cut()
599 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
600 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
H A Dubi.h424 unsigned int power_cut_counter; member