Home
last modified time | relevance | path

Searched refs:cpuMask (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/arch/arm/gic/
Dgic_v3.c53 STATIC UINT32 NextCpu(UINT32 cpu, UINT32 cpuMask) in NextCpu() argument
58 if (cpuMask & (1U << next)) { in NextCpu()
69 STATIC UINT16 GicTargetList(UINT32 *base, UINT32 cpuMask, UINT64 cluster) in GicTargetList() argument
78 nextCpu = NextCpu(cpu, cpuMask); in GicTargetList()
96 STATIC VOID GicSgi(UINT32 irq, UINT32 cpuMask) in GicSgi() argument
102 while (cpuMask && (cpu < LOSCFG_KERNEL_CORE_NUM)) { in GicSgi()
103 if (cpuMask & (1U << cpu)) { in GicSgi()
106 tList = GicTargetList(&cpu, cpuMask, cluster); in GicSgi()
126 VOID HalIrqSetAffinity(UINT32 irq, UINT32 cpuMask) in HalIrqSetAffinity() argument
128 UINT64 affinity = MpidrToAffinity(NextCpu(0, cpuMask)); in HalIrqSetAffinity()
Dgic_v2.c50 STATIC VOID GicWriteSgi(UINT32 vector, UINT32 cpuMask, UINT32 filter) in GicWriteSgi() argument
52 … UINT32 val = ((filter & 0x3) << 24) | ((cpuMask & 0xFF) << 16) | /* 24, 16: Register bit offset */ in GicWriteSgi()
63 VOID HalIrqSetAffinity(UINT32 vector, UINT32 cpuMask) in HalIrqSetAffinity() argument
68 GIC_REG_8(GICD_ITARGETSR(offset) + index) = cpuMask; in HalIrqSetAffinity()
/kernel/liteos_m/components/trace/
Dlos_trace.h340 #define HWI_SETAFFINITY_PARAMS(hwiNum, cpuMask) hwiNum, cpuMask argument
341 #define HWI_SENDIPI_PARAMS(hwiNum, cpuMask) hwiNum, cpuMask argument
/kernel/liteos_a/kernel/include/
Dlos_trace.h367 #define HWI_SETAFFINITY_PARAMS(hwiNum, cpuMask) hwiNum, cpuMask argument
368 #define HWI_SENDIPI_PARAMS(hwiNum, cpuMask) hwiNum, cpuMask argument
/kernel/liteos_a/arch/arm/include/
Dhal_hwi.h54 extern VOID HalIrqSetAffinity(UINT32 vector, UINT32 cpuMask);
/kernel/liteos_a/testsuites/kernel/include/
DosTest.h137 extern void hal_interrupt_set_affinity(uint32_t irq, uint32_t cpuMask);
/kernel/liteos_a/testsuites/unittest/common/include/
DosTest.h120 extern void hal_interrupt_set_affinity(uint32_t irq, uint32_t cpuMask);