Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_param.c1020 size_t read_pos, write_pos; in param_ring_buff_num_frames_ready_get() local
1036 write_pos = ring_buff_write_ptr_pos_get(softc_p->ring_buff_p); in param_ring_buff_num_frames_ready_get()
1038 if (read_pos < write_pos) { in param_ring_buff_num_frames_ready_get()
1039 *val_p = write_pos - read_pos; in param_ring_buff_num_frames_ready_get()
1041 *val_p = (softc_p->ring_buff_p->num_buffs + write_pos) - in param_ring_buff_num_frames_ready_get()