Home
last modified time | relevance | path

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

/linux/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c118 int src_coef; /* coefficient for slew rate calibrate */ member
161 tmp = xsphy->src_ref_clk * xsphy->src_coef; in u2_phy_slew_rate_calibrate()
170 xsphy->src_ref_clk, xsphy->src_coef); in u2_phy_slew_rate_calibrate()
545 xsphy->src_coef = XSP_SLEW_RATE_COEF; in mtk_xsphy_probe()
549 device_property_read_u32(dev, "mediatek,src-coef", &xsphy->src_coef); in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c346 int src_coef; /* coefficient for slew rate calibrate */ member
698 if (instance->eye_src || !tphy->src_ref_clk || !tphy->src_coef) in hs_slew_rate_calibrate()
734 tmp = tphy->src_ref_clk * tphy->src_coef; in hs_slew_rate_calibrate()
743 tphy->src_ref_clk, tphy->src_coef); in hs_slew_rate_calibrate()
1609 ret = device_property_read_u32(dev, "mediatek,src-coef", &tphy->src_coef); in mtk_tphy_probe()
1611 tphy->src_coef = tphy->pdata->slew_rate_coefficient; in mtk_tphy_probe()