Lines Matching defs:msg_st

83 static errval_t dma_register_response_tx(struct txq_msg_st *msg_st)
85 struct dma_binding *b = msg_st->queue->binding;
87 return dma_register__response__tx(b, TXQCONT(msg_st), msg_st->err);
95 struct txq_msg_st *msg_st = txq_msg_st_alloc(&svc_handle->queue);
96 if (msg_st == NULL) {
100 msg_st->send = dma_register_response_tx;
105 msg_st->err = DMA_ERR_SVC_REJECT;
108 txq_send(msg_st);
117 static errval_t dma_deregister_response_tx(struct txq_msg_st *msg_st)
119 struct dma_binding *b = msg_st->queue->binding;
121 return dma_deregister_response__tx(b, TXQCONT(msg_st), msg_st->err);
129 struct txq_msg_st *msg_st = txq_msg_st_alloc(&svc_handle->queue);
130 if (msg_st == NULL) {
134 msg_st->send = dma_deregister_response_tx;
139 msg_st->err = DMA_ERR_SVC_REJECT;
142 txq_send(msg_st);
151 static errval_t dma_memcpy_response_tx(struct txq_msg_st *msg_st)
153 struct dma_svc_reply_st *st = (struct dma_svc_reply_st *) msg_st;
154 struct dma_binding *b = msg_st->queue->binding;
156 return dma_memcpy_response__tx(b, TXQCONT(msg_st), msg_st->err,
171 struct txq_msg_st *msg_st = txq_msg_st_alloc(&svc_handle->queue);
172 if (msg_st == NULL) {
176 msg_st->send = dma_memcpy_response_tx;
178 struct dma_svc_reply_st *reply = (struct dma_svc_reply_st *) msg_st;
181 msg_st->err = event_handlers->memcpy(svc_handle, dst, src, length,
184 msg_st->err = DMA_ERR_SVC_REJECT;
187 txq_send(msg_st);
202 static errval_t dma_done_tx(struct txq_msg_st *msg_st)
204 struct dma_svc_reply_st *st = (struct dma_svc_reply_st *) msg_st;
205 struct dma_binding *b = msg_st->queue->binding;
207 return dma_done__tx(b, TXQCONT(msg_st), st->args.request.id, msg_st->err);
397 struct txq_msg_st *msg_st = txq_msg_st_alloc(&svc_handle->queue);
398 if (msg_st == NULL) {
402 msg_st->err = err;
403 msg_st->send = dma_done_tx;
405 struct dma_svc_reply_st *reply = (struct dma_svc_reply_st *) msg_st;
409 txq_send(msg_st);