Lines Matching refs:errCode
215 static volatile PMIC_ERR errCode; variable
308 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
319 errCode = PMIC_ERR_OK; in usePMIC()
327 if (errCode > PMIC_ERR_OK) // still waiting? in usePMIC()
331 else if (errCode == PMIC_ERR_OK) in usePMIC()
333 OSReport("(%ld) ok to open P-Mic -> %ld.\n", count++, errCode); in usePMIC()
339 OSReport("(%ld) fail to open P-Mic -> %ld.\n", count++, errCode); in usePMIC()
366 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
377 errCode = PMIC_ERR_OK; in usePMIC()
385 if (errCode > PMIC_ERR_OK) // still waiting? in usePMIC()
389 else if (errCode == PMIC_ERR_OK) in usePMIC()
391 OSReport("(%ld) ok to start P-Mic -> %ld.\n", count++, errCode); in usePMIC()
397 OSReport("(%ld) fail to start P-Mic -> %ld.\n", count++, errCode); in usePMIC()
429 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
440 errCode = PMIC_ERR_OK; in usePMIC()
448 if (errCode > PMIC_ERR_OK) // still waiting? in usePMIC()
452 else if (errCode == PMIC_ERR_OK) in usePMIC()
454 OSReport("(%ld) ok to stop P-Mic -> %ld.\n", count++, errCode); in usePMIC()
459 OSReport("(%ld) fail to stop P-Mic -> %ld.\n", count++, errCode); in usePMIC()
466 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
477 errCode = PMIC_ERR_OK; in usePMIC()
485 if (errCode > PMIC_ERR_OK) // still waiting? in usePMIC()
489 else if (errCode == PMIC_ERR_OK) in usePMIC()
491 OSReport("(%ld) ok to close P-Mic -> %ld.\n", count++, errCode); in usePMIC()
497 OSReport("(%ld) fail to close P-Mic -> %ld.\n", count++, errCode); in usePMIC()
568 errCode = result; in funcCb()
753 while (errCode > PMIC_ERR_OK) in shutdown()
759 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in shutdown()
763 while (errCode > PMIC_ERR_OK) in shutdown()
770 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in shutdown()
774 while (errCode > PMIC_ERR_OK) in shutdown()