/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
D | cvmx-ciu-defs.h | 12 #define CVMX_CIU_ADDR(addr, coreid, coremask, offset) \ argument 14 (((coreid) & (coremask)) * offset)) 45 static inline uint64_t CVMX_CIU_MBOX_CLRX(unsigned int coreid) in CVMX_CIU_MBOX_CLRX() argument 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() 53 static inline uint64_t CVMX_CIU_MBOX_SETX(unsigned int coreid) in CVMX_CIU_MBOX_SETX() argument 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() 61 static inline uint64_t CVMX_CIU_PP_POKEX(unsigned int coreid) in CVMX_CIU_PP_POKEX() argument 65 return CVMX_CIU_ADDR(0x100100200, coreid, 0x0F, 8); in CVMX_CIU_PP_POKEX() [all …]
|
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()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | octeon-wdt-main.c | 211 unsigned int coreid = cvmx_get_core_num(); in octeon_wdt_nmi_stage3() local 222 udelay(85000 * coreid); in octeon_wdt_nmi_stage3() 225 octeon_wdt_write_hex(coreid, 2); in octeon_wdt_nmi_stage3() 251 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SRC_PPX_IP2_WDOG(coreid)), 16); in octeon_wdt_nmi_stage3() 253 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_EN_PPX_IP2_WDOG(coreid)), 16); in octeon_wdt_nmi_stage3() 256 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SRC_PPX_IP2_RML(coreid)), 16); in octeon_wdt_nmi_stage3() 258 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_EN_PPX_IP2_RML(coreid)), 16); in octeon_wdt_nmi_stage3() 261 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU2_SUM_PPX_IP2(coreid)), 16); in octeon_wdt_nmi_stage3() 265 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_SUM0(coreid * 2)), 16); in octeon_wdt_nmi_stage3() 267 octeon_wdt_write_hex(cvmx_read_csr(CVMX_CIU_INTX_EN0(coreid * 2)), 16); in octeon_wdt_nmi_stage3() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | smp.c | 101 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() local 106 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single() 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() 163 if ((id != coreid) && cvmx_coremask_is_core_set(&sysinfo->core_mask, id)) { in octeon_smp_setup() 311 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() local 323 mask = 1 << coreid; in octeon_cpu_die() 341 pr_info("Reset core %d. Available Coremask = 0x%x \n", coreid, new_mask); in octeon_cpu_die() 343 cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid); in octeon_cpu_die() [all …]
|
D | octeon-irq.c | 152 static int octeon_cpu_for_coreid(int coreid) in octeon_cpu_for_coreid() argument 155 return cpu_number_map(coreid); in octeon_cpu_for_coreid() 306 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable() local 323 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable() 332 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable() 412 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_disable_all() local 427 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_disable_all() 429 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_disable_all() 445 int coreid = octeon_coreid_for_cpu(cpu); in octeon_irq_ciu_enable_all() local 460 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable_all() [all …]
|
D | setup.c | 400 const int coreid = cvmx_get_core_num(); in octeon_check_cpu_bist() local 409 coreid, bist_val); in octeon_check_cpu_bist() 415 coreid, bist_val); in octeon_check_cpu_bist() 421 coreid, bist_val); in octeon_check_cpu_bist()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
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()
|
/kernel/linux/linux-5.10/drivers/staging/octeon/ |
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()
|
/kernel/linux/linux-5.10/drivers/ssb/ |
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()
|
D | main.c | 316 if ((tabid->coreid != devid->coreid) && in ssb_match_devid() 317 tabid->coreid != SSB_ANY_ID) in ssb_match_devid() 332 id->vendor || id->coreid || id->revision; in ssb_bus_match() 350 ssb_dev->id.vendor, ssb_dev->id.coreid, in ssb_device_uevent() 363 ssb_config_attr(coreid, id.coreid, "0x%04x\n") 371 ssb_core_name(dev_to_ssb_dev(dev)->id.coreid)); in name_show() 471 switch (sdev->id.coreid) { in ssb_devices_register() 813 if (ent->id.coreid != dev->id.coreid) in ssb_set_devtypedata() 1119 if (dev->id.coreid == SSB_DEV_80211) { in ssb_dma_translation_special_bit()
|
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()
|
D | driver_pcicore.c | 540 if (pc->dev->id.coreid == SSB_DEV_PCIE) { in ssb_pcicore_init_clientmode() 696 might_sleep_if(pdev->id.coreid != SSB_DEV_PCI); in ssb_pcicore_dev_irqvecs_enable() 699 if ((pdev->id.revision >= 6) || (pdev->id.coreid == SSB_DEV_PCIE)) { in ssb_pcicore_dev_irqvecs_enable() 726 if (pdev->id.coreid == SSB_DEV_PCI) { in ssb_pcicore_dev_irqvecs_enable() 729 WARN_ON(pdev->id.coreid != SSB_DEV_PCIE); in ssb_pcicore_dev_irqvecs_enable()
|
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()
|
D | ssb_private.h | 140 extern const char *ssb_core_name(u16 coreid);
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | c-octeon.c | 311 unsigned long coreid = cvmx_get_core_num(); in co_cache_error_call_notifiers() local 315 dcache_err = cache_err_dcache[coreid]; in co_cache_error_call_notifiers() 316 cache_err_dcache[coreid] = 0; in co_cache_error_call_notifiers() 321 pr_err("Core%lu: Cache error exception:\n", coreid); in co_cache_error_call_notifiers()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
D | cpuinfo.h | 29 u16 coreid; member
|
/kernel/linux/linux-5.10/drivers/bcma/ |
D | driver_mips.c | 152 u16 coreid, u8 unit) in bcma_core_mips_set_irq_name() argument 156 core = bcma_find_core_unit(bus, coreid, unit); in bcma_core_mips_set_irq_name() 160 coreid, unit); in bcma_core_mips_set_irq_name()
|
D | scan.c | 259 static struct bcma_device *bcma_find_core_reverse(struct bcma_bus *bus, u16 coreid) in bcma_find_core_reverse() argument 264 if (core->id.id == coreid) in bcma_find_core_reverse()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
D | pm_helpers.c | 377 static int vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable) in vcodec_control_v4() argument 383 if (coreid == VIDC_CORE_ID_1) { in vcodec_control_v4() 498 u32 coreid; in min_loaded_core() local 510 coreid = inst_pos->clk_data.core_id; in min_loaded_core() 515 if ((coreid & VIDC_CORE_ID_3) == VIDC_CORE_ID_3) { in min_loaded_core() 518 } else if (coreid & VIDC_CORE_ID_1) { in min_loaded_core() 520 } else if (coreid & VIDC_CORE_ID_2) { in min_loaded_core()
|
/kernel/uniproton/src/include/uapi/ |
D | prt_task.h | 61 #define COMPOSE_PID(coreid, handle) \ argument 62 …((((U32)(coreid)) << OS_TSK_TCB_INDEX_BITS) + ((U8)(handle))) /* 将(coreid)与(handle)组成PID,UIPC不使用该接…
|
/kernel/linux/linux-5.10/include/linux/bcma/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | chip.h | 76 struct brcmf_core *brcmf_chip_get_core(struct brcmf_chip *chip, u16 coreid);
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | setup.c | 204 cpuinfo->coreid = mfspr(SPR_COREID); in setup_cpuinfo() 335 seq_printf(m, "processor\t\t: %d\n", cpuinfo->coreid); in show_cpuinfo()
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
D | otx_cpt_hw_types.h | 814 uint64_t coreid:8; member 818 uint64_t coreid:8;
|
/kernel/linux/linux-5.10/include/linux/ |
D | mod_devicetable.h | 403 __u16 coreid; member 408 { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
|