Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t.c255 static inline unsigned int vcn36825t_measurement_timeout_us(unsigned int meas_duration, in vcn36825t_measurement_timeout_us() argument
258 return ((meas_duration * forced_factor) / VCNL36825T_FORCED_FACTOR_SCALE) + 1; in vcn36825t_measurement_timeout_us()
274 unsigned int meas_duration = 1; in vcnl36825t_init_registers() local
337 meas_duration *= 1; in vcnl36825t_init_registers()
341 meas_duration *= 2; in vcnl36825t_init_registers()
345 meas_duration *= 4; in vcnl36825t_init_registers()
351 meas_duration *= 8; in vcnl36825t_init_registers()
375 meas_duration *= 25; in vcnl36825t_init_registers()
381 meas_duration *= 50; in vcnl36825t_init_registers()
470 vcn36825t_measurement_timeout_us(meas_duration, VCNL36825T_FORCED_FACTOR_SUM); in vcnl36825t_init_registers()
[all …]