device.c (745e92a6d816277fcbd231bda5ad2d882b22fe52) device.c (034b3290ba257f1a3c8730f3fba72e11645e7b50)
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */
3#include <linux/init.h>
4#include <linux/kernel.h>
5#include <linux/module.h>
6#include <linux/pci.h>
7#include <linux/io-64-nonatomic-lo-hi.h>
8#include <linux/dmaengine.h>

--- 1335 unchanged lines hidden (view full) ---

1344 device_release_driver(wq_dev);
1345 }
1346
1347 idxd_unregister_dma_device(idxd);
1348 idxd_device_disable(idxd);
1349 if (test_bit(IDXD_FLAG_CONFIGURABLE, &idxd->flags))
1350 idxd_device_reset(idxd);
1351}
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */
3#include <linux/init.h>
4#include <linux/kernel.h>
5#include <linux/module.h>
6#include <linux/pci.h>
7#include <linux/io-64-nonatomic-lo-hi.h>
8#include <linux/dmaengine.h>

--- 1335 unchanged lines hidden (view full) ---

1344 device_release_driver(wq_dev);
1345 }
1346
1347 idxd_unregister_dma_device(idxd);
1348 idxd_device_disable(idxd);
1349 if (test_bit(IDXD_FLAG_CONFIGURABLE, &idxd->flags))
1350 idxd_device_reset(idxd);
1351}
1352
1353static enum idxd_dev_type dev_types[] = {
1354 IDXD_DEV_DSA,
1355 IDXD_DEV_IAX,
1356 IDXD_DEV_NONE,
1357};
1358
1359struct idxd_device_driver idxd_drv = {
1360 .type = dev_types,
1361 .probe = idxd_device_drv_probe,
1362 .remove = idxd_device_drv_remove,
1363 .name = "idxd",
1364};