/kernel/linux/linux-5.10/drivers/iio/temperature/ |
H A D | mlx90632.c | 51 #define MLX90632_EE_Gb 0x242e /* Gb calibration register 16bit */ 481 s16 ambient_old_raw, s16 Gb) in mlx90632_preprocess_temp_amb() 485 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb() 528 s32 P_T, s32 P_R, s32 P_G, s32 P_O, s16 Gb) in mlx90632_calc_temp_ambient() 533 Gb); in mlx90632_calc_temp_ambient() 630 s16 Ha, Hb, Gb, Ka; in mlx90632_calc_object_dsp105() local 660 Gb = (s16)read_tmp; in mlx90632_calc_object_dsp105() 681 ambient_old_raw, Gb); in mlx90632_calc_object_dsp105() 693 ambient_old_raw, Gb); in mlx90632_calc_object_dsp105() 709 s16 Gb; in mlx90632_calc_ambient_dsp105() local 480 mlx90632_preprocess_temp_amb(s16 ambient_new_raw, s16 ambient_old_raw, s16 Gb) mlx90632_preprocess_temp_amb() argument 527 mlx90632_calc_temp_ambient(s16 ambient_new_raw, s16 ambient_old_raw, s32 P_T, s32 P_R, s32 P_G, s32 P_O, s16 Gb) mlx90632_calc_temp_ambient() argument [all...] |
/kernel/linux/linux-6.6/drivers/iio/temperature/ |
H A D | mlx90632.c | 55 #define MLX90632_EE_Gb 0x242e /* Gb calibration register 16bit */ 670 s16 ambient_old_raw, s16 Gb) in mlx90632_preprocess_temp_amb() 674 kGb = ((s64)Gb * 1000LL) >> 10ULL; in mlx90632_preprocess_temp_amb() 717 s32 P_T, s32 P_R, s32 P_G, s32 P_O, s16 Gb) in mlx90632_calc_temp_ambient() 722 Gb); in mlx90632_calc_temp_ambient() 820 s16 Ha, Hb, Gb, Ka; in mlx90632_calc_object_dsp105() local 849 Gb = (s16)read_tmp; in mlx90632_calc_object_dsp105() 870 ambient_old_raw, Gb); in mlx90632_calc_object_dsp105() 882 ambient_old_raw, Gb); in mlx90632_calc_object_dsp105() 899 s16 Gb; in mlx90632_calc_ambient_dsp105() local 669 mlx90632_preprocess_temp_amb(s16 ambient_new_raw, s16 ambient_old_raw, s16 Gb) mlx90632_preprocess_temp_amb() argument 716 mlx90632_calc_temp_ambient(s16 ambient_new_raw, s16 ambient_old_raw, s32 P_T, s32 P_R, s32 P_G, s32 P_O, s16 Gb) mlx90632_calc_temp_ambient() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | spca561.c | 165 {0x0000, 0x8614}, /* Gb offset for white balance */ 170 {0x0040, 0x8654}, /* Gb gain for white balance */ 467 reg_w_val(gspca_dev, reg + 3, val); /* Gb */ in setbrightness() 486 reg_w_val(gspca_dev, 0x8654, contrast + 0x20); /* Gb */ in setwhite() 649 __u8 R, Gr, Gb, B; in do_autogain() local 670 Gb = gspca_dev->usb_buf[0]; in do_autogain() 671 y = (77 * R + 75 * (Gr + Gb) + 29 * B) >> 8; in do_autogain() 672 /* u= (128*B-(43*(Gr+Gb+R))) >> 8; */ in do_autogain() 673 /* v= (128*R-(53*(Gr+Gb))-21*B) >> 8; */ in do_autogain()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | spca561.c | 165 {0x0000, 0x8614}, /* Gb offset for white balance */ 170 {0x0040, 0x8654}, /* Gb gain for white balance */ 467 reg_w_val(gspca_dev, reg + 3, val); /* Gb */ in setbrightness() 486 reg_w_val(gspca_dev, 0x8654, contrast + 0x20); /* Gb */ in setwhite() 649 __u8 R, Gr, Gb, B; in do_autogain() local 670 Gb = gspca_dev->usb_buf[0]; in do_autogain() 671 y = (77 * R + 75 * (Gr + Gb) + 29 * B) >> 8; in do_autogain() 672 /* u= (128*B-(43*(Gr+Gb+R))) >> 8; */ in do_autogain() 673 /* v= (128*R-(53*(Gr+Gb))-21*B) >> 8; */ in do_autogain()
|