IVTV_MAX_STREAMS
int kilobytes[IVTV_MAX_STREAMS]; /* size in kilobytes of each stream */
int stream_buf_size[IVTV_MAX_STREAMS]; /* stream buffer size */
struct ivtv_stream streams[IVTV_MAX_STREAMS]; /* stream data */
for (i = 0; i < IVTV_MAX_STREAMS; i++) {
for (i = 0; i < IVTV_MAX_STREAMS; i++) {
int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS;
if (i == IVTV_MAX_STREAMS &&
for (i = 0; i < IVTV_MAX_STREAMS; i++) {
int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS;
if (itv->cur_pio_stream < 0 || itv->cur_pio_stream >= IVTV_MAX_STREAMS) {
if (itv->cur_pio_stream < 0 || itv->cur_pio_stream >= IVTV_MAX_STREAMS ||
itv->cur_dma_stream >= 0 && itv->cur_dma_stream < IVTV_MAX_STREAMS) {
for (type = 0; type < IVTV_MAX_STREAMS; type++) {
if (type == IVTV_MAX_STREAMS)
for (type = 0; type < IVTV_MAX_STREAMS; type++)
for (type = 0; type < IVTV_MAX_STREAMS; type++) {
for (i = IVTV_MAX_STREAMS - 1; i >= 0; i--) {