Home
last modified time | relevance | path

Searched refs:val1 (Results 226 – 250 of 304) sorted by relevance

12345678910>>...13

/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040.c102 val->val1 = data->proximity; in vcnl4040_channel_get()
108 val->val1 = data->light * data->sensitivity; in vcnl4040_channel_get()
/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c174 val->val1 = temp_frac / 1000000; in ens210_channel_get()
180 val->val1 = humidity_frac / 1000000; in ens210_channel_get()
/Zephyr-latest/drivers/sensor/aosong/dht20/
Ddht20.c263 val->val1 = micro_c / 1000000; in dht20_temp_convert()
278 val->val1 = micro_rh / 1000000; in dht20_rh_convert()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280.c224 val->val1 = data->reading.comp_temp / 100; in bme280_channel_get()
233 val->val1 = (data->reading.comp_press >> 8) / 1000U; in bme280_channel_get()
247 val->val1 = (data->reading.comp_humidity >> 10); in bme280_channel_get()
/Zephyr-latest/drivers/counter/
Dcounter_gd32_timer.c175 static uint32_t ticks_add(uint32_t val1, uint32_t val2, uint32_t top) in ticks_add() argument
180 return (val1 + val2) & top; in ticks_add()
183 to_top = top - val1; in ticks_add()
185 return (val2 <= to_top) ? val1 + val2 : val2 - to_top; in ticks_add()
Dcounter_ll_stm32_timer.c158 static uint32_t counter_stm32_ticks_add(uint32_t val1, uint32_t val2, uint32_t top) in counter_stm32_ticks_add() argument
163 return (val1 + val2) & top; in counter_stm32_ticks_add()
166 to_top = top - val1; in counter_stm32_ticks_add()
168 return (val2 <= to_top) ? val1 + val2 : val2 - to_top - 1U; in counter_stm32_ticks_add()
/Zephyr-latest/drivers/sensor/ltrf216a/
Dltrf216a.c132 val->val1 = microlux / 1000000; in ltrf216a_channel_get()
/Zephyr-latest/drivers/sensor/maxim/max31790/
Dmax31790_fan_speed.c103 val->val1 = data->rpm; in max31790_fan_speed_channel_get()
/Zephyr-latest/drivers/sensor/microchip/mcp9600/
Dmcp9600.c101 val->val1 = data->temp / 1000000; in mcp9600_channel_get()
/Zephyr-latest/drivers/sensor/qdec_sam/
Dqdec_sam.c57 val->val1 = dev_data->position; in qdec_sam_get()
/Zephyr-latest/drivers/sensor/seeed/grove/
Dlight_sensor.c75 val->val1 = (int32_t)dval; in gls_channel_get()
Dtemperature_sensor.c77 val->val1 = (int32_t)dval; in gts_channel_get()
/Zephyr-latest/drivers/sensor/aosong/ags10/
Dags10.c75 val->val1 = data->tvoc_ppb; in ags10_channel_get()
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/
Dqdec_nrfx.c109 val->val1 = (acc * FULL_ANGLE) / config->steps; in qdec_nrfx_channel_get()
110 val->val2 = (acc * FULL_ANGLE) - (val->val1 * config->steps); in qdec_nrfx_channel_get()
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_tach_npcx/
Dtach_nuvoton_npcx.c299 val->val1 = (config->sample_clk * 60) / in tach_npcx_channel_get()
302 val->val1 = 0U; in tach_npcx_channel_get()
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/
Dlsm9ds0_gyro.c159 val->val1 = (int32_t)dval; in lsm9ds0_gyro_convert()
232 if (lsm9ds0_gyro_set_odr(dev, val->val1) < 0) { in lsm9ds0_gyro_attr_set()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a.c60 val->val1 = data->temp_sample >> TCN75A_TEMP_MSB_POS; in tcn75a_channel_get()
/Zephyr-latest/drivers/sensor/ti/tmp007/
Dtmp007.c92 val->val1 = uval / 1000000; in tmp007_channel_get()
/Zephyr-latest/drivers/sensor/amg88xx/
Damg88xx.c58 val[idx].val1 = (((int32_t)drv_data->sample[idx]) * in amg88xx_channel_get()
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/
Dmain.c89 if (value.val1) { in mode_show_presence()
/Zephyr-latest/drivers/dai/intel/dmic/
Ddmic.c267 uint32_t val1; in dai_dmic_irq_handler() local
271 val1 = dai_dmic_read(dmic, OUTSTAT + PDM_CHANNEL_REGS_SIZE); in dai_dmic_irq_handler()
272 LOG_DBG("dmic_irq_handler(), OUTSTAT0 = 0x%x, OUTSTAT1 = 0x%x", val0, val1); in dai_dmic_irq_handler()
280 if (val1 & OUTSTAT_ROR) { in dai_dmic_irq_handler()
282 dai_dmic_write(dmic, OUTSTAT + PDM_CHANNEL_REGS_SIZE, val1); in dai_dmic_irq_handler()
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/
Dlsm6dso16is_shub.c113 return lsm6dso16is_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dso16is_lis2mdl_conf()
209 return lsm6dso16is_hts221_odr_set(dev, i2c_addr, val->val1); in lsm6dso16is_hts221_conf()
322 return lsm6dso16is_lps22hh_odr_set(dev, i2c_addr, val->val1); in lsm6dso16is_lps22hh_conf()
402 return lsm6dso16is_lps22df_odr_set(dev, i2c_addr, val->val1); in lsm6dso16is_lps22df_conf()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_shub.c113 return lsm6dsv16x_lis2mdl_odr_set(dev, i2c_addr, val->val1); in lsm6dsv16x_lis2mdl_conf()
209 return lsm6dsv16x_hts221_odr_set(dev, i2c_addr, val->val1); in lsm6dsv16x_hts221_conf()
322 return lsm6dsv16x_lps22hh_odr_set(dev, i2c_addr, val->val1); in lsm6dsv16x_lps22hh_conf()
402 return lsm6dsv16x_lps22df_odr_set(dev, i2c_addr, val->val1); in lsm6dsv16x_lps22df_conf()
/Zephyr-latest/drivers/sensor/microchip/mcp970x/
Dmcp970x.c85 val->val1 = t / MC_PER_C; in get()
/Zephyr-latest/drivers/sensor/sensirion/sts4x/
Dsts4x.c124 val->val1 = (int32_t)(temp / 0xFFFF) + STS4X_MIN_TEMP; in sts4x_channel_get()

12345678910>>...13