diff options
Diffstat (limited to 'include/linux/platform/tegra')
| -rw-r--r-- | include/linux/platform/tegra/tegra-nvlink.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/platform/tegra/tegra-nvlink.h b/include/linux/platform/tegra/tegra-nvlink.h index 3502ce4fe..4c4589e54 100644 --- a/include/linux/platform/tegra/tegra-nvlink.h +++ b/include/linux/platform/tegra/tegra-nvlink.h | |||
| @@ -25,6 +25,10 @@ | |||
| 25 | #define NVLINK_MAX_LINKS 2 | 25 | #define NVLINK_MAX_LINKS 2 |
| 26 | #define DEFAULT_LOOP_SLEEP_US 100 | 26 | #define DEFAULT_LOOP_SLEEP_US 100 |
| 27 | #define DEFAULT_LOOP_TIMEOUT_US 1000000 | 27 | #define DEFAULT_LOOP_TIMEOUT_US 1000000 |
| 28 | #define LINK_BITRATE_150MHZ_20GBPS 19200000000ULL | ||
| 29 | #define LINK_BITRATE_156MHZ_20GBPS 20001280000ULL | ||
| 30 | #define LINK_BITRATE_150MHZ_25GBPS 24750000000ULL | ||
| 31 | #define LINK_BITRATE_156MHZ_25GBPS 25782900000ULL | ||
| 28 | 32 | ||
| 29 | struct nvlink_link; | 33 | struct nvlink_link; |
| 30 | struct nvlink_device; | 34 | struct nvlink_device; |
| @@ -236,6 +240,8 @@ struct nvlink_device { | |||
| 236 | bool is_master; | 240 | bool is_master; |
| 237 | /* NVlink Speed */ | 241 | /* NVlink Speed */ |
| 238 | enum nvlink_speed speed; | 242 | enum nvlink_speed speed; |
| 243 | /* The bitrate at which the link is operating */ | ||
| 244 | u64 link_bitrate; | ||
| 239 | /*nvlink link data. We assume there is single link per device*/ | 245 | /*nvlink link data. We assume there is single link per device*/ |
| 240 | struct nvlink_link link; | 246 | struct nvlink_link link; |
| 241 | /* Pointer to struct containing callback functions to do device specific | 247 | /* Pointer to struct containing callback functions to do device specific |
