Searched refs:gain_div (Results 1 – 1 of 1) sorted by relevance
327 u32 gain_div = 1; in rescale_current_sense_amplifier_props() local339 device_property_read_u32(dev, "sense-gain-div", &gain_div); in rescale_current_sense_amplifier_props()354 factor = gcd(rescale->denominator, gain_div); in rescale_current_sense_amplifier_props()355 rescale->numerator *= gain_div / factor; in rescale_current_sense_amplifier_props()