Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c190 int read_ptr_id; in ring_buff_read_ptr_add() local
192 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() argument
213 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() argument
231 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() argument
244 return (ring_buff_p->read_ptr_pos[read_ptr_id]); in ring_buff_read_ptr_pos_get()
[all …]
H A Ddcam_frame.c539 int read_ptr_id; in dcam_frame_is_done() local
594 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()
H A Ddcam.c671 int read_ptr_id; in dcam_read() local
692 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()
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h161 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);