Home
last modified time | relevance | path

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

/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 …]
/linux/fs/smb/server/
H A Dksmbd_work.h37 void *response_buf; member
100 return work->response_buf + work->next_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_next()
109 return work->response_buf + work->curr_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_curr()
H A Dksmbd_work.c47 kvfree(work->response_buf); in ksmbd_free_work_struct()
136 work->iov[work->iov_idx].iov_base = work->response_buf; in __ksmbd_iov_pin_rsp()
169 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, KSMBD_DEFAULT_GFP); in allocate_interim_rsp_buf()
170 if (!work->response_buf) in allocate_interim_rsp_buf()
H A Dsmb_common.c322 struct smb_hdr *rsp_hdr = (struct smb_hdr *)smb_get_msg(work->response_buf); in init_smb1_rsp_hdr()
359 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, in smb1_allocate_rsp_buf()
363 if (!work->response_buf) { in smb1_allocate_rsp_buf()
575 struct smb_negotiate_rsp *neg_rsp = smb_get_msg(work->response_buf); in smb_handle_negotiate()
H A Dsmb2pdu.c51 *rsp = smb_get_msg(work->response_buf); in __wbuf()
149 err_rsp = smb_get_msg(work->response_buf); in smb2_set_err_rsp()
199 struct smb2_hdr *hdr = smb_get_msg(work->response_buf); in is_smb2_rsp()
238 rsp_hdr = smb_get_msg(work->response_buf); in set_smb2_rsp_status()
261 rsp_hdr = smb_get_msg(work->response_buf); in init_smb2_neg_rsp()
275 rsp = smb_get_msg(work->response_buf); in init_smb2_neg_rsp()
399 len = get_rfc1002_len(work->response_buf) - work->next_smb2_rsp_hdr_off; in init_chained_smb2_rsp()
404 inc_rfc1001_len(work->response_buf, new_len - len); in init_chained_smb2_rsp()
466 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
480 len = ALIGN(get_rfc1002_len(work->response_buf), 8); in is_chained_smb2_message()
[all …]
H A Doplock.c640 rsp_hdr = smb_get_msg(work->response_buf); in __smb2_oplock_break_noti()
654 rsp = smb_get_msg(work->response_buf); in __smb2_oplock_break_noti()
747 rsp_hdr = smb_get_msg(work->response_buf); in __smb2_lease_break_noti()
761 rsp = smb_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 = smb_get_msg(work->response_buf); in check_conn_state()
/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()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c94 u32 *response_buf; member
715 u32 *response_buf, in ct_send() argument
730 GEM_BUG_ON(!response_buf && response_buf_size); in ct_send()
766 request.response_buf = response_buf; in ct_send()
809 if (response_buf) { in ct_send()
836 u32 *response_buf, u32 response_buf_size, u32 flags) in intel_guc_ct_send() argument
855 ret = ct_send(ct, action, len, response_buf, response_buf_size, &status); in intel_guc_ct_send()
1074 memcpy(req->response_buf, data, 4 * datalen); in ct_handle_response()
/linux/drivers/soundwire/
H A Dcadence_master.c573 if (!(cdns->response_buf[i] & CDNS_MCP_RESP_ACK)) { in cdns_fill_msg_resp()
577 if (cdns->response_buf[i] & CDNS_MCP_RESP_NACK) { in cdns_fill_msg_resp()
597 cdns->response_buf[i]); in cdns_fill_msg_resp()
609 BUILD_BUG_ON(ARRAY_SIZE(cdns->response_buf) < CDNS_MCP_CMD_LEN + 2); in cdns_read_response()
613 if (num_resp > ARRAY_SIZE(cdns->response_buf)) { in cdns_read_response()
615 num_resp = ARRAY_SIZE(cdns->response_buf); in cdns_read_response()
621 cdns->response_buf[i] = cdns_ip_readl(cdns, cmd_base); in cdns_read_response()
716 if (!(cdns->response_buf[i] & CDNS_MCP_RESP_ACK)) { in cdns_program_scp_addr()
719 if (cdns->response_buf[i] & CDNS_MCP_RESP_NACK) { in cdns_program_scp_addr()
H A Damd_manager.c273 u64 response_buf[2] = {0}; in amd_program_scp_addr() local
282 response_buf[0] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
286 response_buf[1] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
289 if (response_buf[index] == -ETIMEDOUT) { in amd_program_scp_addr()
294 } else if (!(response_buf[index] & AMD_SDW_MCP_RESP_ACK)) { in amd_program_scp_addr()
295 if (response_buf[index] & AMD_SDW_MCP_RESP_NACK) { in amd_program_scp_addr()
H A Dcadence_master.h135 u32 response_buf[CDNS_MCP_IP_MAX_CMD_LEN + 2]; member
/linux/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c35 u8 response_buf[256]; member
/linux/fs/smb/client/
H A Dcifssmb.c280 void **request_buf, void **response_buf) in __smb_init() argument
293 if (response_buf) in __smb_init()
294 *response_buf = *request_buf; in __smb_init()
308 void **request_buf, void **response_buf) in smb_init() argument
316 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
321 void **request_buf, void **response_buf) in smb_init_no_reconnect() argument
331 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()