Lines Matching +full:rx +full:- +full:mask
1 /* adxl367_spi.c - SPI routines for ADXL367 driver
7 * SPDX-License-Identifier: Apache-2.0
22 const struct adxl367_dev_config *config = dev->config; in adxl367_bus_access()
50 const struct spi_buf_set rx = { in adxl367_bus_access() local
57 return spi_transceive_dt(&config->spi, &tx, &rx); in adxl367_bus_access()
62 return spi_write_dt(&config->spi, &tx); in adxl367_bus_access()
90 uint32_t mask, in adxl367_spi_reg_write_mask() argument
101 tmp &= ~mask; in adxl367_spi_reg_write_mask()
116 struct adxl367_data *data = dev->data; in adxl367_spi_init()
117 const struct adxl367_dev_config *config = dev->config; in adxl367_spi_init()
119 data->hw_tf = &adxl367_spi_transfer_fn; in adxl367_spi_init()
121 if (!spi_is_ready_dt(&config->spi)) { in adxl367_spi_init()
122 return -ENODEV; in adxl367_spi_init()