Home
last modified time | relevance | path

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

/linux/drivers/input/touchscreen/
H A Dcyttsp5.c202 u8 response_buf[CY_MAX_INPUT]; member
463 size = get_unaligned_le16(&ts->response_buf[0]); in cyttsp5_validate_cmd_response()
467 report_id = ts->response_buf[HID_OUTPUT_RESPONSE_REPORT_OFFSET]; in cyttsp5_validate_cmd_response()
471 if (ts->response_buf[4] != HID_OUTPUT_BL_SOP) { in cyttsp5_validate_cmd_response()
476 if (ts->response_buf[size - 1] != HID_OUTPUT_BL_EOP) { in cyttsp5_validate_cmd_response()
481 crc = crc_itu_t(0xFFFF, &ts->response_buf[4], size - 7); in cyttsp5_validate_cmd_response()
482 if (get_unaligned_le16(&ts->response_buf[size - 3]) != crc) { in cyttsp5_validate_cmd_response()
489 status = ts->response_buf[5]; in cyttsp5_validate_cmd_response()
498 command_code = ts->response_buf[HID_OUTPUT_RESPONSE_CMD_OFFSET] in cyttsp5_validate_cmd_response()
515 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.h40 void *response_buf; member
129 return work->response_buf + work->next_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_next()
138 return work->response_buf + work->curr_smb2_rsp_hdr_off + 4; in ksmbd_resp_buf_curr()
H A Dksmbd_work.c74 kvfree(work->response_buf); in ksmbd_free_work_struct()
158 work->iov[work->iov_idx].iov_base = work->response_buf; in __ksmbd_iov_pin_rsp()
191 work->response_buf = kzalloc(MAX_CIFS_SMALL_BUFFER_SIZE, KSMBD_DEFAULT_GFP); in allocate_interim_rsp_buf()
192 if (!work->response_buf) in allocate_interim_rsp_buf()
H A Dsmb2pdu.c57 *rsp = smb_get_msg(work->response_buf); in __wbuf()
195 err_rsp = smb_get_msg(work->response_buf); in smb2_set_err_rsp()
245 struct smb2_hdr *hdr = smb_get_msg(work->response_buf); in is_smb2_rsp()
291 rsp_hdr = smb_get_msg(work->response_buf); in set_smb2_rsp_status()
314 rsp_hdr = smb_get_msg(work->response_buf); in init_smb2_neg_rsp()
328 rsp = smb_get_msg(work->response_buf); in init_smb2_neg_rsp()
522 len = get_rfc1002_len(work->response_buf) - work->next_smb2_rsp_hdr_off; in init_chained_smb2_rsp()
527 inc_rfc1001_len(work->response_buf, new_len - len); in init_chained_smb2_rsp()
605 if ((u64)get_rfc1002_len(work->response_buf) + MAX_CIFS_SMALL_BUFFER_SIZE > in is_chained_smb2_message()
619 len = ALIGN(get_rfc1002_len(work->response_buf), 8); in is_chained_smb2_message()
[all …]
H A Doplock.c882 rsp_hdr = smb_get_msg(work->response_buf); in __smb2_oplock_break_noti()
896 rsp = smb_get_msg(work->response_buf); in __smb2_oplock_break_noti()
996 rsp_hdr = smb_get_msg(work->response_buf); in __smb2_lease_break_noti()
1010 rsp = smb_get_msg(work->response_buf); in __smb2_lease_break_noti()
/linux/drivers/iio/imu/bno055/
H A Dbno055_ser_core.c125 u8 *response_buf; member
316 priv->response_buf = val; in bno055_ser_read_reg()
322 priv->response_buf = NULL; in bno055_ser_read_reg()
459 if (priv->response_buf && in bno055_ser_receive_buf()
469 memcpy(priv->response_buf + priv->rx.databuf_count, in bno055_ser_receive_buf()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_relay.c181 u32 response_buf[GUC_CTB_MAX_DWORDS]; member
245 prepare_pf2guc(incoming ? txn->response_buf : txn->request_buf, remote, rid) : in __relay_get_transaction()
246 prepare_vf2guc(incoming ? txn->response_buf : txn->request_buf, rid); in __relay_get_transaction()
250 relay_assert(relay, txn->offset + GUC_RELAY_MSG_MAX_LEN <= ARRAY_SIZE(txn->response_buf)); in __relay_get_transaction()
256 txn->response = resp ?: txn->response_buf + txn->offset; in __relay_get_transaction()
294 u32 *buf = txn->incoming ? txn->response_buf : txn->request_buf; in relay_send_transaction()
737 txn->response_buf + txn->offset, in relay_process_incoming_action()
738 ARRAY_SIZE(txn->response_buf) - txn->offset); in relay_process_incoming_action()
742 ret = guc_hxg_msg_encode_busy(txn->response_buf + txn->offset, 0); in relay_process_incoming_action()
757 txn->response_len = prepare_error_reply(txn->response_buf + txn->offset, in relay_process_incoming_action()
/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.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.c281 void **request_buf, void **response_buf) in __smb_init() argument
294 if (response_buf) in __smb_init()
295 *response_buf = *request_buf; in __smb_init()
309 void **request_buf, void **response_buf) in smb_init() argument
317 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init()
322 void **request_buf, void **response_buf) in smb_init_no_reconnect() argument
332 return __smb_init(smb_command, wct, tcon, request_buf, response_buf); in smb_init_no_reconnect()