Lines Matching refs:burst_count
154 int burst_count = -1; in i2c_nuvoton_get_burstcount() local
163 burst_count = min_t(u8, TPM_I2C_MAX_BUF_SIZE, data); in i2c_nuvoton_get_burstcount()
170 return burst_count; in i2c_nuvoton_get_burstcount()
248 int burst_count, bytes2read, size = 0; in i2c_nuvoton_recv_data() local
254 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv_data()
255 if (burst_count < 0) { in i2c_nuvoton_recv_data()
258 burst_count); in i2c_nuvoton_recv_data()
261 bytes2read = min_t(size_t, burst_count, count - size); in i2c_nuvoton_recv_data()
285 int burst_count; in i2c_nuvoton_recv() local
312 burst_count = i2c_nuvoton_get_burstcount(client, chip); in i2c_nuvoton_recv()
313 if (burst_count < 0) { in i2c_nuvoton_recv()
319 burst_count); in i2c_nuvoton_recv()
373 int burst_count, bytes2write, retries, rc = -EIO; in i2c_nuvoton_send() local
387 burst_count = i2c_nuvoton_get_burstcount(client, in i2c_nuvoton_send()
389 if (burst_count < 0) { in i2c_nuvoton_send()
395 bytes2write = min_t(size_t, burst_count, in i2c_nuvoton_send()