Lines Matching refs:burst_count
141 int burst_count = -1; in i2c_nuvoton_get_burstcount() local
150 burst_count = min_t(u8, TPM_I2C_MAX_BUF_SIZE, data); in i2c_nuvoton_get_burstcount()
157 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()
272 int burst_count; in i2c_nuvoton_recv() local
299 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv()
300 if (burst_count < 0) { in i2c_nuvoton_recv()
306 burst_count); in i2c_nuvoton_recv()
361 int burst_count, bytes2write, retries, rc = -EIO; in i2c_nuvoton_send() local
375 burst_count = i2c_nuvoton_get_burstcount(client, in i2c_nuvoton_send()
377 if (burst_count < 0) { in i2c_nuvoton_send()
383 bytes2write = min_t(size_t, burst_count, in i2c_nuvoton_send()