Lines Matching defs:tpm_chip
150 struct tpm_chip { struct
164 struct tpm_chip_seqops bin_log_seqops; argument
165 struct tpm_chip_seqops ascii_log_seqops; argument
167 unsigned int flags;
169 int dev_num; /* /dev/tpm# */
170 unsigned long is_open; /* only one allowed */
172 char hwrng_name[64];
173 struct hwrng hwrng;
175 struct mutex tpm_mutex; /* tpm is processing */
177 unsigned long timeout_a; /* jiffies */
178 unsigned long timeout_b; /* jiffies */
179 unsigned long timeout_c; /* jiffies */
180 unsigned long timeout_d; /* jiffies */
181 bool timeout_adjusted;
182 unsigned long duration[TPM_NUM_DURATIONS]; /* jiffies */
183 bool duration_adjusted;
185 struct dentry *bios_dir[TPM_NUM_EVENT_LOG_FILES];
187 const struct attribute_group *groups[3 + TPM_MAX_HASHES];
188 unsigned int groups_cnt;
190 u32 nr_allocated_banks;
191 struct tpm_bank_info *allocated_banks;
193 acpi_handle acpi_dev_handle;
194 char ppi_version[TPM_PPI_VERSION_LEN + 1];
197 struct tpm_space work_space;
198 u32 last_cc;
199 u32 nr_commands;
200 u32 *cc_attrs_tbl;
203 int locality;
209 u8 null_key_context[TPM2_MAX_CONTEXT_SIZE];
211 u8 null_key_name[TPM2_NAME_SIZE];
212 u8 null_ec_key_x[EC_PT_SZ];
213 u8 null_ec_key_y[EC_PT_SZ];
214 struct tpm2_auth *auth;