brintos

brintos / linux-shallow public Read only

0
0
Text · 576 B · 1f14aed Raw
26 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/*3 * Data Object Exchange4 *	PCIe r6.0, sec 6.30 DOE5 *6 * Copyright (C) 2021 Huawei7 *     Jonathan Cameron <Jonathan.Cameron@huawei.com>8 *9 * Copyright (C) 2022 Intel Corporation10 *	Ira Weiny <ira.weiny@intel.com>11 */12 13#ifndef LINUX_PCI_DOE_H14#define LINUX_PCI_DOE_H15 16struct pci_doe_mb;17 18struct pci_doe_mb *pci_find_doe_mailbox(struct pci_dev *pdev, u16 vendor,19					u8 type);20 21int pci_doe(struct pci_doe_mb *doe_mb, u16 vendor, u8 type,22	    const void *request, size_t request_sz,23	    void *response, size_t response_sz);24 25#endif26