/openbmc/u-boot/lib/ |
H A D | tpm-v1.c | 156 size_t response_length = sizeof(response); in tpm1_nv_read_value() local 165 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm1_nv_read_value() 168 if (unpack_byte_string(response, response_length, "d", in tpm1_nv_read_value() 173 if (unpack_byte_string(response, response_length, "s", in tpm1_nv_read_value() 194 size_t response_length = sizeof(response); in tpm1_nv_write_value() local 204 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm1_nv_write_value() 222 size_t response_length = sizeof(response); in tpm1_extend() local 231 err = tpm_sendrecv_command(dev, buf, response, &response_length); in tpm1_extend() 235 if (unpack_byte_string(response, response_length, "s", in tpm1_extend() 251 size_t response_length = sizeof(response); in tpm1_pcr_read() local [all …]
|
H A D | tpm-common.c | 166 size_t response_length; in tpm_sendrecv_command() local 170 response_length = *size_ptr; in tpm_sendrecv_command() 173 response_length = sizeof(response_buffer); in tpm_sendrecv_command() 177 response, &response_length); in tpm_sendrecv_command() 183 *size_ptr = response_length; in tpm_sendrecv_command() 188 for (i = 0; i < response_length; i++) in tpm_sendrecv_command()
|
H A D | tpm-v2.c | 1425 size_t response_length = sizeof(response); in tpm2_get_random() local 1439 &response_length); in tpm2_get_random() 1442 if (unpack_byte_string(response, response_length, "w", in tpm2_get_random() 1447 if (unpack_byte_string(response, response_length, "s", in tpm2_get_random()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm-dev-common.c | 67 priv->response_length = ret; in tpm_dev_async_work() 81 priv->response_length = ret; in tpm_dev_async_work() 106 priv->response_length = 0; in tpm_timeout_work() 136 if (priv->response_length) { in tpm_common_read() 139 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read() 141 priv->response_length = 0; in tpm_common_read() 148 priv->response_length = 0; in tpm_common_read() 152 priv->response_length -= ret_size; in tpm_common_read() 158 if (!priv->response_length) { in tpm_common_read() 182 if ((!priv->response_read && priv->response_length) || in tpm_common_write() [all …]
|
H A D | tpm-dev.h | 17 ssize_t response_length; member
|
/openbmc/linux/include/uapi/rdma/ |
H A D | mlx5-abi.h | 147 __u32 response_length; member 266 __u32 response_length; member 429 __u32 response_length; member 447 __u32 response_length; member 454 __u32 response_length; member 459 __u32 response_length; member
|
H A D | mlx4-abi.h | 136 __u32 response_length; member 183 __u32 response_length; member
|
H A D | ib_user_verbs.h | 274 __u32 response_length; member 450 __u32 response_length; member 660 __u32 response_length; member 761 __u32 response_length; member 1251 __u32 response_length; member 1265 __u32 response_length; member 1293 __u32 response_length; member
|
/openbmc/linux/drivers/target/ |
H A D | target_core_spc.c | 2200 int response_length = 0; in spc_emulate_report_supp_op_codes() local 2216 response_length = 4 + (8 + rctd * 12) * descr_num; in spc_emulate_report_supp_op_codes() 2223 response_length = 4 + descr->cdb_size + rctd * 12; in spc_emulate_report_supp_op_codes() 2225 response_length = 2; in spc_emulate_report_supp_op_codes() 2228 buf = kzalloc(response_length, GFP_KERNEL); in spc_emulate_report_supp_op_codes() 2233 response_length = 0; in spc_emulate_report_supp_op_codes() 2236 response_length += 4; in spc_emulate_report_supp_op_codes() 2243 response_length += spc_rsoc_encode_command_descriptor( in spc_emulate_report_supp_op_codes() 2244 &buf[response_length], rctd, descr); in spc_emulate_report_supp_op_codes() 2246 put_unaligned_be32(response_length - 3, buf); in spc_emulate_report_supp_op_codes() [all …]
|
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | ah.c | 115 resp.response_length = min_resp_len; in mlx5_ib_create_ah() 118 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_ah()
|
H A D | main.c | 834 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length); in mlx5_ib_query_device() 838 resp.response_length = resp_len; in mlx5_ib_query_device() 910 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device() 927 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device() 931 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device() 933 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device() 1071 resp.response_length += sizeof(resp.cqe_comp_caps); in mlx5_ib_query_device() 1103 resp.response_length += sizeof(resp.packet_pacing_caps); in mlx5_ib_query_device() 1116 resp.response_length += in mlx5_ib_query_device() 1121 resp.response_length += sizeof(resp.flags); in mlx5_ib_query_device() [all …]
|
H A D | qp.c | 4388 resp->response_length = sizeof(*resp); in __mlx5_ib_modify_qp() 4569 resp.response_length = (udata->outlen < sizeof(resp)) ? in mlx5_ib_modify_dct() 4594 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_dct() 4757 if (!err && resp.response_length && in mlx5_ib_modify_qp() 4758 udata->outlen >= resp.response_length) in mlx5_ib_modify_qp() 4760 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_qp() 5473 resp.response_length = offsetofend( in mlx5_ib_create_wq() 5474 struct mlx5_ib_create_wq_resp, response_length); in mlx5_ib_create_wq() 5475 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_wq() 5564 resp.response_length = in mlx5_ib_create_rwq_ind_table() [all …]
|
H A D | mr.c | 2212 __u32 response_length; in mlx5_ib_alloc_mw() member 2252 resp.response_length = in mlx5_ib_alloc_mw() 2253 min(offsetofend(typeof(resp), response_length), udata->outlen); in mlx5_ib_alloc_mw() 2254 if (resp.response_length) { in mlx5_ib_alloc_mw() 2255 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_alloc_mw()
|
/openbmc/u-boot/cmd/ |
H A D | tpm-v1.c | 265 size_t count, response_length = sizeof(response); in do_tpm_raw_transfer() local 278 rc = tpm_xfer(dev, command, count, response, &response_length); in do_tpm_raw_transfer() 282 print_byte_string(response, response_length); in do_tpm_raw_transfer()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 492 put_unaligned_le32(resp_size, ¶meters->response_length); in pqi_build_csmi_smp_passthru_buffer() 507 le32_to_cpu(smp_buf->parameters.response_length)); in pqi_build_sas_smp_handler_reply()
|
H A D | smartpqi.h | 1624 u8 response_length; member 1647 __le32 response_length; member
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 463 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_query_device() 464 sizeof(resp.response_length); in mlx4_ib_query_device() 581 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) { in mlx4_ib_query_device() 582 resp.response_length += sizeof(resp.hca_core_clock_offset); in mlx4_ib_query_device() 589 if (uhw->outlen >= resp.response_length + in mlx4_ib_query_device() 591 resp.response_length += sizeof(resp.max_inl_recv_sz); in mlx4_ib_query_device() 616 resp.response_length = offsetof(typeof(resp), rss_caps) + in mlx4_ib_query_device() 630 resp.response_length = offsetof(typeof(resp), tso_caps) + in mlx4_ib_query_device() 635 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
|
H A D | qp.c | 4374 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_create_rwq_ind_table() 4375 sizeof(resp.response_length); in mlx4_ib_create_rwq_ind_table() 4376 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx4_ib_create_rwq_ind_table()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 923 size_t response_length, in efx_ptp_process_times() argument 927 MCDI_VAR_ARRAY_LEN(response_length, in efx_ptp_process_times() 1029 size_t response_length; in efx_ptp_synchronize() local 1068 &response_length); in efx_ptp_synchronize() 1070 rc = efx_ptp_process_times(efx, synch_buf, response_length, in efx_ptp_synchronize()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 904 size_t response_length, in efx_ptp_process_times() argument 908 MCDI_VAR_ARRAY_LEN(response_length, in efx_ptp_process_times() 1010 size_t response_length; in efx_ptp_synchronize() local 1049 &response_length); in efx_ptp_synchronize() 1051 rc = efx_ptp_process_times(efx, synch_buf, response_length, in efx_ptp_synchronize()
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | scu_task_context.h | 366 u32 response_length:8; member
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 1067 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_cq() 1479 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_qp() 1935 .response_length = uverbs_response_length(attrs, sizeof(resp)) in ib_uverbs_ex_modify_qp() 2955 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_wq() 2984 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_destroy_wq() 3143 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_rwq_ind_table() 3649 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_query_device() 3787 response_length), 3820 response_length), 3942 response_length), [all …]
|
/openbmc/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 326 u8 response_length; member 1250 u8 response_length; member 1544 u8 response_length; member
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 101 u8 response_length; member 2503 u8 response_length; member 2760 u8 response_length; member
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be_cmds.h | 267 u32 response_length; /* dword 2 */ member
|