Searched refs:pull_ptr (Results 1 – 5 of 5) sorted by relevance
27 u8 *pull_ptr; in hwdep_read_resp_buf() local49 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 …]
184 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()
128 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()
105 u8 *pull_ptr; member
247 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()