Lines Matching refs:TSI_READ
178 TSI_READ(TSI108_EC_INTSTAT), in dump_eth_one()
179 TSI_READ(TSI108_EC_INTMASK), data->phy_ok, in dump_eth_one()
184 TSI_READ(TSI108_EC_TXSTAT), in dump_eth_one()
185 TSI_READ(TSI108_EC_TXESTAT), in dump_eth_one()
186 TSI_READ(TSI108_EC_TXERR)); in dump_eth_one()
191 TSI_READ(TSI108_EC_RXSTAT), in dump_eth_one()
192 TSI_READ(TSI108_EC_RXESTAT), in dump_eth_one()
193 TSI_READ(TSI108_EC_RXERR), data->rxpending); in dump_eth_one()
262 if(!(TSI_READ(TSI108_MAC_MII_IND) & TSI108_MAC_MII_IND_BUSY)) in tsi108_write_tbi()
316 mac_cfg2_reg = TSI_READ(TSI108_MAC_CFG2); in tsi108_check_phy()
317 portctrl_reg = TSI_READ(TSI108_EC_PORTCTRL); in tsi108_check_phy()
388 carry1 = TSI_READ(TSI108_STAT_CARRY1); in tsi108_stat_carry()
389 carry2 = TSI_READ(TSI108_STAT_CARRY2); in tsi108_stat_carry()
473 val = TSI_READ(reg) | *upper; in tsi108_read_stat()
480 if (unlikely(TSI_READ(carryreg) & carry_bit)) { in tsi108_read_stat()
742 if (!(TSI_READ(TSI108_EC_TXSTAT) & TSI108_EC_TXSTAT_QUEUE0)) in tsi108_send_packet()
827 if (done != 0 && !(TSI_READ(TSI108_EC_RXSTAT) & in tsi108_refill_rx()
838 u32 estat = TSI_READ(TSI108_EC_RXESTAT); in tsi108_poll()
839 u32 intstat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_poll()
867 u32 err = TSI_READ(TSI108_EC_RXERR); in tsi108_poll()
875 if (!(TSI_READ(TSI108_EC_RXSTAT) & in tsi108_poll()
892 TSI_READ(TSI108_EC_INTMASK) in tsi108_poll()
926 TSI_READ(TSI108_EC_INTMASK) | in tsi108_rx_int()
951 TSI_READ in tsi108_rx_int()
985 u32 estat = TSI_READ(TSI108_EC_TXESTAT); in tsi108_tx_int()
991 u32 err = TSI_READ(TSI108_EC_TXERR); in tsi108_tx_int()
1010 u32 stat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_irq()
1015 stat &= ~TSI_READ(TSI108_EC_INTMASK); in tsi108_irq()
1049 if(!(TSI_READ(TSI108_EC_TXSTAT) & TSI108_EC_TXSTAT_ACTIVE)) in tsi108_stop_ethernet()
1055 if(!(TSI_READ(TSI108_EC_RXSTAT) & TSI108_EC_RXSTAT_ACTIVE)) in tsi108_stop_ethernet()
1071 TSI_READ(TSI108_EC_PORTCTRL) & in tsi108_reset_ether()
1077 TSI_READ(TSI108_EC_TXCFG) & in tsi108_reset_ether()
1083 TSI_READ(TSI108_EC_RXCFG) & in tsi108_reset_ether()
1087 TSI_READ(TSI108_MAC_MII_MGMT_CFG) | in tsi108_reset_ether()
1091 (TSI_READ(TSI108_MAC_MII_MGMT_CFG) & in tsi108_reset_ether()
1099 u32 word1 = TSI_READ(TSI108_MAC_ADDR1); in tsi108_get_mac()
1100 u32 word2 = TSI_READ(TSI108_MAC_ADDR2); in tsi108_get_mac()
1177 u32 rxcfg = TSI_READ(TSI108_EC_RXCFG); in tsi108_set_rx_mode()