1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2023 Intel Corporation. */
7 /* get readq/writeq support for 32 bit kernels, use the low-first version */
8 #include <linux/io-64-nonatomic-lo-hi.h>
10 #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg)))
11 #define rd32(a, reg) readl((a)->hw_addr + (reg))
13 #define rd64(a, reg) readq((a)->hw_addr + (reg))
14 #define i40e_flush(a) readl((a)->hw_addr + I40E_GLGEN_STAT)
16 #endif /* _I40E_IO_H_ */