Searched refs:ofsAddr (Results 1 – 1 of 1) sorted by relevance
238 static void moxa_wait_finish(void __iomem *ofsAddr) in moxa_wait_finish() argument242 while (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()245 if (readw(ofsAddr + FuncCode) != 0) in moxa_wait_finish()249 static void moxafunc(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafunc() argument253 writew(arg, ofsAddr + FuncArg); in moxafunc()254 writew(cmd, ofsAddr + FuncCode); in moxafunc()255 moxa_wait_finish(ofsAddr); in moxafunc()259 static int moxafuncret(void __iomem *ofsAddr, u16 cmd, u16 arg) in moxafuncret() argument264 writew(arg, ofsAddr + FuncArg); in moxafuncret()265 writew(cmd, ofsAddr + FuncCode); in moxafuncret()[all …]