Searched refs:ofsAddr (Results 1 – 1 of 1) sorted by relevance
534 static void moxa_wait_finish(void __iomem *ofsAddr) in moxa_wait_finish() argument538 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()541 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()545 static void moxafunc(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafunc() argument549 writew(arg, ofsAddr + FuncArg); in moxafunc()550 writew(cmd, ofsAddr + FuncCode); in moxafunc()551 moxa_wait_finish(ofsAddr); in moxafunc()555 static int moxafuncret(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafuncret() argument560 writew(arg, ofsAddr + FuncArg); in moxafuncret()561 writew(cmd, ofsAddr + FuncCode); in moxafuncret()[all …]