Home
last modified time | relevance | path

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

/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_hwdep.c42 t = (struct snd_efw_transaction *)(efw->pull_ptr); in hwdep_read_resp_buf()
52 (unsigned int)(efw->pull_ptr - efw->resp_buf); 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()
59 if (efw->pull_ptr >= efw->resp_buf + in hwdep_read_resp_buf()
61 efw->pull_ptr -= snd_efw_resp_buf_size; in hwdep_read_resp_buf()
Dfireworks_proc.c185 if (efw->pull_ptr > efw->push_ptr) in proc_read_queues_state()
187 (unsigned int)(efw->pull_ptr - efw->push_ptr); in proc_read_queues_state()
189 consumed = (unsigned int)(efw->push_ptr - efw->pull_ptr); in proc_read_queues_state()
Dfireworks_transaction.c129 if (efw->push_ptr < efw->pull_ptr) in copy_resp_to_buf()
130 capacity = (unsigned int)(efw->pull_ptr - efw->push_ptr); in copy_resp_to_buf()
133 (unsigned int)(efw->push_ptr - efw->pull_ptr); in copy_resp_to_buf()
Dfireworks.h107 u8 *pull_ptr; member
Dfireworks.c245 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()