Searched refs:coreid (Results 1 – 8 of 8) sorted by relevance
/arch/mips/cavium-octeon/ |
D | smp.c | 36 const int coreid = cvmx_get_core_num(); in mailbox_interrupt() local 40 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(coreid)) & 0xffff; in mailbox_interrupt() 43 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(coreid), action); in mailbox_interrupt() 63 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() local 68 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single() 98 const int coreid = cvmx_get_core_num(); in octeon_smp_setup() local 112 __cpu_number_map[coreid] = 0; in octeon_smp_setup() 113 __cpu_logical_map[0] = coreid; in octeon_smp_setup() 118 if ((id != coreid) && (core_mask & (1 << id))) { in octeon_smp_setup() 281 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() local [all …]
|
D | octeon-irq.c | 80 static int octeon_cpu_for_coreid(int coreid) in octeon_cpu_for_coreid() argument 83 return cpu_number_map(coreid); in octeon_cpu_for_coreid() 231 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable() local 248 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable() 257 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable() 337 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_disable_all() local 352 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all() 354 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all() 370 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable_all() local 385 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all() [all …]
|
D | setup.c | 376 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist() local 385 coreid, bist_val); in octeon_check_cpu_bist() 391 coreid, bist_val); in octeon_check_cpu_bist() 397 coreid, bist_val); in octeon_check_cpu_bist()
|
/arch/mips/mm/ |
D | c-octeon.c | 320 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local 324 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers() 325 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers() 330 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
|
/arch/metag/kernel/ |
D | setup.c | 447 int coreid = metag_in32(METAC_CORE_ID); in get_cpu_capabilities() local 448 unsigned int dsp_type = (coreid >> 3) & 7; in get_cpu_capabilities() 449 unsigned int fpu_type = (coreid >> 7) & 3; in get_cpu_capabilities()
|
/arch/metag/mm/ |
D | cache.c | 125 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/ |
D | cvmx-pow.h | 267 uint64_t coreid:4; member 1022 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_tag() 1048 load_addr.sstatus.coreid = cvmx_get_core_num(); in cvmx_pow_get_current_wqp()
|
/arch/blackfin/mach-common/ |
D | ints-priority.c | 334 static void bfin_sec_set_ssi_coreid(unsigned int sid, unsigned int coreid) in bfin_sec_set_ssi_coreid() argument 340 bfin_write_SEC_SCTL(sid, reg_sctl | ((coreid << 20) & SEC_SCTL_CTG)); in bfin_sec_set_ssi_coreid()
|