Lines Matching refs:readw

538 	while (readw(ofsAddr + FuncCode) != 0)  in moxa_wait_finish()
541 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()
563 ret = readw(ofsAddr + FuncArg); in moxafuncret()
573 rptr = readw(ofsAddr + RXrptr); in moxa_low_water_check()
574 wptr = readw(ofsAddr + RXwptr); in moxa_low_water_check()
575 mask = readw(ofsAddr + RX_mask); in moxa_low_water_check()
774 tmp = readw(baseAddr + C218_key); in moxa_load_bios()
779 tmp = readw(baseAddr + C218_key); in moxa_load_bios()
784 tmp = readw(baseAddr + C320_key); in moxa_load_bios()
787 tmp = readw(baseAddr + C320_status); in moxa_load_bios()
871 if (readw(baseAddr + key) == keycode) in moxa_real_load_code()
875 if (readw(baseAddr + key) != keycode) in moxa_real_load_code()
882 if (readw(baseAddr + key) == keycode) in moxa_real_load_code()
893 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
897 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
914 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
918 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
922 j = readw(baseAddr + Module_cnt); in moxa_real_load_code()
929 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
933 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
973 writew(readw(ofsAddr + Page_rxb) + C218rx_pageno, ofsAddr + EndPage_rxb); in moxa_load_code()
976 writew(readw(ofsAddr + Page_txb) + C218tx_pageno, ofsAddr + EndPage_txb); in moxa_load_code()
993 writew(readw(ofsAddr + Page_rxb) + C320p8rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
995 writew(readw(ofsAddr + Page_txb) + C320p8tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
1002 writew(readw(ofsAddr + Page_rxb) + C320p16rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
1004 writew(readw(ofsAddr + Page_txb) + C320p16tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
1011 writew(readw(ofsAddr + Page_rxb) + C320p24rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
1013 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
1022 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
1696 intr = readw(ip); /* port irq status */ in moxa_poll_port()
1703 writew(readw(ofsAddr + HostStat) & ~WakeupTx, in moxa_poll_port()
2007 writew(readw(ofsAddr + HostStat) | WakeupBreak, in MoxaPortEnable()
2155 val = readw(ofsAddr + FlagStat) >> 4; in MoxaPortLineStatus()
2175 tx_mask = readw(ofsAddr + TX_mask); in MoxaPortWriteData()
2176 spage = readw(ofsAddr + Page_txb); in MoxaPortWriteData()
2177 epage = readw(ofsAddr + EndPage_txb); in MoxaPortWriteData()
2178 tail = readw(ofsAddr + TXwptr); in MoxaPortWriteData()
2179 head = readw(ofsAddr + TXrptr); in MoxaPortWriteData()
2186 bufhead = readw(ofsAddr + Ofs_txb); in MoxaPortWriteData()
2234 head = readw(ofsAddr + RXrptr); in MoxaPortReadData()
2235 tail = readw(ofsAddr + RXwptr); in MoxaPortReadData()
2236 rx_mask = readw(ofsAddr + RX_mask); in MoxaPortReadData()
2237 spage = readw(ofsAddr + Page_rxb); in MoxaPortReadData()
2238 epage = readw(ofsAddr + EndPage_rxb); in MoxaPortReadData()
2246 bufhead = readw(ofsAddr + Ofs_rxb); in MoxaPortReadData()
2289 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxQueue()
2290 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxQueue()
2291 mask = readw(ofsAddr + TX_mask); in MoxaPortTxQueue()
2300 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxFree()
2301 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxFree()
2302 mask = readw(ofsAddr + TX_mask); in MoxaPortTxFree()
2311 rptr = readw(ofsAddr + RXrptr); in MoxaPortRxQueue()
2312 wptr = readw(ofsAddr + RXwptr); in MoxaPortRxQueue()
2313 mask = readw(ofsAddr + RX_mask); in MoxaPortRxQueue()