idxd.h (9d4d8572a539ef807e21c196f145aa365fd52f0e) | idxd.h (89e3becd8f821e507052e012d2559dcda59f538e) |
---|---|
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> --- 312 unchanged lines hidden (view full) --- 321irqreturn_t idxd_wq_thread(int irq, void *data); 322void idxd_mask_error_interrupts(struct idxd_device *idxd); 323void idxd_unmask_error_interrupts(struct idxd_device *idxd); 324void idxd_mask_msix_vectors(struct idxd_device *idxd); 325void idxd_mask_msix_vector(struct idxd_device *idxd, int vec_id); 326void idxd_unmask_msix_vector(struct idxd_device *idxd, int vec_id); 327 328/* device control */ | 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> --- 312 unchanged lines hidden (view full) --- 321irqreturn_t idxd_wq_thread(int irq, void *data); 322void idxd_mask_error_interrupts(struct idxd_device *idxd); 323void idxd_unmask_error_interrupts(struct idxd_device *idxd); 324void idxd_mask_msix_vectors(struct idxd_device *idxd); 325void idxd_mask_msix_vector(struct idxd_device *idxd, int vec_id); 326void idxd_unmask_msix_vector(struct idxd_device *idxd, int vec_id); 327 328/* device control */ |
329void idxd_device_init_reset(struct idxd_device *idxd); | 329int idxd_device_init_reset(struct idxd_device *idxd); |
330int idxd_device_enable(struct idxd_device *idxd); 331int idxd_device_disable(struct idxd_device *idxd); 332void idxd_device_reset(struct idxd_device *idxd); 333void idxd_device_cleanup(struct idxd_device *idxd); 334int idxd_device_config(struct idxd_device *idxd); 335void idxd_device_wqs_clear_state(struct idxd_device *idxd); 336void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid); 337 --- 35 unchanged lines hidden --- | 330int idxd_device_enable(struct idxd_device *idxd); 331int idxd_device_disable(struct idxd_device *idxd); 332void idxd_device_reset(struct idxd_device *idxd); 333void idxd_device_cleanup(struct idxd_device *idxd); 334int idxd_device_config(struct idxd_device *idxd); 335void idxd_device_wqs_clear_state(struct idxd_device *idxd); 336void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid); 337 --- 35 unchanged lines hidden --- |