Lines Matching refs:SMC_inw
169 static inline word SMC_inw(struct eth_device *dev, dword offset) in SMC_inw() function
187 _w = SMC_inw(dev, offset & ~((dword)1)); in SMC_inb()
195 _w = SMC_inw(dev, offset & ~((dword)1)); in SMC_outb()
210 *p++ = SMC_inw(dev, offset); in SMC_insw()
242 word old_bank = SMC_inw (dev, BSR_REG); in poll4int()
246 while ((SMC_inw (dev, SMC91111_INT_REG) & mask) == 0) { in poll4int()
268 while (SMC_inw (dev, MMU_CMD_REG) & MC_BUSY) { in smc_wait_mmu_release_complete()
315 SMC_outw (dev, SMC_inw (dev, CONFIG_REG) | CONFIG_EPH_POWER_EN, in smc_reset()
335 while (SMC_inw (dev, MMU_CMD_REG) & MC_BUSY) in smc_reset()
430 saved_ptr = SMC_inw( dev, PTR_REG ); in smc_send()
566 while (SMC_inw (dev, MMU_CMD_REG) & MC_BUSY) { in smc_send()
585 while (SMC_inw (dev, MMU_CMD_REG) & MC_BUSY) { in smc_send()
680 saved_ptr = SMC_inw( dev, PTR_REG ); in smc_rcv()
682 packet_number = SMC_inw( dev, RXFIFO_REG ); in smc_rcv()
699 status = SMC_inw( dev, SMC91111_DATA_REG ); in smc_rcv()
700 packet_length = SMC_inw( dev, SMC91111_DATA_REG ); in smc_rcv()
754 while ( SMC_inw( dev, MMU_CMD_REG ) & MC_BUSY ) in smc_rcv()
760 while ( SMC_inw( dev, MMU_CMD_REG ) & MC_BUSY ) in smc_rcv()
789 regval = SMC_inw( dev, reg );
806 if ( SMC_inw( dev, reg ) & bit)
829 return(SMC_inw( dev, reg ));
945 oldBank = SMC_inw (dev, BANK_SELECT); in smc_read_phy_register()
951 mii_reg = SMC_inw (dev, MII_REG); in smc_read_phy_register()
966 bits[i] |= SMC_inw (dev, MII_REG) & MII_MDI; in smc_read_phy_register()
1066 oldBank = SMC_inw (dev, BANK_SELECT); in smc_write_phy_register()
1072 mii_reg = SMC_inw (dev, MII_REG); in smc_write_phy_register()
1087 bits[i] |= SMC_inw (dev, MII_REG) & MII_MDI; in smc_write_phy_register()