net/atlantic: add hardware registers access routines
[dpdk.git] / drivers / net / atlantic / atl_types.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Aquantia Corporation
3  */
4 #ifndef ATL_TYPES_H
5 #define ATL_TYPES_H
6
7 #include <stdint.h>
8 #include <stddef.h>
9 #include <inttypes.h>
10 #include <string.h>
11 #include <stdbool.h>
12
13
14 typedef uint8_t         u8;
15 typedef int8_t          s8;
16 typedef uint16_t        u16;
17 typedef int16_t         s16;
18 typedef uint32_t        u32;
19 typedef int32_t         s32;
20 typedef uint64_t        u64;
21
22 #define min(a, b)       RTE_MIN(a, b)
23 #define max(a, b)       RTE_MAX(a, b)
24
25 struct aq_hw_s {
26         void *mmio;
27 };
28
29 #endif