Home | History | Annotate | Download | only in src

Lines Matching refs:ptmp

79     IMG_UINT32 *ptmp = (IMG_UINT32 *)(cmdbuf->cmd_start);
82 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: command words [%d] = 0x%08x\n", __FUNCTION__, i++, (unsigned int)(*ptmp++));
83 } while(ptmp < pend);
484 IMG_UINT32 *ptmp = (IMG_UINT32 *)(cmdbuf->cmd_start);
488 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: start, stream (%d), ptmp (0x%08x), pend (0x%08x}\n", __FUNCTION__, idx, (unsigned int)ptmp, (unsigned int)pend);
493 while (ptmp < pend) {
494 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: ptmp (0x%08x}\n", __FUNCTION__, *ptmp);
495 if ((*ptmp & 0x7f) == MTX_CMDID_SW_NEW_CODEC) {
496 ptmp += 4;
497 } else if ((*ptmp & 0x7f) == MTX_CMDID_SW_LEAVE_LOWPOWER) {
498 ptmp += 2;
499 } else if ((*ptmp & 0x7f) == MTX_CMDID_SW_WRITEREG) {
500 ui32Len = *(++ptmp);
502 ptmp += (ui32Len * 3) + 1;
503 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: reg ptmp (0x%08x}\n", __FUNCTION__, *ptmp);
504 } else if ((*ptmp & 0x7f) == MTX_CMDID_DO_HEADER) {
505 ui32CmdTmp[0] = *ptmp++;
506 ui32CmdTmp[1] = *ptmp++;
507 ui32CmdTmp[2] = *ptmp++;
510 ptmp += 2;
512 ((*ptmp & 0x7f) == MTX_CMDID_SETVIDEO)||
513 ((*ptmp & 0x7f) == MTX_CMDID_SHUTDOWN)) {
514 ui32CmdTmp[0] = *ptmp++;
515 ui32CmdTmp[1] = *ptmp++;
516 ui32CmdTmp[2] = *ptmp++;
517 ui32CmdTmp[3] = *ptmp++;
520 ((*ptmp & 0x7f) == MTX_CMDID_PROVIDE_SOURCE_BUFFER) ||
521 ((*ptmp & 0x7f) == MTX_CMDID_PROVIDE_REF_BUFFER) ||
522 ((*ptmp & 0x7f) == MTX_CMDID_PROVIDE_CODED_BUFFER) ||
523 ((*ptmp & 0x7f) == MTX_CMDID_PICMGMT) ||
524 ((*ptmp & 0x7f) == MTX_CMDID_ENCODE_FRAME)) {
525 ui32CmdTmp[0] = *ptmp++;
526 ui32CmdTmp[1] = *ptmp++;
527 ui32CmdTmp[2] = *ptmp++;
531 drv_debug_msg(VIDEO_DEBUG_ERROR, "%s: error leave lowpower = 0x%08x\n", __FUNCTION__, *ptmp++);