Lines Matching refs:TSI_READ
179 TSI_READ(TSI108_EC_INTSTAT), in dump_eth_one()
180 TSI_READ(TSI108_EC_INTMASK), data->phy_ok, in dump_eth_one()
185 TSI_READ(TSI108_EC_TXSTAT), in dump_eth_one()
186 TSI_READ(TSI108_EC_TXESTAT), in dump_eth_one()
187 TSI_READ(TSI108_EC_TXERR)); in dump_eth_one()
192 TSI_READ(TSI108_EC_RXSTAT), in dump_eth_one()
193 TSI_READ(TSI108_EC_RXESTAT), in dump_eth_one()
194 TSI_READ(TSI108_EC_RXERR), data->rxpending); in dump_eth_one()
264 if(!(TSI_READ(TSI108_MAC_MII_IND) & TSI108_MAC_MII_IND_BUSY)) in tsi108_write_tbi()
318 mac_cfg2_reg = TSI_READ(TSI108_MAC_CFG2); in tsi108_check_phy()
319 portctrl_reg = TSI_READ(TSI108_EC_PORTCTRL); in tsi108_check_phy()
390 carry1 = TSI_READ(TSI108_STAT_CARRY1); in tsi108_stat_carry()
391 carry2 = TSI_READ(TSI108_STAT_CARRY2); in tsi108_stat_carry()
475 val = TSI_READ(reg) | *upper; in tsi108_read_stat()
482 if (unlikely(TSI_READ(carryreg) & carry_bit)) { in tsi108_read_stat()
746 if (!(TSI_READ(TSI108_EC_TXSTAT) & TSI108_EC_TXSTAT_QUEUE0)) in tsi108_send_packet()
831 if (done != 0 && !(TSI_READ(TSI108_EC_RXSTAT) & in tsi108_refill_rx()
842 u32 estat = TSI_READ(TSI108_EC_RXESTAT); in tsi108_poll()
843 u32 intstat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_poll()
871 u32 err = TSI_READ(TSI108_EC_RXERR); in tsi108_poll()
879 if (!(TSI_READ(TSI108_EC_RXSTAT) & in tsi108_poll()
896 TSI_READ(TSI108_EC_INTMASK) in tsi108_poll()
930 TSI_READ(TSI108_EC_INTMASK) | in tsi108_rx_int()
955 TSI_READ in tsi108_rx_int()
989 u32 estat = TSI_READ(TSI108_EC_TXESTAT); in tsi108_tx_int()
995 u32 err = TSI_READ(TSI108_EC_TXERR); in tsi108_tx_int()
1014 u32 stat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_irq()
1019 stat &= ~TSI_READ(TSI108_EC_INTMASK); in tsi108_irq()
1053 if(!(TSI_READ(TSI108_EC_TXSTAT) & TSI108_EC_TXSTAT_ACTIVE)) in tsi108_stop_ethernet()
1059 if(!(TSI_READ(TSI108_EC_RXSTAT) & TSI108_EC_RXSTAT_ACTIVE)) in tsi108_stop_ethernet()
1075 TSI_READ(TSI108_EC_PORTCTRL) & in tsi108_reset_ether()
1081 TSI_READ(TSI108_EC_TXCFG) & in tsi108_reset_ether()
1087 TSI_READ(TSI108_EC_RXCFG) & in tsi108_reset_ether()
1091 TSI_READ(TSI108_MAC_MII_MGMT_CFG) | in tsi108_reset_ether()
1095 (TSI_READ(TSI108_MAC_MII_MGMT_CFG) & in tsi108_reset_ether()
1103 u32 word1 = TSI_READ(TSI108_MAC_ADDR1); in tsi108_get_mac()
1104 u32 word2 = TSI_READ(TSI108_MAC_ADDR2); in tsi108_get_mac()
1181 u32 rxcfg = TSI_READ(TSI108_EC_RXCFG); in tsi108_set_rx_mode()