Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Ddebug.c520 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
521 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
525 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut()
530 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
531 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
H A Dubi.h399 unsigned int power_cut_counter; member
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Ddebug.c588 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut()
589 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut()
593 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut()
598 ubi->dbg.power_cut_counter--; in ubi_dbg_power_cut()
599 if (ubi->dbg.power_cut_counter) in ubi_dbg_power_cut()
H A Dubi.h426 unsigned int power_cut_counter; member