Home
last modified time | relevance | path

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

/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_hwdep.c27 u8 *pull_ptr; in hwdep_read_resp_buf() local
49 pull_ptr = efw->pull_ptr; in hwdep_read_resp_buf()
51 while (efw->push_ptr != pull_ptr) { in hwdep_read_resp_buf()
52 t = (struct snd_efw_transaction *)(pull_ptr); in hwdep_read_resp_buf()
62 (unsigned int)(pull_ptr - efw->resp_buf); 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()
74 pull_ptr -= snd_efw_resp_buf_size; in hwdep_read_resp_buf()
91 efw->pull_ptr = pull_ptr; in hwdep_read_resp_buf()
133 queued = efw->push_ptr != efw->pull_ptr; in hwdep_read()
[all …]
H 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()
H 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()
H A Dfireworks.h105 u8 *pull_ptr; member
H A Dfireworks.c247 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()