Lines Matching refs:burst_count
147 int burst_count = -1; in i2c_nuvoton_get_burstcount() local
156 burst_count = min_t(u8, TPM_I2C_MAX_BUF_SIZE, data); in i2c_nuvoton_get_burstcount()
162 return burst_count; in i2c_nuvoton_get_burstcount()
235 int burst_count, bytes2read, size = 0; in i2c_nuvoton_recv_data() local
241 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv_data()
242 if (burst_count < 0) { in i2c_nuvoton_recv_data()
245 burst_count); in i2c_nuvoton_recv_data()
248 bytes2read = min_t(size_t, burst_count, count - size); in i2c_nuvoton_recv_data()
270 int expected, status, burst_count, retries, size = 0; in i2c_nuvoton_recv() local
294 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv()
295 if (burst_count < 0) { in i2c_nuvoton_recv()
301 burst_count); in i2c_nuvoton_recv()
354 int burst_count, bytes2write, retries, rc = -EIO; in i2c_nuvoton_send() local
368 burst_count = i2c_nuvoton_get_burstcount(client, in i2c_nuvoton_send()
370 if (burst_count < 0) { in i2c_nuvoton_send()
376 bytes2write = min_t(size_t, burst_count, in i2c_nuvoton_send()