Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/sgi-gru/
Dgrufile.c323 static unsigned long gru_chiplet_cpu_to_mmr(int chiplet, int cpu, int *corep) in gru_chiplet_cpu_to_mmr() argument
338 if (chiplet == 0) { in gru_chiplet_cpu_to_mmr()
341 } else if (chiplet == 1) { in gru_chiplet_cpu_to_mmr()
368 static int gru_chiplet_setup_tlb_irq(int chiplet, char *irq_name, in gru_chiplet_setup_tlb_irq() argument
372 int irq = IRQ_GRU + chiplet; in gru_chiplet_setup_tlb_irq()
375 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
379 if (gru_irq_count[chiplet] == 0) { in gru_chiplet_setup_tlb_irq()
380 gru_chip[chiplet].name = irq_name; in gru_chiplet_setup_tlb_irq()
381 ret = irq_set_chip(irq, &gru_chip[chiplet]); in gru_chiplet_setup_tlb_irq()
395 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.c532 static irqreturn_t gru_intr(int chiplet, int blade) in gru_intr() argument
543 gru = &gru_base[blade]->bs_grus[chiplet]; in gru_intr()
546 raw_smp_processor_id(), chiplet); in gru_intr()
552 smp_processor_id(), chiplet, gru->gs_gid, in gru_intr()