Home
last modified time | relevance | path

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

/linux/sound/firewire/fireworks/
A 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()
73 pull_ptr -= snd_efw_resp_buf_size; in hwdep_read_resp_buf()
90 efw->pull_ptr = pull_ptr; in hwdep_read_resp_buf()
132 queued = efw->push_ptr != efw->pull_ptr; in hwdep_read()
[all …]
A 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()
A 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()
A Dfireworks.h105 u8 *pull_ptr; member
A Dfireworks.c247 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()

Completed in 8 milliseconds