Searched refs:buffer_idx (Results 1 – 1 of 1) sorted by relevance
24 uint32_t buffer_idx; member102 *val = data->buffer[data->buffer_idx]; in eeprom_target_read_requested()127 data->buffer_idx = 0; in eeprom_target_write_received()130 data->buffer_idx = val | (data->buffer_idx << 8); in eeprom_target_write_received()133 data->buffer[data->buffer_idx++] = val; in eeprom_target_write_received()136 data->buffer_idx = data->buffer_idx % data->buffer_size; in eeprom_target_write_received()149 data->buffer_idx = (data->buffer_idx + 1) % data->buffer_size; in eeprom_target_read_processed()151 *val = data->buffer[data->buffer_idx]; in eeprom_target_read_processed()185 data->buffer_idx = 0; in eeprom_target_buf_write_received()187 data->buffer_idx = (data->buffer_idx << 8) | *ptr++; in eeprom_target_buf_write_received()[all …]