Lines Matching refs:index

121 static void _HAL_PWM_VDBen_SW(PWM_ChNum index, MS_BOOL bSwitch);
189 static void _HAL_PWM_VDBen_SW(PWM_ChNum index, MS_BOOL bSwitch) in _HAL_PWM_VDBen_SW() argument
194 switch(index) in _HAL_PWM_VDBen_SW()
216 printf("[Utopia] The PWM%d is not support\n", (int)index); in _HAL_PWM_VDBen_SW()
318 MS_BOOL HAL_PWM_Oen(PWM_ChNum index, MS_BOOL letch) in HAL_PWM_Oen() argument
323 switch(index) in HAL_PWM_Oen()
345 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Oen()
362 MS_BOOL HAL_PWM_GetOen(PWM_ChNum index) in HAL_PWM_GetOen() argument
366 switch(index) in HAL_PWM_GetOen()
388 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetOen()
422 void HAL_PWM_Period(PWM_ChNum index, MS_U32 u32PeriodPWM) in HAL_PWM_Period() argument
429 _HAL_PWM_VDBen_SW(index,0); in HAL_PWM_Period()
431 switch(index) in HAL_PWM_Period()
458 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Period()
465 _HAL_PWM_VDBen_SW(index,1); in HAL_PWM_Period()
469 MS_U32 HAL_PWM_GetPeriod(PWM_ChNum index) in HAL_PWM_GetPeriod() argument
473 _HAL_PWM_VDBen_SW(index,0); in HAL_PWM_GetPeriod()
474 switch(index) in HAL_PWM_GetPeriod()
501 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetPeriod()
508 _HAL_PWM_VDBen_SW(index,1); in HAL_PWM_GetPeriod()
522 void HAL_PWM_DutyCycle(PWM_ChNum index, MS_U32 u32DutyPWM) in HAL_PWM_DutyCycle() argument
530 _HAL_PWM_VDBen_SW(index,0); in HAL_PWM_DutyCycle()
532 switch(index) in HAL_PWM_DutyCycle()
559 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_DutyCycle()
566 _HAL_PWM_VDBen_SW(index,1); in HAL_PWM_DutyCycle()
570 MS_U32 HAL_PWM_GetDutyCycle(PWM_ChNum index) in HAL_PWM_GetDutyCycle() argument
578 _HAL_PWM_VDBen_SW(index,0); in HAL_PWM_GetDutyCycle()
580 switch(index) in HAL_PWM_GetDutyCycle()
607 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetDutyCycle()
614 _HAL_PWM_VDBen_SW(index,1); in HAL_PWM_GetDutyCycle()
628 void HAL_PWM_Div(PWM_ChNum index, MS_U16 u16DivPWM) in HAL_PWM_Div() argument
637 switch(index) in HAL_PWM_Div()
666 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Div()
682 MS_U16 HAL_PWM_GetDiv(PWM_ChNum index) in HAL_PWM_GetDiv() argument
688 switch(index) in HAL_PWM_GetDiv()
715 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetDiv()
734 void HAL_PWM_Polarity(PWM_ChNum index, MS_BOOL bPolPWM) in HAL_PWM_Polarity() argument
737 switch(index) in HAL_PWM_Polarity()
759 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Polarity()
775 MS_BOOL HAL_PWM_GetPolarity(PWM_ChNum index) in HAL_PWM_GetPolarity() argument
779 switch(index) in HAL_PWM_GetPolarity()
801 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetPolarity()
820 void HAL_PWM_VDBen(PWM_ChNum index, MS_BOOL bVdbenPWM) in HAL_PWM_VDBen() argument
826 switch(index) in HAL_PWM_VDBen()
848 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_VDBen()
865 MS_BOOL HAL_PWM_GetVDBen(PWM_ChNum index) in HAL_PWM_GetVDBen() argument
871 switch(index) in HAL_PWM_GetVDBen()
893 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetVDBen()
912 void HAL_PWM_Vrest(PWM_ChNum index, MS_BOOL bRstPWM) in HAL_PWM_Vrest() argument
916 switch(index) in HAL_PWM_Vrest()
938 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Vrest()
955 MS_BOOL HAL_PWM_GetVrest(PWM_ChNum index) in HAL_PWM_GetVrest() argument
961 switch(index) in HAL_PWM_GetVrest()
983 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetVrest()
1002 void HAL_PWM_DBen(PWM_ChNum index, MS_BOOL bdbenPWM) in HAL_PWM_DBen() argument
1008 switch(index) in HAL_PWM_DBen()
1030 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_DBen()
1047 MS_BOOL HAL_PWM_GetDBen(PWM_ChNum index) in HAL_PWM_GetDBen() argument
1053 switch(index) in HAL_PWM_GetDBen()
1075 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetDBen()
1086 void HAL_PWM_IMPULSE_EN(PWM_ChNum index, MS_BOOL bdbenPWM) in HAL_PWM_IMPULSE_EN() argument
1090 switch(index) in HAL_PWM_IMPULSE_EN()
1130 void HAL_PWM_ODDEVEN_SYNC(PWM_ChNum index, MS_BOOL bdbenPWM) in HAL_PWM_ODDEVEN_SYNC() argument
1134 switch(index) in HAL_PWM_ODDEVEN_SYNC()
1182 void HAL_PWM_RstMux(PWM_ChNum index, MS_BOOL bMuxPWM) in HAL_PWM_RstMux() argument
1186 switch(index) in HAL_PWM_RstMux()
1208 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_RstMux()
1227 void HAL_PWM_RstCnt(PWM_ChNum index, MS_U8 u8RstCntPWM) in HAL_PWM_RstCnt() argument
1231 printf("PWM%d Reset Count is too large\n", index); in HAL_PWM_RstCnt()
1236 switch(index) in HAL_PWM_RstCnt()
1258 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_RstCnt()
1277 void HAL_PWM_BypassUnit(PWM_ChNum index, MS_BOOL bBypassPWM) in HAL_PWM_BypassUnit() argument
1283 switch(index) in HAL_PWM_BypassUnit()
1295 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_BypassUnit()
1377 MS_BOOL HAL_PWM_Shift(PWM_ChNum index, MS_U32 u32ShiftPWM) in HAL_PWM_Shift() argument
1386 switch(index) in HAL_PWM_Shift()
1413 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Shift()
1434 MS_U32 HAL_PWM_GetShift(PWM_ChNum index) in HAL_PWM_GetShift() argument
1441 switch(index) in HAL_PWM_GetShift()
1468 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_GetShift()
1479 void HAL_PWM_Nvsync(PWM_ChNum index, MS_BOOL bNvsPWM) in HAL_PWM_Nvsync() argument
1484 switch(index) in HAL_PWM_Nvsync()
1506 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Nvsync()
1516 void HAL_PWM_Align(PWM_ChNum index, MS_BOOL bAliPWM) in HAL_PWM_Align() argument
1521 switch(index) in HAL_PWM_Align()
1543 printf("[Utopia] The PWM%d is not support\n", (int)index); in HAL_PWM_Align()
1594 MS_BOOL HAL_PWM_IsSupport3D(PWM_ChNum index) in HAL_PWM_IsSupport3D() argument
1597 switch (index) in HAL_PWM_IsSupport3D()
1615 MS_BOOL HAL_PWM_Set3D_DiffWaveform(PWM_ChNum index, MS_U8 u8WaveformIndex, MS_U32 u32Shift, MS_U32 … in HAL_PWM_Set3D_DiffWaveform() argument
1618 …t *pReigsterOffset = (PWM_3D_RegisterOffset *)&g_ArrayPWM3D_RegisterOffset[index][u8WaveformIndex]; in HAL_PWM_Set3D_DiffWaveform()
1622 bReturn &= HAL_PWM_Shift(index, u32Shift); in HAL_PWM_Set3D_DiffWaveform()
1623 HAL_PWM_DutyCycle(index, u32Duty); in HAL_PWM_Set3D_DiffWaveform()
1690 static void HAL_PWM_LR_RST_RISING(PWM_ChNum index, MS_BOOL bMask) in HAL_PWM_LR_RST_RISING() argument
1692 switch (index) in HAL_PWM_LR_RST_RISING()
1715 static void HAL_PWM_LR_RST_FALLING(PWM_ChNum index, MS_BOOL bMask) in HAL_PWM_LR_RST_FALLING() argument
1717 switch (index) in HAL_PWM_LR_RST_FALLING()
1740 void HAL_PWM_LR_RST_SEL(PWM_ChNum index, N_LR_SYNC_SEL eLR_Sync) in HAL_PWM_LR_RST_SEL() argument
1745 HAL_PWM_LR_RST_RISING(index, FALSE); in HAL_PWM_LR_RST_SEL()
1746 HAL_PWM_LR_RST_FALLING(index, FALSE); in HAL_PWM_LR_RST_SEL()
1750 HAL_PWM_LR_RST_RISING(index, TRUE); in HAL_PWM_LR_RST_SEL()
1751 HAL_PWM_LR_RST_FALLING(index, FALSE); in HAL_PWM_LR_RST_SEL()
1755 HAL_PWM_LR_RST_RISING(index, FALSE); in HAL_PWM_LR_RST_SEL()
1756 HAL_PWM_LR_RST_FALLING(index, TRUE); in HAL_PWM_LR_RST_SEL()
1760 HAL_PWM_LR_RST_RISING(index, TRUE); in HAL_PWM_LR_RST_SEL()
1761 HAL_PWM_LR_RST_FALLING(index, TRUE); in HAL_PWM_LR_RST_SEL()