Home
last modified time | relevance | path

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

/linux-5.19.10/sound/firewire/fireworks/
Dfireworks_hwdep.c25 unsigned int length, till_end, type; in hwdep_read_resp_buf() local
61 till_end = snd_efw_resp_buf_size - in hwdep_read_resp_buf()
63 till_end = min_t(unsigned int, length, till_end); in hwdep_read_resp_buf()
67 if (copy_to_user(buf, pull_ptr, till_end)) in hwdep_read_resp_buf()
72 pull_ptr += till_end; in hwdep_read_resp_buf()
76 length -= till_end; in hwdep_read_resp_buf()
77 buf += till_end; in hwdep_read_resp_buf()
78 count += till_end; in hwdep_read_resp_buf()
79 remained -= till_end; in hwdep_read_resp_buf()
Dfireworks_transaction.c120 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()