Home
last modified time | relevance | path

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

/linux-4.4.14/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_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.c245 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()