Searched refs:buffer_idx (Results 1 – 2 of 2) 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()
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()