Lines Matching refs:send

64  *      | 0x0000 | H2G `CTB Descriptor`_ (send)                  |      |
68 * | 0x1000 | H2G `CT Buffer`_ (send) | n*4K |
80 * of the receive buffer (relative to the send) to ensure a G2H response
142 spin_lock_init(&ct->ctbs.send.lock);
218 static int ct_register_buffer(struct intel_guc_ct *ct, bool send,
223 err = intel_guc_self_cfg64(ct_to_guc(ct), send ?
230 err = intel_guc_self_cfg64(ct_to_guc(ct), send ?
237 err = intel_guc_self_cfg32(ct_to_guc(ct), send ?
244 send ? "SEND" : "RECV", ERR_PTR(err));
284 /* store pointers to desc and cmds for send ctb */
289 CT_DEBUG(ct, "%s desc %#tx cmds %#tx size %u/%u\n", "send",
293 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space);
344 /* blob should start with send descriptor */
346 GEM_BUG_ON(blob != ct->ctbs.send.desc);
349 guc_ct_buffer_reset(&ct->ctbs.send);
363 desc = base + ptrdiff(ct->ctbs.send.desc, blob);
364 cmds = base + ptrdiff(ct->ctbs.send.cmds, blob);
365 size = ct->ctbs.send.size * 4;
435 struct intel_guc_ct_buffer *ctb = &ct->ctbs.send;
530 * For each sent request, GuC shall send back CT response message.
575 struct guc_ct_buffer_desc *send = ct->ctbs.send.desc;
576 struct guc_ct_buffer_desc *recv = ct->ctbs.send.desc;
580 send->status, recv->status);
582 atomic_read(&ct->ctbs.send.space) * 4);
583 CT_ERROR(ct, "Head: %u (Dwords)\n", ct->ctbs.send.desc->head);
584 CT_ERROR(ct, "Tail: %u (Dwords)\n", ct->ctbs.send.desc->tail);
591 ct->ctbs.send.broken = true;
610 lockdep_assert_held(&ct->ctbs.send.lock);
625 struct intel_guc_ct_buffer *ctb = &ct->ctbs.send;
654 lockdep_assert_held(&ct->ctbs.send.lock);
685 struct intel_guc_ct_buffer *ctb = &ct->ctbs.send;
718 struct intel_guc_ct_buffer *ctb = &ct->ctbs.send;
832 * Command Transport (CT) buffer based GuC send function.
844 WARN(!uc->reset_in_progress, "Unexpected send: action=%#x\n", *action);
848 if (unlikely(ct->ctbs.send.broken))
860 CT_DEBUG(ct, "send action %#x returned %d (%#x)\n",
1222 * CTB processing in the below workqueue can send CTBs which creates a
1367 atomic_read(&ct->ctbs.send.space) * 4);
1369 ct->ctbs.send.desc->head);
1371 ct->ctbs.send.desc->tail);