Lines Matching defs:temp

495 	unsigned int temp;
499 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD);
500 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) {
510 temp = smsc911x_reg_read(pdata, BYTE_TEST);
524 unsigned int temp;
528 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD);
529 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) {
543 temp = smsc911x_reg_read(pdata, BYTE_TEST);
813 unsigned int temp;
816 temp = smsc911x_reg_read(pdata, PMT_CTRL);
817 smsc911x_reg_write(pdata, PMT_CTRL, temp | PMT_CTRL_PHY_RST_);
820 temp = smsc911x_reg_read(pdata, PMT_CTRL);
821 } while ((i--) && (temp & PMT_CTRL_PHY_RST_));
823 if (unlikely(temp & PMT_CTRL_PHY_RST_)) {
1219 unsigned int temp;
1224 temp = smsc911x_reg_read(pdata, INT_EN);
1225 temp |= INT_EN_RSFL_EN_;
1226 smsc911x_reg_write(pdata, INT_EN, temp);
1437 unsigned int temp;
1480 temp = smsc911x_reg_read(pdata, reset_offset);
1481 } while ((--timeout) && (temp & reset_mask));
1483 if (unlikely(temp & reset_mask)) {
1529 u32 temp;
1532 temp = smsc911x_reg_read(pdata, INT_EN);
1533 temp &= (~INT_EN_SW_INT_EN_);
1534 smsc911x_reg_write(pdata, INT_EN, temp);
1552 temp = smsc911x_reg_read(pdata, FIFO_INT);
1553 temp |= FIFO_INT_TX_AVAIL_LEVEL_;
1554 smsc911x_reg_write(pdata, FIFO_INT, temp);
1569 temp = smsc911x_reg_read(pdata, INT_EN);
1570 temp &= (~INT_EN_RSFL_EN_);
1571 smsc911x_reg_write(pdata, INT_EN, temp);
1587 unsigned int temp;
1670 temp = smsc911x_reg_read(pdata, INT_EN);
1671 temp |= INT_EN_SW_INT_EN_;
1672 smsc911x_reg_write(pdata, INT_EN, temp);
1700 temp = smsc911x_reg_read(pdata, HW_CFG);
1702 temp &= (HW_CFG_TX_FIF_SZ_|0x00000FFF);
1703 temp |= HW_CFG_SF_;
1704 smsc911x_reg_write(pdata, HW_CFG, temp);
1706 temp = smsc911x_reg_read(pdata, FIFO_INT);
1707 temp |= FIFO_INT_TX_AVAIL_LEVEL_;
1708 temp &= ~(FIFO_INT_RX_STS_LEVEL_);
1709 smsc911x_reg_write(pdata, FIFO_INT, temp);
1717 temp = smsc911x_reg_read(pdata, INT_EN);
1718 temp |= (INT_EN_TDFA_EN_ | INT_EN_RSFL_EN_ | INT_EN_RXSTOP_INT_EN_);
1719 smsc911x_reg_write(pdata, INT_EN, temp);
1722 temp = smsc911x_mac_read(pdata, MAC_CR);
1723 temp |= (MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_);
1724 smsc911x_mac_write(pdata, MAC_CR, temp);
1745 unsigned int temp;
1748 temp = smsc911x_reg_read(pdata, INT_CFG);
1749 temp &= ~INT_CFG_IRQ_EN_;
1750 smsc911x_reg_write(pdata, INT_CFG, temp);
1782 unsigned int temp;
1818 temp = smsc911x_reg_read(pdata, FIFO_INT);
1819 temp &= 0x00FFFFFF;
1820 temp |= 0x32000000;
1821 smsc911x_reg_write(pdata, FIFO_INT, temp);
1890 unsigned int temp;
1896 temp = smsc911x_mac_read(pdata, MAC_CR);
1897 temp &= ~(MAC_CR_RXEN_);
1898 smsc911x_mac_write(pdata, MAC_CR, temp);
2000 unsigned int temp = smsc911x_reg_read(pdata, GPIO_CFG);
2001 temp &= ~GPIO_CFG_EEPR_EN_;
2002 smsc911x_reg_write(pdata, GPIO_CFG, temp);