Lines Matching refs:ret

104     mcResult_t ret = pMcKMod->open(devFile);
105 if (ret != MC_DRV_OK) {
134 int ret = pMcKMod->fcInit(0, NQ_BUFFER_SIZE, NQ_BUFFER_SIZE, MCP_BUFFER_SIZE);
135 if (ret != 0) {
207 int32_t ret = pMcKMod->fcYield();
208 if (ret != 0) {
209 LOG_E("pMcKMod->fcYield() failed: %d", ret);
211 return ret == 0;
227 int32_t ret = pMcKMod->fcNSIQ();
228 if (ret != 0) {
229 LOG_E("pMcKMod->fcNSIQ() failed : %d", ret);
286 int ret;
289 ret = pMcKMod->fcInfo(MC_EXT_INFO_ID_MCI_VERSION, NULL, &version);
290 if (ret != 0) {
291 LOG_E("pMcKMod->fcInfo() failed with %d", ret);
309 int ret;
313 ret = pMcKMod->fcInfo(1, &status, &info);
315 ret = pMcKMod->fcInfo(2, &status, &info);
317 ret = pMcKMod->fcInfo(3, &status, &info);
319 ret = pMcKMod->fcInfo(4, &status, &info);
321 ret = pMcKMod->fcInfo(5, &status, &info);
323 ret = pMcKMod->fcInfo(6, &status, &info);
325 ret = pMcKMod->fcInfo(7, &status, &info);
327 ret = pMcKMod->fcInfo(8, &status, &info);
329 ret = pMcKMod->fcInfo(9, &status, &info);
331 ret = pMcKMod->fcInfo(10, &status, &info);
333 ret = pMcKMod->fcInfo(11, &status, &info);
335 ret = pMcKMod->fcInfo(12, &status, &info);
337 ret = pMcKMod->fcInfo(13, &status, &info);
339 ret = pMcKMod->fcInfo(14, &status, &info);
341 ret = pMcKMod->fcInfo(15, &status, &info);
343 ret = pMcKMod->fcInfo(16, &status, &info);
345 ret = pMcKMod->fcInfo(19, &status, &info);
347 ret = pMcKMod->fcInfo(20, &status, &info);
349 ret = pMcKMod->fcInfo(21, &status, &info);
351 ret = pMcKMod->fcInfo(22, &status, &info);
380 mcResult_t ret = pMcKMod->mapMCI(len, &handle, &virtAddr, &physAddr, &isReused);
381 if (ret != MC_DRV_OK) {
382 LOG_E("pMcKMod->mmap() failed: %x", ret);
395 // int ret = pMcKMod->free(pWsm->handle, pWsm->virtAddr, pWsm->len);
396 // if (ret != 0) {
397 // LOG_E("pMcKMod->free() failed: %d", ret);
411 int ret = pMcKMod->registerWsmL2(
417 if (ret != 0) {
418 LOG_E("ipMcKMod->registerWsmL2() failed: %d", ret);
452 int ret = pMcKMod->unregisterWsmL2(pWsm->handle);
453 if (ret != 0) {
454 LOG_E("pMcKMod->unregisterWsmL2 failed: %d", ret);
465 int ret = pMcKMod->lockWsmL2(handle);
466 if (ret != 0) {
467 LOG_E("pMcKMod->unregisterWsmL2 failed: %d", ret);
477 int ret = pMcKMod->unlockWsmL2(handle);
478 if (ret != 0) {
480 LOG_I("pMcKMod->unregisterWsmL2 failed: %d", ret);
489 int ret = pMcKMod->cleanupWsmL2();
490 if (ret != 0) {
491 LOG_E("pMcKMod->cleanupWsmL2 failed: %d", ret);
500 addr_t ret = pMcKMod->findWsmL2(handle);
501 if (ret == NULL) {
505 LOG_I("Resolved buffer with handle %u to %p", handle, ret);
506 return ret;