Home
last modified time | relevance | path

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

/linux/drivers/iio/light/
H A Drohm-bu27034.c649 u64 helper64; in bu27034_fixp_calc_t1_64bit() local
651 helper64 = (u64)coeff * (u64)ch1 * (u64)ch1; in bu27034_fixp_calc_t1_64bit()
655 do_div(helper64, helper); in bu27034_fixp_calc_t1_64bit()
657 return gain_mul_div_helper(helper64, gain0, ch0); in bu27034_fixp_calc_t1_64bit()
660 do_div(helper64, ch0); in bu27034_fixp_calc_t1_64bit()
662 return gain_mul_div_helper(helper64, gain0, helper); in bu27034_fixp_calc_t1_64bit()
696 u64 helper64; in bu27034_fixp_calc_t23() local
701 helper64 = (u64)coeff * (u64)ch; in bu27034_fixp_calc_t23()
702 do_div(helper64, gain); in bu27034_fixp_calc_t23()
704 return helper64; in bu27034_fixp_calc_t23()
[all …]