linux/drivers/misc/cb710/core.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  cb710/core.c
 *
 *  Copyright by Michał Mirosław, 2008-2009
 */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/idr.h>
#include <linux/cb710.h>
#include <linux/gfp.h>

static DEFINE_IDA(cb710_ida);

void cb710_pci_update_config_reg(struct pci_dev *pdev,
	int reg, uint32_t mask, uint32_t xor)
{}
EXPORT_SYMBOL_GPL();

/* Some magic writes based on Windows driver init code */
static int cb710_pci_configure(struct pci_dev *pdev)
{}

static irqreturn_t cb710_irq_handler(int irq, void *data)
{}

static void cb710_release_slot(struct device *dev)
{}

static int cb710_register_slot(struct cb710_chip *chip,
	unsigned slot_mask, unsigned io_offset, const char *name)
{}

static void cb710_unregister_slot(struct cb710_chip *chip,
	unsigned slot_mask)
{}

void cb710_set_irq_handler(struct cb710_slot *slot,
	cb710_irq_handler_t handler)
{}
EXPORT_SYMBOL_GPL();

static int __maybe_unused cb710_suspend(struct device *dev_d)
{}

static int __maybe_unused cb710_resume(struct device *dev_d)
{}

static int cb710_probe(struct pci_dev *pdev,
	const struct pci_device_id *ent)
{}

static void cb710_remove_one(struct pci_dev *pdev)
{}

static const struct pci_device_id cb710_pci_tbl[] =;

static SIMPLE_DEV_PM_OPS(cb710_pm_ops, cb710_suspend, cb710_resume);

static struct pci_driver cb710_driver =;

static int __init cb710_init_module(void)
{}

static void __exit cb710_cleanup_module(void)
{}

module_init();
module_exit(cb710_cleanup_module);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(pci, cb710_pci_tbl);