tty: add SPDX identifiers to all remaining files in drivers/tty/
[linux-block.git] / drivers / tty / n_tracesink.h
CommitLineData
e3b3d0f5 1// SPDX-License-Identifier: GPL-2.0
ee4f6b4b
F
2/*
3 * n_tracesink.h - Kernel driver API to route trace data in kernel space.
4 *
5 * Copyright (C) Intel 2011
6 *
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 *
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.
12 *
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.
17 *
18 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 *
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.
25 *
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.
29 *
30 */
31
32#ifndef N_TRACESINK_H_
33#define N_TRACESINK_H_
34
35void n_tracesink_datadrain(u8 *buf, int count);
36
37#endif