1 // SPDX-License-Identifier: GPL-2.0
3 * n_tracesink.h - Kernel driver API to route trace data in kernel space.
5 * Copyright (C) Intel 2011
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2
11 * as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 * The PTI (Parallel Trace Interface) driver directs trace data routed from
21 * various parts in the system out through the Intel Penwell PTI port and
22 * out of the mobile device for analysis with a debugging tool
23 * (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7,
24 * compact JTAG, standard.
26 * This header file is used by n_tracerouter to be able to send the
27 * data of it's tty port to the tty port this module sits. This
28 * mechanism can also be used independent of the PTI module.
32 #ifndef N_TRACESINK_H_
33 #define N_TRACESINK_H_
35 void n_tracesink_datadrain(u8
*buf
, int count
);