1*216fc0b4SJames Smart /* SPDX-License-Identifier: GPL-2.0 */ 2*216fc0b4SJames Smart /* 3*216fc0b4SJames Smart * Copyright (C) 2021 Broadcom. All Rights Reserved. The term 4*216fc0b4SJames Smart * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. 5*216fc0b4SJames Smart */ 6*216fc0b4SJames Smart 7*216fc0b4SJames Smart #ifndef __EFC_COMMON_H__ 8*216fc0b4SJames Smart #define __EFC_COMMON_H__ 9*216fc0b4SJames Smart 10*216fc0b4SJames Smart #include <linux/pci.h> 11*216fc0b4SJames Smart 12*216fc0b4SJames Smart struct efc_dma { 13*216fc0b4SJames Smart void *virt; 14*216fc0b4SJames Smart void *alloc; 15*216fc0b4SJames Smart dma_addr_t phys; 16*216fc0b4SJames Smart 17*216fc0b4SJames Smart size_t size; 18*216fc0b4SJames Smart size_t len; 19*216fc0b4SJames Smart struct pci_dev *pdev; 20*216fc0b4SJames Smart }; 21*216fc0b4SJames Smart 22*216fc0b4SJames Smart #endif /* __EFC_COMMON_H__ */ 23