Searched refs:tsl2591_reg_update (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/sensor/ams/tsl2591/ |
D | tsl2591.c | 32 int tsl2591_reg_update(const struct device *dev, uint8_t reg, uint8_t mask, uint8_t val) in tsl2591_reg_update() function 73 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_AEN_MASK, TSL2591_AEN_OFF); in tsl2591_sample_fetch() 79 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_AEN_MASK, TSL2591_AEN_ON); in tsl2591_sample_fetch() 314 ret = tsl2591_reg_update(dev, TSL2591_REG_CONFIG, TSL2591_AGAIN_MASK, gain_mode); in tsl2591_set_gain() 352 ret = tsl2591_reg_update(dev, TSL2591_REG_CONFIG, TSL2591_ATIME_MASK, atime_mode); in tsl2591_set_integration() 369 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_POWER_MASK, TSL2591_POWER_OFF); in tsl2591_attr_set() 408 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_POWER_MASK, in tsl2591_attr_set() 496 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_POWER_MASK, in tsl2591_pm_action() 506 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_POWER_MASK, in tsl2591_pm_action()
|
D | tsl2591.h | 143 int tsl2591_reg_update(const struct device *dev, uint8_t reg, uint8_t mask, uint8_t val);
|
D | tsl2591_trigger.c | 106 ret = tsl2591_reg_update(dev, TSL2591_REG_ENABLE, TSL2591_AIEN_MASK, TSL2591_AIEN_ON); in tsl2591_trigger_set()
|