Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgrufile.c364 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
395 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
414 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
424 irq = uv_setup_irq(irq_name, cpu, blade, mmr, UV_AFFINITY_CPU); in gru_chiplet_setup_tlb_irq()
438 gru_base[blade]->bs_grus[chiplet].gs_irq[core] = irq; in gru_chiplet_setup_tlb_irq()
442 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
449 irq = gru_base[blade]->bs_grus[chiplet].gs_irq[core]; in gru_chiplet_teardown_tlb_irq()
461 int blade; in gru_teardown_tlb_irqs() local
465 blade = uv_cpu_to_blade_id(cpu); in gru_teardown_tlb_irqs()
466 gru_chiplet_teardown_tlb_irq(0, cpu, blade); in gru_teardown_tlb_irqs()
[all …]
Dgrumain.c785 struct gru_blade_state *blade; in gru_steal_context() local
797 blade = gru_base[blade_id]; in gru_steal_context()
798 spin_lock(&blade->bs_lock); in gru_steal_context()
800 ctxnum = next_ctxnum(blade->bs_lru_ctxnum); in gru_steal_context()
801 gru = blade->bs_lru_gru; in gru_steal_context()
803 gru = next_gru(blade, gru); in gru_steal_context()
804 blade->bs_lru_gru = gru; in gru_steal_context()
805 blade->bs_lru_ctxnum = ctxnum; in gru_steal_context()
823 if (ngts && is_gts_stealable(ngts, blade)) in gru_steal_context()
835 gru = next_gru(blade, gru); in gru_steal_context()
[all …]
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()
610 int blade; in gru_intr_mblade() local
612 for_each_possible_blade(blade) { in gru_intr_mblade()
613 if (uv_blade_nr_possible_cpus(blade)) in gru_intr_mblade()
615 gru_intr(0, blade); in gru_intr_mblade()
616 gru_intr(1, blade); in gru_intr_mblade()
Dgru.h47 int blade; member