Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c78 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() local
231 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() local
265 read_ptr_pos = ring_buff_p->read_ptr_pos[read_ptr_id]; in ring_buff_read_ptr_incr()
[all …]
H A Ddcam.c672 size_t read_ptr_pos, write_ptr_pos; in dcam_read() local
702 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() local
1050 read_ptr_pos = in dcam_chpoll()
1056 if ((events & POLLRDNORM) && read_ptr_pos != write_ptr_pos) { in dcam_chpoll()
H A Ddcam_frame.c186 softc_p->ring_buff_p->read_ptr_pos[0] = 0; in dcam_frame_rcv_init()
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h92 size_t read_ptr_pos[MAX_NUM_READ_PTRS]; member