Searched refs:adxl367_bus_access (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl367/ |
D | adxl367_i2c.c | 21 static int adxl367_bus_access(const struct device *dev, uint8_t reg, in adxl367_bus_access() function 43 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), reg_data, 1); in adxl367_i2c_reg_read() 51 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), in adxl367_i2c_reg_read_multiple() 59 return adxl367_bus_access(dev, ADXL367_REG_WRITE(reg_addr), in adxl367_i2c_reg_write()
|
D | adxl367_spi.c | 21 static int adxl367_bus_access(const struct device *dev, uint8_t reg, in adxl367_bus_access() function 71 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), reg_data, 1); in adxl367_spi_reg_read() 79 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), in adxl367_spi_reg_read_multiple() 87 return adxl367_bus_access(dev, ADXL367_REG_WRITE(reg_addr), in adxl367_spi_reg_write()
|