Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm1-cmd.c537 u32 recd; in tpm1_get_random() local
557 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()
Dtpm2-cmd.c292 u32 recd; in tpm2_get_random() local
321 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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch6931 + dev_dbg(dev, "Ack recd for message 0x%08x\n", msghdr.allbits);