Searched refs:buffer_idx (Results 1 – 4 of 4) sorted by relevance
29 u8 buffer_idx; member41 eeprom->buffer_idx = *val; in i2c_slave_eeprom_slave_cb()45 eeprom->buffer[eeprom->buffer_idx++] = *val; in i2c_slave_eeprom_slave_cb()52 eeprom->buffer_idx++; in i2c_slave_eeprom_slave_cb()56 *val = eeprom->buffer[eeprom->buffer_idx]; in i2c_slave_eeprom_slave_cb()
361 int buffer_idx = 0; in populate_rw_params() local373 command->rw_params.sizes[buffer_idx] += size_on_page; in populate_rw_params()375 ++buffer_idx; in populate_rw_params()376 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params()377 command->rw_params.sizes[buffer_idx] = size_on_page; in populate_rw_params()381 command->rw_params.buffers_count = buffer_idx + 1; in populate_rw_params()
107 new = oe->buffer + oe->buffer_idx; in alloc_event()108 if (++oe->buffer_idx == MAX_SAMPLE_BUFFER) in alloc_event()126 oe->buffer_idx = 2; in alloc_event()
40 int buffer_idx; member