Searched refs:set_pwd (Results 1 – 1 of 1) sorted by relevance
1217 int erase, lock, clr_pwd, set_pwd, pwd_len; in sd_lock_command() local1221 set_pwd = sd->data[0] & 0x01; in sd_lock_command()1235 set_pwd || clr_pwd || lock || sd->wp_switch || in sd_lock_command()1262 if ((pwd_len && !set_pwd) || in sd_lock_command()1263 (clr_pwd && (set_pwd || lock)) || in sd_lock_command()1264 (lock && !sd->pwd_len && !set_pwd) || in sd_lock_command()1265 (!set_pwd && !clr_pwd && in sd_lock_command()1272 if (set_pwd) { in sd_lock_command()