Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dxics.h101 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_push_cppr() local
103 if (WARN_ON(os_cppr->index >= MAX_NUM_PRIORITIES - 1)) in xics_push_cppr()
107 os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; in xics_push_cppr()
109 os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; in xics_push_cppr()
114 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_pop_cppr() local
116 if (WARN_ON(os_cppr->index < 1)) in xics_pop_cppr()
119 return os_cppr->stack[--os_cppr->index]; in xics_pop_cppr()
124 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_set_base_cppr() local
129 WARN_ON(os_cppr->index != 0); in xics_set_base_cppr()
131 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
[all …]
/arch/powerpc/sysdev/xics/
Dxics-common.c156 struct xics_cppr *os_cppr = this_cpu_ptr(&xics_cppr); in xics_teardown_cpu() local
162 os_cppr->index = 0; in xics_teardown_cpu()