linux/drivers/media/pci/ivtv/ivtv-irq.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* interrupt handling
    Copyright (C) 2003-2004  Kevin Thayer <nufan_wfk at yahoo.com>
    Copyright (C) 2004  Chris Kennedy <[email protected]>
    Copyright (C) 2005-2007  Hans Verkuil <[email protected]>

 */

#include "ivtv-driver.h"
#include "ivtv-queue.h"
#include "ivtv-udma.h"
#include "ivtv-irq.h"
#include "ivtv-mailbox.h"
#include "ivtv-vbi.h"
#include "ivtv-yuv.h"
#include <media/v4l2-event.h>

#define DMA_MAGIC_COOKIE

static void ivtv_dma_dec_start(struct ivtv_stream *s);

static const int ivtv_stream_map[] =;

static void ivtv_pcm_work_handler(struct ivtv *itv)
{}

static void ivtv_pio_work_handler(struct ivtv *itv)
{}

void ivtv_irq_work_handler(struct kthread_work *work)
{}

/* Determine the required DMA size, setup enough buffers in the predma queue and
   actually copy the data from the card to the buffers in case a PIO transfer is
   required for this stream.
 */
static int stream_enc_dma_append(struct ivtv_stream *s, u32 data[CX2341X_MBOX_MAX_DATA])
{}

static void dma_post(struct ivtv_stream *s)
{}

void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock)
{}

static void ivtv_dma_enc_start_xfer(struct ivtv_stream *s)
{}

static void ivtv_dma_dec_start_xfer(struct ivtv_stream *s)
{}

/* start the encoder DMA */
static void ivtv_dma_enc_start(struct ivtv_stream *s)
{}

static void ivtv_dma_dec_start(struct ivtv_stream *s)
{}

static void ivtv_irq_dma_read(struct ivtv *itv)
{}

static void ivtv_irq_enc_dma_complete(struct ivtv *itv)
{}

static void ivtv_irq_enc_pio_complete(struct ivtv *itv)
{}

static void ivtv_irq_dma_err(struct ivtv *itv)
{}

static void ivtv_irq_enc_start_cap(struct ivtv *itv)
{}

static void ivtv_irq_enc_vbi_cap(struct ivtv *itv)
{}

static void ivtv_irq_dec_vbi_reinsert(struct ivtv *itv)
{}

static void ivtv_irq_dec_data_req(struct ivtv *itv)
{}

static void ivtv_irq_vsync(struct ivtv *itv)
{}

#define IVTV_IRQ_DMA

irqreturn_t ivtv_irq_handler(int irq, void *dev_id)
{}

void ivtv_unfinished_dma(struct timer_list *t)
{}