Home
last modified time | relevance | path

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

/linux/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c125 int calib_val; in u2_phy_slew_rate_calibrate() local
163 calib_val = DIV_ROUND_CLOSEST(tmp, XSP_SR_COEF_DIVISOR); in u2_phy_slew_rate_calibrate()
166 calib_val = 3; in u2_phy_slew_rate_calibrate()
169 inst->index, fm_out, calib_val, in u2_phy_slew_rate_calibrate()
173 mtk_phy_update_field(pbase + XSP_USBPHYACR5, P2A5_RG_HSTX_SRCTRL, calib_val); in u2_phy_slew_rate_calibrate()
/linux/drivers/iio/adc/
H A Drtq6056.c568 unsigned int calib_val; in rtq6056_set_shunt_resistor() local
577 calib_val = devdata->calib_coefficient / resistor_uohm; in rtq6056_set_shunt_resistor()
578 ret = regmap_write(priv->regmap, RTQ6056_REG_CALIBRATION, calib_val); in rtq6056_set_shunt_resistor()