Home
last modified time | relevance | path

Searched refs:response_buf (Results 1 – 17 of 17) 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.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.c50 *rsp = smb2_get_msg(work->response_buf); in __wbuf()
148 err_rsp = smb2_get_msg(work->response_buf); in smb2_set_err_rsp()
198 struct smb2_hdr *hdr = smb2_get_msg(work->response_buf); in is_smb2_rsp()
237 rsp_hdr = smb2_get_msg(work->response_buf); in set_smb2_rsp_status()
260 rsp_hdr = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
274 rsp = smb2_get_msg(work->response_buf); in init_smb2_neg_rsp()
398 len = get_rfc1002_len(work->response_buf) - work->next_smb2_rsp_hdr_off; in init_chained_smb2_rsp()
403 inc_rfc1001_len(work->response_buf, new_len - len); in init_chained_smb2_rsp()
465 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
479 len = ALIGN(get_rfc1002_len(work->response_buf), 8); 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()
759 rsp_hdr = smb2_get_msg(work->response_buf); in __smb2_lease_break_noti()
773 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()
/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.h351 u32 *response_buf, u32 response_buf_size) in intel_guc_send_and_receive() argument
354 response_buf, response_buf_size, 0); in intel_guc_send_and_receive()
435 u32 *response_buf, u32 response_buf_size);
H A Dintel_guc_ct.c93 u32 *response_buf; member
714 u32 *response_buf, in ct_send() argument
729 GEM_BUG_ON(!response_buf && response_buf_size); in ct_send()
765 request.response_buf = response_buf; in ct_send()
808 if (response_buf) { in ct_send()
835 u32 *response_buf, u32 response_buf_size, u32 flags) in intel_guc_ct_send() argument
854 ret = ct_send(ct, action, len, response_buf, response_buf_size, &status); in intel_guc_ct_send()
1073 memcpy(req->response_buf, data, 4 * datalen); in ct_handle_response()
H A Dintel_guc.c505 u32 *response_buf, u32 response_buf_size) in intel_guc_send_mmio() argument
586 if (response_buf) { in intel_guc_send_mmio()
591 response_buf[0] = header; in intel_guc_send_mmio()
594 response_buf[i] = intel_uncore_read(uncore, in intel_guc_send_mmio()
H A Dintel_guc_ct.h134 u32 *response_buf, u32 response_buf_size, u32 flags);
/linux/drivers/soundwire/
H A Damd_manager.c222 u64 response_buf[2] = {0}; in amd_program_scp_addr() local
231 response_buf[0] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
235 response_buf[1] = amd_sdw_send_cmd_get_resp(amd_manager, lower_data, upper_data); in amd_program_scp_addr()
238 if (response_buf[index] == -ETIMEDOUT) { in amd_program_scp_addr()
243 } else if (!(response_buf[index] & AMD_SDW_MCP_RESP_ACK)) { in amd_program_scp_addr()
244 if (response_buf[index] & AMD_SDW_MCP_RESP_NACK) { in amd_program_scp_addr()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc.h41 u32 *response_buf);
H A Dxe_guc.c1268 u32 len, u32 *response_buf) in xe_guc_mmio_send_recv() argument
1374 if (response_buf) { in xe_guc_mmio_send_recv()
1375 response_buf[0] = header; in xe_guc_mmio_send_recv()
1379 response_buf[i] = xe_mmio_read32(mmio, reply_reg); in xe_guc_mmio_send_recv()
/linux/fs/smb/client/
H A Dcifssmb.c271 void **request_buf, void **response_buf) in __smb_init() argument
282 if (response_buf) in __smb_init()
283 *response_buf = *request_buf; in __smb_init()
297 void **request_buf, void **response_buf) in smb_init() argument
305 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
310 void **request_buf, void **response_buf) in smb_init_no_reconnect() argument
320 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()