diff options
Diffstat (limited to 'include/linux/platform/tegra')
| -rw-r--r-- | include/linux/platform/tegra/tegra-nvlink.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/platform/tegra/tegra-nvlink.h b/include/linux/platform/tegra/tegra-nvlink.h index 09798b293..7760837eb 100644 --- a/include/linux/platform/tegra/tegra-nvlink.h +++ b/include/linux/platform/tegra/tegra-nvlink.h | |||
| @@ -45,7 +45,10 @@ enum nvlink_log_categories { | |||
| 45 | 45 | ||
| 46 | #ifdef CONFIG_DEBUG_FS | 46 | #ifdef CONFIG_DEBUG_FS |
| 47 | /* This is the root debugfs directory for the entire NVLINK driver stack */ | 47 | /* This is the root debugfs directory for the entire NVLINK driver stack */ |
| 48 | extern struct dentry *nvlink_debugfs; | 48 | extern struct dentry *nvlink_debugfs_root; |
| 49 | |||
| 50 | /* This is the parent debugfs directory for NVLINK tests */ | ||
| 51 | extern struct dentry *nvlink_debugfs_tests; | ||
| 49 | #endif /* CONFIG_DEBUG_FS */ | 52 | #endif /* CONFIG_DEBUG_FS */ |
| 50 | 53 | ||
| 51 | extern u32 nvlink_log_mask; | 54 | extern u32 nvlink_log_mask; |
| @@ -55,7 +58,7 @@ extern u32 nvlink_log_mask; | |||
| 55 | do { \ | 58 | do { \ |
| 56 | if ((log_mask) & nvlink_log_mask) \ | 59 | if ((log_mask) & nvlink_log_mask) \ |
| 57 | printk("%s: %s: %d: " fmt "\n", \ | 60 | printk("%s: %s: %d: " fmt "\n", \ |
| 58 | NVLINK_DRV_NAME, \ | 61 | NVLINK_MODULE_NAME, \ |
| 59 | __func__, \ | 62 | __func__, \ |
| 60 | __LINE__, \ | 63 | __LINE__, \ |
| 61 | ##arg); \ | 64 | ##arg); \ |
| @@ -298,6 +301,7 @@ struct nvlink_device { | |||
| 298 | 301 | ||
| 299 | /* APIs used by endpoint drivers for interfacing with the core driver */ | 302 | /* APIs used by endpoint drivers for interfacing with the core driver */ |
| 300 | void nvlink_print_topology(void); | 303 | void nvlink_print_topology(void); |
| 304 | void __nvlink_dma_flush_area(const void *ptr, size_t size); | ||
| 301 | int nvlink_register_device(struct nvlink_device* device); | 305 | int nvlink_register_device(struct nvlink_device* device); |
| 302 | int nvlink_register_link(struct nvlink_link* link); | 306 | int nvlink_register_link(struct nvlink_link* link); |
| 303 | int nvlink_unregister_device(struct nvlink_device* device); | 307 | int nvlink_unregister_device(struct nvlink_device* device); |
