Lines Matching refs:burstcnt
392 ssize_t burstcnt; in get_burstcount() local
401 burstcnt = 0; in get_burstcount()
403 burstcnt = (buf[2] << 16) + (buf[1] << 8) + buf[0]; in get_burstcount()
405 if (burstcnt) in get_burstcount()
406 return burstcnt; in get_burstcount()
439 ssize_t burstcnt; in recv_data() local
444 burstcnt = get_burstcount(chip); in recv_data()
447 if (burstcnt < 0) in recv_data()
448 return burstcnt; in recv_data()
451 if (burstcnt > (count - size)) in recv_data()
452 burstcnt = count - size; in recv_data()
455 &(buf[size]), burstcnt); in recv_data()
457 size += burstcnt; in recv_data()
520 ssize_t burstcnt; in tpm_tis_i2c_send() local
543 burstcnt = get_burstcount(chip); in tpm_tis_i2c_send()
546 if (burstcnt < 0) in tpm_tis_i2c_send()
547 return burstcnt; in tpm_tis_i2c_send()
549 if (burstcnt > (len - 1 - count)) in tpm_tis_i2c_send()
550 burstcnt = len - 1 - count; in tpm_tis_i2c_send()
553 &(buf[count]), burstcnt); in tpm_tis_i2c_send()
555 count += burstcnt; in tpm_tis_i2c_send()