Lines Matching refs:temp

492 	unsigned int temp;  in smsc911x_mac_read()  local
496 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD); in smsc911x_mac_read()
497 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) { in smsc911x_mac_read()
507 temp = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_mac_read()
521 unsigned int temp; in smsc911x_mac_write() local
525 temp = smsc911x_reg_read(pdata, MAC_CSR_CMD); in smsc911x_mac_write()
526 if (unlikely(temp & MAC_CSR_CMD_CSR_BUSY_)) { in smsc911x_mac_write()
540 temp = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_mac_write()
811 unsigned int temp; in smsc911x_phy_reset() local
821 temp = smsc911x_mii_read(phy_dev->bus, phy_dev->addr, in smsc911x_phy_reset()
823 } while ((i--) && (temp & BMCR_RESET)); in smsc911x_phy_reset()
825 if (temp & BMCR_RESET) { in smsc911x_phy_reset()
1212 unsigned int temp; in smsc911x_rx_fastforward() local
1214 temp = smsc911x_reg_read(pdata, RX_DATA_FIFO); in smsc911x_rx_fastforward()
1233 unsigned int temp; in smsc911x_poll() local
1238 temp = smsc911x_reg_read(pdata, INT_EN); in smsc911x_poll()
1239 temp |= INT_EN_RSFL_EN_; in smsc911x_poll()
1240 smsc911x_reg_write(pdata, INT_EN, temp); in smsc911x_poll()
1445 unsigned int temp; in smsc911x_soft_reset() local
1478 temp = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_soft_reset()
1479 } while ((--timeout) && (temp & HW_CFG_SRST_)); in smsc911x_soft_reset()
1481 if (unlikely(temp & HW_CFG_SRST_)) { in smsc911x_soft_reset()
1524 unsigned int temp; in smsc911x_open() local
1592 temp = smsc911x_reg_read(pdata, INT_EN); in smsc911x_open()
1593 temp |= INT_EN_SW_INT_EN_; in smsc911x_open()
1594 smsc911x_reg_write(pdata, INT_EN, temp); in smsc911x_open()
1621 temp = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_open()
1623 temp &= (HW_CFG_TX_FIF_SZ_|0x00000FFF); in smsc911x_open()
1624 temp |= HW_CFG_SF_; in smsc911x_open()
1625 smsc911x_reg_write(pdata, HW_CFG, temp); in smsc911x_open()
1627 temp = smsc911x_reg_read(pdata, FIFO_INT); in smsc911x_open()
1628 temp |= FIFO_INT_TX_AVAIL_LEVEL_; in smsc911x_open()
1629 temp &= ~(FIFO_INT_RX_STS_LEVEL_); in smsc911x_open()
1630 smsc911x_reg_write(pdata, FIFO_INT, temp); in smsc911x_open()
1638 temp = smsc911x_reg_read(pdata, INT_EN); in smsc911x_open()
1639 temp |= (INT_EN_TDFA_EN_ | INT_EN_RSFL_EN_ | INT_EN_RXSTOP_INT_EN_); in smsc911x_open()
1640 smsc911x_reg_write(pdata, INT_EN, temp); in smsc911x_open()
1643 temp = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_open()
1644 temp |= (MAC_CR_TXEN_ | MAC_CR_RXEN_ | MAC_CR_HBDIS_); in smsc911x_open()
1645 smsc911x_mac_write(pdata, MAC_CR, temp); in smsc911x_open()
1658 unsigned int temp; in smsc911x_stop() local
1661 temp = smsc911x_reg_read(pdata, INT_CFG); in smsc911x_stop()
1662 temp &= ~INT_CFG_IRQ_EN_; in smsc911x_stop()
1663 smsc911x_reg_write(pdata, INT_CFG, temp); in smsc911x_stop()
1688 unsigned int temp; in smsc911x_hard_start_xmit() local
1724 temp = smsc911x_reg_read(pdata, FIFO_INT); in smsc911x_hard_start_xmit()
1725 temp &= 0x00FFFFFF; in smsc911x_hard_start_xmit()
1726 temp |= 0x32000000; in smsc911x_hard_start_xmit()
1727 smsc911x_reg_write(pdata, FIFO_INT, temp); in smsc911x_hard_start_xmit()
1796 unsigned int temp; in smsc911x_set_multicast_list() local
1802 temp = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_set_multicast_list()
1803 temp &= ~(MAC_CR_RXEN_); in smsc911x_set_multicast_list()
1804 smsc911x_mac_write(pdata, MAC_CR, temp); in smsc911x_set_multicast_list()
1824 u32 temp; in smsc911x_irqhandler() local
1827 temp = smsc911x_reg_read(pdata, INT_EN); in smsc911x_irqhandler()
1828 temp &= (~INT_EN_SW_INT_EN_); in smsc911x_irqhandler()
1829 smsc911x_reg_write(pdata, INT_EN, temp); in smsc911x_irqhandler()
1847 temp = smsc911x_reg_read(pdata, FIFO_INT); in smsc911x_irqhandler()
1848 temp |= FIFO_INT_TX_AVAIL_LEVEL_; in smsc911x_irqhandler()
1849 smsc911x_reg_write(pdata, FIFO_INT, temp); in smsc911x_irqhandler()
1864 temp = smsc911x_reg_read(pdata, INT_EN); in smsc911x_irqhandler()
1865 temp &= (~INT_EN_RSFL_EN_); in smsc911x_irqhandler()
1866 smsc911x_reg_write(pdata, INT_EN, temp); in smsc911x_irqhandler()
2002 unsigned int temp = smsc911x_reg_read(pdata, GPIO_CFG); in smsc911x_eeprom_enable_access() local
2003 temp &= ~GPIO_CFG_EEPR_EN_; in smsc911x_eeprom_enable_access()
2004 smsc911x_reg_write(pdata, GPIO_CFG, temp); in smsc911x_eeprom_enable_access()
2059 u32 temp; in smsc911x_eeprom_write_location() local
2070 temp = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_eeprom_write_location()