Home
last modified time | relevance | path

Searched refs:helper64 (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/iio/light/
Drohm-bu27034.c826 u64 helper64; in bu27034_fixp_calc_t1_64bit() local
828 helper64 = (u64)coeff * (u64)ch1 * (u64)ch1; in bu27034_fixp_calc_t1_64bit()
832 do_div(helper64, helper); in bu27034_fixp_calc_t1_64bit()
834 return gain_mul_div_helper(helper64, gain0, ch0); in bu27034_fixp_calc_t1_64bit()
837 do_div(helper64, ch0); in bu27034_fixp_calc_t1_64bit()
839 return gain_mul_div_helper(helper64, gain0, helper); in bu27034_fixp_calc_t1_64bit()
873 u64 helper64; in bu27034_fixp_calc_t23() local
878 helper64 = (u64)coeff * (u64)ch; in bu27034_fixp_calc_t23()
879 do_div(helper64, gain); in bu27034_fixp_calc_t23()
881 return helper64; in bu27034_fixp_calc_t23()
[all …]