Searched refs:addr_buffer (Results 1 – 2 of 2) sorted by relevance
143 uint8_t addr_buffer[2]; in burst_write_i2c() local146 addr_buffer[1] = start_addr & 0xFF; in burst_write_i2c()147 addr_buffer[0] = start_addr >> 8; in burst_write_i2c()148 msg[0].buf = addr_buffer; in burst_write_i2c()164 uint8_t addr_buffer[2]; in burst_read_i2c() local167 addr_buffer[1] = start_addr & 0xFF; in burst_read_i2c()168 addr_buffer[0] = start_addr >> 8; in burst_read_i2c()169 msg[0].buf = addr_buffer; in burst_read_i2c()
188 uint8_t addr_buffer[2]; in i2c_burst_read16_dt() local190 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_read16_dt()191 addr_buffer[0] = start_addr >> 8; in i2c_burst_read16_dt()192 return i2c_write_read_dt(spec, addr_buffer, sizeof(addr_buffer), buf, num_bytes); in i2c_burst_read16_dt()198 uint8_t addr_buffer[2]; in i2c_burst_write16_dt() local201 addr_buffer[1] = start_addr & 0xFF; in i2c_burst_write16_dt()202 addr_buffer[0] = start_addr >> 8; in i2c_burst_write16_dt()203 msg[0].buf = addr_buffer; in i2c_burst_write16_dt()