Lines Matching +full:1 +full:gb
49 #define MLX90635_EE_Gb 0x0040 /* Gb calibration register 16bit */
56 #define MLX90635_STAT_END_CONV BIT(1) /* End of conversion indicator */
80 #define MLX90635_PWR_STATUS_SLEEP_STEP 1
119 * @emissivity: Object emissivity from 0 to 1000 where 1000 = 1
173 .reg_stride = 1,
210 .reg_stride = 1,
289 static int mlx90635_read_ee_ambient(struct regmap *regmap, s16 *PG, s16 *PO, s16 *Gb) in mlx90635_read_ee_ambient() argument
307 *Gb = (u16)read_tmp; in mlx90635_read_ee_ambient()
313 s16 *Ga, s16 *Gb, s16 *Ha, s16 *Hb, u16 *Fa_scale) in mlx90635_read_ee_object() argument
348 *Gb = (s16)read_tmp; in mlx90635_read_ee_object()
393 FIELD_PREP(MLX90635_CTRL2_SOB_MASK, 1), in mlx90635_perform_measurement_burst()
394 FIELD_PREP(MLX90635_CTRL2_SOB_MASK, 1)); in mlx90635_perform_measurement_burst()
476 s16 ambient_old_raw, s16 Gb) in mlx90635_preprocess_temp_amb() argument
480 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90635_preprocess_temp_amb()
492 s16 ambient_old_raw, s16 Gb) in mlx90635_preprocess_temp_obj() argument
496 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90635_preprocess_temp_obj()
508 u16 P_G, u16 P_O, s16 Gb) in mlx90635_calc_temp_ambient() argument
513 Gb); in mlx90635_calc_temp_ambient()
515 kPO = AMB - (((s64)P_O * 1000LL) >> 1ULL); in mlx90635_calc_temp_ambient()
536 Alpha_corr *= ((s64)(1 * 1000000LL + calcedGa + calcedGb)); in mlx90635_calc_temp_object_iteration()
580 s16 Fb, Ga, Gb, Ha, Hb; in mlx90635_calc_object() local
586 ret = mlx90635_read_ee_object(data->regmap_ee, &Ea, &Eb, &Fa, &Fb, &Ga, &Gb, &Ha, &Hb, &Fa_scale); in mlx90635_calc_object()
597 ambient_old_raw, Gb); in mlx90635_calc_object()
600 ambient_old_raw, Gb); in mlx90635_calc_object()
610 s16 PG, PO, Gb; in mlx90635_calc_ambient() local
613 ret = mlx90635_read_ee_ambient(data->regmap_ee, &PG, &PO, &Gb); in mlx90635_calc_ambient()
632 PG, PO, Gb); in mlx90635_calc_ambient()
658 { 1, 700000 },
729 *val = 1; in mlx90635_read_raw()
768 if (val < 0 || val2 < 0 || val > 1 || in mlx90635_write_raw()
769 (val == 1 && val2 != 0)) in mlx90635_write_raw()
810 .modified = 1,
818 .modified = 1,
847 s16 Fb, Ga, Gb, Ha, Hb, PG, PO; in mlx90635_wakeup() local
879 ret = mlx90635_read_ee_ambient(data->regmap_ee, &PG, &PO, &Gb); in mlx90635_wakeup()
886 ret = mlx90635_read_ee_object(data->regmap_ee, &Ea, &Eb, &Fa, &Fb, &Ga, &Gb, &Ha, &Hb, &Fa_scale); in mlx90635_wakeup()