Home
last modified time | relevance | path

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

/sound/firewire/fireworks/
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()
144 (unsigned int)(efw->push_ptr - efw->resp_buf); in copy_resp_to_buf()
147 memcpy(efw->push_ptr, data, till_end); in copy_resp_to_buf()
149 efw->push_ptr += till_end; in copy_resp_to_buf()
150 if (efw->push_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in copy_resp_to_buf()
151 efw->push_ptr -= snd_efw_resp_buf_size; in copy_resp_to_buf()
Dfireworks_hwdep.c51 while (efw->push_ptr != pull_ptr) { in hwdep_read_resp_buf()
133 queued = efw->push_ptr != efw->pull_ptr; in hwdep_read()
144 queued = efw->push_ptr != efw->pull_ptr; in hwdep_read()
196 if (efw->dev_lock_changed || efw->pull_ptr != efw->push_ptr) in hwdep_poll()
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.h108 u8 *push_ptr; member
Dfireworks.c234 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()