/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-ciu-defs.h | 14 (((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 …]
|
H A D | cvmx-pow.h | 290 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()
|
/openbmc/linux/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 214 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 …]
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | smp.c | 102 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() local 142 const int coreid = cvmx_get_core_num(); in octeon_smp_setup() local 158 __cpu_number_map[coreid] = 0; in octeon_smp_setup() 159 __cpu_logical_map[0] = coreid; in octeon_smp_setup() 307 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() local 319 mask = 1 << coreid; in octeon_cpu_die() 339 cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid); in octeon_cpu_die() 366 int coreid = cpu_logical_map(cpu); in octeon_update_boot_vector() local 380 labi->avail_coremask &= ~(1 << coreid); in octeon_update_boot_vector() 386 if (!(avail_coremask & (1 << coreid))) { in octeon_update_boot_vector() [all …]
|
H A D | octeon-irq.c | 155 return cpu_number_map(coreid); in octeon_cpu_for_coreid() 1086 __set_bit(coreid, pen); in octeon_irq_ciu_wd_enable() 1106 cvmx_write_csr(CVMX_CIU_INTX_EN1_W1S(coreid * 2 + 1), 1ull << coreid); in octeon_irq_ciu1_wd_enable_v2() 1336 int coreid = cvmx_get_core_num(); in octeon_irq_ip4_ciu() local 1387 int coreid = cvmx_get_core_num(); in octeon_irq_init_ciu_percpu() local 1409 int coreid = cvmx_get_core_num(); in octeon_irq_init_ciu2_percpu() local 1695 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_enable_local() local 1711 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_disable_local() local 1727 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_ack() local 1786 int coreid = cvmx_get_core_num(); in octeon_irq_ciu2_mbox_enable_local() local [all …]
|
H A D | setup.c | 399 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist() local 408 coreid, bist_val); in octeon_check_cpu_bist() 414 coreid, bist_val); in octeon_check_cpu_bist() 420 coreid, bist_val); in octeon_check_cpu_bist()
|
/openbmc/linux/drivers/usb/host/ |
H A D | ssb-hcd.c | 57 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()
|
/openbmc/linux/drivers/staging/octeon/ |
H A D | ethernet-rx.c | 184 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()
|
/openbmc/linux/drivers/ssb/ |
H A D | scan.c | 26 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()
|
H A D | main.c | 317 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() 353 ssb_dev->id.vendor, ssb_dev->id.coreid, in ssb_device_uevent() 366 ssb_config_attr(coreid, id.coreid, "0x%04x\n") 374 ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); in name_show() 473 switch (sdev->id.coreid) { in ssb_devices_register() 817 if (ent->id.coreid != dev->id.coreid) in ssb_set_devtypedata() 1125 if (dev->id.coreid == SSB_DEV_80211) { in ssb_dma_translation_special_bit()
|
H A D | driver_mipscore.c | 174 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()
|
H A D | driver_pcicore.c | 545 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()
|
H A D | embedded.c | 183 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()
|
/openbmc/linux/arch/mips/mm/ |
H A D | c-octeon.c | 314 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local 318 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers() 319 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers() 324 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
|
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/ |
H A D | ddr_rk3188.h | 15 u32 coreid; member
|
H A D | sdram_rk3399.h | 30 u32 coreid; member
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | cpuinfo.h | 29 u16 coreid; member
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_mips.c | 139 u16 coreid, u8 unit) in bcma_core_mips_set_irq_name() argument 143 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name() 147 coreid, unit); in bcma_core_mips_set_irq_name()
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | pm_helpers.c | 409 static int vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable) in vcodec_control_v4() argument 418 } else if (coreid == VIDC_CORE_ID_1) { in vcodec_control_v4() 575 u32 coreid; in min_loaded_core() local 594 coreid = inst_pos->clk_data.core_id; in min_loaded_core() 599 if ((coreid & VIDC_CORE_ID_3) == VIDC_CORE_ID_3) { in min_loaded_core() 602 } else if (coreid & VIDC_CORE_ID_1) { in min_loaded_core() 604 } else if (coreid & VIDC_CORE_ID_2) { in min_loaded_core()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | pcie.c | 346 u32 coreid; member 2047 u32 coreid, base, words, idx, sromctl; in brcmf_pcie_read_otp() local 2054 coreid = BCMA_CORE_CHIPCOMMON; in brcmf_pcie_read_otp() 2059 coreid = BCMA_CORE_CHIPCOMMON; in brcmf_pcie_read_otp() 2065 coreid = BCMA_CORE_GCI; in brcmf_pcie_read_otp() 2070 coreid = BCMA_CORE_GCI; in brcmf_pcie_read_otp() 2085 if (coreid == BCMA_CORE_CHIPCOMMON) { in brcmf_pcie_read_otp() 2089 brcmf_pcie_select_core(devinfo, coreid); in brcmf_pcie_read_otp() 2117 if (coreid == BCMA_CORE_CHIPCOMMON) { in brcmf_pcie_read_otp() 2118 brcmf_pcie_select_core(devinfo, coreid); in brcmf_pcie_read_otp() [all …]
|
H A D | chip.h | 78 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *chip, u16 coreid);
|
/openbmc/linux/include/linux/bcma/ |
H A D | bcma.h | 444 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()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | setup.c | 189 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo() 303 seq_printf(m, "processor\t\t: %d\n", cpuinfo->coreid); in show_cpuinfo()
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cpt_hw_types.h | 814 uint64_t coreid:8; member 818 uint64_t coreid:8;
|
/openbmc/linux/include/linux/ |
H A D | mod_devicetable.h | 423 __u16 coreid; member 428 { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
|