Searched refs:GSPCA_MAX_FRAMES (Results 1 – 2 of 2) sorted by relevance
44 #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ macro187 struct gspca_frame frame[GSPCA_MAX_FRAMES];193 signed char fr_queue[GSPCA_MAX_FRAMES]; /* frame queue */
486 i = (i + 1) % GSPCA_MAX_FRAMES; in gspca_frame_add()521 if (count >= GSPCA_MAX_FRAMES) in frame_alloc()522 count = GSPCA_MAX_FRAMES - 1; in frame_alloc()1723 if (n == 0 || n >= GSPCA_MAX_FRAMES) in vidioc_s_parm()1890 gspca_dev->fr_o = (i + 1) % GSPCA_MAX_FRAMES; in vidioc_dqbuf()1967 atomic_set(&gspca_dev->fr_q, (i + 1) % GSPCA_MAX_FRAMES); in vidioc_qbuf()