| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/M7821/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/manhattan/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/maxim/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/M7621/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/maserati/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/macan/vpu/ |
| H A D | halVPU.c | 475 MS_BOOL HAL_VPU_MBoxRead(MS_U32 u32type, MS_U32 *u32Msg) in HAL_VPU_MBoxRead() argument 481 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 485 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 489 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_MBoxRead() 493 *u32Msg = ((MS_U32)(_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_MBoxRead() 498 *u32Msg=0; in HAL_VPU_MBoxRead() 532 MS_BOOL HAL_VPU_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_MBoxSend() argument 538 _VPU_Write4Byte( VPU_REG_HI_MBOX0_L , u32Msg ); in HAL_VPU_MBoxSend() 542 _VPU_Write4Byte( VPU_REG_HI_MBOX1_L , u32Msg ); in HAL_VPU_MBoxSend()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/maldives/vpu_v3/ |
| H A D | halVPU_EX.c | 2538 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2545 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2549 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2553 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2557 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2561 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2595 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2599 VPU_MSG_DBG("type=%lu, msg=0x%lx\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2605 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2611 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/mainz/vpu_v3/ |
| H A D | halVPU_EX.c | 2757 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2764 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2768 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2772 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2776 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2780 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2814 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2818 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2824 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2830 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/mustang/vpu_v3/ |
| H A D | halVPU_EX.c | 2679 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2686 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2690 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2694 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2698 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2702 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2736 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2740 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2746 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2752 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/mooney/vpu_v3/ |
| H A D | halVPU_EX.c | 2923 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2930 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2934 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2938 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2942 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2946 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2980 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2984 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2990 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2996 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/manhattan/vpu_v3/ |
| H A D | halVPU_EX.c | 2884 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2891 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2895 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2899 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2903 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2907 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2941 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2945 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2951 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2957 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/messi/vpu_v3/ |
| H A D | halVPU_EX.c | 2758 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2765 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2769 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2773 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2777 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2781 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2815 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2819 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2825 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2831 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/macan/vpu_v3/ |
| H A D | halVPU_EX.c | 2690 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2697 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2701 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2705 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2709 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2713 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 2747 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 2751 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 2757 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 2763 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v2/drv/mjpeg_ex/ |
| H A D | VirtualhalMJPEG_EX.c | 184 MS_BOOL VirtualHal_MJPEG_ReadVPUMBox(MS_U8 u8MBox, MS_U32 *u32Msg) in VirtualHal_MJPEG_ReadVPUMBox() argument 187 bResult = HAL_VPU_EX_MBoxRead((MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_ReadVPUMBox() 200 MS_BOOL VirtualHal_MJPEG_SendVPUMBox(MS_U32 u32Id, MS_U8 u8MBox, MS_U32 u32Msg) in VirtualHal_MJPEG_SendVPUMBox() argument 204 u32Msg |= (u8TaskId << 24); in VirtualHal_MJPEG_SendVPUMBox() 206 bResult = HAL_VPU_EX_MBoxSend((MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_SendVPUMBox()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/M7621/vpu_v3/ |
| H A D | halVPU_EX.c | 2977 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 2984 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2988 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2992 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 2996 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3000 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3034 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3038 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3044 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3050 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/M7821/vpu_v3/ |
| H A D | halVPU_EX.c | 2995 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3002 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3006 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3010 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3014 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3018 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3052 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3056 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3062 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3068 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/k6/vpu_v3/ |
| H A D | halVPU_EX.c | 3139 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3146 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3150 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3154 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3158 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3162 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3196 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3200 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3206 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3212 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/maxim/vpu_v3/ |
| H A D | halVPU_EX.c | 3143 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3150 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3154 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3158 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3162 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3166 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3200 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3204 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3210 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3216 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/k6lite/vpu_v3/ |
| H A D | halVPU_EX.c | 3150 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3157 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3161 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3165 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3169 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3173 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3207 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3211 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3217 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3223 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/curry/vpu_v3/ |
| H A D | halVPU_EX.c | 3135 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3142 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3146 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3150 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3154 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3158 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3192 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3196 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3202 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3208 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/drv/mjpeg_v3/ |
| H A D | VirtualhalMJPEG_EX.c | 193 MS_BOOL VirtualHal_MJPEG_ReadVPUMBox(MS_U8 u8MBox, MS_U32 *u32Msg) in VirtualHal_MJPEG_ReadVPUMBox() argument 196 bResult = HAL_VPU_EX_MBoxRead((MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_ReadVPUMBox() 209 MS_BOOL VirtualHal_MJPEG_SendVPUMBox(MS_U32 u32Id, MS_U8 u8MBox, MS_U32 u32Msg) in VirtualHal_MJPEG_SendVPUMBox() argument 213 u32Msg |= (u8TaskId << 24); in VirtualHal_MJPEG_SendVPUMBox() 215 bResult = HAL_VPU_EX_MBoxSend((MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_SendVPUMBox()
|
| /utopia/UTPA2-700.0.x/modules/vdec_lite/drv/mjpeg_lite/ |
| H A D | VirtualhalMJPEG_EX.c | 194 MS_BOOL VirtualHal_MJPEG_ReadVPUMBox(MS_U32 u32Id, MS_U8 u8MBox, MS_U32 *u32Msg) in VirtualHal_MJPEG_ReadVPUMBox() argument 197 bResult = HAL_VPU_EX_MBoxRead(u32Id, (MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_ReadVPUMBox() 210 MS_BOOL VirtualHal_MJPEG_SendVPUMBox(MS_U32 u32Id, MS_U8 u8MBox, MS_U32 u32Msg) in VirtualHal_MJPEG_SendVPUMBox() argument 214 u32Msg |= (u8TaskId << 24); in VirtualHal_MJPEG_SendVPUMBox() 216 bResult = HAL_VPU_EX_MBoxSend(u32Id, (MS_U32)u8MBox, u32Msg); in VirtualHal_MJPEG_SendVPUMBox()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/hal/maserati/vpu_v3/ |
| H A D | halVPU_EX.c | 3162 MS_BOOL HAL_VPU_EX_MBoxRead(MS_U32 u32type, MS_U32 * u32Msg) in HAL_VPU_EX_MBoxRead() argument 3169 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3173 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_HI_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3177 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX0_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3181 *u32Msg = ((MS_U32) (_VPU_Read2Byte(VPU_REG_RISC_MBOX1_H)) << 16) | in HAL_VPU_EX_MBoxRead() 3185 *u32Msg = 0; in HAL_VPU_EX_MBoxRead() 3219 MS_BOOL HAL_VPU_EX_MBoxSend(MS_U32 u32type, MS_U32 u32Msg) in HAL_VPU_EX_MBoxSend() argument 3223 VPU_MSG_DBG("type=%u, msg=0x%x\n", u32type, u32Msg); in HAL_VPU_EX_MBoxSend() 3229 _VPU_Write4Byte(VPU_REG_HI_MBOX0_L, u32Msg); in HAL_VPU_EX_MBoxSend() 3235 _VPU_Write4Byte(VPU_REG_HI_MBOX1_L, u32Msg); in HAL_VPU_EX_MBoxSend() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/manhattan/hvd/ |
| H A D | halHVD_sub.c | 281 static MS_BOOL _HAL_HVD_Sub_MBoxSend(MS_U8 u8MBox, MS_U32 u32Msg) in _HAL_HVD_Sub_MBoxSend() argument 287 _HVD_Write4Byte(HVD_REG_HI_MBOX0_L, u32Msg); in _HAL_HVD_Sub_MBoxSend() 292 _HVD_Write4Byte(HVD_REG_HI_MBOX1_L, u32Msg); in _HAL_HVD_Sub_MBoxSend() 296 bResult=HAL_VPU_MBoxSend( VPU_HI_MBOX0 , u32Msg ); in _HAL_HVD_Sub_MBoxSend() 300 bResult=HAL_VPU_MBoxSend( VPU_HI_MBOX1 , u32Msg ); in _HAL_HVD_Sub_MBoxSend() 345 static MS_BOOL _HAL_HVD_Sub_MBoxRead(MS_U8 u8MBox, MS_U32 *u32Msg) in _HAL_HVD_Sub_MBoxRead() argument 351 *u32Msg = _HVD_Read4Byte(HVD_REG_HI_MBOX0_L); in _HAL_HVD_Sub_MBoxRead() 354 *u32Msg = _HVD_Read4Byte(HVD_REG_HI_MBOX1_L); in _HAL_HVD_Sub_MBoxRead() 357 *u32Msg = _HVD_Read4Byte(HVD_REG_RISC_MBOX0_L); in _HAL_HVD_Sub_MBoxRead() 360 *u32Msg = _HVD_Read4Byte(HVD_REG_RISC_MBOX1_L); in _HAL_HVD_Sub_MBoxRead() [all …]
|
| /utopia/UTPA2-700.0.x/modules/vdec_v1/hal/maserati/hvd/ |
| H A D | halHVD_sub.c | 281 static MS_BOOL _HAL_HVD_Sub_MBoxSend(MS_U8 u8MBox, MS_U32 u32Msg) in _HAL_HVD_Sub_MBoxSend() argument 287 _HVD_Write4Byte(HVD_REG_HI_MBOX0_L, u32Msg); in _HAL_HVD_Sub_MBoxSend() 292 _HVD_Write4Byte(HVD_REG_HI_MBOX1_L, u32Msg); in _HAL_HVD_Sub_MBoxSend() 296 bResult=HAL_VPU_MBoxSend( VPU_HI_MBOX0 , u32Msg ); in _HAL_HVD_Sub_MBoxSend() 300 bResult=HAL_VPU_MBoxSend( VPU_HI_MBOX1 , u32Msg ); in _HAL_HVD_Sub_MBoxSend() 345 static MS_BOOL _HAL_HVD_Sub_MBoxRead(MS_U8 u8MBox, MS_U32 *u32Msg) in _HAL_HVD_Sub_MBoxRead() argument 351 *u32Msg = _HVD_Read4Byte(HVD_REG_HI_MBOX0_L); in _HAL_HVD_Sub_MBoxRead() 354 *u32Msg = _HVD_Read4Byte(HVD_REG_HI_MBOX1_L); in _HAL_HVD_Sub_MBoxRead() 357 *u32Msg = _HVD_Read4Byte(HVD_REG_RISC_MBOX0_L); in _HAL_HVD_Sub_MBoxRead() 360 *u32Msg = _HVD_Read4Byte(HVD_REG_RISC_MBOX1_L); in _HAL_HVD_Sub_MBoxRead() [all …]
|