Lines Matching refs:speed

38 		status->speed = SPEED_10;  in decode_sgmii_word()
41 status->speed = SPEED_100; in decode_sgmii_word()
44 status->speed = SPEED_1000; in decode_sgmii_word()
97 status->speed = SPEED_1000; in sparx5_get_dev2g5_status()
99 status->speed = SPEED_2500; in sparx5_get_dev2g5_status()
148 status->speed = SPEED_5000; in sparx5_get_sfi_status()
150 status->speed = SPEED_10000; in sparx5_get_sfi_status()
152 status->speed = SPEED_25000; in sparx5_get_sfi_status()
164 status->speed = port->conf.speed; in sparx5_get_port_status()
196 conf->speed, phy_modes(conf->portmode)); in sparx5_port_error()
216 conf->speed > SPEED_2500) || in sparx5_port_verify_speed()
218 conf->speed > SPEED_5000) || in sparx5_port_verify_speed()
220 conf->speed > SPEED_10000)) in sparx5_port_verify_speed()
227 if (conf->speed != SPEED_1000 || in sparx5_port_verify_speed()
234 if (conf->speed != SPEED_2500 || in sparx5_port_verify_speed()
243 if (conf->speed != SPEED_1000 && in sparx5_port_verify_speed()
244 conf->speed != SPEED_100 && in sparx5_port_verify_speed()
245 conf->speed != SPEED_10 && in sparx5_port_verify_speed()
246 conf->speed != SPEED_2500) in sparx5_port_verify_speed()
252 if ((conf->speed != SPEED_5000 && in sparx5_port_verify_speed()
253 conf->speed != SPEED_10000 && in sparx5_port_verify_speed()
254 conf->speed != SPEED_25000)) in sparx5_port_verify_speed()
322 u32 spd = port->conf.speed; in sparx5_port_disable()
457 u32 portno, u32 speed) in sparx5_port_fifo_sz() argument
475 switch (speed) { in sparx5_port_fifo_sz()
599 int sparx5_port_fwd_urg(struct sparx5 *sparx5, u32 speed) in sparx5_port_fwd_urg() argument
604 switch (speed) { in sparx5_port_fwd_urg()
684 int portmode, err, speed = conf->speed; in sparx5_serdes_set() local
692 speed = SPEED_25000; in sparx5_serdes_set()
694 speed = SPEED_10000; in sparx5_serdes_set()
696 speed = SPEED_5000; in sparx5_serdes_set()
702 if (speed > 0) { in sparx5_serdes_set()
703 err = phy_set_speed(port->serdes, speed); in sparx5_serdes_set()
872 int spd = conf->speed; in sparx5_port_config_low_set()
990 stop_wm = sparx5_port_fifo_sz(sparx5, port->portno, conf->speed); in sparx5_port_config()
997 urgency = sparx5_port_fwd_urg(sparx5, conf->speed); in sparx5_port_config()