Searched refs:g2h (Results 1 – 2 of 2) sorted by relevance
283 static void guc_ct_ctb_g2h_init(struct xe_device *xe, struct guc_ctb *g2h, in guc_ct_ctb_g2h_init() argument286 g2h->info.size = CTB_G2H_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()287 g2h->info.resv_space = G2H_ROOM_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_g2h_init()288 g2h->info.head = 0; in guc_ct_ctb_g2h_init()289 g2h->info.tail = 0; in guc_ct_ctb_g2h_init()290 g2h->info.space = CIRC_SPACE(g2h->info.tail, g2h->info.head, in guc_ct_ctb_g2h_init()291 g2h->info.size) - in guc_ct_ctb_g2h_init()292 g2h->info.resv_space; in guc_ct_ctb_g2h_init()293 g2h->info.broken = false; in guc_ct_ctb_g2h_init()295 g2h->desc = IOSYS_MAP_INIT_OFFSET(map, CTB_DESC_SIZE); in guc_ct_ctb_g2h_init()[all …]
652 bool g2h = g2h_has_room(ct, g2h_dw); in has_room_nb() local656 if (unlikely(!h2g || !g2h)) { in has_room_nb()661 if (!g2h) in has_room_nb()