Searched refs:till_end (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/sound/firewire/fireworks/ |
D | fireworks_hwdep.c | 25 unsigned int length, till_end, type; in hwdep_read_resp_buf() local 60 till_end = snd_efw_resp_buf_size - in hwdep_read_resp_buf() 62 till_end = min_t(unsigned int, length, till_end); in hwdep_read_resp_buf() 66 if (copy_to_user(buf, pull_ptr, till_end)) in hwdep_read_resp_buf() 71 pull_ptr += till_end; in hwdep_read_resp_buf() 75 length -= till_end; in hwdep_read_resp_buf() 76 buf += till_end; in hwdep_read_resp_buf() 77 count += till_end; in hwdep_read_resp_buf() 78 remained -= till_end; in hwdep_read_resp_buf()
|
D | fireworks_transaction.c | 120 size_t capacity, till_end; in copy_resp_to_buf() local 142 till_end = snd_efw_resp_buf_size - in copy_resp_to_buf() 144 till_end = min_t(unsigned int, length, till_end); in copy_resp_to_buf() 146 memcpy(efw->push_ptr, data, till_end); in copy_resp_to_buf() 148 efw->push_ptr += till_end; in copy_resp_to_buf() 152 length -= till_end; in copy_resp_to_buf() 153 data += till_end; in copy_resp_to_buf()
|