linux/drivers/dma/ptdma/ptdma-pci.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * AMD Passthru DMA device driver
 * -- Based on the CCP driver
 *
 * Copyright (C) 2016,2021 Advanced Micro Devices, Inc.
 *
 * Author: Sanjay R Mehta <[email protected]>
 * Author: Tom Lendacky <[email protected]>
 * Author: Gary R Hook <[email protected]>
 */

#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/kthread.h>
#include <linux/module.h>
#include <linux/pci_ids.h>
#include <linux/pci.h>
#include <linux/spinlock.h>

#include "ptdma.h"

struct pt_msix {};

/*
 * pt_alloc_struct - allocate and initialize the pt_device struct
 *
 * @dev: device struct of the PTDMA
 */
static struct pt_device *pt_alloc_struct(struct device *dev)
{}

static int pt_get_msix_irqs(struct pt_device *pt)
{}

static int pt_get_msi_irq(struct pt_device *pt)
{}

static int pt_get_irqs(struct pt_device *pt)
{}

static void pt_free_irqs(struct pt_device *pt)
{}

static int pt_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{}

static void pt_pci_remove(struct pci_dev *pdev)
{}

static const struct pt_dev_vdata dev_vdata[] =;

static const struct pci_device_id pt_pci_table[] =;
MODULE_DEVICE_TABLE(pci, pt_pci_table);

static struct pci_driver pt_pci_driver =;

module_pci_driver();

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