Lines Matching refs:readw
238 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()
241 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()
263 ret = readw(ofsAddr + FuncArg); in moxafuncret()
273 rptr = readw(ofsAddr + RXrptr); in moxa_low_water_check()
274 wptr = readw(ofsAddr + RXwptr); in moxa_low_water_check()
275 mask = readw(ofsAddr + RX_mask); in moxa_low_water_check()
474 tmp = readw(baseAddr + C218_key); in moxa_load_bios()
479 tmp = readw(baseAddr + C218_key); in moxa_load_bios()
484 tmp = readw(baseAddr + C320_key); in moxa_load_bios()
487 tmp = readw(baseAddr + C320_status); in moxa_load_bios()
571 if (readw(baseAddr + key) == keycode) in moxa_real_load_code()
575 if (readw(baseAddr + key) != keycode) in moxa_real_load_code()
582 if (readw(baseAddr + key) == keycode) in moxa_real_load_code()
593 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
597 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
614 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
618 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
622 j = readw(baseAddr + Module_cnt); in moxa_real_load_code()
629 if (readw(baseAddr + Magic_no) == Magic_code) in moxa_real_load_code()
633 if (readw(baseAddr + Magic_no) != Magic_code) in moxa_real_load_code()
673 writew(readw(ofsAddr + Page_rxb) + C218rx_pageno, ofsAddr + EndPage_rxb); in moxa_load_code()
676 writew(readw(ofsAddr + Page_txb) + C218tx_pageno, ofsAddr + EndPage_txb); in moxa_load_code()
693 writew(readw(ofsAddr + Page_rxb) + C320p8rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
695 writew(readw(ofsAddr + Page_txb) + C320p8tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
702 writew(readw(ofsAddr + Page_rxb) + C320p16rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
704 writew(readw(ofsAddr + Page_txb) + C320p16tx_pgno, ofsAddr + EndPage_txb); in moxa_load_code()
711 writew(readw(ofsAddr + Page_rxb) + C320p24rx_pgno, ofsAddr + EndPage_rxb); in moxa_load_code()
713 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
722 writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); in moxa_load_code()
1396 intr = readw(ip); /* port irq status */ in moxa_poll_port()
1403 writew(readw(ofsAddr + HostStat) & ~WakeupTx, in moxa_poll_port()
1707 writew(readw(ofsAddr + HostStat) | WakeupBreak, in MoxaPortEnable()
1855 val = readw(ofsAddr + FlagStat) >> 4; in MoxaPortLineStatus()
1875 tx_mask = readw(ofsAddr + TX_mask); in MoxaPortWriteData()
1876 spage = readw(ofsAddr + Page_txb); in MoxaPortWriteData()
1877 epage = readw(ofsAddr + EndPage_txb); in MoxaPortWriteData()
1878 tail = readw(ofsAddr + TXwptr); in MoxaPortWriteData()
1879 head = readw(ofsAddr + TXrptr); in MoxaPortWriteData()
1886 bufhead = readw(ofsAddr + Ofs_txb); in MoxaPortWriteData()
1934 head = readw(ofsAddr + RXrptr); in MoxaPortReadData()
1935 tail = readw(ofsAddr + RXwptr); in MoxaPortReadData()
1936 rx_mask = readw(ofsAddr + RX_mask); in MoxaPortReadData()
1937 spage = readw(ofsAddr + Page_rxb); in MoxaPortReadData()
1938 epage = readw(ofsAddr + EndPage_rxb); in MoxaPortReadData()
1946 bufhead = readw(ofsAddr + Ofs_rxb); in MoxaPortReadData()
1989 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxQueue()
1990 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxQueue()
1991 mask = readw(ofsAddr + TX_mask); in MoxaPortTxQueue()
2000 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxFree()
2001 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxFree()
2002 mask = readw(ofsAddr + TX_mask); in MoxaPortTxFree()
2011 rptr = readw(ofsAddr + RXrptr); in MoxaPortRxQueue()
2012 wptr = readw(ofsAddr + RXwptr); in MoxaPortRxQueue()
2013 mask = readw(ofsAddr + RX_mask); in MoxaPortRxQueue()