Lines Matching refs:tpm_buf
309 struct tpm_buf {
329 static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, u32 ordinal)
338 static inline int tpm_buf_init(struct tpm_buf *buf, u16 tag, u32 ordinal)
349 static inline void tpm_buf_destroy(struct tpm_buf *buf)
354 static inline u32 tpm_buf_length(struct tpm_buf *buf)
361 static inline u16 tpm_buf_tag(struct tpm_buf *buf)
368 static inline void tpm_buf_append(struct tpm_buf *buf,
380 WARN(1, "tpm_buf: overflow\n");
389 static inline void tpm_buf_append_u8(struct tpm_buf *buf, const u8 value)
394 static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value)
401 static inline void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value)
426 extern ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,