Home
last modified time | relevance | path

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

/include/
A Dbootcount.h26 int (*get)(struct udevice *dev, u32 *bootcount);
36 int (*set)(struct udevice *dev, const u32 bootcount);
49 int dm_bootcount_get(struct udevice *dev, u32 *bootcount);
58 int dm_bootcount_set(struct udevice *dev, u32 bootcount);
99 unsigned long bootcount = bootcount_load(); in bootcount_error() local
102 if (bootlimit && bootcount > bootlimit) { in bootcount_error()
116 unsigned long bootcount = bootcount_load(); in bootcount_inc() local
119 bootcount_store(++bootcount); in bootcount_inc()
126 bootcount_store(++bootcount); in bootcount_inc()
128 env_set_ulong("bootcount", bootcount); in bootcount_inc()

Completed in 3 milliseconds