Home
last modified time | relevance | path

Searched refs:errCode (Results 1 – 2 of 2) sorted by relevance

/RvlSDK-3.3/build/demos/pmicdemo/src/
Dpmic_graphic.c215 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()
[all …]
Dpmic_simple.c225 static volatile PMIC_ERR errCode; variable
318 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
336 if (errCode > PMIC_ERR_OK) { // still waiting? in usePMIC()
339 else if (errCode == PMIC_ERR_OK) in usePMIC()
341 OSReport("(%ld) ok to open P-Mic -> %ld.\n", count++, errCode); in usePMIC()
346 OSReport("(%ld) fail to open P-Mic -> %ld.\n", count++, errCode); in usePMIC()
378 errCode = (PMIC_ERR)(PMIC_ERR_OK + 1); in usePMIC()
396 if (errCode > PMIC_ERR_OK) in usePMIC()
401 else if (errCode == PMIC_ERR_OK) in usePMIC()
403 OSReport("(%ld) ok to start P-Mic -> %ld.\n", count++, errCode); in usePMIC()
[all …]