Lines Matching refs:speed
148 int speed = 0, mode = 0; in lan966x_port_link_up() local
151 switch (config->speed) { in lan966x_port_link_up()
153 speed = LAN966X_SPEED_10; in lan966x_port_link_up()
156 speed = LAN966X_SPEED_100; in lan966x_port_link_up()
159 speed = LAN966X_SPEED_1000; in lan966x_port_link_up()
163 speed = LAN966X_SPEED_2500; in lan966x_port_link_up()
168 lan966x_taprio_speed_set(port, config->speed); in lan966x_port_link_up()
181 DEV_MAC_IFG_CFG_RX_IFG1_SET(config->speed == SPEED_10 ? 2 : 1) | in lan966x_port_link_up()
195 if (config->speed == SPEED_1000) in lan966x_port_link_up()
208 lan_wr(ANA_PFC_CFG_FC_LINK_SPEED_SET(speed), in lan966x_port_link_up()
230 lan_rmw(SYS_MAC_FC_CFG_FC_LINK_SPEED_SET(speed) | in lan966x_port_link_up()
261 lan_wr(DEV_CLOCK_CFG_LINK_SPEED_SET(speed), in lan966x_port_link_up()
323 state->speed = SPEED_1000; in lan966x_port_status_get()
325 state->speed = SPEED_2500; in lan966x_port_status_get()