Searched refs:adxl367_bus_access (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_i2c.c | 19 static int adxl367_bus_access(const struct device *dev, uint8_t reg, in adxl367_bus_access() function 42 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), reg_data, 1); in adxl367_i2c_reg_read() 50 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), in adxl367_i2c_reg_read_multiple() 58 return adxl367_bus_access(dev, ADXL367_REG_WRITE(reg_addr), in adxl367_i2c_reg_write()
|
D | adxl367_spi.c | 19 static int adxl367_bus_access(const struct device *dev, uint8_t reg, in adxl367_bus_access() function 68 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), reg_data, 1); in adxl367_spi_reg_read() 76 return adxl367_bus_access(dev, ADXL367_REG_READ(reg_addr), in adxl367_spi_reg_read_multiple() 84 return adxl367_bus_access(dev, ADXL367_REG_WRITE(reg_addr), in adxl367_spi_reg_write()
|