Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/afe/
Diio-rescale.c327 u32 gain_div = 1; in rescale_current_sense_amplifier_props() local
339 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()