Searched refs:read_ptr_pos (Results 1 – 4 of 4) sorted by relevance
78 ring_buff_p->read_ptr_pos[i] = (size_t)-1; in ring_buff_create()196 if (ring_buff_p->read_ptr_pos[i] == -1) { in ring_buff_read_ptr_add()197 ring_buff_p->read_ptr_pos[i] = 0; in ring_buff_read_ptr_add()213 ring_buff_p->read_ptr_pos[read_ptr_id] = (size_t)-1; in ring_buff_read_ptr_remove()228 size_t read_ptr_pos; in ring_buff_read_ptr_buff_get() local231 read_ptr_pos = ring_buff_p->read_ptr_pos[read_ptr_id]; in ring_buff_read_ptr_buff_get()232 buff_info_p = &(ring_buff_p->buff_info_array_p[read_ptr_pos]); in ring_buff_read_ptr_buff_get()244 return (ring_buff_p->read_ptr_pos[read_ptr_id]); in ring_buff_read_ptr_pos_get()254 size_t read_ptr_pos; in ring_buff_read_ptr_incr() local265 read_ptr_pos = ring_buff_p->read_ptr_pos[read_ptr_id]; in ring_buff_read_ptr_incr()[all …]
672 size_t read_ptr_pos, write_ptr_pos; in dcam_read() local702 read_ptr_pos = ring_buff_read_ptr_pos_get(ring_buff_p, in dcam_read()707 if (read_ptr_pos != write_ptr_pos) { in dcam_read()713 read_ptr_pos = ring_buff_p->num_buffs - 1; in dcam_read()715 read_ptr_pos = write_ptr_pos - 1; in dcam_read()724 &(ring_buff_p->buff_info_array_p[read_ptr_pos]); in dcam_read()983 softc_p->ring_buff_p->read_ptr_pos[i] = in dcam_ioctl()1047 size_t read_ptr_pos, write_ptr_pos; in dcam_chpoll() local1050 read_ptr_pos = in dcam_chpoll()1056 if ((events & POLLRDNORM) && read_ptr_pos != write_ptr_pos) { in dcam_chpoll()
186 softc_p->ring_buff_p->read_ptr_pos[0] = 0; in dcam_frame_rcv_init()
92 size_t read_ptr_pos[MAX_NUM_READ_PTRS]; member