Home
last modified time | relevance | path

Searched refs:coremask (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/arch/mips/netlogic/xlp/
Dwakeup.c55 uint32_t coremask, value; in xlp_wakeup_core() local
58 coremask = (1 << core); in xlp_wakeup_core()
63 value &= ~coremask; in xlp_wakeup_core()
70 value &= ~coremask; in xlp_wakeup_core()
77 value &= ~coremask; in xlp_wakeup_core()
88 } while ((value & coremask) != 0 && --count > 0); in xlp_wakeup_core()
191 nodep->coremask |= 1u << core; in xlp_enable_secondary_cores()
Dnlm_hal.c58 nodep->coremask = 1; /* node 0, boot cpu */ in nlm_node_init()
/Linux-v5.10/drivers/crypto/cavium/cpt/
Dcptpf_main.c27 static void cpt_disable_cores(struct cpt_device *cpt, u64 coremask, in cpt_disable_cores() argument
36 coremask = (coremask << cpt->max_se_cores); in cpt_disable_cores()
41 (grpmask & ~coremask)); in cpt_disable_cores()
44 while (grp & coremask) { in cpt_disable_cores()
45 dev_err(dev, "Cores still busy %llx", coremask); in cpt_disable_cores()
57 (pf_exe_ctl & ~coremask)); in cpt_disable_cores()
64 static void cpt_enable_cores(struct cpt_device *cpt, u64 coremask, in cpt_enable_cores() argument
70 coremask = (coremask << cpt->max_se_cores); in cpt_enable_cores()
74 (pf_exe_ctl | coremask)); in cpt_enable_cores()
79 u64 coremask, u8 type) in cpt_configure_group() argument
[all …]
/Linux-v5.10/arch/mips/netlogic/xlr/
Dwakeup.c71 nodep->coremask = 1; in xlr_wakeup_secondary_cpus()
79 nodep->coremask |= (1u << i); in xlr_wakeup_secondary_cpus()
Dfmn-config.c86 ncores = hweight32(nlm_current_node()->coremask); in check_credit_distribution()
125 num_core = hweight32(nlm_current_node()->coremask); in setup_fmn_cc()
190 num_core = hweight32(nlm_current_node()->coremask); in xlr_board_info_setup()
/Linux-v5.10/arch/mips/include/asm/mach-netlogic/
Dmulti-node.h53 unsigned long coremask; /* cores enabled on the soc */ member
66 nlm_get_node(n)->coremask != 0)
/Linux-v5.10/drivers/staging/netlogic/
Dplatform_net.c88 ndata1.cpu_mask = nlm_current_node()->coremask; in gmac_controller2_init()
133 ndata0.cpu_mask = nlm_current_node()->coremask; in xls_gmac_init()
195 ndata0.cpu_mask = nlm_current_node()->coremask; in xlr_gmac_init()
/Linux-v5.10/drivers/bcma/
Dhost_pci.c363 u32 coremask, tmp; in bcma_host_pci_irq_ctl() local
379 coremask = BIT(core->core_index) << 8; in bcma_host_pci_irq_ctl()
381 tmp |= coremask; in bcma_host_pci_irq_ctl()
383 tmp &= ~coremask; in bcma_host_pci_irq_ctl()
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h12 #define CVMX_CIU_ADDR(addr, coreid, coremask, offset) \ argument
14 (((coreid) & (coremask)) * offset))
/Linux-v5.10/drivers/ssb/
Ddriver_pcicore.c700 u32 coremask; in ssb_pcicore_dev_irqvecs_enable() local
703 coremask = (1 << dev->core_index); in ssb_pcicore_dev_irqvecs_enable()
709 tmp |= coremask << 8; in ssb_pcicore_dev_irqvecs_enable()
/Linux-v5.10/arch/mips/netlogic/common/
Dsmp.c206 ncore += hweight32(nlm_get_node(i)->coremask); in nlm_smp_setup()
/Linux-v5.10/drivers/usb/musb/
Dmusb_dsps.c174 u32 epmask, coremask; in dsps_musb_enable() local
179 coremask = (wrp->usb_bitmap & ~MUSB_INTR_SOF); in dsps_musb_enable()
182 musb_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()