Lines Matching refs:hash
428 struct ec_response_vboot_hash *hash) in cros_ec_wait_on_hash_done() argument
434 while (hash->status == EC_VBOOT_HASH_STATUS_BUSY) { in cros_ec_wait_on_hash_done()
439 hash, sizeof(*hash)) < 0) in cros_ec_wait_on_hash_done()
452 struct ec_response_vboot_hash *hash) in cros_ec_read_hash() argument
459 hash, sizeof(*hash)) < 0) in cros_ec_read_hash()
463 rv = cros_ec_wait_on_hash_done(dev, hash); in cros_ec_read_hash()
471 if (hash->status == EC_VBOOT_HASH_STATUS_DONE && hash->size) in cros_ec_read_hash()
475 __func__, hash->status, hash->size); in cros_ec_read_hash()
483 hash, sizeof(*hash)) < 0) in cros_ec_read_hash()
486 rv = cros_ec_wait_on_hash_done(dev, hash); in cros_ec_read_hash()
498 struct ec_response_vboot_hash *hash; in cros_ec_invalidate_hash() local
513 (uint8_t **)&hash, sizeof(*hash)) < 0) in cros_ec_invalidate_hash()