diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/tegra_nvadsp.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/tegra_nvadsp.h b/include/linux/tegra_nvadsp.h index 6bace0eda..b5cc25dbf 100644 --- a/include/linux/tegra_nvadsp.h +++ b/include/linux/tegra_nvadsp.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * A Header file for managing ADSP/APE | 2 | * A Header file for managing ADSP/APE |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
| @@ -357,6 +357,16 @@ static inline long wait_for_nvadsp_app_complete_timeout(nvadsp_app_info_t *info, | |||
| 357 | return ret; | 357 | return ret; |
| 358 | } | 358 | } |
| 359 | 359 | ||
| 360 | /* | ||
| 361 | * set adma reg dump callback function pointer | ||
| 362 | * @cb_adma_regdump: function pointer for callback | ||
| 363 | * | ||
| 364 | * This api is exported and can be accessed by adsp audio driver, | ||
| 365 | * which during adsp init, calls this api to set the callback | ||
| 366 | * function pointer | ||
| 367 | */ | ||
| 368 | void nvadsp_set_adma_dump_reg(void (*cb_adma_regdump)(void)); | ||
| 369 | |||
| 360 | #ifdef CONFIG_TEGRA_ADSP_DFS | 370 | #ifdef CONFIG_TEGRA_ADSP_DFS |
| 361 | /* | 371 | /* |
| 362 | * Override adsp freq and reinit actmon counters | 372 | * Override adsp freq and reinit actmon counters |
