Searched refs:rshunt_uohm (Results 1 – 1 of 1) sorted by relevance
187 u32 rshunt_uohm; /* uOhm */ member263 pac1921_calc_scale(vsense_lsb, (int)priv->rshunt_uohm, in pac1921_calc_current_scales()773 vals[0] = (int)priv->rshunt_uohm; in pac1921_read_shunt_resistor()785 u64 rshunt_uohm; in pac1921_write_shunt_resistor() local796 rshunt_uohm = (u32)val * MICRO + (u32)val_fract; in pac1921_write_shunt_resistor()797 if (rshunt_uohm == 0 || rshunt_uohm > INT_MAX) in pac1921_write_shunt_resistor()802 priv->rshunt_uohm = (u32)rshunt_uohm; in pac1921_write_shunt_resistor()1181 &priv->rshunt_uohm); in pac1921_probe()1185 if (priv->rshunt_uohm == 0 || priv->rshunt_uohm > INT_MAX) in pac1921_probe()1188 priv->rshunt_uohm); in pac1921_probe()