Searched refs:TPM_HEADER_SIZE (Results 1 – 6 of 6) sorted by relevance
/drivers/char/tpm/ |
D | tpm_i2c_stm_st33.c | 461 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()
|
D | tpm_i2c_infineon.c | 444 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()
|
D | tpm_i2c_stm_st33.h | 45 #define TPM_HEADER_SIZE 10 macro
|
D | tpm_tis.c | 236 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()
|
D | tpm.h | 55 #define TPM_HEADER_SIZE 10 macro
|
D | tpm.c | 450 else if (len < TPM_HEADER_SIZE) in transmit_cmd() 876 if (rc < TPM_HEADER_SIZE) in tpm_do_selftest()
|