Searched refs:response (Results 101 - 125 of 360) sorted by path

1234567891011>>

/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Dcmd_v2.c283 if (RESP_STATUS(xfer[0].response) != RESP_SUCCESS) {
287 if (RESP_STATUS(xfer[1].response) != RESP_SUCCESS) {
H A Dcore.c247 RESP_DATA_LENGTH(xfer[i].response);
248 switch (RESP_STATUS(xfer[i].response)) {
358 i3c_xfers[i].len = RESP_DATA_LENGTH(xfer[i].response);
359 if (RESP_STATUS(xfer[i].response) != RESP_SUCCESS) {
411 if (RESP_STATUS(xfer[i].response) != RESP_SUCCESS) {
H A Ddma.c522 xfer->response = resp;
525 "response tid=%d when expecting %d\n",
H A Dhci.h75 u32 response; member in struct:hci_xfer
H A Dpio.c187 * or one available response or IBI. For IBI data let's use half the
262 /* trailing data is retrieved upon response reception */
487 "response tid=%d when expecting %d\n",
493 xfer->response = resp;
504 expected = RESP_DATA_LENGTH(xfer->response);
531 DBG("PIO xfer count = %d after response",
571 * Then queue our response request. This will also process
572 * the response FIFO in case it got suddenly filled up
669 p->response = FIELD_PREP(RESP_ERR_FIELD, RESP_ERR_HC_TERMINATED);
674 p->response
[all...]
/linux-master/drivers/iio/chemical/
H A Dscd30.h45 void *response, int size);
H A Dscd30_i2c.c67 void *response, int size)
70 char *rsp = response;
66 scd30_i2c_command(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, void *response, int size) argument
H A Dscd30_serial.c82 void *response, int size)
87 * receiving a request device should reply with response.
100 * SCD30_SERDEV_READ and response looks like the one below. As with
111 char *rsp = response;
81 scd30_serdev_command(struct scd30_state *state, enum scd30_cmd cmd, u16 arg, void *response, int size) argument
H A Dscd4x.c132 void *response, int response_sz)
136 char *rsp = response;
221 uint16_t arg, void *response, int response_sz)
225 char *rsp = response;
131 scd4x_read(struct scd4x_state *state, enum scd4x_cmd cmd, void *response, int response_sz) argument
220 scd4x_write_and_fetch(struct scd4x_state *state, enum scd4x_cmd cmd, uint16_t arg, void *response, int response_sz) argument
/linux-master/drivers/infiniband/core/
H A Dmad.c493 * Canceling all sends results in dropping received response
622 * a request or the ending LID routed part of a response is empty.
1121 /* Reference for work request to QP + response */
1699 /* is request/response. */
1753 * It's possible to receive the response before we've
1837 /* Defined behavior is to complete response before request */
1861 struct ib_mad_private *response)
1889 memcpy(response, recv, mad_priv_size(response));
1890 response
1856 handle_ib_smi(const struct ib_mad_port_private *port_priv, const struct ib_mad_qp_info *qp_info, const struct ib_wc *wc, u32 port_num, struct ib_mad_private *recv, struct ib_mad_private *response) argument
1907 generate_unmatched_resp(const struct ib_mad_private *recv, struct ib_mad_private *response, size_t *resp_len, bool opa) argument
1943 handle_opa_smi(struct ib_mad_port_private *port_priv, struct ib_mad_qp_info *qp_info, struct ib_wc *wc, u32 port_num, struct ib_mad_private *recv, struct ib_mad_private *response) argument
1999 handle_smi(struct ib_mad_port_private *port_priv, struct ib_mad_qp_info *qp_info, struct ib_wc *wc, u32 port_num, struct ib_mad_private *recv, struct ib_mad_private *response, bool opa) argument
2024 struct ib_mad_private *recv, *response = NULL; local
[all...]
H A Ducma.c401 if (copy_to_user(u64_to_user_ptr(cmd.response),
471 if (copy_to_user(u64_to_user_ptr(cmd.response),
617 if (copy_to_user(u64_to_user_ptr(cmd.response),
861 if (copy_to_user(u64_to_user_ptr(cmd.response), &resp,
883 void __user *response, int out_len)
904 if (copy_to_user(response, &resp, min_t(size_t, out_len, sizeof(resp))))
911 void __user *response, int out_len)
942 if (copy_to_user(response, resp, struct_size(resp, path_data, i)))
950 void __user *response, int out_len)
989 if (copy_to_user(response,
882 ucma_query_addr(struct ucma_context *ctx, void __user *response, int out_len) argument
910 ucma_query_path(struct ucma_context *ctx, void __user *response, int out_len) argument
949 ucma_query_gid(struct ucma_context *ctx, void __user *response, int out_len) argument
1001 void __user *response; local
[all...]
H A Duverbs_cmd.c51 * Copy a response to userspace. If the provided 'resp' is larger than the
112 * this to detect what structure members in the response the kernel
3481 xcmd.response = cmd.response;
3683 * the 'response' u64 must be the first field in the request structure.
3685 * If udata is present then both the request and response structs have a
3691 BUILD_BUG_ON_ZERO(offsetof(req, response) != 0) + \
3692 BUILD_BUG_ON_ZERO(sizeof_field(req, response) != \
H A Duverbs_main.c527 if (ex_hdr->response) {
534 if (!access_ok(u64_to_user_ptr(ex_hdr->response),
620 u64 response = 0; local
639 * with a '__aligned u64 response' member.
641 ret = get_user(response, (const u64 __user *)buf);
651 u64_to_user_ptr(response +
662 &bundle.ucore, buf, u64_to_user_ptr(response),
668 u64_to_user_ptr(ex_hdr.response),
673 u64_to_user_ptr(ex_hdr.response) + bundle.ucore.outlen,
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_dev_api.h175 PVRDMA_INTR_VECTOR_RESPONSE, /* Command response. */
380 u64 response; /* Key for response lookup. */ member in struct:pvrdma_cmd_hdr
386 u64 response; /* From cmd hdr. */ member in struct:pvrdma_cmd_resp_hdr
/linux-master/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c271 * @mad: Datagram that will be sent as response to DM_ATTR_CLASS_PORT_INFO.
291 * @mad: Datagram that will be sent as response to DM_ATTR_IOU_INFO.
318 * @mad: Datagram that will be sent as response to DM_ATTR_IOC_PROFILE.
381 * @mad: Datagram that will be sent as response to DM_ATTR_SVC_ENTRIES.
421 * @rsp_mad: response MAD.
1356 * srpt_build_cmd_rsp - build a SRP_RSP response
1358 * @ioctx: I/O context associated with the SRP_CMD request. The response will
1361 * @tag: tag of the request for which this response is being generated.
1364 * Returns the size in bytes of the SRP_RSP response.
1366 * An SRP_RSP response contain
[all...]
/linux-master/drivers/input/joystick/
H A Dpsxpad-spi.c35 /* PlayStation 1/2 joypad command and response are LSBFIRST. */
72 u8 response[sizeof(PSX_CMD_POLL)] ____cacheline_aligned;
79 .rx_buf = pad->response,
226 switch (pad->response[1]) {
229 b_rsp3 = ~pad->response[3];
230 b_rsp4 = ~pad->response[4];
232 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7]));
233 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8]));
234 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5]));
235 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[
[all...]
/linux-master/drivers/input/misc/
H A Dariel-pwrbutton.c16 #define RESP_COUNTER(response) (response.header & 0x3)
17 #define RESP_SIZE(response) ((response.header >> 2) & 0x3)
18 #define RESP_TYPE(response) ((response.header >> 4) & 0xf)
33 struct ec_input_response *response)
39 .rx_buf = response,
43 compiletime_assert(sizeof(read_request) == sizeof(*response),
44 "SPI xfer request/response siz
32 ec_input_read(struct ariel_pwrbutton *priv, struct ec_input_response *response) argument
53 struct ec_input_response response; local
97 struct ec_input_response response; local
[all...]
/linux-master/drivers/input/mouse/
H A Dvmmouse.c345 u32 response, version, dummy1, dummy2; local
354 response = ~VMMOUSE_PROTO_MAGIC;
355 VMMOUSE_CMD(GETVERSION, 0, version, response, dummy1, dummy2);
356 if (response != VMMOUSE_PROTO_MAGIC || version == 0xffffffffU)
/linux-master/drivers/input/serio/
H A Dhyperv-keyboard.c94 /* Synchronize the request/response if needed */
120 "Illegal protocol response packet (len: %d)\n",
258 struct synth_kbd_protocol_response *response; local
280 response = &kbd_dev->protocol_resp;
281 proto_status = __le32_to_cpu(response->proto_status);
/linux-master/drivers/input/touchscreen/
H A Delo.c61 unsigned char response[ELO10_PACKET_LEN]; member in struct:elo
109 memcpy(elo->response, &elo->data[1], ELO10_PACKET_LEN);
249 memcpy(packet, elo->response, ELO10_PACKET_LEN);
H A Dexc3000.c226 u8 request_len, u8 *response, int timeout)
243 if (response) {
256 memcpy(response, &data->buf[4], data->buf[3]);
271 u8 response[EXC3000_LEN_FRAME]; local
276 (u8[]){0x39, 0x02}, 2, response, 1);
285 if (response[2] || response[3])
286 return sprintf(buf, "%d.%d\n", response[2], response[3]);
288 ret = exc3000_vendor_data_request(data, (u8[]){'D'}, 1, response,
225 exc3000_vendor_data_request(struct exc3000_data *data, u8 *request, u8 request_len, u8 *response, int timeout) argument
301 u8 response[EXC3000_LEN_FRAME]; local
317 u8 response[EXC3000_LEN_FRAME]; local
419 u8 response[EXC3000_LEN_FRAME]; local
[all...]
H A Dwacom_w8001.c92 unsigned char response[W8001_MAX_LENGTH]; member in struct:w8001
335 memcpy(w8001->response, w8001->data, W8001_MAX_LENGTH);
443 parse_pen_data(w8001->response, &coord);
479 if (!w8001->response[1])
487 parse_touchquery(w8001->response, &touch);
/linux-master/drivers/mailbox/
H A Dmailbox-mpfs.c70 struct mpfs_mss_response *response; member in struct:mpfs_mbox
86 struct mpfs_mss_response *response = mbox->response; local
99 response->resp_status = (val & SCB_STATUS_MASK) >> SCB_STATUS_POS;
112 mbox->response = msg->response;
154 struct mpfs_mss_response *response = mbox->response; local
155 u16 num_words = ALIGN((response->resp_size), (4)) / 4U;
158 if (!response
[all...]
/linux-master/drivers/media/cec/platform/cros-ec/
H A Dcros-ec-cec.c103 struct ec_response_cec_read response; local
107 sizeof(params), &response, sizeof(response));
114 cros_ec_cec_received_message(port, response.msg, response.msg_len);
374 struct ec_response_cec_port_count response; local
378 0, &response, sizeof(response));
388 if (response.port_count == 0) {
394 if (response
410 struct ec_response_get_cmd_versions response; local
[all...]
/linux-master/drivers/media/cec/usb/pulse8/
H A Dpulse8-cec.c234 u8 response, u8 size)
254 if (response &&
255 ((pulse8->data[0] & 0x3f) != response || pulse8->len < size + 1)) {
265 const u8 *cmd, u8 cmd_len, u8 response, u8 size)
270 err = pulse8_send_and_wait_once(pulse8, cmd, cmd_len, response, size);
280 response, size);
232 pulse8_send_and_wait_once(struct pulse8 *pulse8, const u8 *cmd, u8 cmd_len, u8 response, u8 size) argument
264 pulse8_send_and_wait(struct pulse8 *pulse8, const u8 *cmd, u8 cmd_len, u8 response, u8 size) argument

Completed in 284 milliseconds

1234567891011>>