Nishad Kamdar | db1032f | 2020-03-02 20:06:46 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
J Freyensee | ee4f6b4 | 2011-05-06 16:56:50 -0700 | [diff] [blame] | 2 | /* |
| 3 | * n_tracesink.h - Kernel driver API to route trace data in kernel space. |
| 4 | * |
| 5 | * Copyright (C) Intel 2011 |
| 6 | * |
| 7 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 8 | * |
J Freyensee | ee4f6b4 | 2011-05-06 16:56:50 -0700 | [diff] [blame] | 9 | * The PTI (Parallel Trace Interface) driver directs trace data routed from |
| 10 | * various parts in the system out through the Intel Penwell PTI port and |
| 11 | * out of the mobile device for analysis with a debugging tool |
| 12 | * (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7, |
| 13 | * compact JTAG, standard. |
| 14 | * |
| 15 | * This header file is used by n_tracerouter to be able to send the |
| 16 | * data of it's tty port to the tty port this module sits. This |
| 17 | * mechanism can also be used independent of the PTI module. |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | #ifndef N_TRACESINK_H_ |
| 22 | #define N_TRACESINK_H_ |
| 23 | |
| 24 | void n_tracesink_datadrain(u8 *buf, int count); |
| 25 | |
| 26 | #endif |