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