Lines Matching refs:din_len
123 * @param din_len Maximum size of response in bytes
126 static int prepare_proto3_response_buffer(struct cros_ec_dev *dev, int din_len)
128 int in_bytes = din_len + sizeof(struct ec_host_response);
132 debug("%s: Cannot receive %d bytes\n", __func__, din_len);
147 * @param din_len Maximum size of response in bytes
153 uint8_t **dinp, int din_len)
172 if (rs->data_len > din_len) {
203 uint8_t **dinp, int din_len)
216 in_bytes = prepare_proto3_response_buffer(dev, din_len);
226 return handle_proto3_response(dev, dinp, din_len);
231 uint8_t **dinp, int din_len)
239 dout, dout_len, dinp, din_len);
244 (const uint8_t *)dout, dout_len, dinp, din_len);
259 * @param dinp Response data (may be NULL If din_len=0).
262 * @param din_len Maximum size of response in bytes
267 int din_len)
273 &din, din_len);
302 NULL, 0, &din, din_len);
325 * @param din Response data (may be NULL If din_len=0).
328 * @param din_len Maximum size of response in bytes
333 void *din, int din_len)
338 assert((din_len == 0) || din);
340 &in_buffer, din_len);
347 assert(len <= din_len);