Searched refs:cs_cmpl (Results 1 – 2 of 2) sorted by relevance
402 struct hl_cs_compl *cs_cmpl = in init_signal_wait_cs() local418 cs_cmpl->hw_sob = hw_sob; in init_signal_wait_cs()419 cs_cmpl->sob_val = hw_queue->next_sob_val++; in init_signal_wait_cs()423 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, q_idx); in init_signal_wait_cs()426 cs_cmpl->hw_sob->sob_id); in init_signal_wait_cs()455 cs_cmpl->hw_sob = signal_cs_cmpl->hw_sob; in init_signal_wait_cs()456 cs_cmpl->sob_val = signal_cs_cmpl->sob_val; in init_signal_wait_cs()460 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in init_signal_wait_cs()464 cs_cmpl->hw_sob->sob_id, in init_signal_wait_cs()465 cs_cmpl->sob_val, in init_signal_wait_cs()[all …]
400 struct hl_cs_compl *cs_cmpl; in allocate_cs() local418 cs_cmpl = kmalloc(sizeof(*cs_cmpl), GFP_ATOMIC); in allocate_cs()419 if (!cs_cmpl) { in allocate_cs()424 cs_cmpl->hdev = hdev; in allocate_cs()425 cs_cmpl->type = cs->type; in allocate_cs()426 spin_lock_init(&cs_cmpl->lock); in allocate_cs()427 cs->fence = &cs_cmpl->base_fence; in allocate_cs()431 cs_cmpl->cs_seq = ctx->cs_sequence; in allocate_cs()432 other = ctx->cs_pending[cs_cmpl->cs_seq & in allocate_cs()451 hl_fence_init(&cs_cmpl->base_fence); in allocate_cs()[all …]