Home
last modified time | relevance | path

Searched refs:stat_reg (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/e100/
De100_phy.c138 u16 ctrl_reg, stat_reg; in e100_phy_valid() local
144 e100_mdi_read(bdp, MII_BMSR, phy_address, &stat_reg); in e100_phy_valid()
145 e100_mdi_read(bdp, MII_BMSR, phy_address, &stat_reg); in e100_phy_valid()
147 if ((ctrl_reg == 0xffff) || ((stat_reg == 0) && (ctrl_reg == 0))) in e100_phy_valid()
488 u16 stat_reg, misc_reg; in e100_find_speed_duplex() local
546 e100_mdi_read(bdp, MII_BMSR, bdp->phy_addr, &stat_reg); in e100_find_speed_duplex()
552 if ((misc_reg & EXPANSION_NWAY) && (stat_reg & BMSR_ANEGCOMPLETE)) { in e100_find_speed_duplex()
826 u16 stat_reg; in e100_auto_neg() local
831 e100_mdi_read(bdp, MII_BMSR, bdp->phy_addr, &stat_reg); in e100_auto_neg()
832 e100_mdi_read(bdp, MII_BMSR, bdp->phy_addr, &stat_reg); in e100_auto_neg()
[all …]
/linux-2.4.37.9/drivers/char/
Dpcwd.c510 int stat_reg; in pcwd_enable_card() local
519 stat_reg = inb_p (pcwd_info.io_addr + 2); in pcwd_enable_card()
522 stat_reg &= 0x10; /* "disabled when set" bit */ in pcwd_enable_card()
524 stat_reg ^= 0x10; in pcwd_enable_card()
527 return stat_reg; in pcwd_enable_card()
Dh8.c161 u_char stat_reg, data_reg; in h8_intr() local
164 stat_reg = H8_GET_STATUS; in h8_intr()
167 XDprintk("h8_intr: state %d status 0x%x data 0x%x\n", h8_state, stat_reg, data_reg); in h8_intr()
172 if (stat_reg & H8_OFULL) { in h8_intr()
181 stat_reg, data_reg); in h8_intr()
/linux-2.4.37.9/drivers/net/
Ddl2k.c1127 unsigned int stat_reg; in get_stats() local
1145 stat_reg = readw (ioaddr + FramesAbortXSColls); in get_stats()
1146 np->stats.tx_aborted_errors += stat_reg; in get_stats()
1147 np->stats.tx_errors += stat_reg; in get_stats()
1149 stat_reg = readw (ioaddr + CarrierSenseErrors); in get_stats()
1150 np->stats.tx_carrier_errors += stat_reg; in get_stats()
1151 np->stats.tx_errors += stat_reg; in get_stats()
/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c1271 uint32_t stat_reg = 0; in e1000_integrated_phy_loopback() local
1319 stat_reg = E1000_READ_REG(&adapter->hw, STATUS); in e1000_integrated_phy_loopback()
1320 if ((stat_reg & E1000_STATUS_FD) == 0) in e1000_integrated_phy_loopback()