Searched refs:buffer_idx (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/i2c/
H A Di2c-slave-eeprom.c29 u8 buffer_idx; member in struct:eeprom_data
41 eeprom->buffer_idx = *val; i2c_slave_eeprom_slave_cb()
45 eeprom->buffer[eeprom->buffer_idx++] = *val; i2c_slave_eeprom_slave_cb()
52 eeprom->buffer_idx++; i2c_slave_eeprom_slave_cb()
56 *val = eeprom->buffer[eeprom->buffer_idx]; i2c_slave_eeprom_slave_cb()
59 * Do not increment buffer_idx here, because we don't know if i2c_slave_eeprom_slave_cb()
/linux-4.4.14/tools/perf/util/
H A Dordered-events.h39 int buffer_idx; member in struct:ordered_events
H A Dordered-events.c104 new = oe->buffer + oe->buffer_idx; alloc_event()
105 if (++oe->buffer_idx == MAX_SAMPLE_BUFFER) alloc_event()
123 oe->buffer_idx = 2; alloc_event()

Completed in 120 milliseconds