Lines Matching defs:locked
188 /* no need to write the register if region is already locked */
253 int ret, locked;
266 locked = ops->is_locked(nor, i);
267 if (locked < 0) {
268 ret = locked;
272 buf->locked = !!locked;
289 int locked;
292 * If any of the affected OTP regions are locked the entire range is
293 * considered locked.
298 locked = ops->is_locked(nor, region);
299 /* take the branch it is locked or in case of an error */
300 if (locked)
301 return locked;
497 * different variants. One with a factory locked OTP area and one where
498 * it is left to the user to write to it. The factory locked OTP is