Searched refs:lockreg (Results 1 – 2 of 2) sorted by relevance
52 u32 lockreg; /* offset from base */ member175 dscr_write_locked1(reg, val, lock->lockreg, lock->key); in dscr_write()411 r->lockreg = be32_to_cpup(p++); in dscr_parse_locked_regs()
1423 uint8_t lockreg; in do_otp_lock() local1448 lockreg = cfi_read_query(map, 0); in do_otp_lock()1451 lockreg &= ~0x01; in do_otp_lock()1456 map_write(map, CMD(lockreg), chip->start); in do_otp_lock()1493 uint8_t otp, lockreg; in cfi_amdstd_otp_walk() local1552 lockreg = cfi_read_query(map, 0); in cfi_amdstd_otp_walk()1559 user_locked = ((lockreg & 0x01) == 0x00); in cfi_amdstd_otp_walk()