Home
last modified time | relevance | path

Searched refs:cvmx_get_core_num (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/arch/mips/cavium-octeon/
Dsmp.c55 u64 mbox_clrx = CVMX_CIU_MBOX_CLRX(cvmx_get_core_num()); in mailbox_interrupt()
141 const int coreid = cvmx_get_core_num(); in octeon_smp_setup()
263 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(cvmx_get_core_num()), 0xffff); in octeon_prepare_cpus()
349 int cpu = cpu_number_map(cvmx_get_core_num()); in play_dead()
Docteon-irq.c138 return cvmx_get_core_num(); in octeon_coreid_for_cpu()
345 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_enable_local()
354 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_enable_local()
377 cvmx_write_csr(CVMX_CIU_INTX_EN0(cvmx_get_core_num() * 2), *pen); in octeon_irq_ciu_disable_local()
386 cvmx_write_csr(CVMX_CIU_INTX_EN1(cvmx_get_core_num() * 2 + 1), *pen); in octeon_irq_ciu_disable_local()
559 int index = cvmx_get_core_num() * 2; in octeon_irq_ciu_enable_local_v2()
563 int index = cvmx_get_core_num() * 2 + 1; in octeon_irq_ciu_enable_local_v2()
578 int index = cvmx_get_core_num() * 2; in octeon_irq_ciu_disable_local_v2()
582 int index = cvmx_get_core_num() * 2 + 1; in octeon_irq_ciu_disable_local_v2()
600 int index = cvmx_get_core_num() * 2; in octeon_irq_ciu_ack()
[all …]
Dsetup.c212 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_generic_shutdown()
399 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist()
438 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_restart()
463 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_kill_core()
/Linux-v5.4/arch/mips/include/asm/octeon/
Dcvmx.h339 static inline unsigned int cvmx_get_core_num(void) in cvmx_get_core_num() function
351 unsigned int core_num = cvmx_get_core_num(); in cvmx_get_node_num()
358 return cvmx_get_core_num() & ((1 << CVMX_NODE_NO_SHIFT) - 1); in cvmx_get_local_core_num()
Dcvmx-pow.h1269 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag()
1295 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_wqp()
/Linux-v5.4/drivers/edac/
Docteon_edac-pc.c44 unsigned int core = cvmx_get_core_num(); in co_cache_error_event()
/Linux-v5.4/drivers/watchdog/
Docteon-wdt-main.c117 return cvmx_get_core_num(); in cpu2core()
211 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3()
/Linux-v5.4/arch/mips/cavium-octeon/executive/
Dcvmx-l2c.c370 l2cdbg.s.ppnum = cvmx_get_core_num(); in cvmx_l2c_lock_line()
595 uint64_t core = cvmx_get_core_num(); in __read_l2_tag()
898 l2cdbg.s.ppnum = cvmx_get_core_num(); in cvmx_l2c_flush_line()
/Linux-v5.4/arch/mips/mm/
Dc-octeon.c312 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers()
/Linux-v5.4/drivers/staging/octeon/
Dethernet-rx.c180 const int coreid = cvmx_get_core_num(); in cvm_oct_poll()
Docteon-stubs.h1332 static inline unsigned int cvmx_get_core_num(void) in cvmx_get_core_num() function