Lines Matching defs:duplex
247 enum sbmac_duplex sbm_duplex; /* current duplex */
293 static int sbmac_set_duplex(struct sbmac_softc *s, enum sbmac_duplex duplex,
1514 * Configure the speed, duplex, and flow control
1858 * SBMAC_SET_DUPLEX(s,duplex,fc)
1860 * Set Ethernet duplex and flow control options for this MAC
1865 * duplex - duplex setting (see enum sbmac_duplex)
1873 static int sbmac_set_duplex(struct sbmac_softc *s, enum sbmac_duplex duplex,
1882 s->sbm_duplex = duplex;
1901 switch (duplex) {
1916 case sbmac_fc_frame: /* not valid in half duplex */
1932 case sbmac_fc_collision: /* not valid in full duplex */
1933 case sbmac_fc_carrier: /* not valid in full duplex */
2366 duplex_chg = (sc->sbm_duplex != phy_dev->duplex);
2384 if (phy_dev->duplex == DUPLEX_FULL) {
2394 phy_dev->duplex == DUPLEX_FULL ? 'F' : 'H');
2399 sc->sbm_duplex = phy_dev->duplex;