Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/vishay/vcnl4040/
Dvcnl4040.c166 value[VCNL4040_REG_PS_CONF] = VCNL4040_PS_HD_MASK; in vcnl4040_reg_setup()
168 value[VCNL4040_REG_PS_CONF] |= config->led_dc << VCNL4040_PS_DUTY_POS; in vcnl4040_reg_setup()
170 value[VCNL4040_REG_PS_CONF] |= config->proxy_it << VCNL4040_PS_IT_POS; in vcnl4040_reg_setup()
172 value[VCNL4040_REG_PS_CONF] &= ~VCNL4040_PS_SD_MASK; in vcnl4040_reg_setup()
191 ret = vcnl4040_read(dev, VCNL4040_REG_PS_CONF, &ps_conf); in vcnl4040_pm_action()
206 ret = vcnl4040_write(dev, VCNL4040_REG_PS_CONF, in vcnl4040_pm_action()
224 ret = vcnl4040_write(dev, VCNL4040_REG_PS_CONF, in vcnl4040_pm_action()
Dvcnl4040.h19 #define VCNL4040_REG_PS_CONF 0x03 macro
Dvcnl4040_trigger.c199 if (vcnl4040_read(dev, VCNL4040_REG_PS_CONF, &conf)) { in vcnl4040_trigger_set()
207 if (vcnl4040_write(dev, VCNL4040_REG_PS_CONF, conf)) { in vcnl4040_trigger_set()