Linux Kernel
3.7.1
|
#include <linux/export.h>
#include <linux/pci-ats.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include "pci.h"
Go to the source code of this file.
EXPORT_SYMBOL_GPL | ( | pci_enable_ats | ) |
EXPORT_SYMBOL_GPL | ( | pci_disable_ats | ) |
EXPORT_SYMBOL_GPL | ( | pci_restore_ats_state | ) |
EXPORT_SYMBOL_GPL | ( | pci_ats_queue_depth | ) |
pci_ats_queue_depth - query the ATS Invalidate Queue Depth : the PCI device
Returns the queue depth on success, or negative on failure.
The ATS spec uses 0 in the Invalidate Queue Depth field to indicate that the function can accept 32 Invalidate Request. But here we use the `real' values (i.e. 1~32) for the Queue Depth; and 0 indicates the function shares the Queue with other functions (doesn't exclusively own a Queue).