Lines Matching refs:length
119 copy_resp_to_buf(struct snd_efw *efw, void *data, size_t length, int *rcode) in copy_resp_to_buf() argument
127 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); in copy_resp_to_buf()
136 if (capacity < length) { in copy_resp_to_buf()
142 while (length > 0) { in copy_resp_to_buf()
145 till_end = min_t(unsigned int, length, till_end); in copy_resp_to_buf()
153 length -= till_end; in copy_resp_to_buf()
168 void *data, size_t length, int *rcode) in handle_resp_for_user() argument
193 copy_resp_to_buf(efw, data, length, rcode); in handle_resp_for_user()
200 void *data, size_t length, int *rcode, u32 seqnum) in handle_resp_for_kernel() argument
218 t->size = min_t(unsigned int, length, t->size); in handle_resp_for_kernel()
231 void *data, size_t length, void *callback_data) in efw_response() argument
237 if (length < sizeof(struct snd_efw_transaction)) { in efw_response()
248 data, length, &rcode, seqnum); in efw_response()
251 data, length, &dummy); in efw_response()
254 data, length, &rcode); in efw_response()
307 .length = SND_EFW_RESPONSE_MAXIMUM_BYTES,