Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 4 of 4) sorted by relevance

/RvlSDK-3.3/build/demos/pmicdemo/src/
Dpmic_simple.c269 PMIC_ERR retval; in usePMIC() local
277 retval = PMICInit(work); in usePMIC()
279 if (retval == PMIC_ERR_OK) in usePMIC()
281 OSReport("(%ld) ok to call PMICInit() -> %ld\n", count++, retval); in usePMIC()
286 OSReport("(%ld) fail to call PMICInit() -> %ld\n", count++, retval); in usePMIC()
298 retval = PMICProbe(); in usePMIC()
300 if (retval == PMIC_ERR_OK) in usePMIC()
302 OSReport("(%ld) P-Mic is inserted -> %ld\n", count++, retval); in usePMIC()
305 else if (retval != PMIC_ERR_NO_DEVICE) in usePMIC()
307 OSReport("(%ld) fail to call PMICProbe() -> %ld\n", count++, retval); in usePMIC()
[all …]
Dpmic_graphic.c255 PMIC_ERR retval; in usePMIC() local
264 retval = PMICInit(work); in usePMIC()
266 if (retval == PMIC_ERR_OK) in usePMIC()
268 OSReport("(%ld) ok to call PMICInit() -> %ld\n", count++, retval); in usePMIC()
273 OSReport("(%ld) fail to call PMICInit() -> %ld\n", count++, retval); in usePMIC()
286 retval = PMICProbe(); in usePMIC()
288 if (retval == PMIC_ERR_OK) in usePMIC()
290 OSReport("(%ld) P-Mic is inserted -> %ld\n", count++, retval); in usePMIC()
293 else if (retval != PMIC_ERR_NO_DEVICE) in usePMIC()
295 OSReport("(%ld) fail to call PMICProbe() -> %ld\n", count++, retval); in usePMIC()
[all …]
Daudio.c400 s32 retval; in aiCb() local
441 retval = PMICChangeRate(aiBuff[buff_ptr], in aiCb()
461 retval = AUDIO_SAMPLES_PER_FRAME; in aiCb()
463 retval = -1; in aiCb()
467 if (retval > 0) in aiCb()
470 memset(isoBuff, 0, (u32)(retval * sizeof(s16))); in aiCb()
472 PMICWrite(isoBuff, retval); in aiCb()
/RvlSDK-3.3/build/demos/axdemo/src/
Daxstream2.c285 STRM_ERR retval; in main() local
324 retval = STRMPrepare(&strmInfo, SAMPLE_ADPCM_L, SAMPLE_ADPCM_R, strmWork); in main()
326 if (retval == STRM_ERR_CANNOT_OPEN) in main()
331 else if (retval == STRM_ERR_CANNOT_READ) in main()
336 else if (retval == STRM_ERR_INVALID_STATE) in main()
341 else if (retval == STRM_ERR_INVALID_DATA) in main()
364 retval = STRMStart(&strmInfo); in main()
366 if (retval == STRM_ERR_NONE) in main()
371 else if (retval == STRM_ERR_CANNOT_OPEN) in main()
376 else if (retval == STRM_ERR_CANNOT_READ) in main()
[all …]