ofsAddr 234 drivers/tty/moxa.c static void moxa_wait_finish(void __iomem *ofsAddr) ofsAddr 238 drivers/tty/moxa.c while (readw(ofsAddr + FuncCode) != 0) ofsAddr 241 drivers/tty/moxa.c if (readw(ofsAddr + FuncCode) != 0) ofsAddr 245 drivers/tty/moxa.c static void moxafunc(void __iomem *ofsAddr, u16 cmd, u16 arg) ofsAddr 249 drivers/tty/moxa.c writew(arg, ofsAddr + FuncArg); ofsAddr 250 drivers/tty/moxa.c writew(cmd, ofsAddr + FuncCode); ofsAddr 251 drivers/tty/moxa.c moxa_wait_finish(ofsAddr); ofsAddr 255 drivers/tty/moxa.c static int moxafuncret(void __iomem *ofsAddr, u16 cmd, u16 arg) ofsAddr 260 drivers/tty/moxa.c writew(arg, ofsAddr + FuncArg); ofsAddr 261 drivers/tty/moxa.c writew(cmd, ofsAddr + FuncCode); ofsAddr 262 drivers/tty/moxa.c moxa_wait_finish(ofsAddr); ofsAddr 263 drivers/tty/moxa.c ret = readw(ofsAddr + FuncArg); ofsAddr 268 drivers/tty/moxa.c static void moxa_low_water_check(void __iomem *ofsAddr) ofsAddr 272 drivers/tty/moxa.c if (readb(ofsAddr + FlagStat) & Xoff_state) { ofsAddr 273 drivers/tty/moxa.c rptr = readw(ofsAddr + RXrptr); ofsAddr 274 drivers/tty/moxa.c wptr = readw(ofsAddr + RXwptr); ofsAddr 275 drivers/tty/moxa.c mask = readw(ofsAddr + RX_mask); ofsAddr 278 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SendXon, 0); ofsAddr 646 drivers/tty/moxa.c void __iomem *ofsAddr, *baseAddr = brd->basemem; ofsAddr 669 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 670 drivers/tty/moxa.c writew(C218rx_mask, ofsAddr + RX_mask); ofsAddr 671 drivers/tty/moxa.c writew(C218tx_mask, ofsAddr + TX_mask); ofsAddr 672 drivers/tty/moxa.c writew(C218rx_spage + i * C218buf_pageno, ofsAddr + Page_rxb); ofsAddr 673 drivers/tty/moxa.c writew(readw(ofsAddr + Page_rxb) + C218rx_pageno, ofsAddr + EndPage_rxb); ofsAddr 675 drivers/tty/moxa.c writew(C218tx_spage + i * C218buf_pageno, ofsAddr + Page_txb); ofsAddr 676 drivers/tty/moxa.c writew(readw(ofsAddr + Page_txb) + C218tx_pageno, ofsAddr + EndPage_txb); ofsAddr 687 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 690 drivers/tty/moxa.c writew(C320p8rx_mask, ofsAddr + RX_mask); ofsAddr 691 drivers/tty/moxa.c writew(C320p8tx_mask, ofsAddr + TX_mask); ofsAddr 692 drivers/tty/moxa.c writew(C320p8rx_spage + i * C320p8buf_pgno, ofsAddr + Page_rxb); ofsAddr 693 drivers/tty/moxa.c writew(readw(ofsAddr + Page_rxb) + C320p8rx_pgno, ofsAddr + EndPage_rxb); ofsAddr 694 drivers/tty/moxa.c writew(C320p8tx_spage + i * C320p8buf_pgno, ofsAddr + Page_txb); ofsAddr 695 drivers/tty/moxa.c writew(readw(ofsAddr + Page_txb) + C320p8tx_pgno, ofsAddr + EndPage_txb); ofsAddr 699 drivers/tty/moxa.c writew(C320p16rx_mask, ofsAddr + RX_mask); ofsAddr 700 drivers/tty/moxa.c writew(C320p16tx_mask, ofsAddr + TX_mask); ofsAddr 701 drivers/tty/moxa.c writew(C320p16rx_spage + i * C320p16buf_pgno, ofsAddr + Page_rxb); ofsAddr 702 drivers/tty/moxa.c writew(readw(ofsAddr + Page_rxb) + C320p16rx_pgno, ofsAddr + EndPage_rxb); ofsAddr 703 drivers/tty/moxa.c writew(C320p16tx_spage + i * C320p16buf_pgno, ofsAddr + Page_txb); ofsAddr 704 drivers/tty/moxa.c writew(readw(ofsAddr + Page_txb) + C320p16tx_pgno, ofsAddr + EndPage_txb); ofsAddr 708 drivers/tty/moxa.c writew(C320p24rx_mask, ofsAddr + RX_mask); ofsAddr 709 drivers/tty/moxa.c writew(C320p24tx_mask, ofsAddr + TX_mask); ofsAddr 710 drivers/tty/moxa.c writew(C320p24rx_spage + i * C320p24buf_pgno, ofsAddr + Page_rxb); ofsAddr 711 drivers/tty/moxa.c writew(readw(ofsAddr + Page_rxb) + C320p24rx_pgno, ofsAddr + EndPage_rxb); ofsAddr 712 drivers/tty/moxa.c writew(C320p24tx_spage + i * C320p24buf_pgno, ofsAddr + Page_txb); ofsAddr 713 drivers/tty/moxa.c writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); ofsAddr 716 drivers/tty/moxa.c writew(C320p32rx_mask, ofsAddr + RX_mask); ofsAddr 717 drivers/tty/moxa.c writew(C320p32tx_mask, ofsAddr + TX_mask); ofsAddr 718 drivers/tty/moxa.c writew(C320p32tx_ofs, ofsAddr + Ofs_txb); ofsAddr 719 drivers/tty/moxa.c writew(C320p32rx_spage + i * C320p32buf_pgno, ofsAddr + Page_rxb); ofsAddr 720 drivers/tty/moxa.c writew(readb(ofsAddr + Page_rxb), ofsAddr + EndPage_rxb); ofsAddr 721 drivers/tty/moxa.c writew(C320p32tx_spage + i * C320p32buf_pgno, ofsAddr + Page_txb); ofsAddr 722 drivers/tty/moxa.c writew(readw(ofsAddr + Page_txb), ofsAddr + EndPage_txb); ofsAddr 1369 drivers/tty/moxa.c void __iomem *ofsAddr; ofsAddr 1403 drivers/tty/moxa.c ofsAddr = p->tableAddr; ofsAddr 1405 drivers/tty/moxa.c writew(readw(ofsAddr + HostStat) & ~WakeupTx, ofsAddr 1406 drivers/tty/moxa.c ofsAddr + HostStat); ofsAddr 1417 drivers/tty/moxa.c moxa_new_dcdstate(p, readb(ofsAddr + FlagStat) & DCD_state); ofsAddr 1496 drivers/tty/moxa.c void __iomem *ofsAddr; ofsAddr 1499 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1500 drivers/tty/moxa.c moxafunc(ofsAddr, FC_FlushQueue, mode); ofsAddr 1503 drivers/tty/moxa.c moxa_low_water_check(ofsAddr); ofsAddr 1701 drivers/tty/moxa.c void __iomem *ofsAddr; ofsAddr 1704 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1705 drivers/tty/moxa.c writew(lowwater, ofsAddr + Low_water); ofsAddr 1707 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetBreakIrq, 0); ofsAddr 1709 drivers/tty/moxa.c writew(readw(ofsAddr + HostStat) | WakeupBreak, ofsAddr 1710 drivers/tty/moxa.c ofsAddr + HostStat); ofsAddr 1712 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetLineIrq, Magic_code); ofsAddr 1713 drivers/tty/moxa.c moxafunc(ofsAddr, FC_FlushQueue, 2); ofsAddr 1715 drivers/tty/moxa.c moxafunc(ofsAddr, FC_EnableCH, Magic_code); ofsAddr 1721 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 1723 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetFlowCtl, 0); /* disable flow control */ ofsAddr 1724 drivers/tty/moxa.c moxafunc(ofsAddr, FC_ClrLineIrq, Magic_code); ofsAddr 1725 drivers/tty/moxa.c writew(0, ofsAddr + HostStat); ofsAddr 1726 drivers/tty/moxa.c moxafunc(ofsAddr, FC_DisableCH, Magic_code); ofsAddr 1731 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 1742 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetBaud, val); ofsAddr 1750 drivers/tty/moxa.c void __iomem *ofsAddr; ofsAddr 1753 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1788 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetDataMode, (u16)mode); ofsAddr 1797 drivers/tty/moxa.c writeb(termio->c_cc[VSTART], ofsAddr + FuncArg); ofsAddr 1798 drivers/tty/moxa.c writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1); ofsAddr 1799 drivers/tty/moxa.c writeb(FC_SetXonXoff, ofsAddr + FuncCode); ofsAddr 1800 drivers/tty/moxa.c moxa_wait_finish(ofsAddr); ofsAddr 1850 drivers/tty/moxa.c void __iomem *ofsAddr; ofsAddr 1853 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1855 drivers/tty/moxa.c val = moxafuncret(ofsAddr, FC_LineStatus, 0); ofsAddr 1857 drivers/tty/moxa.c val = readw(ofsAddr + FlagStat) >> 4; ofsAddr 1870 drivers/tty/moxa.c void __iomem *baseAddr, *ofsAddr, *ofs; ofsAddr 1875 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1877 drivers/tty/moxa.c tx_mask = readw(ofsAddr + TX_mask); ofsAddr 1878 drivers/tty/moxa.c spage = readw(ofsAddr + Page_txb); ofsAddr 1879 drivers/tty/moxa.c epage = readw(ofsAddr + EndPage_txb); ofsAddr 1880 drivers/tty/moxa.c tail = readw(ofsAddr + TXwptr); ofsAddr 1881 drivers/tty/moxa.c head = readw(ofsAddr + TXrptr); ofsAddr 1888 drivers/tty/moxa.c bufhead = readw(ofsAddr + Ofs_txb); ofsAddr 1920 drivers/tty/moxa.c writew(tail, ofsAddr + TXwptr); ofsAddr 1921 drivers/tty/moxa.c writeb(1, ofsAddr + CD180TXirq); /* start to send */ ofsAddr 1929 drivers/tty/moxa.c void __iomem *baseAddr, *ofsAddr, *ofs; ofsAddr 1934 drivers/tty/moxa.c ofsAddr = port->tableAddr; ofsAddr 1936 drivers/tty/moxa.c head = readw(ofsAddr + RXrptr); ofsAddr 1937 drivers/tty/moxa.c tail = readw(ofsAddr + RXwptr); ofsAddr 1938 drivers/tty/moxa.c rx_mask = readw(ofsAddr + RX_mask); ofsAddr 1939 drivers/tty/moxa.c spage = readw(ofsAddr + Page_rxb); ofsAddr 1940 drivers/tty/moxa.c epage = readw(ofsAddr + EndPage_rxb); ofsAddr 1948 drivers/tty/moxa.c bufhead = readw(ofsAddr + Ofs_rxb); ofsAddr 1977 drivers/tty/moxa.c writew(head, ofsAddr + RXrptr); ofsAddr 1978 drivers/tty/moxa.c if (readb(ofsAddr + FlagStat) & Xoff_state) { ofsAddr 1988 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 1991 drivers/tty/moxa.c rptr = readw(ofsAddr + TXrptr); ofsAddr 1992 drivers/tty/moxa.c wptr = readw(ofsAddr + TXwptr); ofsAddr 1993 drivers/tty/moxa.c mask = readw(ofsAddr + TX_mask); ofsAddr 1999 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 2002 drivers/tty/moxa.c rptr = readw(ofsAddr + TXrptr); ofsAddr 2003 drivers/tty/moxa.c wptr = readw(ofsAddr + TXwptr); ofsAddr 2004 drivers/tty/moxa.c mask = readw(ofsAddr + TX_mask); ofsAddr 2010 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 2013 drivers/tty/moxa.c rptr = readw(ofsAddr + RXrptr); ofsAddr 2014 drivers/tty/moxa.c wptr = readw(ofsAddr + RXwptr); ofsAddr 2015 drivers/tty/moxa.c mask = readw(ofsAddr + RX_mask); ofsAddr 2089 drivers/tty/moxa.c void __iomem *ofsAddr = port->tableAddr; ofsAddr 2092 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetRxFIFOTrig, 0); ofsAddr 2093 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetTxFIFOCnt, 1); ofsAddr 2095 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetRxFIFOTrig, 3); ofsAddr 2096 drivers/tty/moxa.c moxafunc(ofsAddr, FC_SetTxFIFOCnt, 16);