Lines Matching defs:tpm_chip
112 struct tpm_chip { struct
126 struct tpm_chip_seqops bin_log_seqops; argument
127 struct tpm_chip_seqops ascii_log_seqops; argument
129 unsigned int flags;
131 int dev_num; /* /dev/tpm# */
132 unsigned long is_open; /* only one allowed */
134 char hwrng_name[64];
135 struct hwrng hwrng;
137 struct mutex tpm_mutex; /* tpm is processing */
139 unsigned long timeout_a; /* jiffies */
140 unsigned long timeout_b; /* jiffies */
141 unsigned long timeout_c; /* jiffies */
142 unsigned long timeout_d; /* jiffies */
143 bool timeout_adjusted;
144 unsigned long duration[TPM_NUM_DURATIONS]; /* jiffies */
145 bool duration_adjusted;
147 struct dentry *bios_dir[TPM_NUM_EVENT_LOG_FILES];
149 const struct attribute_group *groups[3];
150 unsigned int groups_cnt;
152 u32 nr_allocated_banks;
153 struct tpm_bank_info *allocated_banks;
155 acpi_handle acpi_dev_handle;
156 char ppi_version[TPM_PPI_VERSION_LEN + 1];
159 struct tpm_space work_space;
160 u32 last_cc;
161 u32 nr_commands;
162 u32 *cc_attrs_tbl;
165 int locality;