Lines Matching refs:speed
463 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() argument
469 if (speed >= 0 && speed != SPEED_10 && speed != SPEED_100 && in mac_set_speed_duplex_fc()
470 speed != SPEED_1000) in mac_set_speed_duplex_fc()
475 if (speed >= 0) { in mac_set_speed_duplex_fc()
480 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
485 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
487 else if (speed == SPEED_100) in mac_set_speed_duplex_fc()
495 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
497 else if (speed == SPEED_100) in mac_set_speed_duplex_fc()
504 speed == SPEED_1000 ? 5 : 0x11); in mac_set_speed_duplex_fc()
507 else if (speed == SPEED_1000) in mac_set_speed_duplex_fc()