Searched refs:burstcnt (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/char/tpm/ |
A D | tpm_i2c_infineon.c | 392 ssize_t burstcnt; in get_burstcount() local 401 burstcnt = 0; in get_burstcount() 405 if (burstcnt) in get_burstcount() 406 return burstcnt; in get_burstcount() 439 ssize_t burstcnt; in recv_data() local 447 if (burstcnt < 0) in recv_data() 448 return burstcnt; in recv_data() 457 size += burstcnt; in recv_data() 520 ssize_t burstcnt; in tpm_tis_i2c_send() local 546 if (burstcnt < 0) in tpm_tis_i2c_send() [all …]
|
A D | tpm_tis_i2c_cr50.c | 455 size_t burstcnt, cur, len, expected; in tpm_cr50_i2c_tis_recv() local 463 rc = tpm_cr50_i2c_get_burst_and_status(chip, mask, &burstcnt, &status); in tpm_cr50_i2c_tis_recv() 467 if (burstcnt > buf_len || burstcnt < TPM_HEADER_SIZE) { in tpm_cr50_i2c_tis_recv() 470 burstcnt, buf_len, TPM_HEADER_SIZE); in tpm_cr50_i2c_tis_recv() 476 rc = tpm_cr50_i2c_read(chip, addr, buf, burstcnt); in tpm_cr50_i2c_tis_recv() 491 cur = burstcnt; in tpm_cr50_i2c_tis_recv() 494 rc = tpm_cr50_i2c_get_burst_and_status(chip, mask, &burstcnt, &status); in tpm_cr50_i2c_tis_recv() 498 len = min_t(size_t, burstcnt, expected - cur); in tpm_cr50_i2c_tis_recv() 542 size_t burstcnt, limit, sent = 0; in tpm_cr50_i2c_tis_send() local 571 rc = tpm_cr50_i2c_get_burst_and_status(chip, mask, &burstcnt, &status); in tpm_cr50_i2c_tis_send() [all …]
|
A D | tpm_tis_core.c | 236 int burstcnt, rc; in get_burstcount() local 250 if (burstcnt) in get_burstcount() 251 return burstcnt; in get_burstcount() 270 if (burstcnt < 0) { in recv_data() 272 return burstcnt; in recv_data() 274 burstcnt = min_t(int, burstcnt, count - size); in recv_data() 281 size += burstcnt; in recv_data() 361 if (burstcnt < 0) { in tpm_tis_send_data() 363 rc = burstcnt; in tpm_tis_send_data() 366 burstcnt = min_t(int, burstcnt, len - count - 1); in tpm_tis_send_data() [all …]
|
/linux/drivers/char/tpm/st33zp24/ |
A D | st33zp24.c | 181 int burstcnt, status; in get_burstcount() local 191 burstcnt = temp; in get_burstcount() 197 burstcnt |= temp << 8; in get_burstcount() 198 if (burstcnt) in get_burstcount() 199 return burstcnt; in get_burstcount() 307 int size = 0, burstcnt, len, ret; in recv_data() local 315 if (burstcnt < 0) in recv_data() 316 return burstcnt; in recv_data() 360 int burstcnt = 0; in st33zp24_send() local 384 if (burstcnt < 0) in st33zp24_send() [all …]
|
Completed in 9 milliseconds