/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_AHCI_REMAP_H #define _LINUX_AHCI_REMAP_H #include <linux/sizes.h> #define AHCI_VSCAP … #define AHCI_REMAP_CAP … /* device class code */ #define AHCI_REMAP_N_DCC … /* remap-device base relative to ahci-bar */ #define AHCI_REMAP_N_OFFSET … #define AHCI_REMAP_N_SIZE … #define AHCI_MAX_REMAP … static inline unsigned int ahci_remap_dcc(int i) { … } static inline unsigned int ahci_remap_base(int i) { … } #endif /* _LINUX_AHCI_REMAP_H */