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.cpp60 unsigned int cur_wr_buf_idx; // Write index within the current write buffer member
175 if ((rbc->cur_wr_buf_idx == rbc->cur_rd_buf_idx) && in rb_write()
178 } else if (rbc->cur_wr_buf_idx < rbc->cur_rd_buf_idx) { in rb_write()
180 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx)) { in rb_write()
184 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
198 } else if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
216 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()
218 rbc->bufs[rbc->wr_buf_no].last_wr_index = rbc->cur_wr_buf_idx; in rb_write()
223 rbc->cur_wr_buf_idx = 0; in rb_write()
245 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx), in rb_write()
[all …]