Searched refs:tpm_chip (Results 26 - 50 of 50) sorted by relevance

12

/linux-master/drivers/char/tpm/
H A Dtpm_vtpm_proxy.c29 struct tpm_chip *chip;
267 static int vtpm_proxy_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count)
298 static int vtpm_proxy_is_driver_command(struct tpm_chip *chip,
330 static int vtpm_proxy_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t count)
366 static void vtpm_proxy_tpm_op_cancel(struct tpm_chip *chip)
371 static u8 vtpm_proxy_tpm_op_status(struct tpm_chip *chip)
381 static bool vtpm_proxy_tpm_req_canceled(struct tpm_chip *chip, u8 status)
395 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality)
490 struct tpm_chip *chip;
H A Dtpm_nsc.c70 static int wait_for_stat(struct tpm_chip *chip, u8 mask, u8 val, u8 * data)
93 static int nsc_wait_for_ready(struct tpm_chip *chip)
123 static int tpm_nsc_recv(struct tpm_chip *chip, u8 * buf, size_t count)
181 static int tpm_nsc_send(struct tpm_chip *chip, u8 * buf, size_t count)
227 static void tpm_nsc_cancel(struct tpm_chip *chip)
234 static u8 tpm_nsc_status(struct tpm_chip *chip)
241 static bool tpm_nsc_req_canceled(struct tpm_chip *chip, u8 status)
260 struct tpm_chip *chip = dev_get_drvdata(dev);
293 struct tpm_chip *chip;
H A Dtpm1-cmd.c291 unsigned long tpm1_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal)
324 static int tpm1_startup(struct tpm_chip *chip)
342 int tpm1_get_timeouts(struct tpm_chip *chip)
463 int tpm1_pcr_extend(struct tpm_chip *chip, u32 pcr_idx, const u8 *hash,
482 ssize_t tpm1_getcap(struct tpm_chip *chip, u32 subcap_id, cap_t *cap,
522 * @chip: a &struct tpm_chip instance
530 int tpm1_get_random(struct tpm_chip *chip, u8 *dest, size_t max)
584 int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf)
620 static int tpm1_continue_selftest(struct tpm_chip *chip)
642 int tpm1_do_selftest(struct tpm_chip *chi
[all...]
H A Dtpm_crb.c198 static int crb_go_idle(struct tpm_chip *chip)
247 static int crb_cmd_ready(struct tpm_chip *chip)
274 static int crb_request_locality(struct tpm_chip *chip, int loc)
301 static int crb_relinquish_locality(struct tpm_chip *chip, int loc)
308 static u8 crb_status(struct tpm_chip *chip)
320 static int crb_recv(struct tpm_chip *chip, u8 *buf, size_t count)
352 static int crb_do_acpi_start(struct tpm_chip *chip)
397 static int crb_send(struct tpm_chip *chip, u8 *buf, size_t len)
446 static void crb_cancel(struct tpm_chip *chip)
458 static bool crb_req_canceled(struct tpm_chip *chi
[all...]
H A Dtpm_ftpm_tee.c35 * @chip: the tpm_chip description as specified in driver/char/tpm/tpm.h.
43 static int ftpm_tee_tpm_op_recv(struct tpm_chip *chip, u8 *buf, size_t count)
64 * @chip: the tpm_chip description as specified in driver/char/tpm/tpm.h
72 static int ftpm_tee_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t len)
167 static void ftpm_tee_tpm_op_cancel(struct tpm_chip *chip)
172 static u8 ftpm_tee_tpm_op_status(struct tpm_chip *chip)
177 static bool ftpm_tee_tpm_req_canceled(struct tpm_chip *chip, u8 status)
219 struct tpm_chip *chip;
265 /* Allocate new struct tpm_chip instance */
H A Dtpm_infineon.c150 static int empty_fifo(struct tpm_chip *chip, int clear_wrfifo)
187 static int wait(struct tpm_chip *chip, int wait_for_bit)
208 static void wait_and_send(struct tpm_chip *chip, u8 sendbyte)
222 static void tpm_wtx(struct tpm_chip *chip)
234 static void tpm_wtx_abort(struct tpm_chip *chip)
245 static int tpm_inf_recv(struct tpm_chip *chip, u8 * buf, size_t count)
315 static int tpm_inf_send(struct tpm_chip *chip, u8 * buf, size_t count)
362 static void tpm_inf_cancel(struct tpm_chip *chip)
371 static u8 tpm_inf_status(struct tpm_chip *chip)
403 struct tpm_chip *chi
[all...]
H A Dtpm2-sessions.c83 static int tpm2_create_primary(struct tpm_chip *chip, u32 hierarchy,
266 static void tpm_buf_append_salt(struct tpm_buf *buf, struct tpm_chip *chip)
369 void tpm_buf_append_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf,
437 void tpm_buf_fill_hmac_session(struct tpm_chip *chip, struct tpm_buf *buf)
591 static int tpm2_read_public(struct tpm_chip *chip, u32 handle, char *name)
632 void tpm_buf_append_name(struct tpm_chip *chip, struct tpm_buf *buf,
692 int tpm_buf_check_hmac_response(struct tpm_chip *chip, struct tpm_buf *buf,
822 void tpm2_end_auth_session(struct tpm_chip *chip)
857 static int tpm2_load_null(struct tpm_chip *chip, u32 *null_key)
900 int tpm2_start_auth_session(struct tpm_chip *chi
[all...]
H A Dtpm_tis_spi_cr50.c271 struct tpm_chip *chip;
331 struct tpm_chip *chip = dev_get_drvdata(dev);
H A Dtpm-dev-common.c24 static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space,
110 void tpm_common_open(struct file *file, struct tpm_chip *chip,
H A Dtpm_tis_core.h95 struct tpm_chip *chip;
219 void tpm_tis_remove(struct tpm_chip *chip);
H A Dtpm_tis_synquacer.c131 struct tpm_chip *chip = dev_get_drvdata(&pdev->dev);
H A Dtpm_tis.c293 struct tpm_chip *chip = pnp_get_drvdata(dev);
342 struct tpm_chip *chip = dev_get_drvdata(&pdev->dev);
H A Dtpm_tis_spi_main.c313 struct tpm_chip *chip = spi_get_drvdata(dev);
H A Dtpm_tis_i2c.c371 struct tpm_chip *chip = i2c_get_clientdata(client);
/linux-master/drivers/char/tpm/eventlog/
H A Dtpm2.c44 struct tpm_chip *chip = m->private;
90 struct tpm_chip *chip = m->private;
130 struct tpm_chip *chip = m->private;
H A Dof.c25 static int tpm_read_log_memory_region(struct tpm_chip *chip)
51 int tpm_read_log_of(struct tpm_chip *chip)
H A Defi.c17 int tpm_read_log_efi(struct tpm_chip *chip)
H A Dtpm1.c73 struct tpm_chip *chip = m->private;
112 struct tpm_chip *chip = m->private;
H A Dacpi.c67 int tpm_read_log_acpi(struct tpm_chip *chip)
/linux-master/security/integrity/ima/
H A Dima_init.c25 struct tpm_chip *ima_tpm_chip;
H A Dima.h66 extern struct tpm_chip *ima_tpm_chip;
/linux-master/drivers/char/tpm/st33zp24/
H A Di2c.c130 struct tpm_chip *chip = i2c_get_clientdata(client);
H A Dspi.c247 struct tpm_chip *chip = spi_get_drvdata(dev);
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm2.c227 int tpm2_seal_trusted(struct tpm_chip *chip,
372 static int tpm2_load_cmd(struct tpm_chip *chip,
476 static int tpm2_unseal_cmd(struct tpm_chip *chip,
570 int tpm2_unseal_trusted(struct tpm_chip *chip,
H A Dtrusted_tpm1.c27 static struct tpm_chip *chip;

Completed in 372 milliseconds

12