Lines Matching refs:cb

151     WMStartConnectCallback *cb = (WMStartConnectCallback *)arg;  in MBi_WMStateOutStartConnect()  local
153 if (cb->errcode != WM_ERRCODE_SUCCESS) in MBi_WMStateOutStartConnect()
159 switch (cb->state) in MBi_WMStateOutStartConnect()
227 WMStartMPCallback *cb = (WMStartMPCallback *)arg; in ChildStateOutStartMP() local
229 if (cb->errcode != WM_ERRCODE_SUCCESS) in ChildStateOutStartMP()
232 if (cb->errcode == WM_ERRCODE_SEND_FAILED) in ChildStateOutStartMP()
236 else if (cb->errcode == WM_ERRCODE_TIMEOUT) in ChildStateOutStartMP()
240 else if (cb->errcode == WM_ERRCODE_INVALID_POLLBITMAP) in ChildStateOutStartMP()
245 MBi_WMErrorCallback(cb->apiid, cb->errcode); in ChildStateOutStartMP()
249 switch (cb->state) in ChildStateOutStartMP()
272 MBi_WMErrorCallback(cb->apiid, WM_ERRCODE_FAILED); in ChildStateOutStartMP()
313 WMCallback *cb = (WMCallback *)arg; in MBi_WMStateOutEndMP() local
315 if (cb->errcode != WM_ERRCODE_SUCCESS) in MBi_WMStateOutEndMP()
318 MBi_WMErrorCallback(cb->apiid, cb->errcode); in MBi_WMStateOutEndMP()
361 WMCallback *cb = (WMCallback *)arg; in MBi_WMStateOutDisconnect() local
364 if (cb->errcode != WM_ERRCODE_SUCCESS) in MBi_WMStateOutDisconnect()
366 MBi_WMErrorCallback(cb->apiid, cb->errcode); in MBi_WMStateOutDisconnect()
405 WMCallback *cb = (WMCallback *)arg; in MBi_WMStateOutReset() local
407 if (cb->errcode != WM_ERRCODE_SUCCESS) in MBi_WMStateOutReset()
409 MBi_WMErrorCallback(cb->apiid, cb->errcode); in MBi_WMStateOutReset()
453 WMPortRecvCallback *cb = (WMPortRecvCallback *)arg; in ChildPortCallback() local
455 if (cb->errcode != WM_ERRCODE_SUCCESS) in ChildPortCallback()
460 switch (cb->state) in ChildPortCallback()
464 MBi_WMSendCallback(MB_CALLBACK_MP_CHILD_RECV, cb); in ChildPortCallback()
527 WMCallback *cb = (WMCallback *)arg; in StateOutMPSendToParent() local
530 if (cb->errcode == WM_ERRCODE_SUCCESS) in StateOutMPSendToParent()
534 else if (cb->errcode == WM_ERRCODE_TIMEOUT) in StateOutMPSendToParent()