Lines Matching refs:burstcnt
293 int burstcnt, rc; in get_burstcount() local
306 burstcnt = (value >> 8) & 0xFFFF; in get_burstcount()
307 if (burstcnt) in get_burstcount()
308 return burstcnt; in get_burstcount()
317 int size = 0, burstcnt, rc; in recv_data() local
326 burstcnt = get_burstcount(chip); in recv_data()
327 if (burstcnt < 0) { in recv_data()
329 return burstcnt; in recv_data()
331 burstcnt = min_t(int, burstcnt, count - size); in recv_data()
334 burstcnt, buf + size); in recv_data()
338 size += burstcnt; in recv_data()
435 int rc, status, burstcnt; in tpm_tis_send_data() local
451 burstcnt = get_burstcount(chip); in tpm_tis_send_data()
452 if (burstcnt < 0) { in tpm_tis_send_data()
454 rc = burstcnt; in tpm_tis_send_data()
457 burstcnt = min_t(int, burstcnt, len - count - 1); in tpm_tis_send_data()
459 burstcnt, buf + count); in tpm_tis_send_data()
463 count += burstcnt; in tpm_tis_send_data()