/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 102 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/ |
D | ens210.c | 174 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/ |
D | dht20.c | 263 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/ |
D | bme280.c | 224 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/ |
D | counter_gd32_timer.c | 175 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()
|
D | counter_ll_stm32_timer.c | 158 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/ |
D | ltrf216a.c | 132 val->val1 = microlux / 1000000; in ltrf216a_channel_get()
|
/Zephyr-latest/drivers/sensor/maxim/max31790/ |
D | max31790_fan_speed.c | 103 val->val1 = data->rpm; in max31790_fan_speed_channel_get()
|
/Zephyr-latest/drivers/sensor/microchip/mcp9600/ |
D | mcp9600.c | 101 val->val1 = data->temp / 1000000; in mcp9600_channel_get()
|
/Zephyr-latest/drivers/sensor/qdec_sam/ |
D | qdec_sam.c | 57 val->val1 = dev_data->position; in qdec_sam_get()
|
/Zephyr-latest/drivers/sensor/seeed/grove/ |
D | light_sensor.c | 75 val->val1 = (int32_t)dval; in gls_channel_get()
|
D | temperature_sensor.c | 77 val->val1 = (int32_t)dval; in gts_channel_get()
|
/Zephyr-latest/drivers/sensor/aosong/ags10/ |
D | ags10.c | 75 val->val1 = data->tvoc_ppb; in ags10_channel_get()
|
/Zephyr-latest/drivers/sensor/nordic/qdec_nrfx/ |
D | qdec_nrfx.c | 109 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/ |
D | tach_nuvoton_npcx.c | 299 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/ |
D | lsm9ds0_gyro.c | 159 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/ |
D | tcn75a.c | 60 val->val1 = data->temp_sample >> TCN75A_TEMP_MSB_POS; in tcn75a_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/tmp007/ |
D | tmp007.c | 92 val->val1 = uval / 1000000; in tmp007_channel_get()
|
/Zephyr-latest/drivers/sensor/amg88xx/ |
D | amg88xx.c | 58 val[idx].val1 = (((int32_t)drv_data->sample[idx]) * in amg88xx_channel_get()
|
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/ |
D | main.c | 89 if (value.val1) { in mode_show_presence()
|
/Zephyr-latest/drivers/dai/intel/dmic/ |
D | dmic.c | 267 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/ |
D | lsm6dso16is_shub.c | 113 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/ |
D | lsm6dsv16x_shub.c | 113 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/ |
D | mcp970x.c | 85 val->val1 = t / MC_PER_C; in get()
|
/Zephyr-latest/drivers/sensor/sensirion/sts4x/ |
D | sts4x.c | 124 val->val1 = (int32_t)(temp / 0xFFFF) + STS4X_MIN_TEMP; in sts4x_channel_get()
|