Lines Matching +full:address +full:- +full:1
4 * SPDX-License-Identifier: Apache-2.0
15 uint8_t address[2]; in bosch_bmi323_spi_read_words() local
22 address[0] = offset | 0x80; in bosch_bmi323_spi_read_words()
23 address[1] = 0x00; in bosch_bmi323_spi_read_words()
25 transmit_buffer.buf = address; in bosch_bmi323_spi_read_words()
26 transmit_buffer.len = sizeof(address); in bosch_bmi323_spi_read_words()
29 transmit_buffer_set.count = 1; in bosch_bmi323_spi_read_words()
33 receive_buffers[1].buf = words; in bosch_bmi323_spi_read_words()
34 receive_buffers[1].len = (words_count * 2); in bosch_bmi323_spi_read_words()
50 uint8_t address; in bosch_bmi323_spi_write_words() local
55 address = offset & 0x7F; in bosch_bmi323_spi_write_words()
57 transmit_buffers[0].buf = &address; in bosch_bmi323_spi_write_words()
58 transmit_buffers[0].len = 1; in bosch_bmi323_spi_write_words()
59 transmit_buffers[1].buf = words; in bosch_bmi323_spi_write_words()
60 transmit_buffers[1].len = (words_count * 2); in bosch_bmi323_spi_write_words()
79 return -ENODEV; in bosch_bmi323_spi_init()
82 ret = bosch_bmi323_spi_read_words(spi, 0, &sensor_id, 1); in bosch_bmi323_spi_init()