Home
last modified time | relevance | path

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

/drivers/phy/mediatek/
Dphy-mtk-xsphy.c113 int calib_val; in u2_phy_slew_rate_calibrate() local
151 calib_val = DIV_ROUND_CLOSEST(tmp, XSP_SR_COEF_DIVISOR); in u2_phy_slew_rate_calibrate()
154 calib_val = 3; in u2_phy_slew_rate_calibrate()
157 inst->index, fm_out, calib_val, in u2_phy_slew_rate_calibrate()
161 mtk_phy_update_field(pbase + XSP_USBPHYACR5, P2A5_RG_HSTX_SRCTRL, calib_val); in u2_phy_slew_rate_calibrate()
/drivers/iio/adc/
Drtq6056.c377 unsigned int calib_val; in rtq6056_set_shunt_resistor() local
386 calib_val = 5120000 / resistor_uohm; in rtq6056_set_shunt_resistor()
387 ret = regmap_write(priv->regmap, RTQ6056_REG_CALIBRATION, calib_val); in rtq6056_set_shunt_resistor()