Lines Matching refs:bus_width
200 void rk628_combtxphy_set_bus_width(struct rk628 *rk628, u32 bus_width) in rk628_combtxphy_set_bus_width() argument
202 rk628->combtxphy.bus_width = bus_width; in rk628_combtxphy_set_bus_width()
207 return rk628->combtxphy.bus_width; in rk628_combtxphy_get_bus_width()
223 int bus_width = rk628_combtxphy_get_bus_width(rk628); in rk628_combtxphy_set_mode() local
224 unsigned int fhsc = bus_width >> 8; in rk628_combtxphy_set_mode()
225 unsigned int flags = bus_width & 0xff; in rk628_combtxphy_set_mode()
266 combtxphy->bus_width = fhsc; in rk628_combtxphy_set_mode()
272 int bus_width = rk628_combtxphy_get_bus_width(rk628); in rk628_combtxphy_set_mode() local
273 unsigned int flags = bus_width & 0xff; in rk628_combtxphy_set_mode()
274 unsigned int rate = (bus_width >> 8) * 7; in rk628_combtxphy_set_mode()
292 unsigned int bus_width = rk628_combtxphy_get_bus_width(rk628); in rk628_combtxphy_set_mode() local
296 if (bus_width < 500000 || bus_width > 4000000) in rk628_combtxphy_set_mode()
298 else if (bus_width < 1000000) in rk628_combtxphy_set_mode()
300 else if (bus_width < 2000000) in rk628_combtxphy_set_mode()
304 fvco = bus_width * combtxphy->rate_div; in rk628_combtxphy_set_mode()
335 bus_width = ref_clk / combtxphy->ref_div * 8; in rk628_combtxphy_set_mode()
336 bus_width *= fb_div; in rk628_combtxphy_set_mode()
337 bus_width /= combtxphy->rate_div; in rk628_combtxphy_set_mode()
342 combtxphy->bus_width = bus_width; in rk628_combtxphy_set_mode()