Lines Matching refs:TSI_WRITE
247 TSI_WRITE(TSI108_MAC_MII_ADDR, in tsi108_write_tbi()
250 TSI_WRITE(TSI108_MAC_MII_DATAOUT, val); in tsi108_write_tbi()
331 TSI_WRITE(TSI108_MAC_CFG2, mac_cfg2_reg); in tsi108_check_phy()
332 TSI_WRITE(TSI108_EC_PORTCTRL, portctrl_reg); in tsi108_check_phy()
382 TSI_WRITE(TSI108_STAT_CARRY1, carry1); in tsi108_stat_carry()
383 TSI_WRITE(TSI108_STAT_CARRY2, carry2); in tsi108_stat_carry()
473 TSI_WRITE(carryreg, carry_bit); in tsi108_read_stat()
592 TSI_WRITE(TSI108_EC_RXQ_PTRHIGH, in tsi108_restart_rx()
595 TSI_WRITE(TSI108_EC_RXCTRL, TSI108_EC_RXCTRL_GO in tsi108_restart_rx()
601 TSI_WRITE(TSI108_EC_TXQ_PTRHIGH, in tsi108_restart_tx()
604 TSI_WRITE(TSI108_EC_TXCTRL, TSI108_EC_TXCTRL_IDLEINT | in tsi108_restart_tx()
838 TSI_WRITE(TSI108_EC_RXESTAT, estat); in tsi108_poll()
839 TSI_WRITE(TSI108_EC_INTSTAT, intstat); in tsi108_poll()
861 TSI_WRITE(TSI108_EC_RXERR, err); in tsi108_poll()
884 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_poll()
918 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_rx_int()
943 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_rx_int()
980 TSI_WRITE(TSI108_EC_TXESTAT, estat); in tsi108_tx_int()
981 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_TXQUEUE0 | in tsi108_tx_int()
985 TSI_WRITE(TSI108_EC_TXERR, err); in tsi108_tx_int()
1021 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_SFN); in tsi108_irq()
1026 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_STATCARRY); in tsi108_irq()
1037 TSI_WRITE(TSI108_EC_TXCTRL, 0); in tsi108_stop_ethernet()
1038 TSI_WRITE(TSI108_EC_RXCTRL, 0); in tsi108_stop_ethernet()
1057 TSI_WRITE(TSI108_MAC_CFG1, TSI108_MAC_CFG1_SOFTRST); in tsi108_reset_ether()
1059 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_reset_ether()
1061 TSI_WRITE(TSI108_EC_PORTCTRL, TSI108_EC_PORTCTRL_STATRST); in tsi108_reset_ether()
1063 TSI_WRITE(TSI108_EC_PORTCTRL, in tsi108_reset_ether()
1067 TSI_WRITE(TSI108_EC_TXCFG, TSI108_EC_TXCFG_RST); in tsi108_reset_ether()
1069 TSI_WRITE(TSI108_EC_TXCFG, in tsi108_reset_ether()
1073 TSI_WRITE(TSI108_EC_RXCFG, TSI108_EC_RXCFG_RST); in tsi108_reset_ether()
1075 TSI_WRITE(TSI108_EC_RXCFG, in tsi108_reset_ether()
1079 TSI_WRITE(TSI108_MAC_MII_MGMT_CFG, in tsi108_reset_ether()
1083 TSI_WRITE(TSI108_MAC_MII_MGMT_CFG, in tsi108_reset_ether()
1114 TSI_WRITE(TSI108_MAC_ADDR1, word1); in tsi108_get_mac()
1115 TSI_WRITE(TSI108_MAC_ADDR2, word2); in tsi108_get_mac()
1154 TSI_WRITE(TSI108_MAC_ADDR1, word1); in tsi108_set_mac()
1155 TSI_WRITE(TSI108_MAC_ADDR2, word2); in tsi108_set_mac()
1195 TSI_WRITE(TSI108_EC_HASHADDR, in tsi108_set_rx_mode()
1204 TSI_WRITE(TSI108_EC_HASHDATA, in tsi108_set_rx_mode()
1210 TSI_WRITE(TSI108_EC_RXCFG, rxcfg); in tsi108_set_rx_mode()
1349 TSI_WRITE(TSI108_EC_RXQ_PTRLOW, data->rxdma); in tsi108_open()
1360 TSI_WRITE(TSI108_EC_TXQ_PTRLOW, data->txdma); in tsi108_open()
1370 TSI_WRITE(TSI108_EC_INTSTAT, ~0); in tsi108_open()
1372 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_open()
1378 TSI_WRITE(TSI108_MAC_CFG1, in tsi108_open()
1395 TSI_WRITE(TSI108_EC_INTMASK, ~0); in tsi108_close()
1396 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_close()
1437 TSI_WRITE(TSI108_MAC_CFG2, TSI108_MAC_CFG2_DFLT_PREAMBLE | in tsi108_init_mac()
1440 TSI_WRITE(TSI108_EC_TXTHRESH, in tsi108_init_mac()
1444 TSI_WRITE(TSI108_STAT_CARRYMASK1, in tsi108_init_mac()
1457 TSI_WRITE(TSI108_STAT_CARRYMASK2, in tsi108_init_mac()
1465 TSI_WRITE(TSI108_EC_PORTCTRL, TSI108_EC_PORTCTRL_STATEN); in tsi108_init_mac()
1466 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_init_mac()
1468 TSI_WRITE(TSI108_EC_RXCFG, in tsi108_init_mac()
1471 TSI_WRITE(TSI108_EC_TXQ_CFG, TSI108_EC_TXQ_CFG_DESC_INT | in tsi108_init_mac()
1476 TSI_WRITE(TSI108_EC_RXQ_CFG, TSI108_EC_RXQ_CFG_DESC_INT | in tsi108_init_mac()
1481 TSI_WRITE(TSI108_EC_TXQ_BUFCFG, in tsi108_init_mac()
1486 TSI_WRITE(TSI108_EC_RXQ_BUFCFG, in tsi108_init_mac()
1491 TSI_WRITE(TSI108_EC_INTMASK, ~0); in tsi108_init_mac()