Searched refs:fhsc (Results 1 – 3 of 3) sorted by relevance
110 unsigned int fhsc = bus_width >> 8; in rk628_txphy_set_mode() local113 fhsc = fin * (fhsc / fin); in rk628_txphy_set_mode()114 if (fhsc < 80 || fhsc > 1500) in rk628_txphy_set_mode()116 else if (fhsc < 375) in rk628_txphy_set_mode()118 else if (fhsc < 750) in rk628_txphy_set_mode()125 fvco = fhsc * 2 * txphy->rate_div; in rk628_txphy_set_mode()140 fhsc = fvco / 2 / txphy->rate_div; in rk628_txphy_set_mode()141 txphy->bus_width = fhsc; in rk628_txphy_set_mode()166 unsigned int fhsc = rk628_txphy_get_bus_width(rk628) & 0xfff; in rk628_txphy_set_mode() local168 if (fhsc < 500 || fhsc > 4000) in rk628_txphy_set_mode()[all …]
196 unsigned int fhsc = bus_width >> 8; in rk628_combtxphy_set_mode() local199 fhsc = fin * (fhsc / fin); in rk628_combtxphy_set_mode()200 if (fhsc < 80 || fhsc > 1500) in rk628_combtxphy_set_mode()202 else if (fhsc < 375) in rk628_combtxphy_set_mode()204 else if (fhsc < 750) in rk628_combtxphy_set_mode()211 fvco = fhsc * 2 * combtxphy->rate_div; in rk628_combtxphy_set_mode()226 fhsc = fvco / 2 / combtxphy->rate_div; in rk628_combtxphy_set_mode()227 combtxphy->bus_width = fhsc; in rk628_combtxphy_set_mode()
297 unsigned int fhsc = bus_width >> 8; in rk628_combtxphy_set_mode() local300 fhsc = fin * (fhsc / fin); in rk628_combtxphy_set_mode()302 if (fhsc < 80 || fhsc > 1500) in rk628_combtxphy_set_mode()304 else if (fhsc < 375) in rk628_combtxphy_set_mode()306 else if (fhsc < 750) in rk628_combtxphy_set_mode()313 fvco = fhsc * 2 * combtxphy->rate_div; in rk628_combtxphy_set_mode()329 fhsc = fvco / 2 / combtxphy->rate_div; in rk628_combtxphy_set_mode()330 phy_set_bus_width(phy, fhsc); in rk628_combtxphy_set_mode()