1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(C) 2021 Marvell. 3 */ 4 5 #ifndef _ROC_API_H_ 6 #define _ROC_API_H_ 7 8 #include <stdbool.h> 9 #include <stdint.h> 10 #include <string.h> 11 12 /* Bits manipulation */ 13 #include "roc_bits.h" 14 15 /* Bit fields manipulation */ 16 #include "roc_bitfield.h" 17 18 /* ROC Constants */ 19 #include "roc_constants.h" 20 21 /* Constants */ 22 #define PLT_ETHER_ADDR_LEN 6 23 24 /* Platform definition */ 25 #include "roc_platform.h" 26 27 /* IO */ 28 #if defined(__aarch64__) 29 #include "roc_io.h" 30 #else 31 #include "roc_io_generic.h" 32 #endif 33 34 /* HW structure definition */ 35 #include "hw/cpt.h" 36 #include "hw/dpi.h" 37 #include "hw/nix.h" 38 #include "hw/npa.h" 39 #include "hw/npc.h" 40 #include "hw/ree.h" 41 #include "hw/rvu.h" 42 #include "hw/sdp.h" 43 #include "hw/sso.h" 44 #include "hw/ssow.h" 45 #include "hw/tim.h" 46 47 /* Model */ 48 #include "roc_model.h" 49 50 /* HW Errata */ 51 #include "roc_errata.h" 52 53 /* Mbox */ 54 #include "roc_mbox.h" 55 56 /* NPA */ 57 #include "roc_npa.h" 58 59 /* NPC */ 60 #include "roc_npc.h" 61 62 /* NIX */ 63 #include "roc_nix.h" 64 65 /* SSO */ 66 #include "roc_sso.h" 67 68 /* TIM */ 69 #include "roc_tim.h" 70 71 /* Utils */ 72 #include "roc_utils.h" 73 74 /* Idev */ 75 #include "roc_idev.h" 76 77 /* Baseband phy cgx */ 78 #include "roc_bphy_cgx.h" 79 80 /* Baseband phy */ 81 #include "roc_bphy.h" 82 83 /* CPT */ 84 #include "roc_cpt.h" 85 86 /* CPT microcode */ 87 #include "roc_ae.h" 88 #include "roc_ae_fpm_tables.h" 89 #include "roc_ie.h" 90 #include "roc_ie_on.h" 91 #include "roc_ie_ot.h" 92 #include "roc_se.h" 93 94 /* DPI */ 95 #include "roc_dpi.h" 96 97 /* REE */ 98 #include "roc_ree.h" 99 100 /* AES */ 101 #include "roc_aes.h" 102 103 /* HASH computation */ 104 #include "roc_hash.h" 105 106 /* NIX Inline dev */ 107 #include "roc_nix_inl.h" 108 109 #endif /* _ROC_API_H_ */ 110