Searched refs:IVTV_MAX_STREAMS (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-irq.c77 if (itv->cur_pio_stream < 0 || itv->cur_pio_stream >= IVTV_MAX_STREAMS || ivtv_pio_work_handler()
657 if (itv->cur_pio_stream < 0 || itv->cur_pio_stream >= IVTV_MAX_STREAMS) { ivtv_irq_enc_pio_complete()
705 itv->cur_dma_stream >= 0 && itv->cur_dma_stream < IVTV_MAX_STREAMS) { ivtv_irq_dma_err()
1032 for (i = 0; i < IVTV_MAX_STREAMS; i++) { ivtv_irq_handler()
1033 int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS; ivtv_irq_handler()
1045 if (i == IVTV_MAX_STREAMS && ivtv_irq_handler()
1052 for (i = 0; i < IVTV_MAX_STREAMS; i++) { ivtv_irq_handler()
1053 int idx = (i + itv->irq_rr_idx) % IVTV_MAX_STREAMS; ivtv_irq_handler()
H A Divtv-streams.c257 for (type = 0; type < IVTV_MAX_STREAMS; type++) { ivtv_streams_setup()
269 if (type == IVTV_MAX_STREAMS) ivtv_streams_setup()
333 for (type = 0; type < IVTV_MAX_STREAMS; type++) ivtv_streams_register()
350 for (type = 0; type < IVTV_MAX_STREAMS; type++) { ivtv_streams_cleanup()
765 for (i = IVTV_MAX_STREAMS - 1; i >= 0; i--) { ivtv_stop_all_captures()
H A Divtv-driver.h93 #define IVTV_MAX_STREAMS 9 macro
191 int kilobytes[IVTV_MAX_STREAMS]; /* size in kilobytes of each stream */
668 int stream_buf_size[IVTV_MAX_STREAMS]; /* stream buffer size */
669 struct ivtv_stream streams[IVTV_MAX_STREAMS]; /* stream data */
H A Divtv-ioctl.c1589 for (i = 0; i < IVTV_MAX_STREAMS; i++) { ivtv_log_status()

Completed in 146 milliseconds