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