Searched refs:write_pos (Results 1 – 1 of 1) sorted by relevance
1020 size_t read_pos, write_pos; in param_ring_buff_num_frames_ready_get() local1036 write_pos = ring_buff_write_ptr_pos_get(softc_p->ring_buff_p); in param_ring_buff_num_frames_ready_get()1038 if (read_pos < write_pos) { in param_ring_buff_num_frames_ready_get()1039 *val_p = write_pos - read_pos; in param_ring_buff_num_frames_ready_get()1041 *val_p = (softc_p->ring_buff_p->num_buffs + write_pos) - in param_ring_buff_num_frames_ready_get()