Lines Matching refs:speed
459 static int mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, in mac_set_speed_duplex_fc() argument
465 if (speed >= 0 && speed != SPEED_10 && speed != SPEED_100 && in mac_set_speed_duplex_fc()
466 speed != SPEED_1000) in mac_set_speed_duplex_fc()
471 if (speed >= 0) { in mac_set_speed_duplex_fc()
476 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
481 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
483 else if (speed == SPEED_100) in mac_set_speed_duplex_fc()
491 if (speed == SPEED_1000) in mac_set_speed_duplex_fc()
493 else if (speed == SPEED_100) in mac_set_speed_duplex_fc()
500 speed == SPEED_1000 ? 5 : 0x11); in mac_set_speed_duplex_fc()
503 else if (speed == SPEED_1000) in mac_set_speed_duplex_fc()