Lines Matching refs:gru_base
37 struct gru_blade_state *gru_base[GRU_MAX_BLADES] __read_mostly; variable
238 gru->gs_blade = gru_base[blade_id]; in gru_init_chiplet()
270 gru_base[bid] = page_address(page); in gru_init_tables()
271 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables()
272 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables()
273 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables()
274 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables()
278 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables()
297 free_pages((unsigned long)gru_base[bid], order); in gru_init_tables()
308 free_pages((unsigned long)gru_base[bid], order); in gru_free_tables()
365 gru_base[blade]->bs_grus[chiplet].gs_irq[core] = irq; in gru_chiplet_setup_tlb_irq()
376 irq = gru_base[blade]->bs_grus[chiplet].gs_irq[core]; in gru_chiplet_teardown_tlb_irq()