Home
last modified time | relevance | path

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

/linux/drivers/phy/mediatek/
H A Dphy-mtk-xsphy.c117 int src_ref_clk; /* MHZ, reference clock 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()
544 xsphy->src_ref_clk = XSP_REF_CLK; in mtk_xsphy_probe()
548 &xsphy->src_ref_clk); in mtk_xsphy_probe()
H A Dphy-mtk-tphy.c345 int src_ref_clk; /* MHZ, reference clock 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()
1605 ret = device_property_read_u32(dev, "mediatek,src-ref-clk-mhz", &tphy->src_ref_clk); in mtk_tphy_probe()
1607 tphy->src_ref_clk = tphy->pdata->slew_ref_clock_mhz; in mtk_tphy_probe()