Home
last modified time | relevance | path

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

/rk3399_ARM-atf/drivers/nxp/sfp/
H A Dfuse_prov.c156 static void otpmk_make_code_word_256(uint8_t *otpmk, bool minimal_flag) in otpmk_make_code_word_256() argument
168 otpmk[252/8] |= (1 << (252%8)); in otpmk_make_code_word_256()
169 otpmk[253/8] |= (1 << (253%8)); in otpmk_make_code_word_256()
170 otpmk[254/8] |= (1 << (254%8)); in otpmk_make_code_word_256()
171 otpmk[255/8] |= (1 << (255%8)); in otpmk_make_code_word_256()
178 if ((otpmk[i/8] & (1 << (i%8))) != 0) { in otpmk_make_code_word_256()
188 otpmk[code_bit/8] ^= (1 << (code_bit % 8)); in otpmk_make_code_word_256()
194 otpmk[(code_bit - 4)/8] ^= (1 << ((code_bit - 4) % 8)); in otpmk_make_code_word_256()
195 otpmk[4/8] ^= (1 << (4 % 8)); in otpmk_make_code_word_256()
201 otpmk[0] ^= parity_bit; in otpmk_make_code_word_256()
[all …]
/rk3399_ARM-atf/include/drivers/nxp/sfp/
H A Dfuse_prov.h68 uint32_t otpmk[8]; /* 0x0C-0x2B OTPMK */ member
H A Dsfp.h72 uint32_t otpmk[8]; /* 0x234 OTPMK */ member