Lines Matching refs:cap
433 ssize_t tpm_getcap(struct device *dev, __be32 subcap_id, cap_t *cap, in tpm_getcap() argument
442 tpm_cmd.params.getcap_in.cap = subcap_id; in tpm_getcap()
449 tpm_cmd.params.getcap_in.cap = TPM_CAP_FLAG; in tpm_getcap()
451 tpm_cmd.params.getcap_in.cap = TPM_CAP_PROP; in tpm_getcap()
457 *cap = tpm_cmd.params.getcap_out.cap; in tpm_getcap()
467 tpm_cmd.params.getcap_in.cap = TPM_CAP_PROP; in tpm_gen_interrupt()
505 tpm_cmd.params.getcap_in.cap = TPM_CAP_PROP; in tpm_get_timeouts()
518 tpm_cmd.params.getcap_in.cap = TPM_CAP_PROP; in tpm_get_timeouts()
536 old_timeout[0] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.a); in tpm_get_timeouts()
537 old_timeout[1] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.b); in tpm_get_timeouts()
538 old_timeout[2] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.c); in tpm_get_timeouts()
539 old_timeout[3] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.d); in tpm_get_timeouts()
579 tpm_cmd.params.getcap_in.cap = TPM_CAP_PROP; in tpm_get_timeouts()
593 duration_cap = &tpm_cmd.params.getcap_out.cap.duration; in tpm_get_timeouts()