Searched refs:num_buffs (Results 1 – 5 of 5) sorted by relevance
58 ring_buff_create(dcam_state_t *softc_p, size_t num_buffs, in ring_buff_create() argument71 ring_buff_p->num_buffs = num_buffs; in ring_buff_create()81 num_bytes = num_buffs * sizeof (buff_info_t); in ring_buff_create()86 for (buff = 0; buff < num_buffs; buff++) { in ring_buff_create()164 for (i = 0; i < ring_buff_p->num_buffs; i++) { in ring_buff_free()174 ring_buff_p->num_buffs * sizeof (buff_info_t)); in ring_buff_free()268 (read_ptr_pos + 1) % ring_buff_p->num_buffs; in ring_buff_read_ptr_incr()285 ring_buff_p->num_buffs; in ring_buff_read_ptr_incr()303 lwp = ring_buff_p->num_buffs + in ring_buff_read_ptr_incr()311 ring_buff_p->num_buffs; in ring_buff_read_ptr_incr()[all …]
214 for (frame = 0; frame < softc_p->ring_buff_p->num_buffs; frame++) { in dcam_frame_rcv_init()
713 read_ptr_pos = ring_buff_p->num_buffs - 1; in dcam_read()
1038 *val_p = (softc_p->ring_buff_p->num_buffs + write_pos) - in param_ring_buff_num_frames_ready_get()
87 size_t num_buffs; member154 ring_buff_t *ring_buff_create(dcam_state_t *softc_p, size_t num_buffs,