comp2
static int veml6075_uva_comp(int raw_uva, int comp1, int comp2)
comp2a_c = (comp2 * VEML6075_B_COEF) / 1000U;
static int veml6075_uvb_comp(int raw_uvb, int comp1, int comp2)
comp2b_c = (comp2 * VEML6075_D_COEF) / 1000U;
offst_car = comp2(offst_car, 16);
derot = comp2(derot, 24);
offst_tmg = comp2(offst_tmg, 24); /* 2's complement */
static int is_equal_num(char comp1[], char comp2[], int num)
if (comp1[i] != comp2[i])
u32 comp2 = i2s_read_reg(dev->i2s_base, dev->i2s_reg_comp2);
idx = COMP2_RX_WORDSIZE_0(comp2);
u32 comp2 = i2s_read_reg(dev->i2s_base, I2S_COMP_PARAM_2);
idx2 = COMP2_RX_WORDSIZE_0(comp2);
u32 comp2 = i2s_read_reg(dev->i2s_base, I2S_COMP_PARAM_2);
idx2 = COMP2_RX_WORDSIZE_0(comp2);