Lines Matching refs:burst_count
140 int burst_count = -1; in i2c_nuvoton_get_burstcount() local
149 burst_count = min_t(u8, TPM_I2C_MAX_BUF_SIZE, data); in i2c_nuvoton_get_burstcount()
156 return burst_count; in i2c_nuvoton_get_burstcount()
234 int burst_count, bytes2read, size = 0; in i2c_nuvoton_recv_data() local
240 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv_data()
241 if (burst_count < 0) { in i2c_nuvoton_recv_data()
244 burst_count); in i2c_nuvoton_recv_data()
247 bytes2read = min_t(size_t, burst_count, count - size); in i2c_nuvoton_recv_data()
271 int burst_count; in i2c_nuvoton_recv() local
298 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv()
299 if (burst_count < 0) { in i2c_nuvoton_recv()
305 burst_count); in i2c_nuvoton_recv()
360 int burst_count, bytes2write, retries, rc = -EIO; in i2c_nuvoton_send() local
374 burst_count = i2c_nuvoton_get_burstcount(client, in i2c_nuvoton_send()
376 if (burst_count < 0) { in i2c_nuvoton_send()
382 bytes2write = min_t(size_t, burst_count, in i2c_nuvoton_send()