Lines Matching refs:be32_to_cpu
341 count = be32_to_cpu(*((__be32 *) (buf + 2))); in tpm_transmit()
342 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); in tpm_transmit()
415 err = be32_to_cpu(header->return_code); in tpm_transmit_cmd()
531 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || in tpm_get_timeouts()
532 be32_to_cpu(tpm_cmd.header.out.length) 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()
588 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || in tpm_get_timeouts()
589 be32_to_cpu(tpm_cmd.header.out.length) in tpm_get_timeouts()
595 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_short)); in tpm_get_timeouts()
597 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_medium)); in tpm_get_timeouts()
599 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_long)); in tpm_get_timeouts()
809 rc = be32_to_cpu(cmd.header.out.return_code); in tpm_do_selftest()
1035 recd = be32_to_cpu(tpm_cmd.params.getrandom_out.rng_data_len); in tpm_get_random()