/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
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 …]
|
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()
|
/linux-6.3-rc2/drivers/watchdog/ |
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 …]
|
/linux-6.3-rc2/arch/mips/cavium-octeon/ |
A D | smp.c | 101 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 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 …]
|
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()
|
/linux-6.3-rc2/drivers/usb/host/ |
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()
|
/linux-6.3-rc2/drivers/staging/octeon/ |
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()
|
/linux-6.3-rc2/drivers/ssb/ |
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()
|
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() 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 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()
|
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()
|
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()
|
A D | ssb_private.h | 140 extern const char *ssb_core_name(u16 coreid);
|
/linux-6.3-rc2/arch/mips/mm/ |
A D | c-octeon.c | 309 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local 313 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers() 314 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers() 319 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
|
/linux-6.3-rc2/drivers/bcma/ |
A D | driver_mips.c | 145 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 D | scan.c | 258 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-6.3-rc2/arch/openrisc/include/asm/ |
A D | cpuinfo.h | 29 u16 coreid; member
|
/linux-6.3-rc2/drivers/media/platform/qcom/venus/ |
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()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | pcie.c | 336 u32 coreid; member 627 core = brcmf_chip_get_core(devinfo->ci, coreid); in brcmf_pcie_select_core() 1997 u32 coreid, base, words, idx, sromctl; in brcmf_pcie_read_otp() local 2004 coreid = BCMA_CORE_CHIPCOMMON; in brcmf_pcie_read_otp() 2009 coreid = BCMA_CORE_CHIPCOMMON; in brcmf_pcie_read_otp() 2015 coreid = BCMA_CORE_GCI; in brcmf_pcie_read_otp() 2030 if (coreid == BCMA_CORE_CHIPCOMMON) { in brcmf_pcie_read_otp() 2034 brcmf_pcie_select_core(devinfo, coreid); in brcmf_pcie_read_otp() 2062 if (coreid == BCMA_CORE_CHIPCOMMON) { in brcmf_pcie_read_otp() 2063 brcmf_pcie_select_core(devinfo, coreid); in brcmf_pcie_read_otp() [all …]
|
A D | chip.h | 78 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *chip, u16 coreid);
|
/linux-6.3-rc2/include/linux/bcma/ |
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()
|
/linux-6.3-rc2/arch/openrisc/kernel/ |
A D | setup.c | 204 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo() 318 seq_printf(m, "processor\t\t: %d\n", cpuinfo->coreid); in show_cpuinfo()
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/ |
A D | otx_cpt_hw_types.h | 814 uint64_t coreid:8; member 818 uint64_t coreid:8;
|
/linux-6.3-rc2/include/linux/ |
A D | mod_devicetable.h | 409 __u16 coreid; member 414 { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
|