Lines Matching defs:tpm_class_ops
35 struct tpm_class_ops { struct
36 unsigned int flags;
37 const u8 req_complete_mask;
38 const u8 req_complete_val;
39 bool (*req_canceled)(struct tpm_chip *chip, u8 status);
40 int (*recv) (struct tpm_chip *chip, u8 *buf, size_t len);
41 int (*send) (struct tpm_chip *chip, u8 *buf, size_t len);
42 void (*cancel) (struct tpm_chip *chip);
43 u8 (*status) (struct tpm_chip *chip);
44 bool (*update_timeouts)(struct tpm_chip *chip,
46 int (*go_idle)(struct tpm_chip *chip);
47 int (*cmd_ready)(struct tpm_chip *chip);
48 int (*request_locality)(struct tpm_chip *chip, int loc);
49 int (*relinquish_locality)(struct tpm_chip *chip, int loc);
50 void (*clk_enable)(struct tpm_chip *chip, bool value);