Searched refs:recd (Results 1 – 3 of 3) sorted by relevance
537 u32 recd; in tpm1_get_random() local557 recd = be32_to_cpu(out->rng_data_len); in tpm1_get_random()558 if (recd > num_bytes) { in tpm1_get_random()564 sizeof(out->rng_data_len) + recd) { in tpm1_get_random()568 memcpy(dest, out->rng_data, recd); in tpm1_get_random()570 dest += recd; in tpm1_get_random()571 total += recd; in tpm1_get_random()572 num_bytes -= recd; in tpm1_get_random()
292 u32 recd; in tpm2_get_random() local321 recd = min_t(u32, be16_to_cpu(out->size), num_bytes); in tpm2_get_random()325 recd) { in tpm2_get_random()329 memcpy(dest_ptr, out->buffer, recd); in tpm2_get_random()331 dest_ptr += recd; in tpm2_get_random()332 total += recd; in tpm2_get_random()333 num_bytes -= recd; in tpm2_get_random()
6931 + dev_dbg(dev, "Ack recd for message 0x%08x\n", msghdr.allbits);