17 #include <rte_compat.h> 53 static inline uint16_t
68 static inline uint32_t
83 static inline uint64_t
155 static inline uint8_t
167 static inline uint16_t
178 static inline uint32_t
189 static inline uint64_t
202 rte_write8(uint8_t value,
volatile void *addr);
273 #ifndef RTE_OVERRIDE_IO_H 278 return *(
const volatile uint8_t *)addr;
284 return *(
const volatile uint16_t *)addr;
290 return *(
const volatile uint32_t *)addr;
296 return *(
const volatile uint64_t *)addr;
302 *(
volatile uint8_t *)addr = value;
308 *(
volatile uint16_t *)addr = value;
314 *(
volatile uint32_t *)addr = value;
320 *(
volatile uint64_t *)addr = value;
387 #ifndef RTE_NATIVE_WRITE32_WC #define __rte_always_inline
static void rte_write32(uint32_t value, volatile void *addr)
static uint32_t rte_read32_relaxed(const volatile void *addr)
static void rte_write64(uint64_t value, volatile void *addr)
static void rte_write64_relaxed(uint64_t value, volatile void *addr)
static void rte_write32_relaxed(uint32_t value, volatile void *addr)
static void rte_write16(uint16_t value, volatile void *addr)
static void rte_write16_relaxed(uint16_t value, volatile void *addr)
static uint64_t rte_read64_relaxed(const volatile void *addr)
static uint64_t rte_read64(const volatile void *addr)
static uint8_t rte_read8(const volatile void *addr)
static uint32_t rte_read32(const volatile void *addr)
static uint16_t rte_read16(const volatile void *addr)
static void rte_io_wmb(void)
static __rte_experimental void rte_write32_wc(uint32_t value, volatile void *addr)
static void rte_write8_relaxed(uint8_t value, volatile void *addr)
static void rte_write8(uint8_t value, volatile void *addr)
static uint16_t rte_read16_relaxed(const volatile void *addr)
static __rte_experimental void rte_write32_wc_relaxed(uint32_t value, volatile void *addr)
static uint8_t rte_read8_relaxed(const volatile void *addr)
static void rte_io_rmb(void)