Home
last modified time | relevance | path

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

/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.c54 request_buf, response_buf, 0, 0, in ncsi_build_simple_ack()
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()
88 request_buf, response_buf, 0, 0, in ncsi_build_version_id_ack()
99 ncsi_build_oem_ack(request_buf, response_buf, in ncsi_build_oem_get_mac_ack()
108 ncsi_build_oem_ack(request_buf, response_buf, in ncsi_build_oem_simple_ack()
116 (ncsi_oem_echo_response_t*)response_buf; in ncsi_build_oem_echo_ack()
121 ncsi_build_oem_ack(request_buf, response_buf, in ncsi_build_oem_echo_ack()
143 request_buf, response_buf, 0, 0, in ncsi_build_pt_stats_ack()
156 request_buf, response_buf, 0, 0, in ncsi_build_pt_stats_legacy_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 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()
150 request_buf.data, response_buf->data, 1, 1); in handle_request()
155 response_buf->len = response_size; in handle_request()
161 ncsi_buf_t* response_buf) in handle_oem_request() argument
170 request_buf.data, response_buf->data, &mac_); in handle_oem_request()
185 request_buf.data, response_buf->data, 3, 4); in handle_oem_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()
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()
490 status = ts->response_buf[5]; in cyttsp5_validate_cmd_response()
527 &ts->response_buf[HID_SYSINFO_SENSING_OFFSET]; in cyttsp5_get_sysinfo_regs()
599 if (ts->response_buf[2] != HID_RESPONSE_REPORT_ID || in cyttsp5_power_control()
600 (ts->response_buf[3] & 0x03) != state || in cyttsp5_power_control()
670 memcpy(desc, ts->response_buf, sizeof(*desc)); in cyttsp5_get_hid_descriptor()
724 memcpy(ts->response_buf, ts->input_buf, size); in cyttsp5_handle_irq()
[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()
571 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()
145 err_rsp = smb2_get_msg(work->response_buf); in smb2_set_err_rsp()
234 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
257 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
271 rsp = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
481 inc_rfc1001_len(work->response_buf, len); in is_chained_smb2_message()
555 if (!work->response_buf) in smb2_allocate_rsp_buf()
5177 work->response_buf); in smb2_get_info_file()
5275 rsp, work->response_buf); in smb2_get_info_file()
5488 rsp, work->response_buf); in smb2_get_info_filesystem()
[all …]
H A Doplock.c666 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
680 rsp = smb2_get_msg(work->response_buf); in __smb2_oplock_break_noti()
770 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_lease_break_noti()
784 rsp = smb2_get_msg(work->response_buf); in __smb2_lease_break_noti()
H A Dconnection.c178 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_ct.h132 u32 *response_buf, u32 response_buf_size, u32 flags);
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()
/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.h132 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/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()