Home
last modified time | relevance | path

Searched refs:os_cppr (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dxics.h110 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_push_cppr() local
112 if (WARN_ON(os_cppr->index >= MAX_NUM_PRIORITIES - 1)) in xics_push_cppr()
116 os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; in xics_push_cppr()
118 os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; in xics_push_cppr()
123 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_pop_cppr() local
125 if (WARN_ON(os_cppr->index < 1)) in xics_pop_cppr()
128 return os_cppr->stack[--os_cppr->index]; in xics_pop_cppr()
133 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_set_base_cppr() local
138 WARN_ON(os_cppr->index != 0); in xics_set_base_cppr()
140 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xics/
Dxics-common.c152 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_teardown_cpu() local
158 os_cppr->index = 0; in xics_teardown_cpu()