Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
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()
Dubi.h398 unsigned int power_cut_counter; member