Home
last modified time | relevance | path

Searched refs:till_end (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/sound/firewire/fireworks/
Dfireworks_hwdep.c26 unsigned int length, till_end, type; in hwdep_read_resp_buf() local
51 till_end = snd_efw_resp_buf_size - in hwdep_read_resp_buf()
53 till_end = min_t(unsigned int, length, till_end); in hwdep_read_resp_buf()
55 if (copy_to_user(buf, efw->pull_ptr, till_end)) in hwdep_read_resp_buf()
58 efw->pull_ptr += till_end; in hwdep_read_resp_buf()
63 length -= till_end; in hwdep_read_resp_buf()
64 buf += till_end; in hwdep_read_resp_buf()
65 count += till_end; in hwdep_read_resp_buf()
66 remained -= till_end; in hwdep_read_resp_buf()
Dfireworks_transaction.c121 size_t capacity, till_end; in copy_resp_to_buf() local
143 till_end = snd_efw_resp_buf_size - in copy_resp_to_buf()
145 till_end = min_t(unsigned int, length, till_end); in copy_resp_to_buf()
147 memcpy(efw->push_ptr, data, till_end); in copy_resp_to_buf()
149 efw->push_ptr += till_end; in copy_resp_to_buf()
153 length -= till_end; in copy_resp_to_buf()
154 data += till_end; in copy_resp_to_buf()