Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/sgi-gru/
Dgrufile.c369 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
400 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
419 irq_handler_t irq_handler, int cpu, int blade) in gru_chiplet_setup_tlb_irq() argument
429 irq = uv_setup_irq(irq_name, cpu, blade, mmr, UV_AFFINITY_CPU); in gru_chiplet_setup_tlb_irq()
443 gru_base[blade]->bs_grus[chiplet].gs_irq[core] = irq; in gru_chiplet_setup_tlb_irq()
447 static void gru_chiplet_teardown_tlb_irq(int chiplet, int cpu, int blade) in gru_chiplet_teardown_tlb_irq() argument
454 irq = gru_base[blade]->bs_grus[chiplet].gs_irq[core]; in gru_chiplet_teardown_tlb_irq()
466 int blade; in gru_teardown_tlb_irqs() local
470 blade = uv_cpu_to_blade_id(cpu); in gru_teardown_tlb_irqs()
471 gru_chiplet_teardown_tlb_irq(0, cpu, blade); in gru_teardown_tlb_irqs()
[all …]
Dgrumain.c794 struct gru_blade_state *blade; in gru_steal_context() local
806 blade = gru_base[blade_id]; in gru_steal_context()
807 spin_lock(&blade->bs_lock); in gru_steal_context()
809 ctxnum = next_ctxnum(blade->bs_lru_ctxnum); in gru_steal_context()
810 gru = blade->bs_lru_gru; in gru_steal_context()
812 gru = next_gru(blade, gru); in gru_steal_context()
813 blade->bs_lru_gru = gru; in gru_steal_context()
814 blade->bs_lru_ctxnum = ctxnum; in gru_steal_context()
832 if (ngts && is_gts_stealable(ngts, blade)) in gru_steal_context()
844 gru = next_gru(blade, gru); in gru_steal_context()
[all …]
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()
614 int blade; in gru_intr_mblade() local
616 for_each_possible_blade(blade) { in gru_intr_mblade()
617 if (uv_blade_nr_possible_cpus(blade)) in gru_intr_mblade()
619 gru_intr(0, blade); in gru_intr_mblade()
620 gru_intr(1, blade); in gru_intr_mblade()
Dgru.h47 int blade; member