Lines Matching refs:pull_ptr
27 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()
72 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) 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()
143 queued = efw->push_ptr != efw->pull_ptr; in hwdep_read()
195 if (efw->dev_lock_changed || efw->pull_ptr != efw->push_ptr) in hwdep_poll()