File Index
Files and directories
Sign in
FILE

pci-doe.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/pci-doe.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Data Object Exchange
 4 *	PCIe r6.0, sec 6.30 DOE
 5 *
 6 * Copyright (C) 2021 Huawei
 7 *     Jonathan Cameron <Jonathan.Cameron@huawei.com>
 8 *
 9 * Copyright (C) 2022 Intel Corporation
10 *	Ira Weiny <ira.weiny@intel.com>
11 */
12
13#ifndef LINUX_PCI_DOE_H
14#define LINUX_PCI_DOE_H
15
16struct pci_doe_mb;
17
18#define PCI_DOE_FEATURE_DISCOVERY 0
19#define PCI_DOE_FEATURE_CMA 1
20#define PCI_DOE_FEATURE_SSESSION 2
21
22struct pci_doe_mb *pci_find_doe_mailbox(struct pci_dev *pdev, u16 vendor,
23					u8 type);
24
25int pci_doe(struct pci_doe_mb *doe_mb, u16 vendor, u8 type,
26	    const void *request, size_t request_sz,
27	    void *response, size_t response_sz);
28
29#endif
~/ Read-only file preview.