• Home
  • Raw
  • Download

Lines Matching refs:chiplet

311 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()
388 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
391 int core, irq = IRQ_GRU + chiplet; in gru_chiplet_teardown_tlb_irq()
393 if (gru_irq_count[chiplet] == 0) in gru_chiplet_teardown_tlb_irq()
396 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_teardown_tlb_irq()
400 if (--gru_irq_count[chiplet] == 0) in gru_chiplet_teardown_tlb_irq()
406 static int gru_chiplet_setup_tlb_irq(int chiplet, char *irq_name, in gru_chiplet_setup_tlb_irq() argument
413 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_setup_tlb_irq()
431 gru_base[blade]->bs_grus[chiplet].gs_irq[core] = irq; in gru_chiplet_setup_tlb_irq()
435 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
440 mmr = gru_chiplet_cpu_to_mmr(chiplet, cpu, &core); in gru_chiplet_teardown_tlb_irq()
442 irq = gru_base[blade]->bs_grus[chiplet].gs_irq[core]; in gru_chiplet_teardown_tlb_irq()