Home
last modified time | relevance | path

Searched refs:TPM_HEADER_SIZE (Results 1 – 6 of 6) sorted by relevance

/drivers/char/tpm/
Dtpm_i2c_stm_st33.c461 if (len < TPM_HEADER_SIZE) in tpm_stm_i2c_send()
536 if (count < TPM_HEADER_SIZE) { in tpm_stm_i2c_recv()
541 size = recv_data(chip, buf, TPM_HEADER_SIZE); in tpm_stm_i2c_recv()
542 if (size < TPM_HEADER_SIZE) { in tpm_stm_i2c_recv()
553 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_stm_i2c_recv()
554 expected - TPM_HEADER_SIZE); in tpm_stm_i2c_recv()
Dtpm_i2c_infineon.c444 if (count < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv()
450 size = recv_data(chip, buf, TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
451 if (size < TPM_HEADER_SIZE) { in tpm_tis_i2c_recv()
462 size += recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_i2c_recv()
463 expected - TPM_HEADER_SIZE); in tpm_tis_i2c_recv()
Dtpm_i2c_stm_st33.h45 #define TPM_HEADER_SIZE 10 macro
Dtpm_tis.c236 if (count < TPM_HEADER_SIZE) { in tpm_tis_recv()
243 recv_data(chip, buf, TPM_HEADER_SIZE)) < TPM_HEADER_SIZE) { in tpm_tis_recv()
255 recv_data(chip, &buf[TPM_HEADER_SIZE], in tpm_tis_recv()
256 expected - TPM_HEADER_SIZE)) < expected) { in tpm_tis_recv()
Dtpm.h55 #define TPM_HEADER_SIZE 10 macro
Dtpm.c450 else if (len < TPM_HEADER_SIZE) in transmit_cmd()
876 if (rc < TPM_HEADER_SIZE) in tpm_do_selftest()