Searched refs:rcf (Results 1 – 1 of 1) sorted by relevance
139 struct reverse_factors rcf; member309 chip->rcf.afactor * chip->lux_ir) in apds990x_lux_to_threshold()310 thres = (chip->rcf.cf1 * thres + chip->rcf.irf1 * ir) / in apds990x_lux_to_threshold()313 thres = (chip->rcf.cf2 * thres + chip->rcf.irf2 * ir) / in apds990x_lux_to_threshold()1105 chip->rcf.afactor = in apds990x_probe()1108 chip->rcf.cf1 = APDS_PARAM_SCALE * APDS_PARAM_SCALE / in apds990x_probe()1110 chip->rcf.irf1 = chip->cf.irf1 * APDS_PARAM_SCALE / in apds990x_probe()1112 chip->rcf.cf2 = APDS_PARAM_SCALE * APDS_PARAM_SCALE / in apds990x_probe()1114 chip->rcf.irf2 = chip->cf.irf2 * APDS_PARAM_SCALE / in apds990x_probe()