Searched refs:ofsAddr (Results 1 – 1 of 1) sorted by relevance
234 static void moxa_wait_finish(void __iomem *ofsAddr) in moxa_wait_finish() argument238 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()241 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()245 static void moxafunc(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafunc() argument249 writew(arg, ofsAddr + FuncArg); in moxafunc()250 writew(cmd, ofsAddr + FuncCode); in moxafunc()251 moxa_wait_finish(ofsAddr); in moxafunc()255 static int moxafuncret(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafuncret() argument260 writew(arg, ofsAddr + FuncArg); in moxafuncret()261 writew(cmd, ofsAddr + FuncCode); in moxafuncret()[all …]