Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/include/asm/
Dxics.h115 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_push_cppr() local
117 if (WARN_ON(os_cppr->index >= MAX_NUM_PRIORITIES - 1)) in xics_push_cppr()
121 os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; in xics_push_cppr()
123 os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; in xics_push_cppr()
128 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_pop_cppr() local
130 if (WARN_ON(os_cppr->index < 1)) in xics_pop_cppr()
133 return os_cppr->stack[--os_cppr->index]; in xics_pop_cppr()
138 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_set_base_cppr() local
143 WARN_ON(os_cppr->index != 0); in xics_set_base_cppr()
145 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
[all …]
/linux-6.1.9/arch/powerpc/sysdev/xics/
Dxics-common.c151 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_teardown_cpu() local
157 os_cppr->index = 0; in xics_teardown_cpu()