Searched refs:buffer_idx (Results 1 – 4 of 4) sorted by relevance
32 u16 buffer_idx; member54 eeprom->buffer_idx = 0; in i2c_slave_eeprom_slave_cb()55 eeprom->buffer_idx = *val | (eeprom->buffer_idx << 8); in i2c_slave_eeprom_slave_cb()60 eeprom->buffer[eeprom->buffer_idx++ & eeprom->address_mask] = *val; in i2c_slave_eeprom_slave_cb()68 eeprom->buffer_idx++; in i2c_slave_eeprom_slave_cb()72 *val = eeprom->buffer[eeprom->buffer_idx & eeprom->address_mask]; in i2c_slave_eeprom_slave_cb()
144 new = &oe->buffer->event[oe->buffer_idx]; in alloc_event()145 if (++oe->buffer_idx == MAX_SAMPLE_BUFFER) in alloc_event()160 oe->buffer_idx = 1; in alloc_event()399 ordered_events_buffer__free(oe->buffer, oe->buffer_idx, oe); in ordered_events__free()
47 int buffer_idx; member
305 int buffer_idx = 0; in populate_rw_params() local317 command->rw_params.sizes[buffer_idx] += size_on_page; in populate_rw_params()319 ++buffer_idx; in populate_rw_params()320 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params()321 command->rw_params.sizes[buffer_idx] = size_on_page; in populate_rw_params()325 command->rw_params.buffers_count = buffer_idx + 1; in populate_rw_params()