android_kernel_samsung_on5x.../include/linux/exynos-itm.h
2018-06-19 23:16:04 +02:00

30 lines
801 B
C

/*
* Copyright (c) 2015 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* IPs Traffic Monitor(ITM) Driver for Samsung Exynos SOC
* By Hosung Kim (hosung0.kim@samsung.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef EXYNOS_ITM__H
#define EXYNOS_ITM__H
#ifdef CONFIG_EXYNOS_ITM
struct itm_notifier {
char *init_desc;
char *target_desc;
char *masterip_desc;
unsigned int masterip_idx;
unsigned long target_addr;
};
extern void itm_notifier_chain_register(struct notifier_block *n);
#else
#define itm_notifier_chain_register(x) do { } while(0)
#endif
#endif