Lines Matching defs:tpm_chip
119 struct tpm_chip { struct
133 struct tpm_chip_seqops bin_log_seqops; argument
134 struct tpm_chip_seqops ascii_log_seqops; argument
136 unsigned int flags;
138 int dev_num; /* /dev/tpm# */
139 unsigned long is_open; /* only one allowed */
141 char hwrng_name[64];
142 struct hwrng hwrng;
144 struct mutex tpm_mutex; /* tpm is processing */
146 unsigned long timeout_a; /* jiffies */
147 unsigned long timeout_b; /* jiffies */
148 unsigned long timeout_c; /* jiffies */
149 unsigned long timeout_d; /* jiffies */
150 bool timeout_adjusted;
151 unsigned long duration[TPM_NUM_DURATIONS]; /* jiffies */
152 bool duration_adjusted;
154 struct dentry *bios_dir[TPM_NUM_EVENT_LOG_FILES];
156 const struct attribute_group *groups[3 + TPM_MAX_HASHES];
157 unsigned int groups_cnt;
159 u32 nr_allocated_banks;
160 struct tpm_bank_info *allocated_banks;
162 acpi_handle acpi_dev_handle;
163 char ppi_version[TPM_PPI_VERSION_LEN + 1];
166 struct tpm_space work_space;
167 u32 last_cc;
168 u32 nr_commands;
169 u32 *cc_attrs_tbl;
172 int locality;