Searched refs:ring_buff_p (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam_ring_buff.c | 67 ring_buff_t *ring_buff_p; local 72 ring_buff_p = (ring_buff_t *)kmem_alloc(num_bytes, KM_SLEEP); 74 ring_buff_p->num_buffs = num_buffs; 75 ring_buff_p->buff_num_bytes = buff_num_bytes; 76 ring_buff_p->write_ptr_pos = 0; 77 ring_buff_p->num_read_ptrs = 0; 78 ring_buff_p->read_ptr_incr_val = 1; 81 ring_buff_p->read_ptr_pos[i] = (size_t)-1; 86 ring_buff_p->buff_info_array_p = 91 buff_info_p = &(ring_buff_p 156 ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p) argument 190 ring_buff_read_ptr_add(ring_buff_t *ring_buff_p) argument 214 ring_buff_read_ptr_remove(ring_buff_t *ring_buff_p, int read_ptr_id) argument 229 ring_buff_read_ptr_buff_get(ring_buff_t *ring_buff_p, int read_ptr_id) argument 245 ring_buff_read_ptr_pos_get(ring_buff_t *ring_buff_p, int read_ptr_id) argument 255 ring_buff_read_ptr_incr(ring_buff_t *ring_buff_p, int read_ptr_id) argument 332 ring_buff_write_ptr_pos_get(ring_buff_t *ring_buff_p) argument 342 ring_buff_write_ptr_incr(ring_buff_t *ring_buff_p) argument [all...] |
H A D | dcam_frame.c | 184 if ((softc_p->ring_buff_p = ring_buff_create(softc_p, 189 softc_p->ring_buff_p->read_ptr_pos[0] = 0; 217 for (frame = 0; frame < softc_p->ring_buff_p->num_buffs; frame++) { 219 buff_info_p = &(softc_p->ring_buff_p->buff_info_array_p[frame]); 513 ring_buff_free(softc_p, softc_p->ring_buff_p); 545 ring_buff_t *ring_buff_p; local 560 if ((ring_buff_p = softc_p->ring_buff_p) == NULL) { 566 write_ptr_pos = ring_buff_write_ptr_pos_get(ring_buff_p); 572 ring_buff_p [all...] |
H A D | dcam.c | 694 ring_buff_t *ring_buff_p; local 708 if ((ring_buff_p = softc_p->ring_buff_p) == NULL) { 722 read_ptr_pos = ring_buff_read_ptr_pos_get(ring_buff_p, 725 write_ptr_pos = ring_buff_write_ptr_pos_get(ring_buff_p); 733 read_ptr_pos = ring_buff_p->num_buffs - 1; 744 &(ring_buff_p->buff_info_array_p[read_ptr_pos]); 842 ring_buff_read_ptr_incr(ring_buff_p, read_ptr_id); 994 if (softc_p->ring_buff_p == NULL) { 1002 for (i = 0; i < softc_p->ring_buff_p [all...] |
H A D | dcam_param.c | 1029 if (softc_p->ring_buff_p == NULL) { 1035 read_pos = ring_buff_read_ptr_pos_get(softc_p->ring_buff_p, 0); 1036 write_pos = ring_buff_write_ptr_pos_get(softc_p->ring_buff_p); 1041 *val_p = (softc_p->ring_buff_p->num_buffs + write_pos) - 1058 if (softc_p->ring_buff_p == NULL) { 1062 *val_p = softc_p->ring_buff_p->read_ptr_incr_val; 1074 if (softc_p->ring_buff_p == NULL) { 1078 softc_p->ring_buff_p->read_ptr_incr_val = val;
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam.h | 115 ring_buff_t *ring_buff_p; member in struct:dcam_state_s 158 void ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p); 159 int ring_buff_reader_add(ring_buff_t *ring_buff_p); 160 int ring_buff_reader_remove(ring_buff_t *ring_buff_p, int reader_id); 161 buff_info_t *ring_buff_read_ptr_buff_get(ring_buff_t *ring_buff_p, int 163 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); 165 size_t ring_buff_write_ptr_pos_get(ring_buff_t *ring_buff_p); 166 void ring_buff_write_ptr_incr(ring_buff_t *ring_buff_p);
|
Completed in 114 milliseconds