Lines Matching refs:duplex
54 /* If we have a PHY interrupt, we will advertise both full-duplex and half-
55 * duplex capabilities. If we don't have a PHY interrupt, then we will only
56 * advertise half-duplex capabilities.
96 #define PHY_CONF_10HDX 0x0010 /* 10 Mbit half duplex supported */
97 #define PHY_CONF_10FDX 0x0020 /* 10 Mbit full duplex supported */
98 #define PHY_CONF_100HDX 0x0040 /* 100 Mbit half duplex supported */
99 #define PHY_CONF_100FDX 0x0080 /* 100 Mbit full duplex supported */
105 #define PHY_STAT_10HDX 0x1000 /* 10 Mbit half duplex selected */
106 #define PHY_STAT_10FDX 0x2000 /* 10 Mbit full duplex selected */
107 #define PHY_STAT_100HDX 0x4000 /* 100 Mbit half duplex selected */
108 #define PHY_STAT_100FDX 0x8000 /* 100 Mbit full duplex selected */
146 static void fcc_restart(struct net_device *dev, int duplex);
875 /* advertise only half-duplex capabilities */
1393 printk(", Unknown speed/duplex");
1430 printk(", No speed/duplex selected?");
1443 int duplex = 0;
1455 duplex = 1;
1456 fcc_restart(dev, duplex);
1458 printk(" mii_relink: duplex=%d\n", duplex);
2060 /* start in full duplex mode, and negotiate speed
2064 /* start in half duplex mode
2240 fcc_restart(struct net_device *dev, int duplex)
2248 if (duplex)
2273 fcc_restart(dev, 0); /* always start in half-duplex */
2287 fcc_restart(dev, 0); /* always start in half-duplex */