• Home
  • Raw
  • Download

Lines Matching refs:speed

166 					   int port, int speed, bool alt_bit,  in mv88e6xxx_port_set_speed_duplex()  argument
172 switch (speed) { in mv88e6xxx_port_set_speed_duplex()
232 if (speed != SPEED_UNFORCED) in mv88e6xxx_port_set_speed_duplex()
241 if (speed) in mv88e6xxx_port_set_speed_duplex()
242 dev_dbg(chip->dev, "p%d: Speed set to %d Mbps\n", port, speed); in mv88e6xxx_port_set_speed_duplex()
254 int speed, int duplex) in mv88e6065_port_set_speed_duplex() argument
256 if (speed == SPEED_MAX) in mv88e6065_port_set_speed_duplex()
257 speed = 200; in mv88e6065_port_set_speed_duplex()
259 if (speed > 200) in mv88e6065_port_set_speed_duplex()
263 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, false, false, in mv88e6065_port_set_speed_duplex()
269 int speed, int duplex) in mv88e6185_port_set_speed_duplex() argument
271 if (speed == SPEED_MAX) in mv88e6185_port_set_speed_duplex()
272 speed = 1000; in mv88e6185_port_set_speed_duplex()
274 if (speed == 200 || speed > 1000) in mv88e6185_port_set_speed_duplex()
277 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, false, false, in mv88e6185_port_set_speed_duplex()
283 int speed, int duplex) in mv88e6250_port_set_speed_duplex() argument
285 if (speed == SPEED_MAX) in mv88e6250_port_set_speed_duplex()
286 speed = 100; in mv88e6250_port_set_speed_duplex()
288 if (speed > 100) in mv88e6250_port_set_speed_duplex()
291 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, false, false, in mv88e6250_port_set_speed_duplex()
297 int speed, int duplex) in mv88e6341_port_set_speed_duplex() argument
299 if (speed == SPEED_MAX) in mv88e6341_port_set_speed_duplex()
300 speed = port < 5 ? 1000 : 2500; in mv88e6341_port_set_speed_duplex()
302 if (speed > 2500) in mv88e6341_port_set_speed_duplex()
305 if (speed == 200 && port != 0) in mv88e6341_port_set_speed_duplex()
308 if (speed == 2500 && port < 5) in mv88e6341_port_set_speed_duplex()
311 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, !port, true, in mv88e6341_port_set_speed_duplex()
325 int speed, int duplex) in mv88e6352_port_set_speed_duplex() argument
327 if (speed == SPEED_MAX) in mv88e6352_port_set_speed_duplex()
328 speed = 1000; in mv88e6352_port_set_speed_duplex()
330 if (speed > 1000) in mv88e6352_port_set_speed_duplex()
333 if (speed == 200 && port < 5) in mv88e6352_port_set_speed_duplex()
336 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, true, false, in mv88e6352_port_set_speed_duplex()
342 int speed, int duplex) in mv88e6390_port_set_speed_duplex() argument
344 if (speed == SPEED_MAX) in mv88e6390_port_set_speed_duplex()
345 speed = port < 9 ? 1000 : 2500; in mv88e6390_port_set_speed_duplex()
347 if (speed > 2500) in mv88e6390_port_set_speed_duplex()
350 if (speed == 200 && port != 0) in mv88e6390_port_set_speed_duplex()
353 if (speed == 2500 && port < 9) in mv88e6390_port_set_speed_duplex()
356 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, true, true, in mv88e6390_port_set_speed_duplex()
370 int speed, int duplex) in mv88e6390x_port_set_speed_duplex() argument
372 if (speed == SPEED_MAX) in mv88e6390x_port_set_speed_duplex()
373 speed = port < 9 ? 1000 : 10000; in mv88e6390x_port_set_speed_duplex()
375 if (speed == 200 && port != 0) in mv88e6390x_port_set_speed_duplex()
378 if (speed >= 2500 && port < 9) in mv88e6390x_port_set_speed_duplex()
381 return mv88e6xxx_port_set_speed_duplex(chip, port, speed, true, true, in mv88e6390x_port_set_speed_duplex()