Home
last modified time | relevance | path

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

/linux-5.19.10/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()
261 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(cvmx_get_core_num()), 0xffff); in octeon_prepare_cpus()
344 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.c213 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_generic_shutdown()
396 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist()
435 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_restart()
460 cvmx_write_csr(CVMX_CIU_WDOGX(cvmx_get_core_num()), 0); in octeon_kill_core()
/linux-5.19.10/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-5.19.10/drivers/edac/
Docteon_edac-pc.c44 unsigned int core = cvmx_get_core_num(); in co_cache_error_event()
/linux-5.19.10/drivers/watchdog/
Docteon-wdt-main.c118 return cvmx_get_core_num(); in cpu2core()
214 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3()
/linux-5.19.10/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()
897 l2cdbg.s.ppnum = cvmx_get_core_num(); in cvmx_l2c_flush_line()
/linux-5.19.10/arch/mips/mm/
Dc-octeon.c309 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers()
/linux-5.19.10/drivers/staging/octeon/
Dethernet-rx.c184 const int coreid = cvmx_get_core_num(); in cvm_oct_poll()
Docteon-stubs.h1339 static inline unsigned int cvmx_get_core_num(void) in cvmx_get_core_num() function