Lines Matching defs:duplex
119 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex);
244 static void sis900_set_mode(struct sis900_private *, int speed, int duplex);
1314 int speed = 0, duplex = 0;
1330 sis900_read_mode(net_dev, &speed, &duplex);
1331 if (duplex) {
1332 sis900_set_mode(sis_priv, speed, duplex);
1366 * to get the upper bound of speed and duplex between two ends.
1375 int speed, duplex;
1384 duplex = FDX_CAPABLE_HALF_SELECTED;
1385 sis900_set_mode(sis_priv, speed, duplex);
1394 * @duplex: the duplex mode to be determined
1397 * speed and duplex of phy. Bit EDB_MASTER_EN indicates the EDB
1403 static void sis900_set_mode(struct sis900_private *sp, int speed, int duplex)
1426 if (duplex == FDX_CAPABLE_FULL_SELECTED) {
1479 * @duplex : the duplex mode to be determined
1483 * of speed and duplex between two ends.
1486 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex)
1507 *duplex = FDX_CAPABLE_HALF_SELECTED;
1512 *duplex = FDX_CAPABLE_FULL_SELECTED;
1519 *duplex = FDX_CAPABLE_FULL_SELECTED;
1525 printk(KERN_INFO "%s: Media Link On %s %s-duplex\n",
1529 *duplex == FDX_CAPABLE_FULL_SELECTED ?
1689 /* why dow't we break after Tx/Rx case ?? keyword: full-duplex */