Lines Matching refs:status
363 * the RX status FIFO. It must be called with the spin lock
369 unsigned int pkt_len, status;
375 status = SMC_GET_RX_STS_FIFO(lp);
376 DBG(SMC_DEBUG_RX, dev, "Rx pkt len %d status 0x%08x\n",
377 (status & 0x3fff0000) >> 16, status & 0xc000ffff);
378 pkt_len = (status & RX_STS_PKT_LEN_) >> 16;
379 if (status & RX_STS_ES_) {
382 if (status & RX_STS_CRC_ERR_)
385 if (status & RX_STS_LEN_ERR_)
387 if (status & RX_STS_MCAST_)
574 * This handles a TX status interrupt, which is only called when:
586 /* Collect the TX status */
593 DBG(SMC_DEBUG_TX, dev, "Tx FIFO tag 0x%04x status 0x%04x\n",
832 * smc911x_phy_check_media - check the media status and adjust BMCR
882 int status;
952 SMC_GET_PHY_MII_ADV(lp, phyaddr, status);
976 int status;
984 /* read to clear status bits */
985 SMC_GET_PHY_INT_SRC(lp, phyaddr,status);
986 DBG(SMC_DEBUG_MISC, dev, "PHY interrupt status 0x%04x\n",
987 status & 0xffff);
1002 unsigned int status, mask, timeout;
1025 status = SMC_GET_INT(lp);
1028 status, mask, status & ~mask);
1030 status &= mask;
1031 if (!status)
1035 if (status & INT_STS_SW_INT_) {
1040 if (status & INT_STS_RXE_) {
1044 if (status & INT_STS_RXDFH_INT_) {
1049 if (status & INT_STS_RXDF_INT_) {
1054 if (status & INT_STS_RDFL_) {
1066 if (status & INT_STS_RDFO_) {
1079 if ((status & INT_STS_RSFL_) || rx_overrun) {
1106 if (status & INT_STS_TDFA_) {
1118 if (status & (INT_STS_TSFL_ | INT_STS_GPT_INT_)) {
1128 if (status & INT_STS_TSFL_) {
1129 DBG(SMC_DEBUG_TX, dev, "TX status FIFO limit (%d) irq\n", ?);
1134 if (status & INT_STS_GPT_INT_) {
1149 if (status & INT_STS_PHY_INT_) {
1251 int status, mask;
1257 status = SMC_GET_INT(lp);
1261 status, mask);
1442 int status;
1464 SMC_GET_PHY_SPECIAL(lp, lp->mii.phy_id, status);
1466 (status & (PHY_SPECIAL_SPD_10FULL_ | PHY_SPECIAL_SPD_100FULL_)) ?