Home
last modified time | relevance | path

Searched refs:coreid (Results 1 – 8 of 8) sorted by relevance

/arch/mips/cavium-octeon/
Dsmp.c35 const int coreid = cvmx_get_core_num(); in mailbox_interrupt() local
39 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(coreid)) & 0xffff; in mailbox_interrupt()
42 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(coreid), action); in mailbox_interrupt()
62 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() local
67 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single()
102 const int coreid = cvmx_get_core_num(); in octeon_smp_setup() local
116 __cpu_number_map[coreid] = 0; in octeon_smp_setup()
117 __cpu_logical_map[0] = coreid; in octeon_smp_setup()
122 if ((id != coreid) && (core_mask & (1 << id))) { in octeon_smp_setup()
254 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() local
[all …]
Docteon-irq.c104 static int octeon_cpu_for_coreid(int coreid) in octeon_cpu_for_coreid() argument
107 return cpu_number_map(coreid); in octeon_cpu_for_coreid()
258 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable() local
275 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
284 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
364 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_disable_all() local
379 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all()
381 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all()
397 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable_all() local
412 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all()
[all …]
Dsetup.c386 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist() local
395 coreid, bist_val); in octeon_check_cpu_bist()
401 coreid, bist_val); in octeon_check_cpu_bist()
407 coreid, bist_val); in octeon_check_cpu_bist()
/arch/mips/mm/
Dc-octeon.c328 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local
332 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers()
333 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers()
338 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
/arch/metag/kernel/
Dsetup.c440 int coreid = metag_in32(METAC_CORE_ID); in get_cpu_capabilities() local
441 unsigned int dsp_type = (coreid >> 3) & 7; in get_cpu_capabilities()
442 unsigned int fpu_type = (coreid >> 7) & 3; in get_cpu_capabilities()
/arch/metag/mm/
Dcache.c125 int coreid = metag_in32(METAC_CORE_ID); in metag_cache_probe() local
127 int cfgcache = coreid & METAC_COREID_CFGCACHE_BITS; in metag_cache_probe()
/arch/mips/include/asm/octeon/
Dcvmx-pow.h290 uint64_t coreid:4; member
313 uint64_t coreid:4;
1269 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()
/arch/blackfin/mach-common/
Dints-priority.c335 static void bfin_sec_set_ssi_coreid(unsigned int sid, unsigned int coreid) in bfin_sec_set_ssi_coreid() argument
341 bfin_write_SEC_SCTL(sid, reg_sctl | ((coreid << 20) & SEC_SCTL_CTG)); in bfin_sec_set_ssi_coreid()