1 /* 2 * Copyright (c) 2020 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 */ 16 17 ////////////////////////////////////////////////////////////////////////////// 18 // RCS File : -USE CVS LOG- 19 // Revision : -USE CVS LOG- 20 // Last Check In : -USE CVS LOG- 21 ////////////////////////////////////////////////////////////////////////////// 22 // Description : Top C Struct file 23 // 24 ////////////////////////////////////////////////////////////////////////////// 25 26 #ifndef WFSS_PMM_BASE_STUCT_HEADER_INCLUDED 27 #ifdef _LSB_TO_MSB_REGS 28 #ifdef _MSB_TO_LSB_REGS 29 #error You can not define both _LSB_TO_MSB_REGS and _MSB_TO_LSB_REGS! 30 #endif 31 32 #define WFSS_PMM_BASE_STUCT_HEADER_INCLUDED 33 #include "wfss_pmm_base_struct_ltm.h" 34 #endif 35 36 #ifdef _MSB_TO_LSB_REGS 37 #define WFSS_PMM_BASE_STUCT_HEADER_INCLUDED 38 #include "wfss_pmm_base_struct_mtl.h" 39 #endif 40 41 #ifndef WFSS_PMM_BASE_STUCT_HEADER_INCLUDED 42 #error You have to define _LSB_TO_MSB_REGS or _MSB_TO_LSB_REGS 43 #endif 44 45 #endif 46 47