Lines Matching refs:duplex
114 int duplex; member
870 smc->duplex = 0; in smc91c92_config()
1294 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_tx_err()
1329 outw(inw(ioaddr + TCR) | TCR_ENABLE | smc->duplex, ioaddr + TCR); in smc_eph_irq()
1415 if (smc->duplex) in smc_interrupt()
1681 TCR_ENABLE | TCR_PAD_EN | smc->duplex, ioaddr + TCR); in smc_reset()
1779 smc->duplex = (((p & 0x0100) || ((p & 0x1c0) == 0x40)) in media_check()
1784 (p & 0x0180) ? 100 : 10, smc->duplex ? 'F' : 'H'); in media_check()
1787 outw(inw(ioaddr + TCR) | smc->duplex, ioaddr + TCR); in media_check()
1862 ecmd->duplex = (tmp & TCR_FDUPLX) ? DUPLEX_FULL : DUPLEX_HALF; in smc_netdev_get_ecmd()
1874 if (ecmd->duplex != DUPLEX_HALF && ecmd->duplex != DUPLEX_FULL) in smc_netdev_set_ecmd()
1888 if (ecmd->duplex == DUPLEX_FULL) in smc_netdev_set_ecmd()