Lines Matching defs:key
209 int burnt, valid, key, key_state, buf_len = 0, upper_key_used = 0;
220 * key programming has started for key n (0000 = none, 0001 = version 0,
222 * are a thermometer code indicating key programming has completed for
223 * key n (same encodings as the start bits). This allows for detection
224 * of an interruption in the progamming process which has left the key
226 * eFuse for the new key start bit, burn the key eFuses, then burn the
227 * eFuse for the new key complete bit.
229 * For example 0000_0000: no key valid, 0001_0001: key version 0 valid,
230 * 0011_0011: key 1 version valid, 0011_0111: key version 2 started
231 * programming but did not complete, etc. The most recent key for which
235 for (key = MLXBF_SB_KEY_NUM - 1; key >= 0; key--) {
236 burnt = key_state & BIT(key);
237 valid = key_state & BIT(key + MLXBF_SB_KEY_NUM);
253 buf_len += sprintf(buf + buf_len, "%d:%s ", key, status);