Home
last modified time | relevance | path

Searched refs:response_buf (Results 1 – 23 of 23) sorted by relevance

/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.c36 uint8_t* response_buf, uint16_t response_code, in ncsi_build_response_header() argument
39 memcpy(response_buf, request_buf, sizeof(ncsi_header_t)); in ncsi_build_response_header()
40 ncsi_simple_response_t* response = (ncsi_simple_response_t*)response_buf; in ncsi_build_response_header()
51 uint8_t* response_buf) { in ncsi_build_simple_ack() argument
54 request_buf, response_buf, 0, 0, in ncsi_build_simple_ack()
61 uint8_t* response_buf, uint16_t response_code, in ncsi_build_simple_nack() argument
64 request_buf, response_buf, response_code, reason_code, in ncsi_build_simple_nack()
71 uint8_t* response_buf, uint32_t response_size) { in ncsi_build_oem_ack() argument
73 request_buf, response_buf, 0, 0, in ncsi_build_oem_ack()
78 (ncsi_oem_simple_response_t*)response_buf; in ncsi_build_oem_ack()
[all …]
H A Dncsi_server.h48 uint8_t* response_buf, uint16_t response_code,
63 uint8_t* response_buf);
79 uint8_t* response_buf, uint16_t response_code,
95 uint8_t* response_buf,
112 uint8_t* response_buf,
127 uint8_t* response_buf);
141 uint8_t* response_buf);
156 uint8_t* response_buf,
174 uint8_t* response_buf,
182 const uint8_t* request_buf, uint8_t* response_buf,
[all …]
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnic_mock.cpp85 ncsi_buf_t* response_buf) in handle_request() argument
97 std::memcpy(response_buf, &request_buf, sizeof(request_buf)); in handle_request()
106 ncsi_build_simple_ack(request_buf.data, response_buf->data); in handle_request()
115 request_buf.data, response_buf->data, &version_); in handle_request()
125 std::memcpy(response_buf->data, &response, in handle_request()
133 request_buf.data, response_buf->data, &stats_legacy_); in handle_request()
138 request_buf.data, response_buf->data, &stats_); in handle_request()
143 request_buf.data, response_buf->data, &link_status_); in handle_request()
146 response_size = handle_oem_request(request_buf, response_buf); in handle_request()
150 request_buf.data, response_buf->data, 1, 1); in handle_request()
[all …]
H A Dnic_mock.h178 ncsi_buf_t* response_buf);
210 ncsi_buf_t* response_buf);
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp5.c203 u8 response_buf[CY_MAX_INPUT]; member
464 size = get_unaligned_le16(&ts->response_buf[0]); in cyttsp5_validate_cmd_response()
468 report_id = ts->response_buf[HID_OUTPUT_RESPONSE_REPORT_OFFSET]; in cyttsp5_validate_cmd_response()
472 if (ts->response_buf[4] != HID_OUTPUT_BL_SOP) { in cyttsp5_validate_cmd_response()
477 if (ts->response_buf[size - 1] != HID_OUTPUT_BL_EOP) { in cyttsp5_validate_cmd_response()
482 crc = crc_itu_t(0xFFFF, &ts->response_buf[4], size - 7); in cyttsp5_validate_cmd_response()
483 if (get_unaligned_le16(&ts->response_buf[size - 3]) != crc) { in cyttsp5_validate_cmd_response()
490 status = ts->response_buf[5]; in cyttsp5_validate_cmd_response()
499 command_code = ts->response_buf[HID_OUTPUT_RESPONSE_CMD_OFFSET] in cyttsp5_validate_cmd_response()
516 unsigned int btns = ts->response_buf[HID_SYSINFO_BTN_OFFSET] & in cyttsp5_si_get_btn_data()
[all …]
/openbmc/linux/fs/smb/server/
H A Dksmbd_work.h37 void *response_buf; member
101 return work->response_buf + work->next_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_next()
110 return work->response_buf + work->curr_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_curr()
H A Dksmbd_work.c48 kvfree(work->response_buf); in ksmbd_free_work_struct()
139 work->iov[work->iov_idx].iov_base = work->response_buf; in __ksmbd_iov_pin_rsp()
172 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, GFP_KERNEL); in allocate_interim_rsp_buf()
173 if (!work->response_buf) in allocate_interim_rsp_buf()
H A Dsmb_common.c323 struct smb_hdr *rsp_hdr = (struct smb_hdr *)work->response_buf; in init_smb1_rsp_hdr()
360 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, in smb1_allocate_rsp_buf()
364 if (!work->response_buf) { in smb1_allocate_rsp_buf()
575 struct smb_negotiate_rsp *neg_rsp = work->response_buf; in smb_handle_negotiate()
H A Dsmb2pdu.c49 *rsp = smb2_get_msg(work->response_buf); in __wbuf()
147 err_rsp = smb2_get_msg(work->response_buf); in smb2_set_err_rsp()
197 struct smb2_hdr *hdr = smb2_get_msg(work->response_buf); in is_smb2_rsp()
236 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
259 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
273 rsp = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
397 len = get_rfc1002_len(work->response_buf) - work->next_smb2_rsp_hdr_off; in init_chained_smb2_rsp()
402 inc_rfc1001_len(work->response_buf, new_len - len); in init_chained_smb2_rsp()
464 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
478 len = ALIGN(get_rfc1002_len(work->response_buf), in is_chained_smb2_message()
[all...]
H A Doplock.c652 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
666 rsp = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
756 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_lease_break_noti()
770 rsp = smb2_get_msg(work->response_buf); in __smb2_lease_break_noti()
H A Dconnection.c215 if (!work->response_buf) { in ksmbd_conn_write()
H A Dserver.c98 rsp_hdr = work->response_buf; in check_conn_state()
/openbmc/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c126 u8 *response_buf; member
317 priv->response_buf = val; in bno055_ser_read_reg()
323 priv->response_buf = NULL; in bno055_ser_read_reg()
460 if (priv->response_buf && in bno055_ser_receive_buf()
470 memcpy(priv->response_buf + priv->rx.databuf_count, in bno055_ser_receive_buf()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.h306 u32 *response_buf, u32 response_buf_size) in intel_guc_send_and_receive() argument
309 response_buf, response_buf_size, 0); in intel_guc_send_and_receive()
390 u32 *response_buf, u32 response_buf_size);
H A Dintel_guc_ct.c93 u32 *response_buf; member
687 u32 *response_buf, in ct_send() argument
702 GEM_BUG_ON(!response_buf && response_buf_size); in ct_send()
738 request.response_buf = response_buf; in ct_send()
781 if (response_buf) { in ct_send()
808 u32 *response_buf, u32 response_buf_size, u32 flags) in intel_guc_ct_send() argument
827 ret = ct_send(ct, action, len, response_buf, response_buf_size, &status); in intel_guc_ct_send()
1046 memcpy(req->response_buf, data, 4 * datalen); in ct_handle_response()
H A Dintel_guc.c470 u32 *response_buf, u32 response_buf_size) in intel_guc_send_mmio() argument
551 if (response_buf) { in intel_guc_send_mmio()
556 response_buf[0] = header; in intel_guc_send_mmio()
559 response_buf[i] = intel_uncore_read(uncore, in intel_guc_send_mmio()
H A Dintel_guc_ct.h132 u32 *response_buf, u32 response_buf_size, u32 flags);
/openbmc/linux/drivers/soundwire/
H A Dcadence_master.c572 if (!(cdns->response_buf[i] & CDNS_MCP_RESP_ACK)) { in cdns_fill_msg_resp()
576 if (cdns->response_buf[i] & CDNS_MCP_RESP_NACK) { in cdns_fill_msg_resp()
596 cdns->response_buf[i]); in cdns_fill_msg_resp()
608 BUILD_BUG_ON(ARRAY_SIZE(cdns->response_buf) < CDNS_MCP_CMD_LEN + 2); in cdns_read_response()
612 if (num_resp > ARRAY_SIZE(cdns->response_buf)) { in cdns_read_response()
614 num_resp = ARRAY_SIZE(cdns->response_buf); in cdns_read_response()
620 cdns->response_buf[i] = cdns_ip_readl(cdns, cmd_base); in cdns_read_response()
715 if (!(cdns->response_buf[i] & CDNS_MCP_RESP_ACK)) { in cdns_program_scp_addr()
718 if (cdns->response_buf[i] & CDNS_MCP_RESP_NACK) { in cdns_program_scp_addr()
H A Dcadence_master.h134 u32 response_buf[CDNS_MCP_IP_MAX_CMD_LEN + 2]; member
H A Damd_manager.c240 u64 response_buf[2] = {0}; in amd_program_scp_addr() local
249 response_buf[0] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
253 response_buf[1] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
256 if (response_buf[index] == -ETIMEDOUT) { in amd_program_scp_addr()
261 } else if (!(response_buf[index] & AMD_SDW_MCP_RESP_ACK)) { in amd_program_scp_addr()
262 if (response_buf[index] & AMD_SDW_MCP_RESP_NACK) { in amd_program_scp_addr()
/openbmc/libpldm/tests/oem/ibm/
H A Dhost.cpp96 EXPECT_THAT(response_buf, testing::ElementsAreArray( in TEST()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c35 u8 response_buf[256]; member
/openbmc/linux/fs/smb/client/
H A Dcifssmb.c263 void **request_buf, void **response_buf) in __smb_init() argument
274 if (response_buf) in __smb_init()
275 *response_buf = *request_buf; in __smb_init()
289 void **request_buf, void **response_buf) in smb_init() argument
297 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
302 void **request_buf, void **response_buf) in smb_init_no_reconnect() argument
312 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()