Home
last modified time | relevance | path

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

12

/linux/arch/mips/include/asm/octeon/
A Dcvmx-ciu-defs.h14 (((coreid) & (coremask)) * offset))
48 return CVMX_CIU_ADDR(0x100100600, coreid, 0x0F, 8); in CVMX_CIU_MBOX_CLRX()
50 return CVMX_CIU_ADDR(0x000000680, coreid, 0x0F, 8); in CVMX_CIU_MBOX_CLRX()
56 return CVMX_CIU_ADDR(0x100100400, coreid, 0x0F, 8); in CVMX_CIU_MBOX_SETX()
58 return CVMX_CIU_ADDR(0x000000600, coreid, 0x0F, 8); in CVMX_CIU_MBOX_SETX()
65 return CVMX_CIU_ADDR(0x100100200, coreid, 0x0F, 8); in CVMX_CIU_PP_POKEX()
69 return CVMX_CIU_ADDR(0x000030000, coreid, 0x0F, 8) - in CVMX_CIU_PP_POKEX()
72 return CVMX_CIU_ADDR(0x000000580, coreid, 0x0F, 8); in CVMX_CIU_PP_POKEX()
80 return CVMX_CIU_ADDR(0x100100000, coreid, 0x0F, 8); in CVMX_CIU_WDOGX()
84 return CVMX_CIU_ADDR(0x000020000, coreid, 0x0F, 8) - in CVMX_CIU_WDOGX()
[all …]
A 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()
/linux/drivers/watchdog/
A Docteon-wdt-main.c214 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3() local
225 udelay(85000 * coreid); in octeon_wdt_nmi_stage3()
228 octeon_wdt_write_hex(coreid, 2); in octeon_wdt_nmi_stage3()
304 unsigned int coreid; in octeon_wdt_cpu_to_irq() local
308 coreid = cpu2core(cpu); in octeon_wdt_cpu_to_irq()
317 hwirq = WD_BLOCK_NUMBER << 12 | 0x200 | coreid; in octeon_wdt_cpu_to_irq()
320 irq = OCTEON_IRQ_WDOG0 + coreid; in octeon_wdt_cpu_to_irq()
408 int coreid; in octeon_wdt_ping() local
415 coreid = cpu2core(cpu); in octeon_wdt_ping()
459 int coreid; in octeon_wdt_set_timeout() local
[all …]
/linux/arch/mips/cavium-octeon/
A Dsmp.c101 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() local
141 const int coreid = cvmx_get_core_num(); in octeon_smp_setup() local
157 __cpu_number_map[coreid] = 0; in octeon_smp_setup()
158 __cpu_logical_map[0] = coreid; in octeon_smp_setup()
306 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() local
318 mask = 1 << coreid; in octeon_cpu_die()
338 cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid); in octeon_cpu_die()
364 int coreid = cpu_logical_map(cpu); in octeon_update_boot_vector() local
378 labi->avail_coremask &= ~(1 << coreid); in octeon_update_boot_vector()
384 if (!(avail_coremask & (1 << coreid))) { in octeon_update_boot_vector()
[all …]
A Docteon-irq.c145 return cpu_number_map(coreid); in octeon_cpu_for_coreid()
1076 __set_bit(coreid, pen); in octeon_irq_ciu_wd_enable()
1096 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(coreid * 2 + 1), 1ull << coreid); in octeon_irq_ciu1_wd_enable_v2()
1326 int coreid = cvmx_get_core_num(); in octeon_irq_ip4_ciu() local
1377 int coreid = cvmx_get_core_num(); in octeon_irq_init_ciu_percpu() local
1399 int coreid = cvmx_get_core_num(); in octeon_irq_init_ciu2_percpu() local
1685 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_enable_local() local
1701 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_disable_local() local
1717 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_ack() local
1776 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_mbox_enable_local() local
[all …]
A Dsetup.c396 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist() local
405 coreid, bist_val); in octeon_check_cpu_bist()
411 coreid, bist_val); in octeon_check_cpu_bist()
417 coreid, bist_val); in octeon_check_cpu_bist()
/linux/drivers/usb/host/
A Dssb-hcd.c57 if (dev->id.coreid == SSB_DEV_USB20_HOST) { in ssb_hcd_usb20wa()
86 if (dev->id.coreid == SSB_DEV_USB11_HOSTDEV) in ssb_hcd_init_chip()
155 u16 coreid = dev->id.coreid; in ssb_hcd_probe() local
182 len = (coreid == SSB_DEV_USB20_HOST) ? 0x800 : ssb_admatch_size(tmp); in ssb_hcd_probe()
187 if (coreid == SSB_DEV_USB20_HOST) { in ssb_hcd_probe()
/linux/drivers/staging/octeon/
A Dethernet-rx.c184 const int coreid = cvmx_get_core_num(); in cvm_oct_poll() local
202 old_group_mask = cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); in cvm_oct_poll()
203 cvmx_write_csr(CVMX_SSO_PPX_GRP_MSK(coreid), in cvm_oct_poll()
205 cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); /* Flush */ in cvm_oct_poll()
207 old_group_mask = cvmx_read_csr(CVMX_POW_PP_GRP_MSKX(coreid)); in cvm_oct_poll()
208 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), in cvm_oct_poll()
390 cvmx_write_csr(CVMX_SSO_PPX_GRP_MSK(coreid), old_group_mask); in cvm_oct_poll()
391 cvmx_read_csr(CVMX_SSO_PPX_GRP_MSK(coreid)); /* Flush */ in cvm_oct_poll()
393 cvmx_write_csr(CVMX_POW_PP_GRP_MSKX(coreid), old_group_mask); in cvm_oct_poll()
/linux/drivers/ssb/
A Dscan.c26 const char *ssb_core_name(u16 coreid) in ssb_core_name() argument
28 switch (coreid) { in ssb_core_name()
351 dev->id.coreid = (idhi & SSB_IDHIGH_CC) >> SSB_IDHIGH_CC_SHIFT; in ssb_bus_scan()
360 i, ssb_core_name(dev->id.coreid), in ssb_bus_scan()
361 dev->id.coreid, dev->id.revision, dev->id.vendor); in ssb_bus_scan()
363 switch (dev->id.coreid) { in ssb_bus_scan()
406 if (dev->id.coreid == SSB_DEV_PCI) { in ssb_bus_scan()
A Dmain.c317 if ((tabid->coreid != devid->coreid) && in ssb_match_devid()
318 tabid->coreid != SSB_ANY_ID) in ssb_match_devid()
333 id->vendor || id->coreid || id->revision; in ssb_bus_match()
351 ssb_dev->id.vendor, ssb_dev->id.coreid, in ssb_device_uevent()
364 ssb_config_attr(coreid, id.coreid, "0x%04x\n")
372 ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); in name_show()
471 switch (sdev->id.coreid) { in ssb_devices_register()
815 if (ent->id.coreid != dev->id.coreid) in ssb_set_devtypedata()
1123 if (dev->id.coreid == SSB_DEV_80211) { in ssb_dma_translation_special_bit()
A Ddriver_pcicore.c545 if (pc->dev->id.coreid == SSB_DEV_PCIE) { in ssb_pcicore_init_clientmode()
702 might_sleep_if(pdev->id.coreid != SSB_DEV_PCI); in ssb_pcicore_dev_irqvecs_enable()
705 if ((pdev->id.revision >= 6) || (pdev->id.coreid == SSB_DEV_PCIE)) { in ssb_pcicore_dev_irqvecs_enable()
732 if (pdev->id.coreid == SSB_DEV_PCI) { in ssb_pcicore_dev_irqvecs_enable()
735 WARN_ON(pdev->id.coreid != SSB_DEV_PCIE); in ssb_pcicore_dev_irqvecs_enable()
A Ddriver_mipscore.c174 dev->id.coreid, oldirq+2, irq+2); in set_irq()
182 dev->id.coreid, in print_irq()
327 switch (dev->id.coreid) { in ssb_mipscore_init()
A Dembedded.c183 if (dev->id.coreid != SSB_DEV_ETHERNET_GBIT) in gige_pci_init_callback()
225 if (dev->id.coreid != SSB_DEV_ETHERNET_GBIT) in gige_map_irq_callback()
A Dssb_private.h140 extern const char *ssb_core_name(u16 coreid);
/linux/arch/mips/mm/
A Dc-octeon.c310 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local
314 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers()
315 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers()
320 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
/linux/drivers/bcma/
A Ddriver_mips.c145 u16 coreid, u8 unit) in bcma_core_mips_set_irq_name() argument
149 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name()
153 coreid, unit); in bcma_core_mips_set_irq_name()
A Dscan.c258 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse() argument
263 if (core->id.id == coreid) in bcma_find_core_reverse()
/linux/drivers/media/platform/qcom/venus/
A Dpm_helpers.c410 static int vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable) in vcodec_control_v4() argument
419 } else if (coreid == VIDC_CORE_ID_1) { in vcodec_control_v4()
576 u32 coreid; in min_loaded_core() local
595 coreid = inst_pos->clk_data.core_id; in min_loaded_core()
600 if ((coreid & VIDC_CORE_ID_3) == VIDC_CORE_ID_3) { in min_loaded_core()
603 } else if (coreid & VIDC_CORE_ID_1) { in min_loaded_core()
605 } else if (coreid & VIDC_CORE_ID_2) { in min_loaded_core()
/linux/arch/openrisc/include/asm/
A Dcpuinfo.h29 u16 coreid; member
/linux/include/linux/bcma/
A Dbcma.h444 extern struct bcma_device *bcma_find_core_unit(struct bcma_bus *bus, u16 coreid,
447 u16 coreid) in bcma_find_core() argument
449 return bcma_find_core_unit(bus, coreid, 0); in bcma_find_core()
/linux/arch/openrisc/kernel/
A Dsetup.c204 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo()
318 seq_printf(m, "processor\t\t: %d\n", cpuinfo->coreid); in show_cpuinfo()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cpt_hw_types.h814 uint64_t coreid:8; member
818 uint64_t coreid:8;
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dchip.h78 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *chip, u16 coreid);
/linux/include/linux/
A Dmod_devicetable.h409 __u16 coreid; member
414 { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
/linux/arch/x86/events/amd/
A Duncore.c292 DEFINE_UNCORE_FORMAT_ATTR(coreid, coreid, "config:42-44"); /* F19h L3 */

Completed in 55 milliseconds

12