Lines Matching defs:temp
494 unsigned int temp;
498 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD);
499 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) {
509 temp = smsc911x_reg_read(pdata, BYTE_TEST);
523 unsigned int temp;
527 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD);
528 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) {
542 temp = smsc911x_reg_read(pdata, BYTE_TEST);
816 unsigned int temp;
819 temp = smsc911x_reg_read(pdata, PMT_CTRL);
820 smsc911x_reg_write(pdata, PMT_CTRL, temp | PMT_CTRL_PHY_RST_);
823 temp = smsc911x_reg_read(pdata, PMT_CTRL);
824 } while ((i--) && (temp & PMT_CTRL_PHY_RST_));
826 if (unlikely(temp & PMT_CTRL_PHY_RST_)) {
1227 unsigned int temp;
1232 temp = smsc911x_reg_read(pdata, INT_EN);
1233 temp |= INT_EN_RSFL_EN_;
1234 smsc911x_reg_write(pdata, INT_EN, temp);
1445 unsigned int temp;
1488 temp = smsc911x_reg_read(pdata, reset_offset);
1489 } while ((--timeout) && (temp & reset_mask));
1491 if (unlikely(temp & reset_mask)) {
1537 u32 temp;
1540 temp = smsc911x_reg_read(pdata, INT_EN);
1541 temp &= (~INT_EN_SW_INT_EN_);
1542 smsc911x_reg_write(pdata, INT_EN, temp);
1560 temp = smsc911x_reg_read(pdata, FIFO_INT);
1561 temp |= FIFO_INT_TX_AVAIL_LEVEL_;
1562 smsc911x_reg_write(pdata, FIFO_INT, temp);
1577 temp = smsc911x_reg_read(pdata, INT_EN);
1578 temp &= (~INT_EN_RSFL_EN_);
1579 smsc911x_reg_write(pdata, INT_EN, temp);
1595 unsigned int temp;
1680 temp = smsc911x_reg_read(pdata, INT_EN);
1681 temp |= INT_EN_SW_INT_EN_;
1682 smsc911x_reg_write(pdata, INT_EN, temp);
1710 temp = smsc911x_reg_read(pdata, HW_CFG);
1712 temp &= (HW_CFG_TX_FIF_SZ_|0x00000FFF);
1713 temp |= HW_CFG_SF_;
1714 smsc911x_reg_write(pdata, HW_CFG, temp);
1716 temp = smsc911x_reg_read(pdata, FIFO_INT);
1717 temp |= FIFO_INT_TX_AVAIL_LEVEL_;
1718 temp &= ~(FIFO_INT_RX_STS_LEVEL_);
1719 smsc911x_reg_write(pdata, FIFO_INT, temp);
1727 temp = smsc911x_reg_read(pdata, INT_EN);
1728 temp |= (INT_EN_TDFA_EN_ | INT_EN_RSFL_EN_ | INT_EN_RXSTOP_INT_EN_);
1729 smsc911x_reg_write(pdata, INT_EN, temp);
1732 temp = smsc911x_mac_read(pdata, MAC_CR);
1733 temp |= (MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_);
1734 smsc911x_mac_write(pdata, MAC_CR, temp);
1755 unsigned int temp;
1758 temp = smsc911x_reg_read(pdata, INT_CFG);
1759 temp &= ~INT_CFG_IRQ_EN_;
1760 smsc911x_reg_write(pdata, INT_CFG, temp);
1792 unsigned int temp;
1828 temp = smsc911x_reg_read(pdata, FIFO_INT);
1829 temp &= 0x00FFFFFF;
1830 temp |= 0x32000000;
1831 smsc911x_reg_write(pdata, FIFO_INT, temp);
1900 unsigned int temp;
1906 temp = smsc911x_mac_read(pdata, MAC_CR);
1907 temp &= ~(MAC_CR_RXEN_);
1908 smsc911x_mac_write(pdata, MAC_CR, temp);
2010 unsigned int temp = smsc911x_reg_read(pdata, GPIO_CFG);
2011 temp &= ~GPIO_CFG_EEPR_EN_;
2012 smsc911x_reg_write(pdata, GPIO_CFG, temp);