Home
last modified time | relevance | path

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

123

/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dmailbox_s10.c119 static __always_inline int __mbox_rcv_resp(u32 *resp_buf, u32 resp_buf_max_len) in __mbox_rcv_resp() argument
136 if (resp_buf) in __mbox_rcv_resp()
137 resp_buf[resp_len++] = MBOX_READ_RESP_BUF(rout); in __mbox_rcv_resp()
153 u32 *resp_buf) in mbox_send_cmd_common() argument
244 resp_buf[*resp_buf_len] = resp; in mbox_send_cmd_common()
294 u32 resp_buf[1]; in mbox_qspi_open() local
315 (u32 *)&resp_buf); in mbox_qspi_open()
320 printf("QSPI: Reference clock at %d Hz\n", resp_buf[0]); in mbox_qspi_open()
321 writel(resp_buf[0], &sysmgr_regs->boot_scratch_cold0); in mbox_qspi_open()
394 u8 urgent, u32 *resp_buf_len, u32 *resp_buf) in mbox_send_cmd() argument
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/
H A D0004-smm_gateway-GetNextVariableName-Fix.patch26 if (resp_buf->size >= param_len) {
29 - resp_buf->size -
32 memmove(resp_buf->data, req_buf->data, param_len);
36 (SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME *)resp_buf->data,
37 - max_name_len, &resp_buf->data_length);
38 + ((SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME*)resp_buf->data)->NameSize,
39 + &resp_buf->data_length);
H A D0012-Fix-GetNextVariableName-NameSize-input.patch336 size_t max_data_len = resp_buf->size - param_len;
338 - memmove(resp_buf->data, req_buf->data, param_len);
339 + memcpy(resp_buf->data, req_buf->data, param_len);
354 - struct rpc_buffer *resp_buf = &req->response;
356 + struct rpc_buffer *resp_buf = &req->response;
359 - if (resp_buf->size >= param_len) {
361 + memcpy(resp_buf->data, req_buf->data, req_buf->data_length);
363 - memmove(resp_buf->data, req_buf->data, param_len);
366 + (SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME *)resp_buf->data,
371 - (SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME *)resp_buf->data,
[all …]
H A D0014-Provide-crypto-api-to-create-uefi-priv-var-fingerpri.patch99 + uint8_t *resp_buf;
108 + call_handle, TS_CRYPTO_OPCODE_GET_UEFI_PRIV_AUTH_VAR_FINGERPRINT, &resp_buf, &resp_len,
117 + tlv_const_iterator_begin(&resp_iter, resp_buf, resp_len);
431 + struct rpc_buffer *resp_buf = &req->response;;
469 + resp_buf, (uint8_t*)&output_buffer);
512 + rpc_status_t (*serialize_get_uefi_priv_auth_var_fingerprint_resp)(struct rpc_buffer *resp_buf,
563 +static rpc_status_t serialize_get_uefi_priv_auth_var_fingerprint_resp(struct rpc_buffer *resp_buf,
574 + tlv_iterator_begin(&resp_iter, resp_buf->data, resp_buf->size);
577 + resp_buf->data_length = tlv_required_space(PSA_HASH_MAX_SIZE);
H A D0011-Fix-Avoid-redefinition-of-variables.patch21 uint8_t *resp_buf;
/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_vq.c91 int size, int resp_size, void *resp_buf, in virtio_gpu_get_vbuf() argument
106 vbuf->resp_buf = (void *)vbuf->buf + size; in virtio_gpu_get_vbuf()
108 vbuf->resp_buf = resp_buf; in virtio_gpu_get_vbuf()
109 BUG_ON(!vbuf->resp_buf); in virtio_gpu_get_vbuf()
144 void *resp_buf) in virtio_gpu_alloc_cmd_resp() argument
149 resp_size, resp_buf, cb); in virtio_gpu_alloc_cmd_resp()
177 kfree(vbuf->resp_buf); in free_vbuf()
216 resp = (struct virtio_gpu_ctrl_hdr *)entry->resp_buf; in virtio_gpu_dequeue_ctrl_func()
265 (struct virtio_gpu_ctrl_hdr *)entry->resp_buf; in virtio_gpu_dequeue_cursor_func()
409 sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); in virtio_gpu_queue_fenced_ctrl_buffer()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dstratix10.c120 u32 *resp_buf, u32 buf_size, u32 client_id) in get_resp_hdr() argument
136 resp_buf[(*w_index)++] = buf[i]; in get_resp_hdr()
146 mbox_hdr = resp_buf[*r_index]; in get_resp_hdr()
252 u32 resp_buf[2]; in stratix10_load() local
256 NULL, 0, &resp_len, resp_buf); in stratix10_load()
262 ret = send_reconfig_data(rbf_data, rbf_size, resp_buf[0], resp_buf[1]); in stratix10_load()
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dmailbox_s10.h134 u32 *resp_buf_len, u32 *resp_buf);
136 u8 urgent, u32 *resp_buf_len, u32 *resp_buf);
139 int mbox_rcv_resp(u32 *resp_buf, u32 resp_buf_max_len);
140 int mbox_rcv_resp_psci(u32 *resp_buf, u32 resp_buf_max_len);
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_els.c425 void *resp_buf, *fc_payload; in qedf_l2_els_compl() local
451 resp_buf = mp_req->resp_buf; in qedf_l2_els_compl()
490 memcpy(fc_payload, resp_buf, resp_len); in qedf_l2_els_compl()
545 void *resp_buf, *fc_payload; in qedf_srr_compl() local
585 resp_buf = mp_req->resp_buf; in qedf_srr_compl()
600 memcpy(fc_payload, resp_buf, resp_len); in qedf_srr_compl()
840 void *resp_buf, *fc_payload; in qedf_rec_compl() local
885 acc = resp_buf = mp_req->resp_buf; in qedf_rec_compl()
900 memcpy(fc_payload, resp_buf, resp_len); in qedf_rec_compl()
/openbmc/linux/drivers/scsi/bnx2fc/
H A 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()
H A Dbnx2fc_io.c571 if (mp_req->resp_buf) { in bnx2fc_free_mp_resc()
573 mp_req->resp_buf, in bnx2fc_free_mp_resc()
575 mp_req->resp_buf = NULL; in bnx2fc_free_mp_resc()
607 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
610 if (!mp_req->resp_buf) { in bnx2fc_init_mp_req()
616 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
1556 rsp_buf = tm_req->resp_buf; in bnx2fc_process_tm_compl()
/openbmc/linux/fs/smb/client/
H A Dtransport.c91 if (midEntry->resp_buf && (midEntry->mid_flags & MID_WAIT_CANCELLED) && in __release_mid()
100 cifs_buf_release(midEntry->resp_buf); in __release_mid()
102 cifs_small_buf_release(midEntry->resp_buf); in __release_mid()
937 unsigned int len = get_rfc1002_length(mid->resp_buf) + 4; in cifs_check_receive()
939 dump_smb(mid->resp_buf, min_t(u32, 92, len)); in cifs_check_receive()
948 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
950 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
1246 if (!midQ[i]->resp_buf || in compound_send_recv()
1253 buf = (char *)midQ[i]->resp_buf; in compound_send_recv()
1268 midQ[i]->resp_buf = NULL; in compound_send_recv()
[all …]
H A Dcifs_debug.c73 mid_entry->resp_buf, in cifs_dump_mids()
79 if (mid_entry->resp_buf) { in cifs_dump_mids()
80 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
82 mid_entry->resp_buf, 62); in cifs_dump_mids()
H A Dsmb2transport.c859 iov[0].iov_base = (char *)mid->resp_buf; in smb2_check_receive()
862 dump_smb(mid->resp_buf, min_t(u32, 80, len)); in smb2_check_receive()
873 return map_smb2_to_linux_error(mid->resp_buf, log_error); in smb2_check_receive()
/openbmc/linux/drivers/mailbox/
H A Dzynqmp-ipi-mailbox.c68 void __iomem *resp_buf; member
299 memcpy_toio(mchan->resp_buf, msg->data, msg->len); in zynqmp_ipi_send_data()
519 mchan->resp_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
521 if (!mchan->resp_buf) { in zynqmp_ipi_mbox_probe()
556 mchan->resp_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
558 if (!mchan->resp_buf) { in zynqmp_ipi_mbox_probe()
/openbmc/linux/drivers/char/tpm/
H A Dtpm_ftpm_tee.h35 u8 resp_buf[MAX_RESPONSE_SIZE]; member
H A Dtpm_ftpm_tee.c56 memcpy(buf, pvt_data->resp_buf, len); in ftpm_tee_tpm_op_recv()
161 memcpy(pvt_data->resp_buf, temp_buf, resp_len); in ftpm_tee_tpm_op_send()
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks.c242 efw->resp_buf = devm_kzalloc(&card->card_dev, snd_efw_resp_buf_size, GFP_KERNEL); in efw_probe()
243 if (!efw->resp_buf) { in efw_probe()
247 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()
H A 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()
H A Dfireworks_hwdep.c62 (unsigned int)(pull_ptr - efw->resp_buf); in hwdep_read_resp_buf()
73 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in hwdep_read_resp_buf()
H A Dfireworks.h104 u8 *resp_buf; member
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c82 if (qedi_conn->gen_pdu.resp_buf) { in qedi_conn_free_login_resources()
85 qedi_conn->gen_pdu.resp_buf, in qedi_conn_free_login_resources()
87 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_free_login_resources()
113 qedi_conn->gen_pdu.resp_buf = in qedi_conn_alloc_login_resources()
118 if (!qedi_conn->gen_pdu.resp_buf) in qedi_conn_alloc_login_resources()
122 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf; in qedi_conn_alloc_login_resources()
150 qedi_conn->gen_pdu.resp_buf, in qedi_conn_alloc_login_resources()
152 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_alloc_login_resources()
H A Dqedi_iscsi.h139 char *resp_buf; member
/openbmc/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c951 if (bnx2i_conn->gen_pdu.resp_buf) { in bnx2i_conn_free_login_resources()
954 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_free_login_resources()
956 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_free_login_resources()
990 bnx2i_conn->gen_pdu.resp_buf = in bnx2i_conn_alloc_login_resources()
995 if (bnx2i_conn->gen_pdu.resp_buf == NULL) in bnx2i_conn_alloc_login_resources()
999 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf; in bnx2i_conn_alloc_login_resources()
1024 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_alloc_login_resources()
1026 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_alloc_login_resources()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Ddev.h136 u8 resp_buf[2][LBS_UPLD_SIZE]; member

123