Lines Matching refs:response
23 * EC sends contiguous bytes of response packet on UART AP RX.
40 * struct response_info - Encapsulate EC response related
48 * used to accumulate byte count with response is received
50 * @exp_len: Expected bytes of response from EC including header.
52 * a response is successfully received, or an error number
54 * @wait_queue: Wait queue EC response where the cros_ec sends request
73 * @response: Response info passing between cros_ec_uart_pkt_xfer()
81 struct response_info response;
90 struct response_info *resp = &ec_uart->response;
114 /* Read data_len if we received response header and if exp_len was not read before. */
120 /* If driver received response header and payload from EC, wake up the wait queue. */
134 struct response_info *resp = &ec_uart->response;
143 /* Setup for incoming response */
161 dev_warn(ec_dev->dev, "Timed out waiting for response.\n");
168 dev_warn(ec_dev->dev, "Error response received: %d\n", ret);
198 /* Invalidate response buffer to guard against out of band rx data */
267 init_waitqueue_head(&ec_uart->response.wait_queue);