Searched refs:read_ptr_id (Results 1 – 4 of 4) sorted by relevance
190 int read_ptr_id; in ring_buff_read_ptr_add() local192 read_ptr_id = -1; in ring_buff_read_ptr_add()198 read_ptr_id = i; in ring_buff_read_ptr_add()203 return (read_ptr_id); in ring_buff_read_ptr_add()211 ring_buff_read_ptr_remove(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_remove() argument213 ring_buff_p->read_ptr_pos[read_ptr_id] = (size_t)-1; in ring_buff_read_ptr_remove()226 ring_buff_read_ptr_buff_get(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_buff_get() argument231 read_ptr_pos = ring_buff_p->read_ptr_pos[read_ptr_id]; in ring_buff_read_ptr_buff_get()242 ring_buff_read_ptr_pos_get(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_pos_get() argument244 return (ring_buff_p->read_ptr_pos[read_ptr_id]); in ring_buff_read_ptr_pos_get()[all …]
539 int read_ptr_id; in dcam_frame_is_done() local594 for (read_ptr_id = 0; read_ptr_id < num_read_ptrs; read_ptr_id++) { in dcam_frame_is_done()602 ring_buff_read_ptr_pos_get(ring_buff_p, read_ptr_id)) && in dcam_frame_is_done()606 ring_buff_read_ptr_incr(ring_buff_p, read_ptr_id); in dcam_frame_is_done()612 if (softc_p->reader_flags[read_ptr_id] & in dcam_frame_is_done()619 softc_p->reader_flags[read_ptr_id] |= in dcam_frame_is_done()
671 int read_ptr_id; in dcam_read() local692 read_ptr_id = 0; in dcam_read()696 softc_p->reader_flags[read_ptr_id] |= DCAM1394_FLAG_READ_REQ_PROC; in dcam_read()703 read_ptr_id); in dcam_read()798 read_req_invalid = softc_p->reader_flags[read_ptr_id] & in dcam_read()801 softc_p->reader_flags[read_ptr_id] &= in dcam_read()819 softc_p->reader_flags[read_ptr_id] &= ~(DCAM1394_FLAG_READ_REQ_PROC); in dcam_read()822 ring_buff_read_ptr_incr(ring_buff_p, read_ptr_id); in dcam_read()
161 size_t ring_buff_read_ptr_pos_get(ring_buff_t *ring_buff_p, int read_ptr_id);162 void ring_buff_read_ptr_incr(ring_buff_t *ring_buff_p, int read_ptr_id);