idxd.h (0cda4f6986a3824cac500f66326ff267bf37110f) idxd.h (448c3de8ac8353fc4447738ae3c56c4eb6c2131d)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */
3#ifndef _IDXD_H_
4#define _IDXD_H_
5
6#include <linux/sbitmap.h>
7#include <linux/dmaengine.h>
8#include <linux/percpu-rwsem.h>

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

55 int (*probe)(struct idxd_dev *idxd_dev);
56 void (*remove)(struct idxd_dev *idxd_dev);
57 struct device_driver drv;
58};
59
60extern struct idxd_device_driver dsa_drv;
61extern struct idxd_device_driver idxd_drv;
62extern struct idxd_device_driver idxd_dmaengine_drv;
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright(c) 2019 Intel Corporation. All rights rsvd. */
3#ifndef _IDXD_H_
4#define _IDXD_H_
5
6#include <linux/sbitmap.h>
7#include <linux/dmaengine.h>
8#include <linux/percpu-rwsem.h>

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

55 int (*probe)(struct idxd_dev *idxd_dev);
56 void (*remove)(struct idxd_dev *idxd_dev);
57 struct device_driver drv;
58};
59
60extern struct idxd_device_driver dsa_drv;
61extern struct idxd_device_driver idxd_drv;
62extern struct idxd_device_driver idxd_dmaengine_drv;
63extern struct idxd_device_driver idxd_user_drv;
63
64struct idxd_irq_entry {
65 struct idxd_device *idxd;
66 int id;
67 int vector;
68 struct llist_head pending_llist;
69 struct list_head work_list;
70 /*

--- 514 unchanged lines hidden ---
64
65struct idxd_irq_entry {
66 struct idxd_device *idxd;
67 int id;
68 int vector;
69 struct llist_head pending_llist;
70 struct list_head work_list;
71 /*

--- 514 unchanged lines hidden ---