Lines Matching refs:u16VectorIndex
894 MS_U16 u16VectorIndex = 0; in CHIP_EnableIRQ() local
899 u16VectorIndex = (MS_U16)IntEnum2HWIdx[eIntNum]; in CHIP_EnableIRQ()
900 irq = (int)u16VectorIndex + MSTAR_INT_BASE; in CHIP_EnableIRQ()
902 if (!g_bISRInit || !_MsOS_ISR_Info[u16VectorIndex].bUsed) in CHIP_EnableIRQ()
918 MS_U16 u16VectorIndex = 0; in CHIP_DisableIRQ() local
923 u16VectorIndex = (MS_U16)IntEnum2HWIdx[eIntNum]; in CHIP_DisableIRQ()
924 irq = (int)u16VectorIndex + MSTAR_INT_BASE; in CHIP_DisableIRQ()
926 if (!g_bISRInit || !_MsOS_ISR_Info[u16VectorIndex].bUsed) in CHIP_DisableIRQ()
956 MS_U16 u16VectorIndex = 0; in HAL_IRQ_Attach() local
962 u16VectorIndex = (MS_U16)IntEnum2HWIdx[u32Vector]; in HAL_IRQ_Attach()
963 irq = (int)u16VectorIndex + MSTAR_INT_BASE; in HAL_IRQ_Attach()
965 if (!g_bISRInit || _MsOS_ISR_Info[u16VectorIndex].bUsed) in HAL_IRQ_Attach()
975 _MsOS_ISR_Info[u16VectorIndex].bUsed = TRUE; in HAL_IRQ_Attach()
976 _MsOS_ISR_Info[u16VectorIndex].pInterruptCb = (InterruptCb)pIntCb; in HAL_IRQ_Attach()
993 HWIdx2IRQname[u16VectorIndex], in HAL_IRQ_Attach()
1003 HWIdx2IRQname[u16VectorIndex], in HAL_IRQ_Attach()
1022 MS_U16 u16VectorIndex = 0; in HAL_IRQ_Detech() local
1026 u16VectorIndex = (MS_U16)IntEnum2HWIdx[u32Vector]; in HAL_IRQ_Detech()
1027 irq = (int)u16VectorIndex + MSTAR_INT_BASE; in HAL_IRQ_Detech()
1029 if (!g_bISRInit || !_MsOS_ISR_Info[u16VectorIndex].bUsed) in HAL_IRQ_Detech()
1039 _MsOS_ISR_Info[u16VectorIndex].bUsed = FALSE; in HAL_IRQ_Detech()
1040 _MsOS_ISR_Info[u16VectorIndex].pInterruptCb = NULL; in HAL_IRQ_Detech()