Lines Matching defs:tag
13 * @tag: TPM_TAG_RQU_COMMAND, TPM2_ST_NO_SESSIONS or TPM2_ST_SESSIONS
18 int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal)
24 tpm_buf_reset(buf, tag, ordinal);
32 * @tag: TPM_TAG_RQU_COMMAND, TPM2_ST_NO_SESSIONS or TPM2_ST_SESSIONS
35 void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal)
39 WARN_ON(tag != TPM_TAG_RQU_COMMAND && tag != TPM2_ST_NO_SESSIONS &&
40 tag != TPM2_ST_SESSIONS && tag != 0);
44 head->tag = cpu_to_be16(tag);