![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * Analog Devices AXI common registers & definitions 0004 * 0005 * Copyright 2019 Analog Devices Inc. 0006 * 0007 * https://wiki.analog.com/resources/fpga/docs/axi_ip 0008 * https://wiki.analog.com/resources/fpga/docs/hdl/regmap 0009 */ 0010 0011 #ifndef ADI_AXI_COMMON_H_ 0012 #define ADI_AXI_COMMON_H_ 0013 0014 #define ADI_AXI_REG_VERSION 0x0000 0015 0016 #define ADI_AXI_PCORE_VER(major, minor, patch) \ 0017 (((major) << 16) | ((minor) << 8) | (patch)) 0018 0019 #define ADI_AXI_PCORE_VER_MAJOR(version) (((version) >> 16) & 0xff) 0020 #define ADI_AXI_PCORE_VER_MINOR(version) (((version) >> 8) & 0xff) 0021 #define ADI_AXI_PCORE_VER_PATCH(version) ((version) & 0xff) 0022 0023 #endif /* ADI_AXI_COMMON_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |