Lines Matching refs:resp
265 static inline void queue2resp(struct ipzu_queue_resp *resp, in queue2resp() argument
268 resp->qe_size = queue->qe_size; in queue2resp()
269 resp->act_nr_of_sg = queue->act_nr_of_sg; in queue2resp()
270 resp->queue_length = queue->queue_length; in queue2resp()
271 resp->pagesize = queue->pagesize; in queue2resp()
272 resp->toggle_state = queue->toggle_state; in queue2resp()
273 resp->offset = queue->offset; in queue2resp()
889 struct ehca_create_qp_resp resp; in internal_create_qp() local
890 memset(&resp, 0, sizeof(resp)); in internal_create_qp()
892 resp.qp_num = my_qp->real_qp_num; in internal_create_qp()
893 resp.token = my_qp->token; in internal_create_qp()
894 resp.qp_type = my_qp->qp_type; in internal_create_qp()
895 resp.ext_type = my_qp->ext_type; in internal_create_qp()
896 resp.qkey = my_qp->qkey; in internal_create_qp()
897 resp.real_qp_num = my_qp->real_qp_num; in internal_create_qp()
900 queue2resp(&resp.ipz_squeue, &my_qp->ipz_squeue); in internal_create_qp()
902 queue2resp(&resp.ipz_rqueue, &my_qp->ipz_rqueue); in internal_create_qp()
903 resp.fw_handle_ofs = (u32) in internal_create_qp()
906 if (ib_copy_to_udata(udata, &resp, sizeof resp)) { in internal_create_qp()