Searched refs:tpm_header (Results 1 – 9 of 9) sorted by relevance
37 struct tpm_header *head = (struct tpm_header *)buf->data; in tpm_buf_reset()123 ((struct tpm_header *)buf->data)->length = cpu_to_be32(buf->length); in tpm_buf_append()
39 u8 buffer[sizeof(struct tpm_header) + 25];76 struct tpm_header *hdr = (struct tpm_header *)priv->buffer; in i2c_atmel_recv()
94 struct tpm_header *header = buf; in tpm_try_transmit()206 struct tpm_header *header = (struct tpm_header *)buf; in tpm_transmit()267 const struct tpm_header *header = (struct tpm_header *)buf->data; in tpm_transmit_cmd()
300 struct tpm_header *hdr = (struct tpm_header *)buf; in vtpm_proxy_is_driver_command()302 if (count < sizeof(struct tpm_header)) in vtpm_proxy_is_driver_command()400 const struct tpm_header *header; in vtpm_proxy_request_locality()424 header = (const struct tpm_header *)buf.data; in vtpm_proxy_request_locality()
275 const struct tpm_header *header = (const void *)cmd; in tpm_find_and_validate_cc()384 struct tpm_header *header = (struct tpm_header *)rsp; in tpm2_map_response_header()444 struct tpm_header *header = (struct tpm_header *)rsp; in tpm2_map_response_body()543 struct tpm_header *header = buf; in tpm2_commit_space()
27 struct tpm_header *header = (void *)buf; in tpm_dev_transmit()
164 ordinal = be32_to_cpu(((struct tpm_header *)buf)->ordinal); in vtpm_send()
484 struct tpm_header *head; in tpm2_unseal_cmd()528 head = (struct tpm_header *)buf.data; in tpm2_unseal_cmd()
362 struct tpm_header { struct