Lines Matching refs:blade
357 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
388 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
407 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
417 irq = uv_setup_irq(irq_name, cpu, blade, mmr, UV_AFFINITY_CPU); 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
442 irq = gru_base[blade]->bs_grus[chiplet].gs_irq[core]; in gru_chiplet_teardown_tlb_irq()
454 int blade; in gru_teardown_tlb_irqs() local
458 blade = uv_cpu_to_blade_id(cpu); in gru_teardown_tlb_irqs()
459 gru_chiplet_teardown_tlb_irq(0, cpu, blade); in gru_teardown_tlb_irqs()
460 gru_chiplet_teardown_tlb_irq(1, cpu, blade); in gru_teardown_tlb_irqs()
462 for_each_possible_blade(blade) { in gru_teardown_tlb_irqs()
463 if (uv_blade_nr_possible_cpus(blade)) in gru_teardown_tlb_irqs()
465 gru_chiplet_teardown_tlb_irq(0, 0, blade); in gru_teardown_tlb_irqs()
466 gru_chiplet_teardown_tlb_irq(1, 0, blade); in gru_teardown_tlb_irqs()
472 int blade; in gru_setup_tlb_irqs() local
477 blade = uv_cpu_to_blade_id(cpu); in gru_setup_tlb_irqs()
478 ret = gru_chiplet_setup_tlb_irq(0, "GRU0_TLB", gru0_intr, cpu, blade); in gru_setup_tlb_irqs()
482 ret = gru_chiplet_setup_tlb_irq(1, "GRU1_TLB", gru1_intr, cpu, blade); in gru_setup_tlb_irqs()
486 for_each_possible_blade(blade) { in gru_setup_tlb_irqs()
487 if (uv_blade_nr_possible_cpus(blade)) in gru_setup_tlb_irqs()
489 ret = gru_chiplet_setup_tlb_irq(0, "GRU0_TLB", gru_intr_mblade, 0, blade); in gru_setup_tlb_irqs()
493 ret = gru_chiplet_setup_tlb_irq(1, "GRU1_TLB", gru_intr_mblade, 0, blade); in gru_setup_tlb_irqs()