Home
last modified time | relevance | path

Searched refs:nodep (Results 1 – 7 of 7) sorted by relevance

/arch/mips/netlogic/xlr/
Dwakeup.c53 struct nlm_soc_info *nodep; in xlr_wakeup_secondary_cpus() local
61 nodep = nlm_get_node(0); in xlr_wakeup_secondary_cpus()
67 nlm_pic_send_ipi(nodep->picbase, i, 1, 1); /* send NMI */ in xlr_wakeup_secondary_cpus()
71 nodep->coremask = 1; in xlr_wakeup_secondary_cpus()
79 nodep->coremask |= (1u << i); in xlr_wakeup_secondary_cpus()
Dsetup.c167 struct nlm_soc_info *nodep; in nlm_init_node() local
169 nodep = nlm_current_node(); in nlm_init_node()
170 nodep->picbase = nlm_mmio_base(NETLOGIC_IO_PIC_OFFSET); in nlm_init_node()
171 nodep->ebase = read_c0_ebase() & MIPS_EBASE_BASE; in nlm_init_node()
172 spin_lock_init(&nodep->piclock); in nlm_init_node()
/arch/mips/netlogic/xlp/
Dwakeup.c111 struct nlm_soc_info *nodep; in xlp_enable_secondary_cores() local
133 nodep = nlm_get_node(n); in xlp_enable_secondary_cores()
148 fusemask = nlm_read_sys_reg(nodep->sysbase, in xlp_enable_secondary_cores()
187 if (!xlp_wakeup_core(nodep->sysbase, n, core)) in xlp_enable_secondary_cores()
191 nodep->coremask |= 1u << core; in xlp_enable_secondary_cores()
Dnlm_hal.c54 struct nlm_soc_info *nodep; in nlm_node_init() local
56 nodep = nlm_get_node(node); in nlm_node_init()
58 nodep->coremask = 1; /* node 0, boot cpu */ in nlm_node_init()
59 nodep->sysbase = nlm_get_sys_regbase(node); in nlm_node_init()
60 nodep->picbase = nlm_get_pic_regbase(node); in nlm_node_init()
61 nodep->ebase = read_c0_ebase() & MIPS_EBASE_BASE; in nlm_node_init()
63 nodep->socbus = xlp9xx_get_socbus(node); in nlm_node_init()
65 nodep->socbus = 0; in nlm_node_init()
66 spin_lock_init(&nodep->piclock); in nlm_node_init()
/arch/mips/netlogic/common/
Dirq.c213 struct nlm_soc_info *nodep; in nlm_init_node_irqs() local
217 nodep = nlm_get_node(node); in nlm_init_node_irqs()
218 nodep->irqmask = PERCPU_IRQ_MASK; in nlm_init_node_irqs()
223 nodep->irqmask |= 1ull << i; in nlm_init_node_irqs()
227 nlm_pic_init_irt(nodep->picbase, irt, i, in nlm_init_node_irqs()
/arch/mips/pci/
Dmsi-xlp.c468 struct nlm_soc_info *nodep; in xlp_init_node_msi_irqs() local
473 nodep = nlm_get_node(node); in xlp_init_node_msi_irqs()
481 md->node = nodep; in xlp_init_node_msi_irqs()
503 nlm_pic_init_irt(nodep->picbase, irt, in xlp_init_node_msi_irqs()
/arch/powerpc/kernel/
Dprom_init.c616 static int __init prom_next_node(phandle *nodep) in prom_next_node() argument
620 if ((node = *nodep) != 0 in prom_next_node()
621 && (*nodep = call_prom("child", 1, 1, node)) != 0) in prom_next_node()
623 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node()
628 if ((*nodep = call_prom("peer", 1, 1, node)) != 0) in prom_next_node()