driver core: remove drivers/base/sys.c and include/linux/sysdev.h
[zen-stable.git] / drivers / tty / n_tracesink.h
bloba68bb44f1ef54e20835af423b1ccfc6a5d32df22
1 /*
2 * n_tracesink.h - Kernel driver API to route trace data in kernel space.
4 * Copyright (C) Intel 2011
6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 * The PTI (Parallel Trace Interface) driver directs trace data routed from
20 * various parts in the system out through the Intel Penwell PTI port and
21 * out of the mobile device for analysis with a debugging tool
22 * (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7,
23 * compact JTAG, standard.
25 * This header file is used by n_tracerouter to be able to send the
26 * data of it's tty port to the tty port this module sits. This
27 * mechanism can also be used independent of the PTI module.
31 #ifndef N_TRACESINK_H_
32 #define N_TRACESINK_H_
34 void n_tracesink_datadrain(u8 *buf, int count);
36 #endif