Home
last modified time | relevance | path

Searched refs:ist8310_reg_write (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/sensor/ist8310/
Dist8310.c30 static inline int ist8310_reg_write(const struct device *dev, uint8_t reg, uint8_t val) in ist8310_reg_write() function
50 if (ist8310_reg_write(dev, IST8310_CONTROL_REGISTER1, CTRL1_MODE_SINGLE) < 0) { in ist8310_sample_fetch()
66 if (ist8310_reg_write(dev, IST8310_CONTROL_REGISTER1, CTRL1_MODE_SINGLE) < 0) { in ist8310_sample_fetch()
138 if (ist8310_reg_write(dev, IST8310_CONTROL_REGISTER2, reg) < 0) { in ist8310_init_chip()
152 if (ist8310_reg_write(dev, IST8310_CONTROL_REGISTER3, reg) < 0) { in ist8310_init_chip()
157 if (ist8310_reg_write(dev, IST8310_AVG_REGISTER, XZ_16TIMES_CLEAR | Y_16TIMES_CLEAR) < 0) { in ist8310_init_chip()
162 if (ist8310_reg_write(dev, IST8310_AVG_REGISTER, XZ_16TIMES_SET | Y_16TIMES_SET) < 0) { in ist8310_init_chip()
167 if (ist8310_reg_write(dev, IST8310_PDCNTL_REGISTER, PULSE_NORMAL) < 0) { in ist8310_init_chip()
174 if (ist8310_reg_write(dev, IST8310_CONTROL_REGISTER1, CTRL1_MODE_SINGLE) < 0) { in ist8310_init_chip()