| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/src/ |
| A D | bl602_l1c.c | 347 CHECK_PARAM(IS_L1C_BMX_ERR_INT_TYPE(intType)); in L1C_BMX_ERR_INT_Callback_Install() 349 l1cBmxErrIntCbfArra[intType] = cbFun; in L1C_BMX_ERR_INT_Callback_Install() 365 L1C_BMX_ERR_INT_Type intType; in L1C_BMX_ERR_IRQHandler() local 367 for (intType = L1C_BMX_ERR_INT_ERR; intType < L1C_BMX_ERR_INT_ALL; intType++) { in L1C_BMX_ERR_IRQHandler() 369 l1cBmxErrIntCbfArra[intType](); in L1C_BMX_ERR_IRQHandler() 391 CHECK_PARAM(IS_L1C_BMX_TO_INT_TYPE(intType)); in L1C_BMX_TIMEOUT_INT_Callback_Install() 393 l1cBmxToIntCbfArra[intType] = cbFun; in L1C_BMX_TIMEOUT_INT_Callback_Install() 409 L1C_BMX_TO_INT_Type intType; in L1C_BMX_TO_IRQHandler() local 411 for (intType = L1C_BMX_TO_INT_TIMEOUT; intType < L1C_BMX_TO_INT_ALL; intType++) { in L1C_BMX_TO_IRQHandler() 412 if (l1cBmxToIntCbfArra[intType] != NULL) { in L1C_BMX_TO_IRQHandler() [all …]
|
| A D | bl602_pds.c | 260 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask) in PDS_IntMask() argument 267 tmpVal = tmpVal | (1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 269 tmpVal = tmpVal & ~(1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 285 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType) in PDS_Get_IntStatus() argument 287 return (BL_RD_REG(PDS_BASE, PDS_INT) & (1 << intType)) ? SET : RESET; in PDS_Get_IntStatus() 382 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun) in PDS_Int_Callback_Install() argument 384 pdsIntCbfArra[intType][0] = cbFun; in PDS_Int_Callback_Install() 827 for (PDS_INT_Type intType = PDS_INT_WAKEUP; intType < PDS_INT_MAX; intType++) { in PDS_WAKEUP_IRQHandler() local 828 if (PDS_Get_IntStatus(intType) && (pdsIntCbfArra[intType][0] != NULL)) { in PDS_WAKEUP_IRQHandler() 829 pdsIntCbfArra[intType][0](); in PDS_WAKEUP_IRQHandler()
|
| A D | bl602_glb.c | 1142 CHECK_PARAM(IS_BMX_ERR_INT_TYPE(intType)); in BMX_ERR_INT_Callback_Install() 1144 glbBmxErrIntCbfArra[intType] = cbFun; in BMX_ERR_INT_Callback_Install() 1160 BMX_ERR_INT_Type intType; in BMX_ERR_IRQHandler() local 1162 for (intType = BMX_ERR_INT_ERR; intType < BMX_ERR_INT_ALL; intType++) { in BMX_ERR_IRQHandler() 1164 glbBmxErrIntCbfArra[intType](); in BMX_ERR_IRQHandler() 1186 CHECK_PARAM(IS_BMX_TO_INT_TYPE(intType)); in BMX_TIMEOUT_INT_Callback_Install() 1188 glbBmxToIntCbfArra[intType] = cbFun; in BMX_TIMEOUT_INT_Callback_Install() 1204 BMX_TO_INT_Type intType; in BMX_TO_IRQHandler() local 1206 for (intType = BMX_TO_INT_TIMEOUT; intType < BMX_TO_INT_ALL; intType++) { in BMX_TO_IRQHandler() 1207 if (glbBmxToIntCbfArra[intType] != NULL) { in BMX_TO_IRQHandler() [all …]
|
| A D | bl602_hbn.c | 1565 BL_Err_Type HBN_Out0_Callback_Install(HBN_OUT0_INT_Type intType, intCallback_Type *cbFun) in HBN_Out0_Callback_Install() argument 1568 CHECK_PARAM(IS_HBN_OUT0_INT_TYPE(intType)); in HBN_Out0_Callback_Install() 1570 hbnInt0CbfArra[intType] = cbFun; in HBN_Out0_Callback_Install() 1601 BL_Err_Type HBN_Out1_Callback_Install(HBN_OUT1_INT_Type intType, intCallback_Type *cbFun) in HBN_Out1_Callback_Install() argument 1604 CHECK_PARAM(IS_HBN_OUT1_INT_TYPE(intType)); in HBN_Out1_Callback_Install() 1606 hbnInt1CbfArra[intType] = cbFun; in HBN_Out1_Callback_Install()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/src/ |
| A D | bl702_l1c.c | 566 CHECK_PARAM(IS_L1C_BMX_ERR_INT_TYPE(intType)); in L1C_BMX_ERR_INT_Callback_Install() 568 l1cBmxErrIntCbfArra[intType] = cbFun; in L1C_BMX_ERR_INT_Callback_Install() 584 L1C_BMX_ERR_INT_Type intType; in L1C_BMX_ERR_IRQHandler() local 586 for (intType = L1C_BMX_ERR_INT_ERR; intType < L1C_BMX_ERR_INT_ALL; intType++) { in L1C_BMX_ERR_IRQHandler() 588 l1cBmxErrIntCbfArra[intType](); in L1C_BMX_ERR_IRQHandler() 610 CHECK_PARAM(IS_L1C_BMX_TO_INT_TYPE(intType)); in L1C_BMX_TIMEOUT_INT_Callback_Install() 612 l1cBmxToIntCbfArra[intType] = cbFun; in L1C_BMX_TIMEOUT_INT_Callback_Install() 628 L1C_BMX_TO_INT_Type intType; in L1C_BMX_TO_IRQHandler() local 630 for (intType = L1C_BMX_TO_INT_TIMEOUT; intType < L1C_BMX_TO_INT_ALL; intType++) { in L1C_BMX_TO_IRQHandler() 631 if (l1cBmxToIntCbfArra[intType] != NULL) { in L1C_BMX_TO_IRQHandler() [all …]
|
| A D | bl702_pds.c | 285 BL_Err_Type PDS_IntEn(PDS_INT_Type intType, BL_Fun_Type enable) in PDS_IntEn() argument 290 if ((intType < PDS_INT_PDS_SLEEP_CNT) || (intType > PDS_INT_KYS_QDEC)) { in PDS_IntEn() 294 switch (intType) { in PDS_IntEn() 366 if (intType > PDS_INT_PLL_DONE) { in PDS_IntMask() 370 switch (intType) { in PDS_IntMask() 417 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType) in PDS_Get_IntStatus() argument 421 switch (intType) { in PDS_Get_IntStatus() 687 pdsIntCbfArra[intType][0] = cbFun; in PDS_Int_Callback_Install() 1317 for (PDS_INT_Type intType = PDS_INT_WAKEUP; intType < PDS_INT_MAX; intType++) { in PDS_WAKEUP_IRQHandler() local 1318 if (PDS_Get_IntStatus(intType) && (pdsIntCbfArra[intType][0] != NULL)) { in PDS_WAKEUP_IRQHandler() [all …]
|
| A D | bl702_glb.c | 1870 CHECK_PARAM(IS_BMX_ERR_INT_TYPE(intType)); in BMX_ERR_INT_Callback_Install() 1872 glbBmxErrIntCbfArra[intType] = cbFun; in BMX_ERR_INT_Callback_Install() 1888 BMX_ERR_INT_Type intType; in BMX_ERR_IRQHandler() local 1890 for (intType = BMX_ERR_INT_ERR; intType < BMX_ERR_INT_ALL; intType++) { in BMX_ERR_IRQHandler() 1892 glbBmxErrIntCbfArra[intType](); in BMX_ERR_IRQHandler() 1914 CHECK_PARAM(IS_BMX_TO_INT_TYPE(intType)); in BMX_TIMEOUT_INT_Callback_Install() 1916 glbBmxToIntCbfArra[intType] = cbFun; in BMX_TIMEOUT_INT_Callback_Install() 1932 BMX_TO_INT_Type intType; in BMX_TO_IRQHandler() local 1934 for (intType = BMX_TO_INT_TIMEOUT; intType < BMX_TO_INT_ALL; intType++) { in BMX_TO_IRQHandler() 1935 if (glbBmxToIntCbfArra[intType] != NULL) { in BMX_TO_IRQHandler() [all …]
|
| A D | bl702_hbn.c | 1593 BL_Err_Type HBN_Out0_Callback_Install(HBN_OUT0_INT_Type intType, intCallback_Type *cbFun) in HBN_Out0_Callback_Install() argument 1596 CHECK_PARAM(IS_HBN_OUT0_INT_TYPE(intType)); in HBN_Out0_Callback_Install() 1598 hbnInt0CbfArra[intType] = cbFun; in HBN_Out0_Callback_Install() 1612 BL_Err_Type HBN_Out1_Callback_Install(HBN_OUT1_INT_Type intType, intCallback_Type *cbFun) in HBN_Out1_Callback_Install() argument 1615 CHECK_PARAM(IS_HBN_OUT1_INT_TYPE(intType)); in HBN_Out1_Callback_Install() 1617 hbnInt1CbfArra[intType] = cbFun; in HBN_Out1_Callback_Install()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/src/ |
| A D | bl808_glb_gpio.c | 624 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_Callback_Install() 626 glbGpioFifoCbfArra[intType] = cbFun; in GLB_GPIO_Fifo_Callback_Install() 782 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_IntMask() 789 switch (intType) { in GLB_GPIO_Fifo_IntMask() 812 switch (intType) { in GLB_GPIO_Fifo_IntMask() 850 BL_Err_Type GLB_GPIO_Fifo_IntClear(GLB_GPIO_FIFO_INT_Type intType) in GLB_GPIO_Fifo_IntClear() argument 855 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_IntClear() 860 switch (intType) { in GLB_GPIO_Fifo_IntClear() 901 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_GetIntStatus() 906 if (GLB_GPIO_FIFO_INT_ALL == intType) { in GLB_GPIO_Fifo_GetIntStatus() [all …]
|
| A D | bl808_pds.c | 793 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask) in PDS_IntMask() argument 799 tmpVal = tmpVal | (1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 801 tmpVal = tmpVal & ~(1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 816 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType) in PDS_Get_IntStatus() argument 818 return (BL_RD_REG(PDS_BASE, PDS_INT) & (1 << intType)) ? SET : RESET; in PDS_Get_IntStatus() 858 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun) in PDS_Int_Callback_Install() argument 864 pdsIntCbfArra[intType] = cbFun; in PDS_Int_Callback_Install() 1044 for (PDS_INT_Type intType = PDS_INT_WAKEUP; intType < PDS_INT_MAX; intType++) { in PDS_WAKEUP_IRQHandler() local 1045 if (PDS_Get_IntStatus(intType) && (pdsIntCbfArra[intType] != NULL)) { in PDS_WAKEUP_IRQHandler() 1046 pdsIntCbfArra[intType](); in PDS_WAKEUP_IRQHandler()
|
| A D | bl808_glb.c | 2454 if (intType < 32) { in GLB_DSP_Get_MCU_IntStatus() 2476 if (intType < 32) { in GLB_DSP_Set_MCU_IntMask() 2511 if (intType < 32) { in GLB_DSP_Clr_MCU_IntStatus() 2513 tmpVal |= (1 << intType); in GLB_DSP_Clr_MCU_IntStatus() 2539 if (intType < 32) { in GLB_DSP_Set_LP_IntEn() 2572 if (intType < 32) { in GLB_DSP_Get_LP_IntStatus() 2591 if (intType < 32) { in GLB_MCU_Get_DSP_IntStatus() 2613 if (intType < 32) { in GLB_MCU_Set_DSP_IntMask() 2648 if (intType < 32) { in GLB_MCU_Clr_DSP_IntStatus() 3792 BMX_TO_INT_Type intType; in BMX_TO_IRQHandler() local [all …]
|
| A D | bl808_hbn.c | 1867 BL_Err_Type HBN_Out0_Callback_Install(HBN_OUT0_INT_Type intType, intCallback_Type *cbFun) in HBN_Out0_Callback_Install() argument 1870 CHECK_PARAM(IS_HBN_OUT0_INT_TYPE(intType)); in HBN_Out0_Callback_Install() 1876 hbnInt0CbfArra[intType] = cbFun; in HBN_Out0_Callback_Install() 1892 BL_Err_Type HBN_Out1_Callback_Install(HBN_OUT1_INT_Type intType, intCallback_Type *cbFun) in HBN_Out1_Callback_Install() argument 1895 CHECK_PARAM(IS_HBN_OUT1_INT_TYPE(intType)); in HBN_Out1_Callback_Install() 1901 hbnInt1CbfArra[intType] = cbFun; in HBN_Out1_Callback_Install()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/src/ |
| A D | bl616_glb_gpio.c | 631 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_Callback_Install() 633 glbGpioFifoCbfArra[intType] = cbFun; in GLB_GPIO_Fifo_Callback_Install() 789 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_IntMask() 796 switch (intType) { in GLB_GPIO_Fifo_IntMask() 819 switch (intType) { in GLB_GPIO_Fifo_IntMask() 857 BL_Err_Type GLB_GPIO_Fifo_IntClear(GLB_GPIO_FIFO_INT_Type intType) in GLB_GPIO_Fifo_IntClear() argument 862 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_IntClear() 867 switch (intType) { in GLB_GPIO_Fifo_IntClear() 908 CHECK_PARAM(IS_GLB_GPIO_FIFO_INT_TYPE(intType)); in GLB_GPIO_Fifo_GetIntStatus() 913 if (GLB_GPIO_FIFO_INT_ALL == intType) { in GLB_GPIO_Fifo_GetIntStatus() [all …]
|
| A D | bl616_pds.c | 591 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask) in PDS_IntMask() argument 597 tmpVal = tmpVal | (1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 599 tmpVal = tmpVal & ~(1 << (intType + PDS_INT_MASK_BIT_OFFSET)); in PDS_IntMask() 614 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType) in PDS_Get_IntStatus() argument 616 return (BL_RD_REG(PDS_BASE, PDS_INT) & (1 << intType)) ? SET : RESET; in PDS_Get_IntStatus() 656 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun) in PDS_Int_Callback_Install() argument 662 pdsIntCbfArra[intType] = cbFun; in PDS_Int_Callback_Install() 849 for (PDS_INT_Type intType = PDS_INT_WAKEUP; intType < PDS_INT_MAX; intType++) { in PDS_WAKEUP_IRQHandler() local 850 if (PDS_Get_IntStatus(intType) && (pdsIntCbfArra[intType] != NULL)) { in PDS_WAKEUP_IRQHandler() 851 pdsIntCbfArra[intType](); in PDS_WAKEUP_IRQHandler()
|
| A D | bl616_romapi_e907.c | 915 BL_Err_Type GLB_GPIO_Fifo_IntClear(GLB_GPIO_FIFO_INT_Type intType){ in GLB_GPIO_Fifo_IntClear() argument 916 return RomDriver_GLB_GPIO_Fifo_IntClear(intType); in GLB_GPIO_Fifo_IntClear() 920 BL_Err_Type GLB_GPIO_Fifo_IntMask(GLB_GPIO_FIFO_INT_Type intType, BL_Mask_Type intMask){ in GLB_GPIO_Fifo_IntMask() argument 921 return RomDriver_GLB_GPIO_Fifo_IntMask(intType,intMask); in GLB_GPIO_Fifo_IntMask() 995 BL_Sts_Type GLB_GPIO_Fifo_GetIntStatus(GLB_GPIO_FIFO_INT_Type intType){ in GLB_GPIO_Fifo_GetIntStatus() argument 996 return RomDriver_GLB_GPIO_Fifo_GetIntStatus(intType); in GLB_GPIO_Fifo_GetIntStatus() 1553 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask){ in PDS_IntMask() argument 1554 return RomDriver_PDS_IntMask(intType,intMask); in PDS_IntMask() 1638 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType){ in PDS_Get_IntStatus() argument 1639 return RomDriver_PDS_Get_IntStatus(intType); in PDS_Get_IntStatus()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/include/ |
| A D | bl616_glb_gpio.h | 214 BL_Err_Type GLB_GPIO_Fifo_Callback_Install(GLB_GPIO_FIFO_INT_Type intType, intCallback_Type *cbFun); 220 BL_Err_Type GLB_GPIO_Fifo_IntMask(GLB_GPIO_FIFO_INT_Type intType, BL_Mask_Type intMask); 221 BL_Err_Type GLB_GPIO_Fifo_IntClear(GLB_GPIO_FIFO_INT_Type intType); 222 BL_Sts_Type GLB_GPIO_Fifo_GetIntStatus(GLB_GPIO_FIFO_INT_Type intType);
|
| A D | bl616_pds.h | 566 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask); 567 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType); 569 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun);
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/include/ |
| A D | bl808_glb_gpio.h | 215 BL_Err_Type GLB_GPIO_Fifo_Callback_Install(GLB_GPIO_FIFO_INT_Type intType, intCallback_Type *cbFun); 221 BL_Err_Type GLB_GPIO_Fifo_IntMask(GLB_GPIO_FIFO_INT_Type intType, BL_Mask_Type intMask); 222 BL_Err_Type GLB_GPIO_Fifo_IntClear(GLB_GPIO_FIFO_INT_Type intType); 223 BL_Sts_Type GLB_GPIO_Fifo_GetIntStatus(GLB_GPIO_FIFO_INT_Type intType);
|
| A D | bl808_pds.h | 499 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask); 500 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType); 502 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun);
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/include/ |
| A D | bl602_l1c.h | 178 BL_Err_Type L1C_BMX_ERR_INT_Callback_Install(L1C_BMX_ERR_INT_Type intType, intCallback_Type *cbFun); 179 BL_Err_Type L1C_BMX_TIMEOUT_INT_Callback_Install(L1C_BMX_TO_INT_Type intType,
|
| A D | bl602_pds.h | 474 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask); 475 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType); 481 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun);
|
| A D | bl602_hbn.h | 476 BL_Err_Type HBN_Out0_Callback_Install(HBN_OUT0_INT_Type intType, intCallback_Type *cbFun); 478 BL_Err_Type HBN_Out1_Callback_Install(HBN_OUT1_INT_Type intType, intCallback_Type *cbFun);
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/include/ |
| A D | bl702_l1c.h | 191 BL_Err_Type L1C_BMX_ERR_INT_Callback_Install(L1C_BMX_ERR_INT_Type intType, intCallback_Type *cbFun); 192 BL_Err_Type L1C_BMX_TIMEOUT_INT_Callback_Install(L1C_BMX_TO_INT_Type intType,
|
| A D | bl702_pds.h | 755 BL_Err_Type PDS_IntEn(PDS_INT_Type intType, BL_Fun_Type enable); 756 BL_Err_Type PDS_IntMask(PDS_INT_Type intType, BL_Mask_Type intMask); 757 BL_Sts_Type PDS_Get_IntStatus(PDS_INT_Type intType); 773 BL_Err_Type PDS_Int_Callback_Install(PDS_INT_Type intType, intCallback_Type *cbFun);
|
| A D | bl702_hbn.h | 537 BL_Err_Type HBN_Out0_Callback_Install(HBN_OUT0_INT_Type intType, intCallback_Type *cbFun); 539 BL_Err_Type HBN_Out1_Callback_Install(HBN_OUT1_INT_Type intType, intCallback_Type *cbFun);
|