Home
last modified time | relevance | path

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

/qemu/hw/sd/
H A Dsd.c166 uint32_t pwd_len; member
863 sd->pwd_len = 0; in sd_reset()
1226 pwd_len = 0; in sd_lock_command()
1243 sd->pwd_len = 0; in sd_lock_command()
1250 pwd_len <= sd->pwd_len || in sd_lock_command()
1251 pwd_len > sd->pwd_len + 16) { in sd_lock_command()
1256 if (sd->pwd_len && memcmp(sd->pwd, sd->data + 2, sd->pwd_len)) { in sd_lock_command()
1261 pwd_len -= sd->pwd_len; in sd_lock_command()
1273 memcpy(sd->pwd, sd->data + 2 + sd->pwd_len, pwd_len); in sd_lock_command()
1274 sd->pwd_len = pwd_len; in sd_lock_command()
[all …]