linux/drivers/misc/tifm_7xx1.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 *  tifm_7xx1.c - TI FlashMedia driver
 *
 *  Copyright (C) 2006 Alex Dubov <[email protected]>
 */

#include <linux/tifm.h>
#include <linux/dma-mapping.h>
#include <linux/module.h>

#define DRIVER_NAME
#define DRIVER_VERSION

#define TIFM_IRQ_ENABLE
#define TIFM_IRQ_SOCKMASK(x)
#define TIFM_IRQ_CARDMASK(x)
#define TIFM_IRQ_FIFOMASK(x)
#define TIFM_IRQ_SETALL

static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm,
				  struct tifm_dev *sock)
{}

static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock)
{}

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

static unsigned char tifm_7xx1_toggle_sock_power(char __iomem *sock_addr)
{}

inline static void tifm_7xx1_sock_power_off(char __iomem *sock_addr)
{}

inline static char __iomem *
tifm_7xx1_sock_addr(char __iomem *base_addr, unsigned int sock_num)
{}

static void tifm_7xx1_switch_media(struct work_struct *work)
{}

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

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

static int tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm,
				      struct tifm_dev *sock)
{}

static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock)
{}

static int tifm_7xx1_probe(struct pci_dev *dev,
			   const struct pci_device_id *dev_id)
{}

static void tifm_7xx1_remove(struct pci_dev *dev)
{}

static const struct pci_device_id tifm_7xx1_pci_tbl[] =;

static SIMPLE_DEV_PM_OPS(tifm_7xx1_pm_ops, tifm_7xx1_suspend, tifm_7xx1_resume);

static struct pci_driver tifm_7xx1_driver =;

module_pci_driver();
MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_DEVICE_TABLE(pci, tifm_7xx1_pci_tbl);
MODULE_VERSION();