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

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

Completed in 116 milliseconds