Home
last modified time | relevance | path

Searched refs:pull_ptr (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/sound/firewire/fireworks/
Dfireworks_hwdep.c27 u8 *pull_ptr; in hwdep_read_resp_buf() local
48 pull_ptr = efw->pull_ptr; in hwdep_read_resp_buf()
50 while (efw->push_ptr != pull_ptr) { in hwdep_read_resp_buf()
51 t = (struct snd_efw_transaction *)(pull_ptr); in hwdep_read_resp_buf()
61 (unsigned int)(pull_ptr - efw->resp_buf); 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()
72 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in hwdep_read_resp_buf()
73 pull_ptr -= snd_efw_resp_buf_size; in hwdep_read_resp_buf()
90 efw->pull_ptr = pull_ptr; in hwdep_read_resp_buf()
[all …]
Dfireworks_proc.c184 if (efw->pull_ptr > efw->push_ptr) in proc_read_queues_state()
186 (unsigned int)(efw->pull_ptr - efw->push_ptr); in proc_read_queues_state()
188 consumed = (unsigned int)(efw->push_ptr - efw->pull_ptr); in proc_read_queues_state()
Dfireworks_transaction.c128 if (efw->push_ptr < efw->pull_ptr) in copy_resp_to_buf()
129 capacity = (unsigned int)(efw->pull_ptr - efw->push_ptr); in copy_resp_to_buf()
132 (unsigned int)(efw->push_ptr - efw->pull_ptr); in copy_resp_to_buf()
Dfireworks.h108 u8 *pull_ptr; member
Dfireworks.c241 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in do_registration()