Searched refs:response (Results 26 - 50 of 359) sorted by relevance

1234567891011>>

/linux-master/drivers/input/touchscreen/
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...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol.c15 struct ipc_rsp *response)
20 /* Store reference towards caller specified response in response ring
24 ipc_protocol->rsp_ring[index] = response;
40 send_args->response);
43 /* Remove reference to a response. This is typically used when a requestor timed
44 * out and is no longer interested in the response.
61 struct ipc_rsp response; local
72 response.status = IPC_MEM_MSG_CS_INVALID;
73 init_completion(&response
12 ipc_protocol_tq_msg_send(struct iosm_protocol *ipc_protocol, enum ipc_msg_prep_type msg_type, union ipc_msg_prep_args *prep_args, struct ipc_rsp *response) argument
[all...]
H A Diosm_ipc_protocol.h133 * @response: Can be NULL if result can be ignored
138 struct ipc_rsp *response; member in struct:ipc_call_msg_send_args
147 * @response: Pointer to a response object which has a
155 struct ipc_rsp *response);
158 * ipc_protocol_msg_send - Send ipc control message to CP and wait for response
/linux-master/drivers/staging/greybus/
H A Di2c.c43 struct gb_i2c_functionality_response response; local
49 NULL, 0, &response, sizeof(response));
53 functionality = le32_to_cpu(response.functionality);
147 struct gb_i2c_transfer_response *response)
153 if (!response)
155 data = response->data;
191 struct gb_i2c_transfer_response *response; local
193 response = operation->response
146 gb_i2c_decode_response(struct i2c_msg *msgs, u32 msg_count, struct gb_i2c_transfer_response *response) argument
[all...]
H A Dbootrom.c113 struct gb_bootrom_get_vid_pid_response response; local
122 NULL, 0, &response, sizeof(response));
136 intf->vendor_id = le32_to_cpu(response.vendor_id);
137 intf->product_id = le32_to_cpu(response.product_id);
216 dev_err(dev, "%s: error allocating response\n", __func__);
222 size_response = op->response->payload;
285 dev_err(dev, "%s: error allocating response\n", __func__);
290 firmware_response = op->response->payload;
379 struct gb_bootrom_version_response response; local
[all...]
H A Dspilib.c299 struct gb_spi_transfer_response *response)
302 void *rx_data = response->data;
332 struct gb_spi_transfer_response *response; local
358 response = operation->response->payload;
359 if (response)
360 gb_spi_decode_response(spi, msg, response);
417 struct gb_spi_master_config_response response; local
422 NULL, 0, &response, sizeof(response));
297 gb_spi_decode_response(struct gb_spilib *spi, struct spi_message *msg, struct gb_spi_transfer_response *response) argument
445 struct gb_spi_device_config_response response; local
[all...]
/linux-master/drivers/hid/intel-ish-hid/
H A Dishtp-fw-loader.c100 * @command: LOADER_CMD* commands. Bit 7 is the response.
102 * @status: Command response status. Non 0, is error
177 * struct response_info - Encapsulate firmware response related
188 * response to host command
191 * for response
217 * Used for passing firmware response information between
220 struct response_info response; member in struct:ishtp_cl_data
299 client_data->response.data = in_msg;
300 client_data->response.max_size = in_size;
301 client_data->response
[all...]
/linux-master/drivers/platform/chrome/
H A Dcros_ec_ishtp.c88 * struct response_info - Encapsulate firmware response related
97 * @token: Expected token for response that we are waiting on.
98 * @received: Set to true on receiving a valid firmware response to host command
99 * @wait_queue: Wait queue for host to wait for firmware response.
116 * @response: Response info passing between ish_send() and process_recv().
128 * Used for passing firmware response information between
131 struct response_info response; member in struct:ishtp_cl_data
176 /* Setup for incoming response */
177 client_data->response.data = in_msg;
178 client_data->response
[all...]
H A Dcros_ec_rpmsg.c26 * HOST_EVENT_MARK, representing that the message is a response to
83 struct ec_host_response *response; local
110 /* check response error code */
111 response = (struct ec_host_response *)ec_dev->din;
112 ec_msg->result = response->result;
118 if (response->data_len > ec_msg->insize) {
120 response->data_len, ec_msg->insize);
125 /* copy response packet payload and compute checksum */
126 memcpy(ec_msg->data, ec_dev->din + sizeof(*response),
127 response
[all...]
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.c22 /* Get response with status within a max of 10000 ms timeout */
24 (cmd_resp.response.response == 0 &&
25 cmd_resp.response.cmd_id == cmd_id && (sid == 0xff ||
26 cmd_resp.response.sensor_id == sid)), 500, 10000000))
27 return cmd_resp.response.response;
76 .response = amd_sfh_wait_response,
/linux-master/drivers/s390/cio/
H A Dchsc.c44 * chsc_error_from_response() - convert a chsc response to an error
45 * @response: chsc response code
47 * Returns an appropriate Linux error code for @response.
49 int chsc_error_from_response(int response) argument
51 switch (response) {
88 struct chsc_header response; member in struct:chsc_ssd_area
122 /* Check response. */
127 ret = chsc_error_from_response(ssd_area->response.code);
131 ssd_area->response
331 struct chsc_header response; member in struct:chsc_sei
868 struct chsc_header response; member in struct:__anon33
1034 struct chsc_header response; member in struct:__anon34
1168 struct chsc_header response; member in struct:__anon35
1223 struct chsc_header response; member in struct:__anon37
1267 struct chsc_header response; member in struct:__anon38
1294 struct chsc_header response; member in struct:__anon39
1315 struct chsc_header response; member in struct:__anon40
1338 struct chsc_header response; member in struct:__anon41
1452 struct chsc_header response; member in struct:__anon42
1499 struct chsc_header response; member in struct:chsc_scud
[all...]
H A Dchsc_sch.c438 struct chsc_header response; member in struct:__anon1604
467 if (scpcd_area->response.code != 0x0001) {
469 CHSC_MSG(0, "scpcd: response code=%x\n",
470 scpcd_area->response.code);
473 memcpy(&cd->cpcb, &scpcd_area->response, scpcd_area->response.length);
500 struct chsc_header response; member in struct:__anon1605
529 if (scucd_area->response.code != 0x0001) {
531 CHSC_MSG(0, "scucd: response code=%x\n",
532 scucd_area->response
563 struct chsc_header response; member in struct:__anon1606
625 struct chsc_header response; member in struct:__anon1607
683 struct chsc_header response; member in struct:__anon1608
796 struct chsc_header response; member in struct:__anon1611
[all...]
/linux-master/drivers/firmware/microchip/
H A Dmpfs-auto-update.c165 struct mpfs_mss_response *response; local
175 response = devm_kzalloc(priv->dev, sizeof(struct mpfs_mss_response), GFP_KERNEL);
176 if (!response) {
191 * This service has no command data and no response data. It overloads
195 response->resp_msg = response_msg;
196 response->resp_size = AUTO_UPDATE_AUTHENTICATE_RESP_SIZE;
199 message->response = response;
206 if (ret | response->resp_status) {
215 devm_kfree(priv->dev, response);
382 struct mpfs_mss_response *response; local
[all...]
/linux-master/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c288 u32 response[GUC_HXG_RESPONSE_MSG_MIN_LEN]; local
298 response, ARRAY_SIZE(response));
300 KUNIT_EXPECT_EQ(test, FIELD_GET(GUC_HXG_MSG_0_ORIGIN, response[0]),
302 KUNIT_EXPECT_EQ(test, FIELD_GET(GUC_HXG_MSG_0_TYPE, response[0]),
304 KUNIT_EXPECT_EQ(test, FIELD_GET(GUC_HXG_RESPONSE_MSG_0_DATA0, response[0]), 0);
317 u32 response[ARRAY_SIZE(request)]; local
328 response, ARRAY_SIZE(response));
329 KUNIT_ASSERT_EQ(test, ret, ARRAY_SIZE(response));
349 u32 response[GUC_HXG_RESPONSE_MSG_MIN_LEN]; local
373 u32 response[GUC_HXG_RESPONSE_MSG_MIN_LEN]; local
398 u32 response[GUC_HXG_RESPONSE_MSG_MIN_LEN]; local
[all...]
/linux-master/drivers/char/hw_random/
H A Dmpfs-rng.c34 struct mpfs_mss_response response = { local
42 .response = &response,
/linux-master/sound/firewire/
H A Dfcp.h30 void *response, unsigned int response_size,
/linux-master/include/uapi/linux/mmc/
H A Dioctl.h20 __u32 response[4]; /* CMD response */ member in struct:mmc_ioc_cmd
/linux-master/include/soc/microchip/
H A Dmpfs.h23 struct mpfs_mss_response *response; member in struct:mpfs_mss_msg
/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/include/uapi/rdma/
H A Drdma_user_cm.h92 __aligned_u64 response; member in struct:rdma_ucm_create_id
103 __aligned_u64 response; member in struct:rdma_ucm_destroy_id
113 __aligned_u64 response; member in struct:rdma_ucm_bind_ip
154 __aligned_u64 response; member in struct:rdma_ucm_query
251 __aligned_u64 response; member in struct:rdma_ucm_init_qp_attr
262 __aligned_u64 response; /* rdma_ucm_create_id_resp */ member in struct:rdma_ucm_join_ip_mcast
276 __aligned_u64 response; /* rdma_ucma_create_id_resp */ member in struct:rdma_ucm_join_mcast
285 __aligned_u64 response; member in struct:rdma_ucm_get_event
332 __aligned_u64 response; member in struct:rdma_ucm_migrate_id
/linux-master/drivers/hid/
H A Dhid-thrustmaster.c79 * This structs contains (in little endian) the response data
123 struct tm_wheel_response *response; member in struct:tm_wheel
224 if (tm_wheel->response->type == cpu_to_le16(0x49))
225 model = le16_to_cpu(tm_wheel->response->data.a.model);
226 else if (tm_wheel->response->type == cpu_to_le16(0x47))
227 model = le16_to_cpu(tm_wheel->response->data.b.model);
229 hid_err(hdev, "Unknown packet type 0x%x, unable to proceed further with wheel init\n", tm_wheel->response->type);
250 NULL, 0, // We do not expect any response from the wheel
267 kfree(tm_wheel->response);
322 tm_wheel->response
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-tegra-bpmp.c127 struct mrq_i2c_response *response,
131 size_t size = response->xfer.data_size, len = 0, pos = 0;
132 char *buf = response->xfer.data_buf;
176 struct mrq_i2c_response *response,
189 msg.rx.data = response;
190 msg.rx.size = sizeof(*response);
230 struct mrq_i2c_response response; local
241 memset(&response, 0, sizeof(response));
244 err = tegra_bpmp_i2c_msg_xfer(i2c, &request, &response, atomi
126 tegra_bpmp_i2c_deserialize(struct tegra_bpmp_i2c *i2c, struct mrq_i2c_response *response, struct i2c_msg *msgs, unsigned int num) argument
174 tegra_bpmp_i2c_msg_xfer(struct tegra_bpmp_i2c *i2c, struct mrq_i2c_request *request, struct mrq_i2c_response *response, bool atomic) argument
[all...]
/linux-master/fs/smb/client/
H A Dsmbdirect.c20 struct smbd_response *response);
25 struct smbd_connection *info, struct smbd_response *response);
28 struct smbd_response *response, int data_length);
34 struct smbd_response *response);
266 static inline void *smbd_response_payload(struct smbd_response *response) argument
268 return (void *)response->packet;
312 * Process a negotiation response message, according to [MS-SMBD]3.1.5.7
313 * response, packet_length: the negotiation response message
317 struct smbd_response *response, in
316 process_negotiation_response( struct smbd_response *response, int packet_length) argument
391 struct smbd_response *response; local
451 struct smbd_response *response = local
1007 smbd_post_recv( struct smbd_connection *info, struct smbd_response *response) argument
1044 struct smbd_response *response = get_receive_buffer(info); local
1077 put_empty_packet( struct smbd_connection *info, struct smbd_response *response) argument
1098 enqueue_reassembly( struct smbd_connection *info, struct smbd_response *response, int data_length) argument
1186 put_receive_buffer( struct smbd_connection *info, struct smbd_response *response) argument
1207 struct smbd_response *response; local
1251 struct smbd_response *response; local
1291 struct smbd_response *response; local
1738 struct smbd_response *response; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dpci_clp.h37 /* request or response block header length */
40 /* Number of function handles fitting in response block */
78 /* List PCI functions response */
109 /* Query PCI function response */
150 /* Query PCI function group response */
185 /* Set PCI function response */
194 /* Combined request/response block structures used by clp insn */
197 struct clp_rsp_slpc_pci response; member in struct:clp_req_rsp_slpc_pci
202 struct clp_rsp_list_pci response; member in struct:clp_req_rsp_list_pci
207 struct clp_rsp_set_pci response; member in struct:clp_req_rsp_set_pci
212 struct clp_rsp_query_pci response; member in struct:clp_req_rsp_query_pci
217 struct clp_rsp_query_pci_grp response; member in struct:clp_req_rsp_query_pci_grp
[all...]
/linux-master/drivers/memory/
H A Dbrcmstb_dpfe.c382 static void __iomem *get_msg_ptr(struct brcmstb_dpfe_priv *priv, u32 response, argument
393 msg_type = (response >> DRAM_MSG_TYPE_OFFSET) & DRAM_MSG_TYPE_MASK;
394 offset = (response >> DRAM_MSG_ADDR_OFFSET) & DRAM_MSG_ADDR_MASK;
411 response);
478 /* Read response code */
489 /* Read response data */
503 /* Verify response */
636 u32 response[MSG_FIELD_MAX]; local
638 ret = __send_command(priv, DPFE_CMD_GET_INFO, response);
698 static ssize_t generic_show(unsigned int command, u32 response[], argument
716 u32 response[MSG_FIELD_MAX]; local
738 u32 response[MSG_FIELD_MAX]; local
772 u32 response[MSG_FIELD_MAX]; local
798 u32 response[MSG_FIELD_MAX]; local
829 u32 response[MSG_FIELD_MAX]; local
[all...]

Completed in 403 milliseconds

1234567891011>>