Lines Matching defs:tpm_class_ops
67 struct tpm_class_ops { struct
68 unsigned int flags;
69 const u8 req_complete_mask;
70 const u8 req_complete_val;
71 bool (*req_canceled)(struct tpm_chip *chip, u8 status);
72 int (*recv) (struct tpm_chip *chip, u8 *buf, size_t len);
73 int (*send) (struct tpm_chip *chip, u8 *buf, size_t len);
74 void (*cancel) (struct tpm_chip *chip);
75 u8 (*status) (struct tpm_chip *chip);
76 void (*update_timeouts)(struct tpm_chip *chip,
78 void (*update_durations)(struct tpm_chip *chip,
80 int (*go_idle)(struct tpm_chip *chip);
81 int (*cmd_ready)(struct tpm_chip *chip);
82 int (*request_locality)(struct tpm_chip *chip, int loc);
83 int (*relinquish_locality)(struct tpm_chip *chip, int loc);
84 void (*clk_enable)(struct tpm_chip *chip, bool value);