Home
last modified time | relevance | path

Searched refs:buffer_idx (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/i2c/
Di2c-slave-eeprom.c29 u8 buffer_idx; member
41 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()
/Linux-v4.19/drivers/platform/goldfish/
Dgoldfish_pipe.c361 int buffer_idx = 0; in populate_rw_params() local
373 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()
/Linux-v4.19/tools/perf/util/
Dordered-events.c107 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()
Dordered-events.h40 int buffer_idx; member