Lines Matching refs:val1
237 return lsm6dsv16x_accel_odr_set(dev, val->val1); in lsm6dsv16x_accel_config()
239 switch (val->val1) { in lsm6dsv16x_accel_config()
327 return lsm6dsv16x_gyro_odr_set(dev, val->val1); in lsm6dsv16x_gyro_config()
329 switch (val->val1) { in lsm6dsv16x_gyro_config()
411 val->val1 = lsm6dsv16x_odr_map[mode][data->accel_freq]; in lsm6dsv16x_accel_get_config()
422 val->val1 = 0; in lsm6dsv16x_accel_get_config()
425 val->val1 = 1; in lsm6dsv16x_accel_get_config()
428 val->val1 = 3; in lsm6dsv16x_accel_get_config()
431 val->val1 = 4; in lsm6dsv16x_accel_get_config()
434 val->val1 = 5; in lsm6dsv16x_accel_get_config()
437 val->val1 = 6; in lsm6dsv16x_accel_get_config()
440 val->val1 = 7; in lsm6dsv16x_accel_get_config()
479 val->val1 = lsm6dsv16x_odr_map[mode][data->gyro_freq]; in lsm6dsv16x_gyro_get_config()
490 val->val1 = 0; in lsm6dsv16x_gyro_get_config()
493 val->val1 = 1; in lsm6dsv16x_gyro_get_config()
496 val->val1 = 4; in lsm6dsv16x_gyro_get_config()
499 val->val1 = 5; in lsm6dsv16x_gyro_get_config()
731 val->val1 = (int32_t)(micro_c / 1000000) + 25; in lsm6dsv16x_gyro_channel_get_temp()
744 val->val1 = (int32_t)dval / 1000000; in lsm6dsv16x_magn_convert()
813 val->val1 = rh; in lsm6dsv16x_hum_convert()
835 val->val1 = (raw_val >> 12) / 10; in lsm6dsv16x_press_convert()
856 val->val1 = raw_val / 100; in lsm6dsv16x_temp_convert()