Searched refs:lockreg (Results 1 – 1 of 1) sorted by relevance
1420 uint8_t lockreg; in do_otp_lock() local1445 lockreg = cfi_read_query(map, 0); in do_otp_lock()1448 lockreg &= ~0x01; in do_otp_lock()1453 map_write(map, CMD(lockreg), chip->start); in do_otp_lock()1490 uint8_t otp, lockreg; in cfi_amdstd_otp_walk() local1549 lockreg = cfi_read_query(map, 0); in cfi_amdstd_otp_walk()1556 user_locked = ((lockreg & 0x01) == 0x00); in cfi_amdstd_otp_walk()