Home
last modified time | relevance | path

Searched refs:last_safe (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/occ/
H A Dcommon.h113 unsigned long last_safe; /* time OCC entered "safe" state */ member
H A Dcommon.c159 if (occ->last_safe) { in occ_poll()
161 occ->last_safe + OCC_SAFE_TIMEOUT)) in occ_poll()
164 occ->last_safe = jiffies; in occ_poll()
167 occ->last_safe = 0; in occ_poll()
/kernel/linux/linux-6.6/drivers/hwmon/occ/
H A Dcommon.h114 unsigned long last_safe; /* time OCC entered "safe" state */ member
H A Dcommon.c166 if (occ->last_safe) { in occ_poll()
168 occ->last_safe + OCC_SAFE_TIMEOUT)) in occ_poll()
171 occ->last_safe = jiffies; in occ_poll()
174 occ->last_safe = 0; in occ_poll()
1164 occ->last_safe = 0; in occ_active()

Completed in 4 milliseconds