Searched refs:burstcnt (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/char/tpm/ |
D | tpm_i2c_infineon.c | 397 ssize_t burstcnt; in get_burstcount() local 406 burstcnt = 0; in get_burstcount() 408 burstcnt = (buf[2] << 16) + (buf[1] << 8) + buf[0]; in get_burstcount() 410 if (burstcnt) in get_burstcount() 411 return burstcnt; in get_burstcount() 444 ssize_t burstcnt; in recv_data() local 449 burstcnt = get_burstcount(chip); in recv_data() 452 if (burstcnt < 0) in recv_data() 453 return burstcnt; in recv_data() 456 if (burstcnt > (count - size)) in recv_data() [all …]
|
D | tpm_tis_core.c | 261 int burstcnt, rc; in get_burstcount() local 274 burstcnt = (value >> 8) & 0xFFFF; in get_burstcount() 275 if (burstcnt) in get_burstcount() 276 return burstcnt; in get_burstcount() 285 int size = 0, burstcnt, rc; in recv_data() local 294 burstcnt = get_burstcount(chip); in recv_data() 295 if (burstcnt < 0) { in recv_data() 297 return burstcnt; in recv_data() 299 burstcnt = min_t(int, burstcnt, count - size); in recv_data() 302 burstcnt, buf + size); in recv_data() [all …]
|
/Linux-v4.19/drivers/char/tpm/st33zp24/ |
D | st33zp24.c | 193 int burstcnt, status; in get_burstcount() local 203 burstcnt = temp; in get_burstcount() 209 burstcnt |= temp << 8; in get_burstcount() 210 if (burstcnt) in get_burstcount() 211 return burstcnt; in get_burstcount() 319 int size = 0, burstcnt, len, ret; in recv_data() local 326 burstcnt = get_burstcount(chip); in recv_data() 327 if (burstcnt < 0) in recv_data() 328 return burstcnt; in recv_data() 329 len = min_t(int, burstcnt, count - size); in recv_data() [all …]
|