Home
last modified time | relevance | path

Searched refs:OS_HWI_MAX_NUM (Results 1 – 25 of 41) sorted by relevance

12

/kernel/liteos_m/arch/arm/common/
Dlos_common_interrupt.c84 STATIC UINT32 g_hwiFormCnt[OS_HWI_MAX_NUM] = {0};
85 STATIC CHAR *g_hwiFormName[OS_HWI_MAX_NUM] = {0};
153 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchIntTrigger()
167 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchIntEnable()
181 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchIntDisable()
195 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchIntClear()
209 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchIntSetPriority()
253 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiCreate()
310 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiDelete()
Dlos_common_interrupt.h61 #ifndef OS_HWI_MAX_NUM
62 #define OS_HWI_MAX_NUM LOSCFG_PLATFORM_HWI_LIMIT macro
/kernel/uniproton/src/arch/cpu/armv7-m/cortex-m4/
Dprt_cpu_m4_external.h28 #define OS_HWI_MAX_NUM g_hwiMaxNumConfig macro
30 #define OS_HWI_MAX_NUM 87 macro
31 #define OS_HWI_FORMARRAY_NUM OS_HWI_MAX_NUM
33 #define OS_HWI_MAX (OS_HWI_MAX_NUM - 1) /* 最大中断号 */
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/
DIt_extend_cpup.c41 CPUP_INFO_S g_testPstHwiCpupAll[OS_HWI_MAX_NUM];
42 CPUP_INFO_S g_testPstHwiCpup10s[OS_HWI_MAX_NUM];
43 CPUP_INFO_S g_testPstHwiCpup1s[OS_HWI_MAX_NUM];
49 if (hwi > OS_HWI_MAX_NUM) { in TestGetSingleHwiCpup()
/kernel/liteos_a/arch/arm/gic/
Dgic_v2.c123 …for (i = 32; i < OS_HWI_MAX_NUM; i += 16) { /* 32: Start interrupt number, 16: Interrupt bit width… in HalIrqInit()
128 …for (i = 32; i < OS_HWI_MAX_NUM; i += 4) { /* 32: Start interrupt number, 4: Interrupt bit width */ in HalIrqInit()
133 for (i = 0; i < OS_HWI_MAX_NUM; i += 4) { /* 4: Interrupt bit width */ in HalIrqInit()
138 for (i = 0; i < OS_HWI_MAX_NUM; i += 32) { /* 32: Interrupt bit width */ in HalIrqInit()
168 if (vector >= OS_HWI_MAX_NUM) { in HalIrqHandler()
Dgic_v3.c307 if (vector > OS_HWI_MAX_NUM) { in HalIrqSetPrio()
308 PRINT_ERR("Invalid irq value %u, max irq is %u\n", vector, OS_HWI_MAX_NUM); in HalIrqSetPrio()
366 …for (i = 32; i < OS_HWI_MAX_NUM; i += 16) { /* 32: Start interrupt number, 16: Interrupt bit width… in HalIrqInit()
371 …for (i = 32; i < OS_HWI_MAX_NUM; i += 32) { /* 32: Start interrupt number, 32: Interrupt bit width… in HalIrqInit()
380 for (i = 32; i < OS_HWI_MAX_NUM; i++) { /* 32: Start interrupt number */ in HalIrqInit()
387 for (i = 0; i < OS_HWI_MAX_NUM; i += 32) { /* 32: Interrupt bit width */ in HalIrqInit()
396 for (i = 32; i < OS_HWI_MAX_NUM; i++) { /* 32: Start interrupt number */ in HalIrqInit()
423 if (vector >= OS_HWI_MAX_NUM) { in HalIrqHandler()
/kernel/liteos_a/arch/arm/arm/src/
Dlos_hwi.c47 HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM];
48 STATIC CHAR *g_hwiFormName[OS_HWI_MAX_NUM] = {0};
49 STATIC UINT32 g_hwiFormCnt[LOSCFG_KERNEL_CORE_NUM][OS_HWI_MAX_NUM] = {0};
63 return OS_HWI_MAX_NUM; in LOS_GetSystemHwiMaximum()
294 for (hwiNum = 0; hwiNum < OS_HWI_MAX_NUM; hwiNum++) { in OsHwiInit()
300 …(VOID)memset_s(g_hwiFormName, (sizeof(CHAR *) * OS_HWI_MAX_NUM), 0, (sizeof(CHAR *) * OS_HWI_MAX_N… in OsHwiInit()
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
Dlos_arch_interrupt.h117 #define OS_HWI_MAX_NUM OS_RISCV_VECTOR_CNT macro
122 #define OS_HWI_MAX ((OS_HWI_MAX_NUM) - 1)
139 extern HWI_HANDLE_FORM_S g_hwiForm[OS_HWI_MAX_NUM];
Dlos_interrupt.c66 LITE_OS_SEC_BSS UINT32 g_hwiFormCnt[OS_HWI_MAX_NUM];
67 LITE_OS_SEC_DATA_INIT HWI_HANDLE_FORM_S g_hwiForm[OS_HWI_MAX_NUM] = {
99 for (index = OS_RISCV_SYS_VECTOR_CNT; index < OS_HWI_MAX_NUM; index++) { in HalHwiInit()
125 if (hwiNum < OS_HWI_MAX_NUM) { in HalGetHwiFormCnt()
160 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiCreate()
200 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiDelete()
/kernel/liteos_m/testsuites/sample/kernel/hwi/
Dit_los_hwi_040.c108 ret = LOS_HwiEnable(OS_HWI_MAX_NUM + 1); in Testcase()
110 ret = LOS_HwiDisable(OS_HWI_MAX_NUM + 1); in Testcase()
112 ret = LOS_HwiClear(OS_HWI_MAX_NUM + 1); in Testcase()
115 ret = LOS_HwiSetPriority(OS_HWI_MAX_NUM + 1, hwiPrio); in Testcase()
/kernel/liteos_m/arch/risc-v/nuclei/gcc/
Dlos_interrupt.c43 if (hwiNum >= OS_HWI_MAX_NUM) { in HwiUnmask()
54 if (hwiNum >= OS_HWI_MAX_NUM) { in HwiMask()
65 if (hwiNum >= OS_HWI_MAX_NUM) { in HwiSetPriority()
Dlos_arch_interrupt.h65 #define OS_HWI_MAX_NUM (OS_RISCV_VECTOR_CNT-1) macro
/kernel/liteos_m/arch/xtensa/common/
Dlos_common_interrupt.h61 #ifndef OS_HWI_MAX_NUM
62 #define OS_HWI_MAX_NUM LOSCFG_PLATFORM_HWI_LIMIT macro
Dlos_common_interrupt.c208 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiCreate()
257 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiDelete()
/kernel/liteos_m/arch/csky/common/
Dlos_common_interrupt.h61 #ifndef OS_HWI_MAX_NUM
62 #define OS_HWI_MAX_NUM LOSCFG_PLATFORM_HWI_LIMIT macro
Dlos_common_interrupt.c224 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiCreate()
273 if (hwiNum >= OS_HWI_MAX_NUM) { in ArchHwiDelete()
/kernel/liteos_a/shell/full/src/cmds/
Dhwi_shellcmd.c43 #define IRQ_CPUP_INFO_SIZE (sizeof(CPUP_INFO_S) * OS_HWI_MAX_NUM * LOSCFG_KERNEL_CORE_NUM)
54 for (UINT32 i = OS_HWI_FORM_EXC_NUM; i < OS_HWI_MAX_NUM + OS_HWI_FORM_EXC_NUM; i++) { in ShellCmdHwiInfoShow()
130 for (i = OS_HWI_FORM_EXC_NUM; i < OS_HWI_MAX_NUM + OS_HWI_FORM_EXC_NUM; i++) { in OsShellCmdHwi()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_arch_interrupt.h94 #define OS_VECTOR_CNT (OS_SYS_VECTOR_CNT + OS_HWI_MAX_NUM)
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_arch_interrupt.h69 #define OS_VECTOR_CNT (OS_SYS_VECTOR_CNT + OS_HWI_MAX_NUM)
/kernel/liteos_a/arch/arm/include/
Dlos_hwi.h264 extern HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM];
/kernel/uniproton/src/core/kernel/irq/
Dprt_irq.c30 OS_SEC_BSS struct TagHwiModeForm g_hwiModeForm[OS_HWI_MAX_NUM];
63 for (irqNum = 0; irqNum < OS_HWI_MAX_NUM; irqNum++) { in OsHwiDescInitAll()
Dprt_irq_internal.h87 extern struct TagHwiModeForm g_hwiModeForm[OS_HWI_MAX_NUM];
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_arch_interrupt.h75 #define OS_VECTOR_CNT (OS_SYS_VECTOR_CNT + OS_HWI_MAX_NUM)
/kernel/liteos_a/testsuites/kernel/src/
DiCunit.c223 extern HwiHandleForm g_hwiForm[OS_HWI_MAX_NUM]; in ICunitRunF()
260 for (i = 0; i < OS_HWI_MAX_NUM; i++) { in ICunitRunF()
340 for (i = 0; i < OS_HWI_MAX_NUM; i++) { in ICunitRunF()
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_arch_interrupt.h69 #define OS_VECTOR_CNT (OS_SYS_VECTOR_CNT + OS_HWI_MAX_NUM)

12