Home
last modified time | relevance | path

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

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp59 unsigned int cur_wr_buf_idx; // Write index within the current write buffer member
174 if ((rbc->cur_wr_buf_idx == rbc->cur_rd_buf_idx) && in rb_write()
177 } else if (rbc->cur_wr_buf_idx < rbc->cur_rd_buf_idx) { in rb_write()
179 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx)) { in rb_write()
183 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
197 } else if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
215 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
217 rbc->bufs[rbc->wr_buf_no].last_wr_index = rbc->cur_wr_buf_idx; in rb_write()
222 rbc->cur_wr_buf_idx = 0; in rb_write()
244 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx), in rb_write()
[all …]