Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c1420 uint8_t lockreg; in do_otp_lock() local
1445 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() local
1549 lockreg = cfi_read_query(map, 0); in cfi_amdstd_otp_walk()
1556 user_locked = ((lockreg & 0x01) == 0x00); in cfi_amdstd_otp_walk()