Lines Matching refs:cpu_to_be32
424 #define TPM_ORD_GET_CAP cpu_to_be32(101)
425 #define TPM_ORD_GET_RANDOM cpu_to_be32(70)
429 .length = cpu_to_be32(22),
444 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(0); in tpm_getcap()
445 tpm_cmd.header.in.length -= cpu_to_be32(sizeof(__be32)); in tpm_getcap()
452 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(4); in tpm_getcap()
468 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(4); in tpm_gen_interrupt()
476 #define TPM_ORD_STARTUP cpu_to_be32(153)
482 .length = cpu_to_be32(12),
506 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(4); in tpm_get_timeouts()
519 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(4); in tpm_get_timeouts()
580 tpm_cmd.params.getcap_in.subcap_size = cpu_to_be32(4); in tpm_get_timeouts()
622 .length = cpu_to_be32(10),
623 .ordinal = cpu_to_be32(TPM_ORD_CONTINUE_SELFTEST),
644 #define TPM_ORDINAL_PCRREAD cpu_to_be32(21)
648 .length = cpu_to_be32(14),
658 cmd.params.pcrread_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_read_dev()
730 #define TPM_ORD_PCR_EXTEND cpu_to_be32(20)
734 .length = cpu_to_be32(34),
755 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(pcr_idx); in tpm_pcr_extend()
795 cmd.params.pcrread_in.pcr_idx = cpu_to_be32(0); in tpm_do_selftest()
904 #define TPM_ORD_SAVESTATE cpu_to_be32(152)
909 .length = cpu_to_be32(10),
936 cmd.params.pcrextend_in.pcr_idx = cpu_to_be32(tpm_suspend_pcr); in tpm_pm_suspend()
992 .length = cpu_to_be32(14),
1027 tpm_cmd.params.getrandom_in.num_bytes = cpu_to_be32(num_bytes); in tpm_get_random()