Home
last modified time | relevance | path

Searched refs:chiplet (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/misc/sgi-gru/
Dgrufile.c318 static unsigned long gru_chiplet_cpu_to_mmr(int chiplet, int cpu, int *corep) in gru_chiplet_cpu_to_mmr() argument
333 if (chiplet == 0) { in gru_chiplet_cpu_to_mmr()
336 } else if (chiplet == 1) { in gru_chiplet_cpu_to_mmr()
363 static int gru_chiplet_setup_tlb_irq(int chiplet, char *irq_name, in gru_chiplet_setup_tlb_irq() argument
367 int irq = IRQ_GRU + chiplet; in gru_chiplet_setup_tlb_irq()
370 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
374 if (gru_irq_count[chiplet] == 0) { in gru_chiplet_setup_tlb_irq()
375 gru_chip[chiplet].name = irq_name; in gru_chiplet_setup_tlb_irq()
376 ret = irq_set_chip(irq, &gru_chip[chiplet]); in gru_chiplet_setup_tlb_irq()
390 gru_irq_count[chiplet]++; in gru_chiplet_setup_tlb_irq()
[all …]
Dgruhandles.h157 int chiplet) in gru_chiplet_paddr() argument
159 return paddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_paddr()
162 static inline void *gru_chiplet_vaddr(void *vaddr, int pnode, int chiplet) in gru_chiplet_vaddr() argument
164 return vaddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_vaddr()
Dgru.h46 int chiplet; member
Dgrufault.c528 static irqreturn_t gru_intr(int chiplet, int blade) in gru_intr() argument
539 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()
542 raw_smp_processor_id(), chiplet); in gru_intr()
548 smp_processor_id(), chiplet, gru->gs_gid, in gru_intr()