Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c193 int read_ptr_id; in ring_buff_read_ptr_add() local
195 read_ptr_id = -1; in ring_buff_read_ptr_add()
201 read_ptr_id = i; in ring_buff_read_ptr_add()
206 return (read_ptr_id); in ring_buff_read_ptr_add()
214 ring_buff_read_ptr_remove(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_remove() argument
216 ring_buff_p->read_ptr_pos[read_ptr_id] = (size_t)-1; in ring_buff_read_ptr_remove()
229 ring_buff_read_ptr_buff_get(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_buff_get() argument
234 read_ptr_pos = ring_buff_p->read_ptr_pos[read_ptr_id]; in ring_buff_read_ptr_buff_get()
245 ring_buff_read_ptr_pos_get(ring_buff_t *ring_buff_p, int read_ptr_id) in ring_buff_read_ptr_pos_get() argument
247 return (ring_buff_p->read_ptr_pos[read_ptr_id]); in ring_buff_read_ptr_pos_get()
[all …]
H A Ddcam_frame.c542 int read_ptr_id; in dcam_frame_is_done() local
597 for (read_ptr_id = 0; read_ptr_id < num_read_ptrs; read_ptr_id++) { in dcam_frame_is_done()
605 ring_buff_read_ptr_pos_get(ring_buff_p, read_ptr_id)) && in dcam_frame_is_done()
609 ring_buff_read_ptr_incr(ring_buff_p, read_ptr_id); in dcam_frame_is_done()
615 if (softc_p->reader_flags[read_ptr_id] & in dcam_frame_is_done()
622 softc_p->reader_flags[read_ptr_id] |= in dcam_frame_is_done()
H A Ddcam.c691 int read_ptr_id; in dcam_read() local
712 read_ptr_id = 0; in dcam_read()
716 softc_p->reader_flags[read_ptr_id] |= DCAM1394_FLAG_READ_REQ_PROC; in dcam_read()
723 read_ptr_id); in dcam_read()
818 read_req_invalid = softc_p->reader_flags[read_ptr_id] & in dcam_read()
821 softc_p->reader_flags[read_ptr_id] &= in dcam_read()
839 softc_p->reader_flags[read_ptr_id] &= ~(DCAM1394_FLAG_READ_REQ_PROC); in dcam_read()
842 ring_buff_read_ptr_incr(ring_buff_p, read_ptr_id); in dcam_read()
1052 int instance, ring_buff_has_data, read_ptr_id; in dcam_chpoll() local
1063 read_ptr_id = 0; in dcam_chpoll()
[all …]
/titanic_41/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h163 size_t ring_buff_read_ptr_pos_get(ring_buff_t *ring_buff_p, int read_ptr_id);
164 void ring_buff_read_ptr_incr(ring_buff_t *ring_buff_p, int read_ptr_id);