Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrufile.c311 static unsigned long gru_chiplet_cpu_to_mmr(int chiplet, int cpu, int *corep) in gru_chiplet_cpu_to_mmr() argument
326 if (chiplet == 0) { in gru_chiplet_cpu_to_mmr()
329 } else if (chiplet == 1) { in gru_chiplet_cpu_to_mmr()
356 static int gru_chiplet_setup_tlb_irq(int chiplet, char *irq_name, in gru_chiplet_setup_tlb_irq() argument
360 int irq = IRQ_GRU + chiplet; in gru_chiplet_setup_tlb_irq()
363 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
367 if (gru_irq_count[chiplet] == 0) { in gru_chiplet_setup_tlb_irq()
368 gru_chip[chiplet].name = irq_name; in gru_chiplet_setup_tlb_irq()
369 ret = irq_set_chip(irq, &gru_chip[chiplet]); in gru_chiplet_setup_tlb_irq()
383 gru_irq_count[chiplet]++; in gru_chiplet_setup_tlb_irq()
[all …]
Dgruhandles.h144 int chiplet) in gru_chiplet_paddr() argument
146 return paddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_paddr()
149 static inline void *gru_chiplet_vaddr(void *vaddr, int pnode, int chiplet) in gru_chiplet_vaddr() argument
151 return vaddr + GRU_SIZE * (2 * pnode + chiplet); in gru_chiplet_vaddr()
Dgru.h46 int chiplet; member
Dgrufault.c519 static irqreturn_t gru_intr(int chiplet, int blade) in gru_intr() argument
530 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()
533 raw_smp_processor_id(), chiplet); in gru_intr()
539 smp_processor_id(), chiplet, gru->gs_gid, in gru_intr()