linux/drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c

/*
 * Copyright 2015 Red Hat Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: Ben Skeggs <[email protected]>
 */
#include <core/pci.h>
#include "priv.h"

struct nvkm_device_pci_device {};

struct nvkm_device_pci_vendor {};

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0189[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_01f0[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0322[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_05e7[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0609[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_062e[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0649[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0652[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0654[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0655[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0656[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06d1[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06d2[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06de[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06e8[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06f9[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_06ff[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0866[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0872[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0873[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a6e[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a70[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a73[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a74[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a75[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0a7a[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0dd8[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0de9[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0dea[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0df4[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0fd2[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_0fe3[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_104b[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1058[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_105b[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1091[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1096[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1140[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1185[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1189[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1199[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_11e3[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1247[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_124d[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1290[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1292[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1295[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1299[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1340[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1341[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1346[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1347[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_137a[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_137d[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1391[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_1392[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_139a[] =;

static const struct nvkm_device_pci_vendor
nvkm_device_pci_10de_139b[] =;

static const struct nvkm_device_pci_device
nvkm_device_pci_10de[] =;

static struct nvkm_device_pci *
nvkm_device_pci(struct nvkm_device *device)
{}

static resource_size_t
nvkm_device_pci_resource_addr(struct nvkm_device *device, unsigned bar)
{}

static resource_size_t
nvkm_device_pci_resource_size(struct nvkm_device *device, unsigned bar)
{}

static int
nvkm_device_pci_irq(struct nvkm_device *device)
{}

static void
nvkm_device_pci_fini(struct nvkm_device *device, bool suspend)
{}

static int
nvkm_device_pci_preinit(struct nvkm_device *device)
{}

static void *
nvkm_device_pci_dtor(struct nvkm_device *device)
{}

static const struct nvkm_device_func
nvkm_device_pci_func =;

int
nvkm_device_pci_new(struct pci_dev *pci_dev, const char *cfg, const char *dbg,
		    bool detect, bool mmio, u64 subdev_mask,
		    struct nvkm_device **pdevice)
{}