Lines Matching refs:pull_ptr
27 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()
73 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) 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()
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()