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()
1398 intr = readw(ip); /* port irq status */ in moxa_poll_port()
1405 writew(readw(ofsAddr + HostStat) & ~WakeupTx, in moxa_poll_port()
1709 writew(readw(ofsAddr + HostStat) | WakeupBreak, in MoxaPortEnable()
1857 val = readw(ofsAddr + FlagStat) >> 4; in MoxaPortLineStatus()
1877 tx_mask = readw(ofsAddr + TX_mask); in MoxaPortWriteData()
1878 spage = readw(ofsAddr + Page_txb); in MoxaPortWriteData()
1879 epage = readw(ofsAddr + EndPage_txb); in MoxaPortWriteData()
1880 tail = readw(ofsAddr + TXwptr); in MoxaPortWriteData()
1881 head = readw(ofsAddr + TXrptr); in MoxaPortWriteData()
1888 bufhead = readw(ofsAddr + Ofs_txb); in MoxaPortWriteData()
1936 head = readw(ofsAddr + RXrptr); in MoxaPortReadData()
1937 tail = readw(ofsAddr + RXwptr); in MoxaPortReadData()
1938 rx_mask = readw(ofsAddr + RX_mask); in MoxaPortReadData()
1939 spage = readw(ofsAddr + Page_rxb); in MoxaPortReadData()
1940 epage = readw(ofsAddr + EndPage_rxb); in MoxaPortReadData()
1948 bufhead = readw(ofsAddr + Ofs_rxb); in MoxaPortReadData()
1991 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxQueue()
1992 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxQueue()
1993 mask = readw(ofsAddr + TX_mask); in MoxaPortTxQueue()
2002 rptr = readw(ofsAddr + TXrptr); in MoxaPortTxFree()
2003 wptr = readw(ofsAddr + TXwptr); in MoxaPortTxFree()
2004 mask = readw(ofsAddr + TX_mask); in MoxaPortTxFree()
2013 rptr = readw(ofsAddr + RXrptr); in MoxaPortRxQueue()
2014 wptr = readw(ofsAddr + RXwptr); in MoxaPortRxQueue()
2015 mask = readw(ofsAddr + RX_mask); in MoxaPortRxQueue()