Lines Matching refs:TSI_WRITE

257 	TSI_WRITE(TSI108_MAC_MII_ADDR,  in tsi108_write_tbi()
260 TSI_WRITE(TSI108_MAC_MII_DATAOUT, val); in tsi108_write_tbi()
341 TSI_WRITE(TSI108_MAC_CFG2, mac_cfg2_reg); in tsi108_check_phy()
342 TSI_WRITE(TSI108_EC_PORTCTRL, portctrl_reg); in tsi108_check_phy()
391 TSI_WRITE(TSI108_STAT_CARRY1, carry1); in tsi108_stat_carry()
392 TSI_WRITE(TSI108_STAT_CARRY2, carry2); in tsi108_stat_carry()
482 TSI_WRITE(carryreg, carry_bit); in tsi108_read_stat()
601 TSI_WRITE(TSI108_EC_RXQ_PTRHIGH, in tsi108_restart_rx()
604 TSI_WRITE(TSI108_EC_RXCTRL, TSI108_EC_RXCTRL_GO in tsi108_restart_rx()
610 TSI_WRITE(TSI108_EC_TXQ_PTRHIGH, in tsi108_restart_tx()
613 TSI_WRITE(TSI108_EC_TXCTRL, TSI108_EC_TXCTRL_IDLEINT | in tsi108_restart_tx()
845 TSI_WRITE(TSI108_EC_RXESTAT, estat); in tsi108_poll()
846 TSI_WRITE(TSI108_EC_INTSTAT, intstat); in tsi108_poll()
868 TSI_WRITE(TSI108_EC_RXERR, err); in tsi108_poll()
891 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_poll()
925 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_rx_int()
950 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_rx_int()
987 TSI_WRITE(TSI108_EC_TXESTAT, estat); in tsi108_tx_int()
988 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_TXQUEUE0 | in tsi108_tx_int()
992 TSI_WRITE(TSI108_EC_TXERR, err); in tsi108_tx_int()
1028 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_SFN); in tsi108_irq()
1033 TSI_WRITE(TSI108_EC_INTSTAT, TSI108_INT_STATCARRY); in tsi108_irq()
1044 TSI_WRITE(TSI108_EC_TXCTRL, 0); in tsi108_stop_ethernet()
1045 TSI_WRITE(TSI108_EC_RXCTRL, 0); in tsi108_stop_ethernet()
1064 TSI_WRITE(TSI108_MAC_CFG1, TSI108_MAC_CFG1_SOFTRST); in tsi108_reset_ether()
1066 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_reset_ether()
1068 TSI_WRITE(TSI108_EC_PORTCTRL, TSI108_EC_PORTCTRL_STATRST); in tsi108_reset_ether()
1070 TSI_WRITE(TSI108_EC_PORTCTRL, in tsi108_reset_ether()
1074 TSI_WRITE(TSI108_EC_TXCFG, TSI108_EC_TXCFG_RST); in tsi108_reset_ether()
1076 TSI_WRITE(TSI108_EC_TXCFG, in tsi108_reset_ether()
1080 TSI_WRITE(TSI108_EC_RXCFG, TSI108_EC_RXCFG_RST); in tsi108_reset_ether()
1082 TSI_WRITE(TSI108_EC_RXCFG, in tsi108_reset_ether()
1086 TSI_WRITE(TSI108_MAC_MII_MGMT_CFG, in tsi108_reset_ether()
1090 TSI_WRITE(TSI108_MAC_MII_MGMT_CFG, in tsi108_reset_ether()
1121 TSI_WRITE(TSI108_MAC_ADDR1, word1); in tsi108_get_mac()
1122 TSI_WRITE(TSI108_MAC_ADDR2, word2); in tsi108_get_mac()
1161 TSI_WRITE(TSI108_MAC_ADDR1, word1); in tsi108_set_mac()
1162 TSI_WRITE(TSI108_MAC_ADDR2, word2); in tsi108_set_mac()
1202 TSI_WRITE(TSI108_EC_HASHADDR, in tsi108_set_rx_mode()
1211 TSI_WRITE(TSI108_EC_HASHDATA, in tsi108_set_rx_mode()
1217 TSI_WRITE(TSI108_EC_RXCFG, rxcfg); in tsi108_set_rx_mode()
1367 TSI_WRITE(TSI108_EC_RXQ_PTRLOW, data->rxdma); in tsi108_open()
1378 TSI_WRITE(TSI108_EC_TXQ_PTRLOW, data->txdma); in tsi108_open()
1388 TSI_WRITE(TSI108_EC_INTSTAT, ~0); in tsi108_open()
1390 TSI_WRITE(TSI108_EC_INTMASK, in tsi108_open()
1396 TSI_WRITE(TSI108_MAC_CFG1, in tsi108_open()
1413 TSI_WRITE(TSI108_EC_INTMASK, ~0); in tsi108_close()
1414 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_close()
1455 TSI_WRITE(TSI108_MAC_CFG2, TSI108_MAC_CFG2_DFLT_PREAMBLE | in tsi108_init_mac()
1458 TSI_WRITE(TSI108_EC_TXTHRESH, in tsi108_init_mac()
1462 TSI_WRITE(TSI108_STAT_CARRYMASK1, in tsi108_init_mac()
1475 TSI_WRITE(TSI108_STAT_CARRYMASK2, in tsi108_init_mac()
1483 TSI_WRITE(TSI108_EC_PORTCTRL, TSI108_EC_PORTCTRL_STATEN); in tsi108_init_mac()
1484 TSI_WRITE(TSI108_MAC_CFG1, 0); in tsi108_init_mac()
1486 TSI_WRITE(TSI108_EC_RXCFG, in tsi108_init_mac()
1489 TSI_WRITE(TSI108_EC_TXQ_CFG, TSI108_EC_TXQ_CFG_DESC_INT | in tsi108_init_mac()
1494 TSI_WRITE(TSI108_EC_RXQ_CFG, TSI108_EC_RXQ_CFG_DESC_INT | in tsi108_init_mac()
1499 TSI_WRITE(TSI108_EC_TXQ_BUFCFG, in tsi108_init_mac()
1504 TSI_WRITE(TSI108_EC_RXQ_BUFCFG, in tsi108_init_mac()
1509 TSI_WRITE(TSI108_EC_INTMASK, ~0); in tsi108_init_mac()