linux/drivers/media/pci/cx25821/cx25821-core.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  Driver for the Conexant CX25821 PCIe bridge
 *
 *  Copyright (C) 2009 Conexant Systems Inc.
 *  Authors  <[email protected]>, <[email protected]>
 *  Based on Steven Toth <[email protected]> cx23885 driver
 */

#define pr_fmt(fmt)

#include <linux/i2c.h>
#include <linux/slab.h>
#include "cx25821.h"
#include "cx25821-sram.h"
#include "cx25821-video.h"

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();

static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC();

static unsigned int card[] =;
module_param_array();
MODULE_PARM_DESC();

const struct sram_channel cx25821_sram_channels[] =;
EXPORT_SYMBOL();

static int cx25821_risc_decode(u32 risc)
{}

static void cx25821_registers_init(struct cx25821_dev *dev)
{}

int cx25821_sram_channel_setup(struct cx25821_dev *dev,
			       const struct sram_channel *ch,
			       unsigned int bpl, u32 risc)
{}

int cx25821_sram_channel_setup_audio(struct cx25821_dev *dev,
				     const struct sram_channel *ch,
				     unsigned int bpl, u32 risc)
{}
EXPORT_SYMBOL();

void cx25821_sram_channel_dump(struct cx25821_dev *dev, const struct sram_channel *ch)
{}

void cx25821_sram_channel_dump_audio(struct cx25821_dev *dev,
				     const struct sram_channel *ch)
{}
EXPORT_SYMBOL();

static void cx25821_shutdown(struct cx25821_dev *dev)
{}

void cx25821_set_pixel_format(struct cx25821_dev *dev, int channel_select,
			      u32 format)
{}

static void cx25821_set_vip_mode(struct cx25821_dev *dev,
				 const struct sram_channel *ch)
{}

static void cx25821_initialize(struct cx25821_dev *dev)
{}

static int cx25821_get_resources(struct cx25821_dev *dev)
{}

static void cx25821_dev_checkrevision(struct cx25821_dev *dev)
{}

static void cx25821_iounmap(struct cx25821_dev *dev)
{}

static int cx25821_dev_setup(struct cx25821_dev *dev)
{}

void cx25821_dev_unregister(struct cx25821_dev *dev)
{}
EXPORT_SYMBOL();

int cx25821_riscmem_alloc(struct pci_dev *pci,
		       struct cx25821_riscmem *risc,
		       unsigned int size)
{}
EXPORT_SYMBOL();

static __le32 *cx25821_risc_field(__le32 * rp, struct scatterlist *sglist,
				  unsigned int offset, u32 sync_line,
				  unsigned int bpl, unsigned int padding,
				  unsigned int lines, bool jump)
{}

int cx25821_risc_buffer(struct pci_dev *pci, struct cx25821_riscmem *risc,
			struct scatterlist *sglist, unsigned int top_offset,
			unsigned int bottom_offset, unsigned int bpl,
			unsigned int padding, unsigned int lines)
{}

static __le32 *cx25821_risc_field_audio(__le32 * rp, struct scatterlist *sglist,
					unsigned int offset, u32 sync_line,
					unsigned int bpl, unsigned int padding,
					unsigned int lines, unsigned int lpi)
{}

int cx25821_risc_databuffer_audio(struct pci_dev *pci,
				  struct cx25821_riscmem *risc,
				  struct scatterlist *sglist,
				  unsigned int bpl,
				  unsigned int lines, unsigned int lpi)
{}
EXPORT_SYMBOL();

void cx25821_free_buffer(struct cx25821_dev *dev, struct cx25821_buffer *buf)
{}

static irqreturn_t cx25821_irq(int irq, void *dev_id)
{}

void cx25821_print_irqbits(char *name, char *tag, char **strings,
			   int len, u32 bits, u32 mask)
{}
EXPORT_SYMBOL();

struct cx25821_dev *cx25821_dev_get(struct pci_dev *pci)
{}
EXPORT_SYMBOL();

static int cx25821_initdev(struct pci_dev *pci_dev,
			   const struct pci_device_id *pci_id)
{}

static void cx25821_finidev(struct pci_dev *pci_dev)
{}

static const struct pci_device_id cx25821_pci_tbl[] =;

MODULE_DEVICE_TABLE(pci, cx25821_pci_tbl);

static struct pci_driver cx25821_pci_driver =;

static int __init cx25821_init(void)
{}

static void __exit cx25821_fini(void)
{}

module_init();
module_exit(cx25821_fini);