Home
last modified time | relevance | path

Searched refs:fhsc (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/
H A Drk628_combtxphy.c110 unsigned int fhsc = bus_width >> 8; in rk628_txphy_set_mode() local
113 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() local
168 if (fhsc < 500 || fhsc > 4000) in rk628_txphy_set_mode()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628_combtxphy.c196 unsigned int fhsc = bus_width >> 8; in rk628_combtxphy_set_mode() local
199 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/
H A Drk628_combtxphy.c297 unsigned int fhsc = bus_width >> 8; in rk628_combtxphy_set_mode() local
300 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()