Home
last modified time | relevance | path

Searched refs:resp_buf (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c78 int size, int resp_size, void *resp_buf, in virtio_gpu_get_vbuf() argument
94 vbuf->resp_buf = (void *)vbuf->buf + size; in virtio_gpu_get_vbuf()
96 vbuf->resp_buf = resp_buf; in virtio_gpu_get_vbuf()
97 BUG_ON(!vbuf->resp_buf); in virtio_gpu_get_vbuf()
139 void *resp_buf) in virtio_gpu_alloc_cmd_resp() argument
144 resp_size, resp_buf, cb); in virtio_gpu_alloc_cmd_resp()
157 kfree(vbuf->resp_buf); in free_vbuf()
196 resp = (struct virtio_gpu_ctrl_hdr *)entry->resp_buf; in virtio_gpu_dequeue_ctrl_func()
279 sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); in virtio_gpu_queue_ctrl_buffer_locked()
540 (struct virtio_gpu_resp_display_info *)vbuf->resp_buf; in virtio_gpu_cmd_get_display_info_cb()
[all …]
/Linux-v5.4/drivers/mailbox/
Dzynqmp-ipi-mailbox.c70 void __iomem *resp_buf; member
301 memcpy_toio(mchan->resp_buf, msg->data, msg->len); in zynqmp_ipi_send_data()
521 mchan->resp_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
523 if (IS_ERR(mchan->resp_buf)) { in zynqmp_ipi_mbox_probe()
525 ret = PTR_ERR(mchan->resp_buf); in zynqmp_ipi_mbox_probe()
560 mchan->resp_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
562 if (IS_ERR(mchan->resp_buf)) { in zynqmp_ipi_mbox_probe()
564 ret = PTR_ERR(mchan->resp_buf); in zynqmp_ipi_mbox_probe()
/Linux-v5.4/fs/cifs/
Dtransport.c101 cifs_buf_release(midEntry->resp_buf); in _cifs_mid_q_entry_release()
103 cifs_small_buf_release(midEntry->resp_buf); in _cifs_mid_q_entry_release()
902 unsigned int len = get_rfc1002_length(mid->resp_buf) + 4; in cifs_check_receive()
904 dump_smb(mid->resp_buf, min_t(u32, 92, len)); in cifs_check_receive()
913 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
915 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
926 return map_smb_to_linux_error(mid->resp_buf, log_error); in cifs_check_receive()
1143 if (!midQ[i]->resp_buf || in compound_send_recv()
1150 buf = (char *)midQ[i]->resp_buf; in compound_send_recv()
1165 midQ[i]->resp_buf = NULL; in compound_send_recv()
[all …]
Dcifs_debug.c70 mid_entry->resp_buf, in cifs_dump_mids()
76 if (mid_entry->resp_buf) { in cifs_dump_mids()
77 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
79 mid_entry->resp_buf, 62); in cifs_dump_mids()
Dsmb2transport.c660 iov[0].iov_base = (char *)mid->resp_buf; in smb2_check_receive()
663 dump_smb(mid->resp_buf, min_t(u32, 80, len)); in smb2_check_receive()
674 return map_smb2_to_linux_error(mid->resp_buf, log_error); in smb2_check_receive()
Dsmb1ops.c389 if (mid->resp_buf) { in cifs_check_trans2()
391 malformed = coalesce_t2(buf, mid->resp_buf); in cifs_check_trans2()
404 mid->resp_buf = buf; in cifs_check_trans2()
/Linux-v5.4/drivers/scsi/qedf/
Dqedf_els.c410 void *resp_buf, *fc_payload; in qedf_l2_els_compl() local
436 resp_buf = mp_req->resp_buf; in qedf_l2_els_compl()
475 memcpy(fc_payload, resp_buf, resp_len); in qedf_l2_els_compl()
530 void *resp_buf, *fc_payload; in qedf_srr_compl() local
570 resp_buf = mp_req->resp_buf; in qedf_srr_compl()
585 memcpy(fc_payload, resp_buf, resp_len); in qedf_srr_compl()
825 void *resp_buf, *fc_payload; in qedf_rec_compl() local
870 acc = resp_buf = mp_req->resp_buf; in qedf_rec_compl()
885 memcpy(fc_payload, resp_buf, resp_len); in qedf_rec_compl()
Dqedf_io.c432 if (mp_req->resp_buf) { in qedf_free_mp_resc()
434 mp_req->resp_buf, mp_req->resp_buf_dma); in qedf_free_mp_resc()
435 mp_req->resp_buf = NULL; in qedf_free_mp_resc()
2053 mp_req->resp_buf = dma_alloc_coherent(&qedf->pdev->dev, in qedf_init_mp_req()
2055 if (!mp_req->resp_buf) { in qedf_init_mp_req()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_els.c129 void *resp_buf; in bnx2fc_l2_els_compl() local
157 resp_buf = mp_req->resp_buf; in bnx2fc_l2_els_compl()
171 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_l2_els_compl()
273 void *resp_buf; in bnx2fc_srr_compl() local
327 resp_buf = mp_req->resp_buf; in bnx2fc_srr_compl()
336 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_srr_compl()
388 void *resp_buf; in bnx2fc_rec_compl() local
451 acc = resp_buf = mp_req->resp_buf; in bnx2fc_rec_compl()
461 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_rec_compl()
Dbnx2fc_io.c573 if (mp_req->resp_buf) { in bnx2fc_free_mp_resc()
575 mp_req->resp_buf, in bnx2fc_free_mp_resc()
577 mp_req->resp_buf = NULL; in bnx2fc_free_mp_resc()
609 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
612 if (!mp_req->resp_buf) { in bnx2fc_init_mp_req()
618 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
1555 rsp_buf = tm_req->resp_buf; in bnx2fc_process_tm_compl()
/Linux-v5.4/drivers/char/tpm/
Dtpm_ftpm_tee.h35 u8 resp_buf[MAX_RESPONSE_SIZE]; member
Dtpm_ftpm_tee.c57 memcpy(buf, pvt_data->resp_buf, len); in ftpm_tee_tpm_op_recv()
162 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send()
/Linux-v5.4/sound/firewire/fireworks/
Dfireworks.c235 efw->resp_buf = devm_kzalloc(&efw->card->card_dev, in do_registration()
237 if (!efw->resp_buf) { in do_registration()
241 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in do_registration()
Dfireworks_hwdep.c61 (unsigned int)(pull_ptr - efw->resp_buf); in hwdep_read_resp_buf()
72 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in hwdep_read_resp_buf()
Dfireworks_transaction.c143 (unsigned int)(efw->push_ptr - efw->resp_buf); in copy_resp_to_buf()
149 if (efw->push_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in copy_resp_to_buf()
Dfireworks.h107 u8 *resp_buf; member
/Linux-v5.4/drivers/firmware/
Dqcom_scm-32.c163 const void *cmd_buf, size_t cmd_len, void *resp_buf, in qcom_scm_call() argument
205 if (resp_buf) { in qcom_scm_call()
209 memcpy(resp_buf, qcom_scm_get_response_buffer(rsp), in qcom_scm_call()
/Linux-v5.4/drivers/scsi/qedi/
Dqedi_iscsi.c81 if (qedi_conn->gen_pdu.resp_buf) { in qedi_conn_free_login_resources()
84 qedi_conn->gen_pdu.resp_buf, in qedi_conn_free_login_resources()
86 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_free_login_resources()
112 qedi_conn->gen_pdu.resp_buf = in qedi_conn_alloc_login_resources()
117 if (!qedi_conn->gen_pdu.resp_buf) in qedi_conn_alloc_login_resources()
121 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf; in qedi_conn_alloc_login_resources()
149 qedi_conn->gen_pdu.resp_buf, in qedi_conn_alloc_login_resources()
151 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_alloc_login_resources()
Dqedi_iscsi.h138 char *resp_buf; member
Dqedi_fw.c117 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf + pld_len; in qedi_process_text_resp()
140 qedi_conn->gen_pdu.resp_buf, in qedi_process_text_resp()
142 qedi_conn->gen_pdu.resp_buf)); in qedi_process_text_resp()
289 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf + pld_len; in qedi_process_login_resp()
300 qedi_conn->gen_pdu.resp_buf, in qedi_process_login_resp()
302 qedi_conn->gen_pdu.resp_buf)); in qedi_process_login_resp()
/Linux-v5.4/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c953 if (bnx2i_conn->gen_pdu.resp_buf) { in bnx2i_conn_free_login_resources()
956 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_free_login_resources()
958 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_free_login_resources()
992 bnx2i_conn->gen_pdu.resp_buf = in bnx2i_conn_alloc_login_resources()
997 if (bnx2i_conn->gen_pdu.resp_buf == NULL) in bnx2i_conn_alloc_login_resources()
1001 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf; in bnx2i_conn_alloc_login_resources()
1026 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_alloc_login_resources()
1028 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_alloc_login_resources()
Dbnx2i_hwi.c1469 bnx2i_conn->gen_pdu.resp_buf + pld_len; in bnx2i_process_login_resp()
1484 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_login_resp()
1485 bnx2i_conn->gen_pdu.resp_wr_ptr - bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_login_resp()
1530 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf + in bnx2i_process_text_resp()
1544 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_text_resp()
1546 bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_text_resp()
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Ddev.h136 u8 resp_buf[2][LBS_UPLD_SIZE]; member
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dusb.c537 u8 resp_val, u8 *resp_buf, in ath10k_usb_ctrl_msg_exchange() argument
549 if (resp_buf) { in ath10k_usb_ctrl_msg_exchange()
551 resp_buf, *resp_len); in ath10k_usb_ctrl_msg_exchange()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dusb.c927 u8 resp_val, u8 *resp_buf, u32 *resp_len) in ath6kl_usb_ctrl_msg_exchange() argument
938 if (resp_buf == NULL) { in ath6kl_usb_ctrl_msg_exchange()
945 resp_buf, *resp_len); in ath6kl_usb_ctrl_msg_exchange()

12